Add navigation bar
This commit is contained in:
parent
1a7872b136
commit
ded4b913da
4 changed files with 59 additions and 12 deletions
|
|
@ -6,16 +6,12 @@
|
|||
<div class="m-3">
|
||||
<p><a href="{{ url_for('random_painting') }}">random painting</a>
|
||||
|
||||
{% if not username %}
|
||||
{% if not g.user %}
|
||||
| <a href="{{ url_for('start_oauth') }}">connect to Wikidata account</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
{% if username %}
|
||||
<p>username: {{ username }}</p>
|
||||
{% endif %}
|
||||
|
||||
{% if not username %}
|
||||
{% if not g.user %}
|
||||
<p>This tool must be connected with Wikidata to work.</p>
|
||||
<p><a href="{{ url_for('start_oauth') }}" class="btn btn-primary btn-lg">Connect with Wikidata</a>
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue