aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: