1234567891011121314151617181920212223242526272829303132333435363738394041 |
- {% include 'jquery_mobile/notebook/header.tpl' %}
- {% include 'jquery_mobile/notebook/javascript.tpl' %}
- <div class="btn-toolbar actions-bar" >
- {% if is_allowed_to_edit %}
- <div class="btn-group edit">
- <a href="{{root}}&action=add" class="notebook btn new term" title="{{'Add'|get_lang}}">
- <i class="size-32 icon-new-note"></i>
- </a>
- <a href="{{root}}&action=import_csv" class="btn" title="{{'ImportCSV'|get_lang}}">
- <i class="size-32 icon-import-csv"></i>
- </a>
- <a href="{{root}}&action=export_csv" class="btn" title="{{'ExportAsCSV'|get_lang}}">
- <i class="size-32 icon-export-csv"></i>
- </a>
- <a href="javascript:void(0)" onclick="ui.remove_by_course('entries', this);return false;" class="btn delete_all" title="{{'DeleteAll'|get_lang}}">
- <i class="size-32 icon-delete-all"></i>
- </a>
- </div>
- {% endif %}
- <div class="btn-group sort">
- <a href="{{root}}&action=index&sort_column=creation_date&sort_direction={%if sort_direction == 'ASC' and sort_column == 'creation_date' %}DESC{% else %}ASC{% endif %}"
- class="btn"
- title="{{'SorteByCreatedDate'|get_lang}}">
- <i class="size-32 icon-sort-by-created-date"></i>
- </a>
- <a href="{{root}}&action=index&sort_column=update_date&sort_direction={%if sort_direction == 'ASC' and sort_column == 'update_date' %}DESC{% else %}ASC{% endif %}"
- class="btn"
- title="{{'SorteByUpdatedDate'|get_lang}}">
- <i class="size-32 icon-sort-by-modified-date"></i>
- </a>
- <a href="{{root}}&action=index&sort_column=title&sort_direction={%if sort_direction == 'ASC' and sort_column == 'title' %}DESC{% else %}ASC{% endif %}"
- class="btn"
- title="{{'SortByTitle'|get_lang}}">
- <i class="size-32 icon-sort-by-title"></i>
- </a>
- </div>
- </div>
- {% include 'jquery_mobile/notebook/list.tpl' %}
|