Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
generateur-slogans
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LQDN Adminsys
generateur-slogans
Commits
4d615b10
Verified
Commit
4d615b10
authored
Oct 31, 2017
by
Thibaut Broggi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor button "randomize"
parent
892be255
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
20 deletions
+10
-20
views/index.pug
views/index.pug
+10
-20
No files found.
views/index.pug
View file @
4d615b10
mixin randomButtonContainer
.randomize-button-container
button(type="submit" name="target" value="randomize" class="randomize white-button")
=_('CHOISIR AU HASARD') + ' '
span.fa.fa-random
doctype html
html(lang=locale)
head(prefix="og: http://ogp.me/ns#")
...
...
@@ -27,10 +32,7 @@ html(lang=locale)
a(href="#step5").fa.fa-cogs
aside#inputs
#step1
.randomize-button-container
button(type="submit" name="target" value="randomize" class="randomize white-button")
=_('CHOISIR AU HASARD')
span.fa.fa-random
+randomButtonContainer
h2.title-small
=_('Choisissez 2 couleurs')
h2.title-big
...
...
@@ -52,10 +54,7 @@ html(lang=locale)
=_('ÉTAPE SUIVANTE')
| ›
#step2
.randomize-button-container
button(type="submit" name="target" value="randomize" class="randomize white-button")
=_('CHOISIR AU HASARD')
span.fa.fa-random
+randomButtonContainer
h2
=_('Remplissez le texte à trou')
textarea(placeholder=_('(90 caractères maximum)') rows="8" name="text" maxlength="90")#step2value
...
...
@@ -67,10 +66,7 @@ html(lang=locale)
=_('ÉTAPE SUIVANTE')
| ›
#step3
.randomize-button-container
button(type="submit" name="target" value="randomize" class="randomize white-button")
=_('CHOISIR AU HASARD')
span.fa.fa-random
+randomButtonContainer
h2
=_('Choisissez votre police')
.fontpicker
...
...
@@ -85,10 +81,7 @@ html(lang=locale)
=_('ÉTAPE SUIVANTE')
| ›
#step4
.randomize-button-container
button(type="submit" name="target" value="randomize" class="randomize white-button")
=_('CHOISIR AU HASARD')
span.fa.fa-random
+randomButtonContainer
h2
=_('Choisissez votre icône')
.iconpicker
...
...
@@ -102,10 +95,7 @@ html(lang=locale)
=_('ÉTAPE SUIVANTE')
| ›
#step5
.randomize-button-container
button(type="submit" name="target" value="randomize" class="randomize white-button")
=_('CHOISIR AU HASARD')
span.fa.fa-random
+randomButtonContainer
h2
=_('Signez votre création ! (optionnel)')
input(type="text" name="signature" value=params.signature)#signature
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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