瀏覽代碼

minor stylistic changes

joel
Simon Bowie 3 年之前
父節點
當前提交
56ef03ec11
共有 3 個檔案被更改,包括 2 行新增3 行删除
  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 查看文件

@@ -12,7 +12,6 @@ from flask_login import login_required, current_user
from . import db
from .models import Tool
from sqlalchemy.sql import func
from sqlalchemy.orm import load_only

main = Blueprint('main', __name__)


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

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

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

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

Loading…
取消
儲存