Commit 4337f4fc authored by Maxime Chaillet's avatar Maxime Chaillet

change id of the doibadge

parent fc269600
......@@ -52,7 +52,7 @@
<div class="row align-items-center blueBackground">
<div class="col-12 col-sm-4" > <img id="logo" style="height:80px;" src="/src/images/esrflogo.png" alt="the ESRF logo"> </img> </div>
<div class="col-12 col-sm-8">
<div id="doiPanel" class="row">
<div id="doiBadge" class="row">
<!-- filled by the js code -->
</div>
</div>
......
......@@ -37,7 +37,7 @@
<div class="row align-items-center blueBackground">
<div class="col-12 col-sm-4" > <img id="logo" style="height:80px;" src="/src/images/esrflogo.png" alt="the ESRF logo"> </img> </div>
<div class="col-12 col-sm-8">
<div id="doiPanel" class="row">
<div id="doiBadge" class="row">
<!-- filled by the js code -->
</div>
</div>
......
......@@ -43,7 +43,7 @@
<div class="row align-items-center blueBackground">
<div class="col-12 col-sm-4" > <img id="logo" style="height:80px;" src="/src/images/esrflogo.png" alt="the ESRF logo"> </img> </div>
<div class="col-12 col-sm-8">
<div id="doiPanel" class="row">
<div id="doiBadge" class="row">
<!-- filled by the js code -->
</div>
......
This diff is collapsed.
......@@ -24,7 +24,7 @@ DOIView.prototype.setLoading = function( message ) {
*/
DOIView.prototype.setDOI = function( doiCode ) {
// $( "#doiPanel" ).text( doiCode.toUpperCase() );
$( "#doiPanel" ).html(
$( "#doiBadge" ).html(
"<div class='col'> </div> " +
"<div class='col-auto mr-3 borderRadius-5 whiteBackground' style='padding:5px;'>" +
"<span class='doiBadge borderRadius-5 fontSize-20'> <a id='doiLink' href=''>" +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment