Update next page to work on mobile like item page

This commit is contained in:
Edward Betts 2019-10-25 17:03:55 +01:00
parent 4d4d934de3
commit ebc1f09b6a

View file

@ -3,13 +3,17 @@
{% block title %}{{ label }} ({{qid }}){% endblock %} {% block title %}{{ label }} ({{qid }}){% endblock %}
{% block content %} {% block content %}
<div class="d-flex"> <div class="container-fluid mt-2">
<div class="p-2 flex-fill"> <div class="row">
<h1>{{ self.title() }}</h1> <div class="col-md">
<img src="{{ image.thumburl }}" class="w-100" />
</div>
<div class="col-md">
<h1>{{ self.title() }}</h1>
<div class="alert alert-primary" role="alert"> <div class="alert alert-primary" role="alert">
Thanks for contributing. Your edits have been saved to the painting on Wikidata. Use the links below to find other similar paintings to catalog. Thanks for contributing. Your edits have been saved to the painting on Wikidata. Use the links below to find other similar paintings to catalog.
</div> </div>
<p> <p>
<a href="https://www.wikidata.org/wiki/{{ qid }}">view this painting on Wikidata</a> <a href="https://www.wikidata.org/wiki/{{ qid }}">view this painting on Wikidata</a>
@ -42,10 +46,7 @@
{% endraw %} {% endraw %}
{% endif %} {% endif %}
</div> </div>
<div class="flex-shrink-1 vh-100">
<img src="{{ image.thumburl }}">
</div> </div>
</div> </div>
{% endblock %} {% endblock %}