Browse Source

minor stylistic changes

joel
Simon Bowie 3 years ago
parent
commit
56ef03ec11
3 changed files with 2 additions and 3 deletions
  1. +0
    -1
      web/app/main.py
  2. +1
    -1
      web/app/templates/index.html
  3. +1
    -1
      web/app/templates/tools.html

+ 0
- 1
web/app/main.py View File

from . import db from . import db
from .models import Tool from .models import Tool
from sqlalchemy.sql import func from sqlalchemy.sql import func
from sqlalchemy.orm import load_only


main = Blueprint('main', __name__) main = Blueprint('main', __name__)



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

</p> </p>
{% if current_user.is_authenticated %} {% if current_user.is_authenticated %}
<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>
{% endif %} {% endif %}
</div> </div>

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

</p> </p>
{% if current_user.is_authenticated %} {% if current_user.is_authenticated %}
<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>
{% endif %} {% endif %}
</div> </div>

Loading…
Cancel
Save