Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
django-eoapublications/eoapublications/templates/publications/chapter/facsimile_overview.html
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
105 lines (98 sloc)
6.06 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "base.html" %} | |
{% block breadcrumb %} | |
<li class="breadcrumbs__item"><a class="breadcrumbs__link" href="/">Home</a></li> | |
<li class="breadcrumbs__item"><a class="breadcrumbs__link" href="/publications#{{ Currentchapter.Publication.Serie }}" title="{{ Currentchapter.Publication.get_Serie_display }}">{{ Currentchapter.Publication.get_Serie_display }}</a></li> | |
<li class="breadcrumbs__item"><a rel="up" class="breadcrumbs__link" href="/{{ Currentchapter.Publication.Serie }}/{{ Currentchapter.Publication.Number }}/index.html">{{ Currentchapter.Publication.Title }}</a></li> | |
<li class="breadcrumbs__item"><span class="breadcrumbs__link-current">{{ Currentchapter.Title|safe }}</span></li> | |
{% endblock %} | |
{% block title %}{{ request.site.name }} | {{ Currentchapter.Publication.Title }} | {{ Currentchapter.Title|striptags }}{% endblock %} | |
{% block content %} | |
<main class="main publications publications2"> | |
<div class="container"> | |
<div class="main-content"> | |
{% comment %} | |
<!-- in theory, one could have such a section here --> | |
<section class="publications__overview"> | |
<div class="accordion"> | |
<div class="accordion__item accordion__item--border-top active"><a class="accordion__title" href="#"> | |
<h2>Overview</h2></a><div class="accordion__content"> | |
<div class="publications__list"> | |
<ul> | |
<li><a href="#numsec8-1">Serenissimo Carolo Emanueli Sabaudiae Ducis / Dedicatory letter to Carlo Emanuele of Savoy</a></li> | |
<li><a href="#numsec8-2">Ad lectorem / To the reader</a></li> | |
<li><a href="#numsec8-3">Theoremata arithmetica</a></li> | |
</ul> | |
</div> | |
</div> | |
</div> | |
</div><a class="link link--green" href="#"><span class="link__label link__label--outer">Download Chapter</span></a> | |
</section> | |
{% endcomment %} | |
<section class="publication-detail"> | |
{% comment %} | |
<div class="accordion"> | |
{% endcomment %} | |
<h1 class="publication-detail__title"> | |
{% if Currentchapter.Number %} | |
<span>{{ Currentchapter.Number }}</span> | |
{% endif %} | |
{{ Currentchapter.Title|safe }} | |
</h1><a class="accordion__showall show" href="#">Close All</a> | |
{% if Listofelements %} | |
<table> | |
<tbody> | |
{% for Element in Listofelements %} | |
{% if forloop.first %} | |
<tr> | |
<td class="publication__facsimile__cell"><a href="/{{ Element.Publication.Serie }}/{{ Element.Publication.Number }}/{{ Element.Chapter.Order }}/{{ Element.Order }}.html"><img src="/media/{{ Element.Genericimage }}" width="170" border="0"/></a></td> | |
{% comment %}{% if Element.Caption %}<p style="text-align: center"><small>{{ Element.Caption }}</small></p>{% endif %}{% endcomment %} | |
{% elif forloop.counter|divisibleby:4 %} | |
<td class="publication__facsimile__cell"><a href="/{{ Element.Publication.Serie }}/{{ Element.Publication.Number }}/{{ Element.Chapter.Order }}/{{ Element.Order }}.html"><img src="/media/{{ Element.Genericimage }}" width="170" border="0"/></a></td></tr><tr> | |
{% comment %}{% if Element.Caption %}<p style="text-align: center"><small>{{ Element.Caption }}</small></p>{% endif %}{% endcomment %} | |
{% elif forloop.last %} | |
<td class="publication__facsimile__cell"><a href="/{{ Element.Publication.Serie }}/{{ Element.Publication.Number }}/{{ Element.Chapter.Order }}/{{ Element.Order }}.html"><img src="/media/{{ Element.Genericimage }}" width="170" border="0"/></a></td></tr> | |
{% comment %}{% if Element.Caption %}<p style="text-align: center"><small>{{ Element.Caption }}</small></p>{% endif %}{% endcomment %} | |
{% else %} | |
<td class="publication__facsimile__cell"><a href="/{{ Element.Publication.Serie }}/{{ Element.Publication.Number }}/{{ Element.Chapter.Order }}/{{ Element.Order }}.html"><img src="/media/{{ Element.Genericimage }}" width="170" border="0"/></a></td> | |
{% comment %}{% if Element.Caption %}<p style="text-align: center"><small>{{ Element.Caption }}</small></p>{% endif %}{% endcomment %} | |
{% endif %} | |
{% endfor %} | |
</tbody> | |
</table> | |
{% endif %} | |
{% comment %} | |
<!-- accordion div --> | |
</div> | |
{% endcomment %} | |
<div class="navigation"> | |
{% if Previouschapter %}<a rel="prev" class="navigation__button navigation__button--prev" href="../{{ Previouschapter.Order }}/index.html">{% if Previouschapter.Title|length >= 25 %}{{ Previouschapter.Number }} {{ Previouschapter.Title|striptags|slice:":25" }}…{% else %}{{ Previouschapter.Number }} {{ Previouschapter.Title }}{% endif %}</a>{% endif %}{% if Nextchapter %}<a rel="next" class="navigation__button navigation__button--next" href="../{{ Nextchapter.Order }}/index.html">{% if Nextchapter.Title|length >= 25 %}{{ Nextchapter.Number }} {{ Nextchapter.Title|striptags|slice:":25" }}…{% else %}{{ Nextchapter.Number }} {{ Nextchapter.Title }}{% endif %}</a>{% endif %} | |
</div> | |
</section> | |
</div> | |
</div> | |
</main> | |
{% endblock %} | |
{% comment %} | |
<!-- Supplemental Links to be presented in a Modal Popup --> | |
{% if Listofelements %} | |
{% for Element in Listofelements %} | |
{% if Element.Supplements %} | |
<div id="supplement{{ Element.Order }}" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> | |
<div class="modal-header"> | |
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> | |
<h3 id="myModalLabel">Supplemental Information</h3> | |
</div> | |
<div class="modal-body"> | |
{% for Supplement in Element.Supplements %} | |
{{ Supplement.Title }} | |
{% endfor %} | |
</div> | |
<div class="modal-footer"> | |
<button class="btn btn-primary" data-dismiss="modal" aria-hidden="true">Close</button> | |
</div> | |
</div> | |
{% endif %} | |
{% endfor %} | |
{% endif %} | |
<!-- Supplemental Links to be presented in a Modal Popup --> | |
{% endcomment %} |