Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
E
ethikis_survey
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse du dépôt
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté GitLab
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
Le Filament
Ethikis
ethikis_survey
Validations
826ddc8d
Valider
826ddc8d
rédigé
Il y a 4 ans
par
jordan
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
[]
parent
a206a5d5
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Modifications
2
Afficher les modifications d'espaces
En ligne
Côte à côte
Affichage de
2 fichiers modifiés
static/src/css/ethikis_survey.css
+9
-16
9 ajouts, 16 suppressions
static/src/css/ethikis_survey.css
templates/layout.xml
+24
-20
24 ajouts, 20 suppressions
templates/layout.xml
avec
33 ajouts
et
36 suppressions
static/src/css/ethikis_survey.css
+
9
−
16
Voir le fichier @
826ddc8d
...
@@ -2,15 +2,19 @@
...
@@ -2,15 +2,19 @@
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). */
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). */
.ethikis-flag
{
.ethikis-flag
{
width
:
5%
;
width
:
25px
;
margin
:
5px
;
margin
:
5px
;
}
}
.ethikis-survey
{
.ethikis-survey
{
font-family
:
'Montserrat'
,
sans-serif
;
font-family
:
'Montserrat'
,
sans-serif
;
max-width
:
900px
;
padding
:
20px
;
padding
:
20px
;
margin
:
10px
auto
;
background-image
:
url
(
'/ethikis_survey/static/src/css/background.jpg'
);
background-repeat
:
no-repeat
;
background-size
:
cover
;
background-blend-mode
:
luminosity
;
background-color
:
white
;
color
:
#3D3D3D
;
}
}
.ethikis-survey
h1
,
.ethikis-survey
h2
,
.ethikis-survey
h3
,
.ethikis-survey
h4
{
.ethikis-survey
h1
,
.ethikis-survey
h2
,
.ethikis-survey
h3
,
.ethikis-survey
h4
{
font-weight
:
700
;
font-weight
:
700
;
...
@@ -53,23 +57,10 @@
...
@@ -53,23 +57,10 @@
text-decoration
:
none
;
text-decoration
:
none
;
}
}
.ethikis-body
{
background-image
:
url
(
'/ethikis_survey/static/src/css/background.jpg'
);
background-repeat
:
no-repeat
;
background-size
:
cover
;
background-blend-mode
:
luminosity
;
color
:
#3D3D3D
;
}
.ethikis-body
main
{
padding-bottom
:
150px
;
}
.ethikis-footer
{
.ethikis-footer
{
background-color
:
#3D3D3D
;
background-color
:
#3D3D3D
;
bottom
:
0
;
bottom
:
0
;
width
:
100%
;
width
:
100%
;
position
:
fixed
;
}
}
.fa
{
.fa
{
...
@@ -117,10 +108,12 @@
...
@@ -117,10 +108,12 @@
background-color
:
#61C4E1
;
background-color
:
#61C4E1
;
color
:
white
;
color
:
white
;
border-radius
:
20px
;
border-radius
:
20px
;
text-transform
:
uppercase
;
}
}
.ethikis-btn-green
{
.ethikis-btn-green
{
background-color
:
#009036
;
background-color
:
#009036
;
color
:
white
;
color
:
white
;
border-radius
:
20px
;
border-radius
:
20px
;
text-transform
:
uppercase
;
}
}
\ No newline at end of file
Ce diff est replié.
Cliquez pour l'agrandir.
templates/layout.xml
+
24
−
20
Voir le fichier @
826ddc8d
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<!-- remplace le body pour supprimer le header et ajouter le footer -->
<!-- remplace le body pour supprimer le header et ajouter le footer -->
<xpath
expr=
"//body"
position=
"replace"
>
<xpath
expr=
"//body"
position=
"replace"
>
<body
class=
"ethikis-body"
>
<body>
<header>
<header>
</header>
</header>
<main
class=
"ethikis-survey"
>
<main
class=
"ethikis-survey"
>
...
@@ -137,6 +137,8 @@
...
@@ -137,6 +137,8 @@
<input
type=
"hidden"
name=
"csrf_token"
t-att-value=
"request.csrf_token()"
/>
<input
type=
"hidden"
name=
"csrf_token"
t-att-value=
"request.csrf_token()"
/>
<input
type=
"hidden"
name=
"page_id"
t-att-value=
"page.id"
/>
<input
type=
"hidden"
name=
"page_id"
t-att-value=
"page.id"
/>
<input
type=
"hidden"
name=
"token"
t-att-value=
"token"
/>
<input
type=
"hidden"
name=
"token"
t-att-value=
"token"
/>
<div
class=
"row"
>
<div
class=
"col-9"
>
<t
t-foreach=
'page.question_ids'
t-as=
'question'
>
<t
t-foreach=
'page.question_ids'
t-as=
'question'
>
<t
t-set=
"prefix"
t-value=
"'%s_%s_%s' % (survey.id, page.id, question.id)"
/>
<t
t-set=
"prefix"
t-value=
"'%s_%s_%s' % (survey.id, page.id, question.id)"
/>
<div
class=
"js_question-wrapper"
t-att-id=
"prefix"
>
<div
class=
"js_question-wrapper"
t-att-id=
"prefix"
>
...
@@ -155,7 +157,9 @@
...
@@ -155,7 +157,9 @@
<div
class=
"js_errzone alert alert-danger"
style=
"display:none;"
role=
"alert"
/>
<div
class=
"js_errzone alert alert-danger"
style=
"display:none;"
role=
"alert"
/>
</div>
</div>
</t>
</t>
<div
class=
"text-right mt16 mb16"
>
</div>
</div>
<div
class=
"text-right mt16 mb16 mr32"
>
<button
t-if=
"survey.users_can_go_back and page_nr > 0"
type=
"submit"
class=
"btn ethikis-btn-green"
name=
"button_submit"
value=
"previous"
>
Previous page
</button>
<button
t-if=
"survey.users_can_go_back and page_nr > 0"
type=
"submit"
class=
"btn ethikis-btn-green"
name=
"button_submit"
value=
"previous"
>
Previous page
</button>
<button
t-if=
"not last"
type=
"submit"
class=
"btn ethikis-btn-blue"
name=
"button_submit"
value=
"next"
>
Save or continue
</button>
<button
t-if=
"not last"
type=
"submit"
class=
"btn ethikis-btn-blue"
name=
"button_submit"
value=
"next"
>
Save or continue
</button>
<button
t-if=
"last"
type=
"submit"
class=
"btn ethikis-btn-blue"
name=
"button_submit"
value=
"finish"
>
Submit survey
</button>
<button
t-if=
"last"
type=
"submit"
class=
"btn ethikis-btn-blue"
name=
"button_submit"
value=
"finish"
>
Submit survey
</button>
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
Ghost User
@ghost
mentioned in commit
1b114207
·
Il y a 4 ans
mentioned in commit
1b114207
mentioned in commit 1b1142071f90a7aebbead930fd0dcfea0f0346b7
Afficher/masquer la liste des validations
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter