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
4337f4fc
Commit
4337f4fc
authored
Apr 27, 2018
by
Maxime Chaillet
Browse files
change id of the doibadge
parent
fc269600
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
www/dev.html
View file @
4337f4fc
...
...
@@ -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=
"doi
Panel
"
class=
"row"
>
<div
id=
"doi
Badge
"
class=
"row"
>
<!-- filled by the js code -->
</div>
</div>
...
...
www/dev.tpl.html
View file @
4337f4fc
...
...
@@ -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=
"doi
Panel
"
class=
"row"
>
<div
id=
"doi
Badge
"
class=
"row"
>
<!-- filled by the js code -->
</div>
</div>
...
...
www/index.html
View file @
4337f4fc
...
...
@@ -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=
"doi
Panel
"
class=
"row"
>
<div
id=
"doi
Badge
"
class=
"row"
>
<!-- filled by the js code -->
</div>
...
...
www/min/doi.min.js
View file @
4337f4fc
This diff is collapsed.
Click to expand it.
www/src/doiview.js
View file @
4337f4fc
...
...
@@ -24,7 +24,7 @@ DOIView.prototype.setLoading = function( message ) {
*/
DOIView
.
prototype
.
setDOI
=
function
(
doiCode
)
{
// $( "#doiPanel" ).text( doiCode.toUpperCase() );
$
(
"
#doi
Panel
"
).
html
(
$
(
"
#doi
Badge
"
).
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=''>
"
+
...
...
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