瀏覽代碼

changed the colour of edit buttons

joel
Simon Bowie 3 年之前
父節點
當前提交
54e980b8c7
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. +1
    -1
      web/app/templates/examples.html
  2. +1
    -1
      web/app/templates/practices.html
  3. +1
    -1
      web/app/templates/tool.html

+ 1
- 1
web/app/templates/examples.html 查看文件

@@ -29,7 +29,7 @@
<span class="badge bg-secondary">{{ example['created'].strftime("%Y-%m-%d %H:%M") }} UTC</span>
{% if current_user.is_authenticated %}
<a href="{{ url_for('example.edit_example', example_id=example['id']) }}">
<span class="badge bg-warning">Edit</span>
<span class="badge bg-dark">Edit</span>
</a>
{% endif %}
</div>

+ 1
- 1
web/app/templates/practices.html 查看文件

@@ -29,7 +29,7 @@
<span class="badge bg-secondary">{{ practice['created'].strftime("%Y-%m-%d %H:%M") }} UTC</span>
{% if current_user.is_authenticated %}
<a href="{{ url_for('practice.edit_practice', practice_id=practice['id']) }}">
<span class="badge bg-warning">Edit</span>
<span class="badge bg-dark">Edit</span>
</a>
{% endif %}
</div>

+ 1
- 1
web/app/templates/tool.html 查看文件

@@ -9,7 +9,7 @@
{% if current_user.is_authenticated %}
<div class="row text-center py-3">
<a href="{{ url_for('tool.edit_tool', tool_id=tool['id']) }}">
<span class="badge bg-warning">Edit</span>
<span class="badge bg-dark">Edit</span>
</a>
</div>
{% endif %}

Loading…
取消
儲存