~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to theme/default/html/grid_pager.php

  • Committer: Dan Garner
  • Date: 2015-03-26 14:08:33 UTC
  • Revision ID: git-v1:70d14044444f8dc5d602b99890d59dea46d9470c
Moved web servable files to web folder

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
/*
3
 
 * Xibo - Digital Signage - http://www.xibo.org.uk
4
 
 * Copyright (C) 2006-2013 Daniel Garner
5
 
 *
6
 
 * This file is part of Xibo.
7
 
 *
8
 
 * Xibo is free software: you can redistribute it and/or modify
9
 
 * it under the terms of the GNU Affero General Public License as published by
10
 
 * the Free Software Foundation, either version 3 of the License, or
11
 
 * any later version. 
12
 
 *
13
 
 * Xibo is distributed in the hope that it will be useful,
14
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 
 * GNU Affero General Public License for more details.
17
 
 *
18
 
 * You should have received a copy of the GNU Affero General Public License
19
 
 * along with Xibo.  If not, see <http://www.gnu.org/licenses/>.
20
 
 *
21
 
 * Theme variables:
22
 
 *      pager_id = The ID of this pager control
23
 
 */
24
 
use Xibo\Helper\Theme;
25
 
 
26
 
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
27
 
?>
28
 
<div class="pagination form-inline" id="<?php echo Theme::Get('pager_id'); ?>">
29
 
    <button type="button" class="btn first"><i class="icon-step-backward glyphicon glyphicon-step-backward"></i></button>
30
 
    <button type="button" class="btn prev"><i class="icon-arrow-left glyphicon glyphicon-backward"></i></button>
31
 
    <span class="pagedisplay"></span> <!-- this can be any element, including an input -->
32
 
    <button type="button" class="btn next"><i class="icon-arrow-right glyphicon glyphicon-forward"></i></button>
33
 
    <button type="button" class="btn last"><i class="icon-step-forward glyphicon glyphicon-step-forward"></i></button>
34
 
    <select class="pagesize input-mini form-control" title="Select page size">
35
 
        <option value="5">5</option>
36
 
        <option selected="selected" value="10">10</option>
37
 
        <option value="20">20</option>
38
 
        <option value="30">30</option>
39
 
        <option value="40">40</option>
40
 
        <option value="50">50</option>
41
 
        <option value="100">100</option>
42
 
    </select>
43
 
    <select class="pagenum input-mini form-control" title="Select page number"></select>
44
 
    <button type="button" class="btn remove"><i class="fa fa-ban"></i></button>
45
 
</div>
 
 
b'\\ No newline at end of file'