Add users
This commit is contained in:
parent
4c41dda244
commit
09ad44f247
13 changed files with 382 additions and 57 deletions
|
|
@ -82,19 +82,15 @@
|
|||
{% endif %}
|
||||
<span class="title">
|
||||
<h1>
|
||||
<a href="/">FeedVault</a>
|
||||
<a href='{% url "feeds:index" %}'>FeedVault</a>
|
||||
</h1>
|
||||
</span>
|
||||
<div class="leftright">
|
||||
<div class="left">
|
||||
<small>Archive of
|
||||
<a href="https://en.wikipedia.org/wiki/Web_feed">web feeds</a>.
|
||||
{% if amount_of_feeds %}
|
||||
{{ amount_of_feeds }} feeds.
|
||||
{% else %}
|
||||
0 feeds.
|
||||
{% endif %}
|
||||
~{{ db_size }}.
|
||||
{% if amount_of_feeds %}{{ amount_of_feeds }} feeds.{% endif %}
|
||||
{% if db_size %}~{{ db_size }}.{% endif %}
|
||||
</small>
|
||||
</div>
|
||||
<div class="right">
|
||||
|
|
@ -108,12 +104,20 @@
|
|||
<small>
|
||||
<div class="leftright">
|
||||
<div class="left">
|
||||
<a href="/">Home</a> | <a href="/feeds">Feeds</a> |
|
||||
<a href="/api">API</a>
|
||||
<a href='{% url "feeds:index" %}'>Home</a> | <a href='{% url "feeds:feeds" %}'>Feeds</a> |
|
||||
<a href='{% url "feeds:api" %}'>API</a>
|
||||
</div>
|
||||
<div class="right">
|
||||
<a href="https://github.com/TheLovinator1/FeedVault">GitHub</a> |
|
||||
<a href="https://github.com/sponsors/TheLovinator1">Donate</a>
|
||||
<!-- Show login if not logged in -->
|
||||
{% if not user.is_authenticated %}
|
||||
| <a href='{% url "feeds:login" %}'>Login</a>
|
||||
{% endif %}
|
||||
<!-- Show username if logged in -->
|
||||
{% if user.is_authenticated %}
|
||||
| <a href='{% url "feeds:profile" %}'>{{ user.username }}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</small>
|
||||
|
|
@ -127,7 +131,7 @@
|
|||
<small>
|
||||
<div class="leftright">
|
||||
<div class="left">
|
||||
Made by <a href="">Joakim Hellsén</a>.
|
||||
Made by <a href="https://github.com/TheLovinator1">Joakim Hellsén</a>.
|
||||
</div>
|
||||
<div class="right">No rights reserved.</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue