29801aa522cedb0aea019deb74d7e764d7e7a4f5
[moodle.git] / theme / boost / templates / core / paging_bar.mustache
1 {{#haspages}}
2     <nav aria-label="{{label}}">
3         <ul class="pagination">
4             {{#previous}}
5                 <li class="page-item">
6                     <a href="{{url}}" class="page-link">
7                         <span aria-hidden="true">&laquo;</span>
8                         <span class="sr-only">{{#str}}previous{{/str}}</span>
9                     </a>
10                 </li>
11             {{/previous}}
12             {{#first}}
13                 <li class="page-item">
14                     <a href="{{url}}" class="page-link">{{page}}</a>
15                 </li>
16                 <li class="page-item disabled">
17                     <span class="page-link">&hellip;</a>
18                 </li>
19             {{/first}}
20             {{#pages}}
21                 <li class="page-item {{#active}}active{{/active}}">
22                     <a href="{{url}}" class="page-link">
23                         {{page}}
24                         {{#active}}
25                             <span class="sr-only">{{#str}}currentinparentheses, theme_boost{{/str}}</span>
26                         {{/active}}
27                     </a>
28                 </li>
29             {{/pages}}
30             {{#last}}
31                 <li class="page-item disabled">
32                     <span class="page-link">&hellip;</a>
33                 </li>
34                 <li class="page-item">
35                     <a href="{{url}}" class="page-link">{{page}}</a>
36                 </li>
37             {{/last}}
38             {{#next}}
39                 <li class="page-item">
40                     <a href="{{url}}" class="page-link">
41                         <span aria-hidden="true">&raquo;</span>
42                         <span class="sr-only">{{#str}}next{{/str}}</span>
43                     </a>
44                 </li>
45             {{/next}}
46         </ul>
47     </nav>
48 {{/haspages}}