Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Maxime Chaillet
doi-landing-page
Commits
dec2d52e
Commit
dec2d52e
authored
Apr 23, 2018
by
Maxime Chaillet
Browse files
removes doi badge from the esrf portal page.
parent
0904d753
Pipeline
#3073
failed with stages
Changes
5
Pipelines
2
Expand all
Hide whitespace changes
Inline
Side-by-side
www/dev.html
View file @
dec2d52e
...
...
@@ -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>
...
...
www/dev.tpl.html
View file @
dec2d52e
...
...
@@ -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>
...
...
www/index.html
View file @
dec2d52e
...
...
@@ -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>
...
...
www/min/doi.min.js
View file @
dec2d52e
This diff is collapsed.
Click to expand it.
www/src/doiview.js
View file @
dec2d52e
...
...
@@ -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>
"
);
};
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment