Browse Source

Add css on submit button

master
tr4ck3ur des JM2L 9 years ago
parent
commit
27af87b973
7 changed files with 9 additions and 12 deletions
  1. +1
    -1
      jm2l/templates/Profil/Profil.mako
  2. +1
    -1
      jm2l/templates/Staff/EditPresse.mako
  3. +1
    -1
      jm2l/templates/Staff/new.mako
  4. +1
    -1
      jm2l/templates/Staff/pole.mako
  5. +2
    -5
      jm2l/templates/Staff/tasks.mako
  6. +1
    -1
      jm2l/templates/edit_event.mako
  7. +2
    -2
      jm2l/templates/edit_tiers.mako

+ 1
- 1
jm2l/templates/Profil/Profil.mako View File

@@ -110,7 +110,7 @@ DicForm = {
</div>
</fieldset>

<input class="btn" type="submit" value="Enregistrer !" />
<input class="btn btn-primary" type="submit" value="Enregistrer !" />
</form>



+ 1
- 1
jm2l/templates/Staff/EditPresse.mako View File

@@ -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" )}


+ 1
- 1
jm2l/templates/Staff/new.mako View File

@@ -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>

+ 1
- 1
jm2l/templates/Staff/pole.mako View File

@@ -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" )}


+ 2
- 5
jm2l/templates/Staff/tasks.mako View File

@@ -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>
%endif

+ 1
- 1
jm2l/templates/edit_event.mako View File

@@ -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>


+ 2
- 2
jm2l/templates/edit_tiers.mako View File

@@ -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:


Loading…
Cancel
Save