Loading sopds_web_backend/__pycache__/views.cpython-35.pyc +1.27 KiB (4.82 KiB) File changed.No diff preview for this file type. View original file View changed file sopds_web_backend/templates/sopds_authors.html 0 → 100644 +37 −0 Original line number Diff line number Diff line {% extends "sopds_main.html" %} {% block body %} {% for a in authors %} <div class="large-12 column"> <b>{{ a.last_name }} {{ a.first_name }}</b> <a href="{% url "web:searchbooks" %}?searchtype=a&searchterms={{a.id}}"><span style="font-size:80%;">Total: {{ a.book_count }} books.</span></a> </div> {% endfor %} {% if authors.paginator.num_pages > 1 %} <ul class="pagination" role="navigation" aria-label="Pagination"> <li class="pagination-previous {% if not authors.has_previous %}disabled{%endif%}"> {% if authors.has_previous %}<a href="{% url "web:searchauthors" %}?searchtype={{searchtype}}&searchterms={{searchterms}}&page={{authors.previous_page_number}}" aria-label="Previous page"> {%endif%} Previous <span class="show-for-sr">page</span> {% if authors.has_previous %}</a>{%endif%} </li> {% for pn in page_range %} {% if authors.number == pn %} <li class="current"><span class="show-for-sr">You're on page</span> {{pn}}</li> {% else %} <li><a href="{% url "web:searchauthors" %}?searchtype={{searchtype}}&searchterms={{searchterms}}&page={{pn}}" aria-label="Page {{pn}}">{{pn}}</a></li> {% endif %} {# <li class="ellipsis" aria-hidden="true"></li> #} {% endfor %} <li class="pagination-next" {% if not authors.has_next %}disabled{%endif%}> {% if authors.has_next %}<a href="{% url "web:searchauthors" %}?searchtype={{searchtype}}&searchterms={{searchterms}}&page={{authors.next_page_number}}" aria-label="Next page">{%endif%} Next <span class="show-for-sr">page</span> {% if authors.has_next %}</a>{%endif%} </li> </ul> {% else %} <div class="large-12 column"><p></p></div> {% endif %} {% endblock %} {# body #} No newline at end of file sopds_web_backend/templates/sopds_footer.html +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ </div> </div> <div class="row sopdsbg" style="margin:0"> <div class="row sopdsmenu" style="margin:0"> <div class="medium-6 columns"> <ul class="menu"> <li class="menu-text"><a href="https://github.com/mitshel/sopds"><i class="fi-social-github"></i>GitHub</a></li> Loading sopds_web_backend/templates/sopds_logo.html +3 −3 Original line number Diff line number Diff line Loading @@ -23,9 +23,9 @@ <div class="row"> <fieldset class="large-12 columns"> <legend>Choose Search Type:</legend> <input type="radio" name="searchtype" value="m" id="title" onClick="SetSearch()" checked> <label for="title">Title</label> <input type="radio" name="searchtype" value="m" id="author" onClick="SetSearch()"><label for="author">Author</label> <input type="radio" name="searchtype" value="m" id="series" onClick="SetSearch()"><label for="series">Series</label> <input type="radio" name="searchtype" value="m" id="title" onClick="SetSearch()" {% if searchobject == "title" %}checked{%endif%}> <label for="title">Title</label> <input type="radio" name="searchtype" value="m" id="author" onClick="SetSearch()" {% if searchobject == "author" %}checked{%endif%}><label for="author">Author</label> <input type="radio" name="searchtype" value="m" id="series" onClick="SetSearch()" {% if searchobject == "series" %}checked{%endif%}><label for="series">Series</label> </fieldset> </div> </div> Loading sopds_web_backend/templates/sopds_top.html +1 −5 Original line number Diff line number Diff line <div class="top-bar"> <div class="top-bar-title"> <span data-responsive-toggle="main_menu" data-hide-for="medium"> <button class="menu-icon" type="button" data-toggle></button> Loading @@ -9,11 +10,6 @@ </div> </div> <div style="display: block;"> <div class="top-bar-left"> </div> <div> <div class="top-bar-right"> <ul class="menu" style="font-size:90%;"> {% if user.username %} Loading Loading
sopds_web_backend/__pycache__/views.cpython-35.pyc +1.27 KiB (4.82 KiB) File changed.No diff preview for this file type. View original file View changed file
sopds_web_backend/templates/sopds_authors.html 0 → 100644 +37 −0 Original line number Diff line number Diff line {% extends "sopds_main.html" %} {% block body %} {% for a in authors %} <div class="large-12 column"> <b>{{ a.last_name }} {{ a.first_name }}</b> <a href="{% url "web:searchbooks" %}?searchtype=a&searchterms={{a.id}}"><span style="font-size:80%;">Total: {{ a.book_count }} books.</span></a> </div> {% endfor %} {% if authors.paginator.num_pages > 1 %} <ul class="pagination" role="navigation" aria-label="Pagination"> <li class="pagination-previous {% if not authors.has_previous %}disabled{%endif%}"> {% if authors.has_previous %}<a href="{% url "web:searchauthors" %}?searchtype={{searchtype}}&searchterms={{searchterms}}&page={{authors.previous_page_number}}" aria-label="Previous page"> {%endif%} Previous <span class="show-for-sr">page</span> {% if authors.has_previous %}</a>{%endif%} </li> {% for pn in page_range %} {% if authors.number == pn %} <li class="current"><span class="show-for-sr">You're on page</span> {{pn}}</li> {% else %} <li><a href="{% url "web:searchauthors" %}?searchtype={{searchtype}}&searchterms={{searchterms}}&page={{pn}}" aria-label="Page {{pn}}">{{pn}}</a></li> {% endif %} {# <li class="ellipsis" aria-hidden="true"></li> #} {% endfor %} <li class="pagination-next" {% if not authors.has_next %}disabled{%endif%}> {% if authors.has_next %}<a href="{% url "web:searchauthors" %}?searchtype={{searchtype}}&searchterms={{searchterms}}&page={{authors.next_page_number}}" aria-label="Next page">{%endif%} Next <span class="show-for-sr">page</span> {% if authors.has_next %}</a>{%endif%} </li> </ul> {% else %} <div class="large-12 column"><p></p></div> {% endif %} {% endblock %} {# body #} No newline at end of file
sopds_web_backend/templates/sopds_footer.html +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ </div> </div> <div class="row sopdsbg" style="margin:0"> <div class="row sopdsmenu" style="margin:0"> <div class="medium-6 columns"> <ul class="menu"> <li class="menu-text"><a href="https://github.com/mitshel/sopds"><i class="fi-social-github"></i>GitHub</a></li> Loading
sopds_web_backend/templates/sopds_logo.html +3 −3 Original line number Diff line number Diff line Loading @@ -23,9 +23,9 @@ <div class="row"> <fieldset class="large-12 columns"> <legend>Choose Search Type:</legend> <input type="radio" name="searchtype" value="m" id="title" onClick="SetSearch()" checked> <label for="title">Title</label> <input type="radio" name="searchtype" value="m" id="author" onClick="SetSearch()"><label for="author">Author</label> <input type="radio" name="searchtype" value="m" id="series" onClick="SetSearch()"><label for="series">Series</label> <input type="radio" name="searchtype" value="m" id="title" onClick="SetSearch()" {% if searchobject == "title" %}checked{%endif%}> <label for="title">Title</label> <input type="radio" name="searchtype" value="m" id="author" onClick="SetSearch()" {% if searchobject == "author" %}checked{%endif%}><label for="author">Author</label> <input type="radio" name="searchtype" value="m" id="series" onClick="SetSearch()" {% if searchobject == "series" %}checked{%endif%}><label for="series">Series</label> </fieldset> </div> </div> Loading
sopds_web_backend/templates/sopds_top.html +1 −5 Original line number Diff line number Diff line <div class="top-bar"> <div class="top-bar-title"> <span data-responsive-toggle="main_menu" data-hide-for="medium"> <button class="menu-icon" type="button" data-toggle></button> Loading @@ -9,11 +10,6 @@ </div> </div> <div style="display: block;"> <div class="top-bar-left"> </div> <div> <div class="top-bar-right"> <ul class="menu" style="font-size:90%;"> {% if user.username %} Loading