Skip to content

Commit

Permalink
fix: Repaired aggressive formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hepplerj committed Nov 19, 2024
1 parent 05a1d10 commit 80c0b5f
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions templates/manuscript_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,7 @@ <h3 class="text-lg leading-6 font-medium text-gray-900" id="modal-title">
{% endif %}
</div>
{% endfor %}
<p><a class="underline hover:no-underline"
href="https://denigmanuscript.org/essays/scholarship/re-examining-the-denig-picture-bible/">Read
the full forensics report</a>.</p>
<p><a class="underline hover:no-underline" href="https://denigmanuscript.org/essays/scholarship/re-examining-the-denig-picture-bible/">Read the full forensics report</a>.</p>
</div>
</div>
</div>
Expand All @@ -160,7 +158,6 @@ <h3 class="text-lg leading-6 font-medium text-gray-900" id="modal-title">
</div>
</div>

<!-- Page Selector moved underneath the OSD image for mobile -->
<div class="lg:hidden mt-6">
<div class="page-selector">
<div class="relative">
Expand All @@ -169,8 +166,7 @@ <h3 class="text-lg leading-6 font-medium text-gray-900" id="modal-title">
<select onchange="location = this.value;"
class="appearance-none bg-transparent py-2 pr-8 pl-2">
{% for page in all_pages %}
<option value="{% url 'manuscript_page' page.slug %}" {% if page.id==current_page.id
%}selected{% endif %}>
<option value="{% url 'manuscript_page' page.slug %}" {% if page.id==current_page.id %}selected{% endif %}>
{{ page.page_range }} ({{page.docside}})
</option>
{% endfor %}
Expand Down Expand Up @@ -220,7 +216,8 @@ <h3 class="text-lg leading-6 font-medium text-gray-900" id="modal-title">
<p>
<span class="font-bold font-serif text-sm text-winterthur-dk-blue">
{{ fragment.line_number }}
</span> <span class="pl-4 font-sans">{{fragment.transcription }}</span>
</span>
<span class="pl-4 font-sans">{{ fragment.transcription }}</span>
</p>
{% endif %}
{% endfor %}
Expand All @@ -241,26 +238,19 @@ <h3 class="text-center font-semibold text-1xl pb-4 mb-4 uppercase">Document Deta
<li><strong>Page</strong>: {{ manuscript_page.page_range }}</li>
<li><strong>Page tagged with</strong>:
{% for tag in manuscript_page.tags.all %}
<span
class="inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-winterthur-dk-blue ring-1 ring-inset ring-blue-700/10">{{
tag.name }}</span>
<span class="inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-winterthur-dk-blue ring-1 ring-inset ring-blue-700/10">{{ tag.name }}</span>
{% endfor %}
</li>
</ul>

<p class="mt-4">
<a href="{% url 'manuscript' %}" class="text-winterthur-dk-blue hover:underline">Browse all manuscript
pages</a>
<a href="{% url 'manuscript' %}" class="text-winterthur-dk-blue hover:underline">Browse all manuscript pages</a>
</p>

<hr class="mt-3 mb-3" />
<h2 class="text-center font-semibold text-1xl pb-4 mb-4 uppercase">Cite this page</h2>
<p><em>The Denig Manuscript</em>, Winterthur Museum, Garden & Library and the Roy Rosenzweig Center for
History and New Media (2024): p. {{ manuscript_page.page_range }}. <a
href="{% url 'manuscript_page' manuscript_page.slug %}"
class="text-winterthur-dk-blue hover:underline">https://denigmanuscript/.org{% url 'manuscript_page'
manuscript_page.slug %}</a></p>
<p><em>The Denig Manuscript</em>, Winterthur Museum, Garden & Library and the Roy Rosenzweig Center for History and New Media (2024): p. {{ manuscript_page.page_range }}. <a href="{% url 'manuscript_page' manuscript_page.slug %}" class="text-winterthur-dk-blue hover:underline">https://denigmanuscript/.org{% url 'manuscript_page' manuscript_page.slug %}</a></p>
</div>
</div>
</div>
{% endblock content %}
{% endblock content %}

0 comments on commit 80c0b5f

Please sign in to comment.