Skip to content

Commit

Permalink
fix: Remove placeholder URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
hepplerj committed Nov 18, 2024
1 parent ead4293 commit f23b61a
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 51 deletions.
2 changes: 1 addition & 1 deletion templates/forensics.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h1>Forensics.</h1>
Imperdiet dui accumsan sit amet nulla facilisi morbi tempus. In ornare quam viverra orci. Malesuada fames ac
turpis egestas sed tempus urna et. Urna condimentum mattis pellentesque id nibh tortor id aliquet lectus.
Fermentum odio eu feugiat pretium nibh. Ipsum faucibus vitae aliquet nec ullamcorper sit amet risus.
<a href="https://dev.winterthur.rrchnm.org/essays/scholarship/re-examining-the-denig-picture-bible/">Learn
<a href="https://denigmanuscript.org/essays/scholarship/re-examining-the-denig-picture-bible/">Learn
more about the forensic images here.</a>
</p>

Expand Down
96 changes: 48 additions & 48 deletions templates/manuscript_musicscore.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ <h3 class="text-lg leading-6 font-medium text-gray-900" id="modal-title">
</div>
{% endfor %}
<p><a class="underline hover:no-underline"
href="https://dev.winterthur.rrchnm.org/essays/scholarship/re-examining-the-denig-picture-bible/">Read
href="https://denigmanuscript.org/essays/scholarship/re-examining-the-denig-picture-bible/">Read
the full forensics report</a>.</p>
</div>
</div>
Expand All @@ -161,52 +161,52 @@ <h3 class="text-lg leading-6 font-medium text-gray-900" id="modal-title">
</div>
{% endif %}

{% for music_score in manuscript_page.music_scores.all %}
{% if music_score.audio_recording_file %}
<hr class="mt-4 mb-4 border-gray-300" />
<div id="audio_controls" class="mt-4">
<audio controls>
<source src="{{ music_score.audio_recording_file.url }}" type="audio/wav" />
Your browser does not support the audio element.
</audio>
</div>
{% endif %}
{% if music_score.sheet_music %}
<hr class="mt-4 mb-4 border-gray-300" />
<div id="sheet_music" class="mt-4" x-data="{ open: false }">
<button @click="open = true" class="underline hover:no-underline">View sheet music PDF</button>
<div x-show="open" class="fixed z-10 inset-0 overflow-y-auto" aria-labelledby="modal-title" role="dialog"
aria-modal="true">
<div class="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
<div class="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" aria-hidden="true"></div>
<span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">&#8203;</span>
<div
class="inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-5xl sm:w-full">
<div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4">
<div class="sm:flex sm:items-start">
<div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left">
<h3 class="text-lg leading-6 font-medium text-gray-900" id="modal-title">
Sheet Music
</h3>
<div class="mt-2">
<iframe src="{{ music_score.sheet_music.url }}" style="width: 800px; height: 500px"
frameborder="0"></iframe>
</div>
</div>
</div>
</div>
<div class="bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse">
<button type="button" @click="open = false"
class="mt-3 w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm">
Close
</button>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% endfor %}
{% for music_score in manuscript_page.music_scores.all %}
{% if music_score.audio_recording_file %}
<hr class="mt-4 mb-4 border-gray-300" />
<div id="audio_controls" class="mt-4">
<audio controls>
<source src="{{ music_score.audio_recording_file.url }}" type="audio/wav" />
Your browser does not support the audio element.
</audio>
</div>
{% endif %}
{% if music_score.sheet_music %}
<hr class="mt-4 mb-4 border-gray-300" />
<div id="sheet_music" class="mt-4" x-data="{ open: false }">
<button @click="open = true" class="underline hover:no-underline">View sheet music PDF</button>
<div x-show="open" class="fixed z-10 inset-0 overflow-y-auto" aria-labelledby="modal-title" role="dialog"
aria-modal="true">
<div class="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
<div class="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" aria-hidden="true"></div>
<span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">&#8203;</span>
<div
class="inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-5xl sm:w-full">
<div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4">
<div class="sm:flex sm:items-start">
<div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left">
<h3 class="text-lg leading-6 font-medium text-gray-900" id="modal-title">
Sheet Music
</h3>
<div class="mt-2">
<iframe src="{{ music_score.sheet_music.url }}" style="width: 800px; height: 500px"
frameborder="0"></iframe>
</div>
</div>
</div>
</div>
<div class="bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse">
<button type="button" @click="open = false"
class="mt-3 w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm">
Close
</button>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% endfor %}


</div>
Expand Down Expand Up @@ -290,7 +290,7 @@ <h2 class="text-center font-semibold text-1xl pb-4 mb-4 uppercase">Cite this pag
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://dev.winterthur.rrchnm.org{% url 'manuscript_page' manuscript_page.slug %}</a></p>
class="text-winterthur-dk-blue hover:underline">https://denigmanuscript.org{% url 'manuscript_page' manuscript_page.slug %}</a></p>
</p>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions templates/manuscript_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ <h3 class="text-lg leading-6 font-medium text-gray-900" id="modal-title">
</div>
{% endfor %}
<p><a class="underline hover:no-underline"
href="https://dev.winterthur.rrchnm.org/essays/scholarship/re-examining-the-denig-picture-bible/">Read
href="https://denigmanuscript.org/essays/scholarship/re-examining-the-denig-picture-bible/">Read
the full forensics report</a>.</p>
</div>
</div>
Expand Down Expand Up @@ -242,7 +242,7 @@ <h2 class="text-center font-semibold text-1xl pb-4 mb-4 uppercase">Cite this pag
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://dev.winterthur.rrchnm.org{% url 'manuscript_page' manuscript_page.slug %}</a></p>
class="text-winterthur-dk-blue hover:underline">https://denigmanuscript/.org{% url 'manuscript_page' manuscript_page.slug %}</a></p>
</p>
</div>
</div>
Expand Down

0 comments on commit f23b61a

Please sign in to comment.