Commit dec2d52e authored by Maxime Chaillet's avatar Maxime Chaillet

removes doi badge from the esrf portal page.

parent 0904d753
......@@ -51,11 +51,8 @@
<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 class="row">
<div class="col"> </div>
<div class="col-auto mr-3 borderRadius-5 whiteBackground" style="padding:10px;">
<span class="doiBadge borderRadius-5 fontSize-20"> <a id="doiPanel" href="http://dx.doi.org/10.5291/ILL-DATA.5-31-2457"></a> </span>
</div>
<div id="doiPanel" class="row">
<!-- filled by the js code -->
</div>
</div>
</div>
......
......@@ -37,11 +37,8 @@
<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 class="row">
<div class="col"> </div>
<div class="col-auto mr-3 borderRadius-5 whiteBackground" style="padding:10px;">
<span class="doiBadge borderRadius-5 fontSize-20"> <a id="doiPanel" href="http://dx.doi.org/10.5291/ILL-DATA.5-31-2457"></a> </span>
</div>
<div id="doiPanel" class="row">
<!-- filled by the js code -->
</div>
</div>
</div>
......
......@@ -43,11 +43,9 @@
<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 class="row">
<div class="col"> </div>
<div class="col-auto mr-3 borderRadius-5 whiteBackground" style="padding:10px;">
<span class="doiBadge borderRadius-5 fontSize-20"> <a id="doiPanel" href="http://dx.doi.org/10.5291/ILL-DATA.5-31-2457"></a> </span>
</div>
<div id="doiPanel" class="row">
<!-- filled by the js code -->
</div>
</div>
</div>
......
This diff is collapsed.
......@@ -22,7 +22,13 @@ DOIView.prototype.setLoading = function( message ) {
*
*/
DOIView.prototype.setDOI = function( doiCode ) {
$( "#doiPanel" ).text( doiCode.toUpperCase() );
// $( "#doiPanel" ).text( doiCode.toUpperCase() );
$( "#doiPanel" ).html(
"<div class='col'> </div> " +
"<div class='col-auto mr-3 borderRadius-5 whiteBackground' style='padding:10px;'>" +
"<span class='doiBadge borderRadius-5 fontSize-20'> <a href=''>" +
doiCode.toUpperCase() +
"</a> </span> </div>");
};
/**
......
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