Skip to content
Snippets Groups Projects
Select Git revision
  • 03feae7cc2a781a12a6177ef44da781bda9cc628
  • devel default
  • master
  • fo
  • jirka/typing
  • fo-base
  • mj/submit-images
  • jk/issue-96
  • jk/issue-196
  • honza/add-contestant
  • honza/mr7
  • honza/mrf
  • honza/mrd
  • honza/mra
  • honza/mr6
  • honza/submit-images
  • honza/kolo-vs-soutez
  • jh-stress-test-wip
  • shorten-schools
19 results

admin_dsn.html

Blame
  • admin_dsn.html 942 B
    {% extends "base.html" %}
    {% import "bootstrap/wtf.html" as wtf %}
    {% block title %}Všechny nedoručenky{% endblock %}
    {% block body %}
    
    <form action="" method="GET" class="form form-inline" role="form">
    <div class="btn-group">
    	{% if pager.offset.data > 0 %}
    		{{ wtf.form_field(pager.previous) }}
    	{% else %}
    		<button class="btn" disabled>Předchozí</button>
    	{% endif %}
    	{% if count > pager.offset.data + pager.limit.data %}
    		{{ wtf.form_field(pager.next) }}
    	{% else %}
    		<button class="btn" disabled>Další</button>
    	{% endif %}
    </div>
    <input type="hidden" name="offset" value="{{pager.offset.data}}">
    <input type="hidden" name="limit" value="{{pager.limit.data}}">
    </form>
    
    {% if count > 0 %}
    	Zobrazuji nedoručenky <b>{{pager.get_min()}}</b> až <b>{{pager.get_max(count)}}</b> z <b>{{count}} nalezených</b>.
    {% else %}
    	<b>Nebyly nalezeny žádné nedoručenky.</b>
    {% endif %}
    
    {% include "parts/dsn.html" %}
    
    {% endblock %}