Adjust to new rocket-based backend
This commit is contained in:
parent
ad92c1866c
commit
e3e56669be
9 changed files with 21 additions and 21 deletions
src/lib/pug
|
@ -1,12 +1,8 @@
|
|||
{% with messages = get_flashed_messages(with_categories=true) %}
|
||||
{% if messages %}
|
||||
{% for category, message in messages %}
|
||||
<div class="alert alert-{{ category }} alert-dismissible fade show" role="alert">
|
||||
{{ message }}
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||
{{#if flash}}
|
||||
<div class="alert alert-{{ flash-type }} alert-dismissible fade show" role="alert">
|
||||
{{ flash }}
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
</button>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
nav.navbar.navbar-expand-lg.navbar-dark.bg-dark
|
||||
.container
|
||||
a.navbar-brand(href="{{ url_for('index') }}") tlater
|
||||
a.navbar-brand(href="/") tlater
|
||||
button.navbar-toggler(
|
||||
type="button",
|
||||
data-toggle="collapse",
|
||||
|
@ -13,5 +13,5 @@ nav.navbar.navbar-expand-lg.navbar-dark.bg-dark
|
|||
|
||||
#navbar.navbar-collapse.collapse
|
||||
ul.navbar-nav.mr-auto
|
||||
li.nav-item: a.nav-link(href="{{ url_for('mail') }}") E-Mail
|
||||
li.nav-item: a.nav-link(href="mail") E-Mail
|
||||
li.nav-item: a.nav-link(href="https://www.github.com/TLATER") GitHub
|
||||
|
|
Reference in a new issue