aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortr4ck3ur <tr4ck3ur@style-python.fr>2015-02-20 17:13:29 +0100
committertr4ck3ur <tr4ck3ur@style-python.fr>2015-02-20 17:13:29 +0100
commit27af87b97384777ab77a6111081856d1295d9482 (patch)
tree8309ed671e67cd13c8cba2234d7b556ee59b150f
parentf0f228f173fc8f4e2988d784cc1a34e275cd8e37 (diff)
downloadjm2l-27af87b97384777ab77a6111081856d1295d9482.tar.gz
jm2l-27af87b97384777ab77a6111081856d1295d9482.tar.bz2
jm2l-27af87b97384777ab77a6111081856d1295d9482.tar.xz
jm2l-27af87b97384777ab77a6111081856d1295d9482.zip
Add css on submit button
-rw-r--r--jm2l/templates/Profil/Profil.mako2
-rw-r--r--jm2l/templates/Staff/EditPresse.mako2
-rw-r--r--jm2l/templates/Staff/new.mako2
-rw-r--r--jm2l/templates/Staff/pole.mako2
-rw-r--r--jm2l/templates/Staff/tasks.mako7
-rw-r--r--jm2l/templates/edit_event.mako2
-rw-r--r--jm2l/templates/edit_tiers.mako4
7 files changed, 9 insertions, 12 deletions
diff --git a/jm2l/templates/Profil/Profil.mako b/jm2l/templates/Profil/Profil.mako
index c438f83..9777124 100644
--- a/jm2l/templates/Profil/Profil.mako
+++ b/jm2l/templates/Profil/Profil.mako
@@ -110,7 +110,7 @@ DicForm = {
</div>
</fieldset>
- <input class="btn" type="submit" value="Enregistrer !" />
+ <input class="btn btn-primary" type="submit" value="Enregistrer !" />
</form>
diff --git a/jm2l/templates/Staff/EditPresse.mako b/jm2l/templates/Staff/EditPresse.mako
index 590f5b8..2c44b3e 100644
--- a/jm2l/templates/Staff/EditPresse.mako
+++ b/jm2l/templates/Staff/EditPresse.mako
@@ -22,7 +22,7 @@ DicForm = {
<div>
<form action="" method="POST">
${helpers.DisplayForm(form, DicForm)}
- <input type="submit" value="Enregistrer">
+ <input class="btn btn-primary" type="submit" value="Enregistrer">
</form>
</div>
${helpers.uploader("presse", form.year_uid.data, u"Fichier" )}
diff --git a/jm2l/templates/Staff/new.mako b/jm2l/templates/Staff/new.mako
index 2329408..169a2f0 100644
--- a/jm2l/templates/Staff/new.mako
+++ b/jm2l/templates/Staff/new.mako
@@ -5,5 +5,5 @@
<form action="/Staff/new" method="post">
<input type="text" maxlength="100" name="name">
- <input type="submit" name="add" value="ADD" class="button">
+ <input type="submit" class="btn btn-primary" name="add" value="ADD" class="button">
</form> \ No newline at end of file
diff --git a/jm2l/templates/Staff/pole.mako b/jm2l/templates/Staff/pole.mako
index 909c4d1..a29faf1 100644
--- a/jm2l/templates/Staff/pole.mako
+++ b/jm2l/templates/Staff/pole.mako
@@ -34,7 +34,7 @@ DicForm = {
<form action="/Staff/poles" method="post">
%endif
${helpers.DisplayForm(form, DicForm)}
-<input type="submit" />
+<input type="submit" class="btn btn-primary" />
</form>
% if 'uid' in form._fields.keys():
${helpers.uploader("poles", form.uid.data, u"Attachement" )}
diff --git a/jm2l/templates/Staff/tasks.mako b/jm2l/templates/Staff/tasks.mako
index 9ff75eb..2a1d389 100644
--- a/jm2l/templates/Staff/tasks.mako
+++ b/jm2l/templates/Staff/tasks.mako
@@ -38,11 +38,8 @@ DicForm = {
<form action="/Staff/tasks" method="post">
%endif
${helpers.DisplayForm(form, DicForm)}
-<input type="submit" />
+<input type="submit" class="btn btn-primary" value="Valider"></input>
</form>
% if 'uid' in form._fields.keys():
${helpers.uploader("tasks", form.uid.data, u"Attachement" )}
-%endif
-<script>
-## var editor = CKEDITOR.replace( 'description', { autoGrow_onStartup: true, language: 'fr' } );
-</script> \ No newline at end of file
+%endif \ No newline at end of file
diff --git a/jm2l/templates/edit_event.mako b/jm2l/templates/edit_event.mako
index 9639396..f033810 100644
--- a/jm2l/templates/edit_event.mako
+++ b/jm2l/templates/edit_event.mako
@@ -98,7 +98,7 @@ DicForm = {
%>
${helpers.DisplayForm(form, DicForm)}
- <button type="submit">Proposer</button>
+ <button class="btn btn-primary" type="submit">Proposer</button>
</form>
</fieldset>
diff --git a/jm2l/templates/edit_tiers.mako b/jm2l/templates/edit_tiers.mako
index 58d300a..427c555 100644
--- a/jm2l/templates/edit_tiers.mako
+++ b/jm2l/templates/edit_tiers.mako
@@ -115,9 +115,9 @@ DicForm = {
</fieldset>
% endif
% if 'uid' in form._fields:
- <button type="submit">Enregistrer</button>
+ <button class="btn btn-primary" type="submit">Enregistrer</button>
% else:
- <button type="submit">Proposer</button>
+ <button class="btn btn-primary" type="submit">Proposer</button>
% endif
</form>
% if 'uid' in form._fields: