浏览代码

Add css on submit button

master
父节点
当前提交
27af87b973
共有 7 个文件被更改,包括 9 次插入12 次删除
  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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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 查看文件

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


正在加载...
取消
保存