CSS changes
This commit is contained in:
parent
8b5e2ed41b
commit
5ba9f1d7d5
3 changed files with 8 additions and 7 deletions
|
|
@ -12,18 +12,18 @@
|
|||
<h1><a href="{{ url_for('website.homepage') }}">{{ site_name }}</a></h1>
|
||||
<div class="metanav">
|
||||
{% if current_user.is_anonymous %}
|
||||
<a href="{{ url_for('website.login', next=request.full_path) }}">{{ inline_svg('exit_to_app') }} log in</a>
|
||||
<a href="{{ url_for('website.register', next=request.full_path) }}">{{ inline_svg('person_add') }} register</a>
|
||||
<a href="{{ url_for('website.login', next=request.full_path) }}">{{ inline_svg('exit_to_app') }} <span class="mobile-collapse">log in</span></a>
|
||||
<a href="{{ url_for('website.register', next=request.full_path) }}">{{ inline_svg('person_add') }} <span class="mobile-collapse">register</span></a>
|
||||
{% else %}
|
||||
<a href="{{ url_for('website.user_detail', username=current_user.username) }}">{{ inline_svg('person') }} {{ current_user.username }}</a>
|
||||
{% set notification_count = current_user.unseen_notification_count() %}
|
||||
{% if notification_count > 0 %}
|
||||
<a href="{{ url_for('website.notifications') }}">(<strong>{{ notification_count }}</strong>)</a>
|
||||
{% endif %}
|
||||
-
|
||||
<a href="{{ url_for('website.public_timeline') }}">{{ inline_svg('explore') }} explore</a>
|
||||
<a href="{{ url_for('website.create') }}">{{ inline_svg('edit') }} create</a>
|
||||
<a href="{{ url_for('website.logout') }}">{{ inline_svg('exit_to_app') }} log out</a>
|
||||
<span class="metanav-divider"></span>
|
||||
<a href="{{ url_for('website.public_timeline') }}">{{ inline_svg('explore') }} <span class="mobile-collapse">explore</span></a>
|
||||
<a href="{{ url_for('website.create') }}">{{ inline_svg('edit') }} <span class="mobile-collapse">create</span></a>
|
||||
<a href="{{ url_for('website.logout') }}">{{ inline_svg('exit_to_app') }} <span class="mobile-collapse">log out</span></a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue