芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/cepali/lib/templates/paged_content_paging_bar.mustache
{{! This file is part of Moodle - http://moodle.org/ Moodle is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Moodle is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Moodle. If not, see
. }} {{! @template core/paged_content_paging_bar This template renders the bootstrap style paging bar to control a paged content section. Example context (json): { "itemsperpage": 2, "previous": true, "next": true, "first": true, "last": true, "activepagenumber": 1, "pages": [ { "url": "#", "page": "1", "active": true }, { "url": "#", "page": "2" } ] } }}
{{#showitemsperpageselector}}
{{#str}} show {{/str}}
{{#itemsperpage}} {{#active}} {{value}} {{/active}} {{/itemsperpage}}
{{#itemsperpage}}
{{#value}}{{.}}{{/value}} {{^value}}{{#str}} all, core {{/str}}{{/value}}
{{/itemsperpage}}
{{/showitemsperpageselector}}
{{#previous}} {{< core/paged_content_paging_bar_item }} {{$item-content}}
{{#pix}} i/previous, core {{/pix}}
{{#pix}} i/next, core {{/pix}}
{{/item-content}} {{$attributes}}data-control="previous"{{/attributes}} {{/ core/paged_content_paging_bar_item }} {{/previous}} {{#first}} {{< core/paged_content_paging_bar_item }} {{$item-content}}
{{#str}}first{{/str}}
{{/item-content}} {{$attributes}}data-control="first"{{/attributes}} {{/ core/paged_content_paging_bar_item }} {{/first}} {{#barsize}} {{< core/paged_content_paging_bar_item }} {{$item-content}}
…
{{/item-content}} {{$attributes}}data-dots="beginning"{{/attributes}} {{/ core/paged_content_paging_bar_item }} {{/barsize}} {{#pages}} {{< core/paged_content_paging_bar_item }} {{$attributes}}data-page="true"{{/attributes}} {{/ core/paged_content_paging_bar_item }} {{/pages}} {{#barsize}} {{< core/paged_content_paging_bar_item }} {{$item-content}}
…
{{/item-content}} {{$attributes}}data-dots="ending"{{/attributes}} {{/ core/paged_content_paging_bar_item }} {{/barsize}} {{#last}} {{< core/paged_content_paging_bar_item }} {{$item-content}}
{{#str}}last{{/str}}
{{/item-content}} {{$attributes}}data-control="last"{{/attributes}} {{/ core/paged_content_paging_bar_item }} {{/last}} {{#next}} {{< core/paged_content_paging_bar_item }} {{$item-content}}
{{#pix}} i/next, core {{/pix}}
{{#pix}} i/previous, core {{/pix}}
{{/item-content}} {{$attributes}}data-control="next"{{/attributes}} {{/ core/paged_content_paging_bar_item }} {{/next}}