diff --git a/app/static/css/style.css b/app/static/css/style.css index 5573e85..7fc3444 100755 --- a/app/static/css/style.css +++ b/app/static/css/style.css @@ -121,6 +121,10 @@ display: inline-block; font-size: 10px; } +#ascii { + text-align: center; +} + .library_table tr:nth-child(even){ background-color: #fafafa; diff --git a/app/templates/show_books.html b/app/templates/show_books.html index 04a9d0b..2c2e6fb 100755 --- a/app/templates/show_books.html +++ b/app/templates/show_books.html @@ -3,7 +3,7 @@ {% block main %}
{% from "_formhelpers.html" import render_field %} - +
{{ form.select(style="width: 100px; margin: 10px; float: left; font-size: 20px") }}
diff --git a/app/views.py b/app/views.py index 04dcd31..b8b9882 100755 --- a/app/views.py +++ b/app/views.py @@ -400,7 +400,7 @@ def show_stack_by_id(id, is_tab=False): stack = Stack.query.get(id) if not stack: - abort (404) + return render_template('add_stack.html', stacks=stacks, form=form) else: if is_tab == False: return render_template('show_stack_detail.html', stack=stack)