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
LQDN Adminsys
generateur-slogans
Commits
de1a21c2
Verified
Commit
de1a21c2
authored
Oct 09, 2017
by
Thibaut Broggi
Browse files
Add a (inactive) tweet button
parent
2009aa91
Pipeline
#1356
passed with stage
in 33 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
static/style.css
View file @
de1a21c2
...
...
@@ -112,7 +112,7 @@ div.navButtons {
margin-top
:
2em
;
}
div
.navButtons
>
a
,
a
#save-image
,
button
{
div
.navButtons
>
a
,
a
#save-image
,
a
#tweet-button
,
button
{
display
:
inline-block
;
cursor
:
pointer
;
height
:
50px
;
...
...
@@ -124,12 +124,19 @@ div.navButtons > a, a#save-image, button {
border
:
1px
solid
#497ed5
;
}
a
.nextButton
{
a
.nextButton
,
a
#tweet-button
{
color
:
white
!important
;
background-color
:
#497ed5
!important
;
width
:
200px
;
}
a
#tweet-button
{
width
:
auto
;
padding-left
:
1em
;
padding-right
:
1em
;
font-weight
:
normal
;
}
a
.prevButton
{
width
:
50px
;
}
...
...
views/index.ejs
View file @
de1a21c2
...
...
@@ -252,6 +252,7 @@
<main>
<div>
<canvas
id=
"output"
width=
"600"
height=
"413"
></canvas>
<a
id=
"tweet-button"
target=
"_blank"
href=
"https://twitter.com/intent/tweet?text=Soutenez La Quadrature du Net !"
>
Tweet
<span
class=
"fa fa-twitter"
></span></a>
<a
id=
"save-image"
download=
"lqdn-slogan.png"
>
Enregistrer
<span
class=
"fa fa-save"
></span></a>
</div>
<div
id=
"credits"
>
...
...
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