Browse Source

changed the colour of edit buttons

joel
Simon Bowie 3 years ago
parent
commit
54e980b8c7
3 changed files with 3 additions and 3 deletions
  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 View File

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

+ 1
- 1
web/app/templates/practices.html View File

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

+ 1
- 1
web/app/templates/tool.html View File

{% if current_user.is_authenticated %} {% if current_user.is_authenticated %}
<div class="row text-center py-3"> <div class="row text-center py-3">
<a href="{{ url_for('tool.edit_tool', tool_id=tool['id']) }}"> <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> </a>
</div> </div>
{% endif %} {% endif %}

Loading…
Cancel
Save