Switch to random image as start page.
This commit is contained in:
parent
3efeedb7ba
commit
d7df704327
4 changed files with 14 additions and 6 deletions
|
|
@ -11,7 +11,9 @@
|
|||
{% endif %}
|
||||
</p>
|
||||
|
||||
{% if username %}
|
||||
<p>username: {{ username }}</p>
|
||||
{% endif %}
|
||||
|
||||
{% if not username %}
|
||||
<p>This tool must be connected with Wikidata to work.</p>
|
||||
|
|
@ -17,7 +17,9 @@
|
|||
<p>
|
||||
<a href="https://www.wikidata.org/wiki/{{ qid }}">view this painting on Wikidata</a>
|
||||
|
|
||||
<a href="{{ url_for('random_painting') }}">open a random painting</a>
|
||||
<a href="{{ url_for('random_painting') }}">switch to another painting</a>
|
||||
|
|
||||
<a href="{{ url_for('browse_index') }}">browse paintings</a>
|
||||
</p>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<div class="m-3">
|
||||
<h1>{{ self.title() }}</h1>
|
||||
|
||||
<p><a href="{{ url_for('index') }}">back to index</a></p>
|
||||
<p><a href="{{ url_for('browse_index') }}">back to index</a></p>
|
||||
|
||||
<p>Sort order:
|
||||
{% if order == 'name' %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue