~xibo-maintainers/xibo/tempel

« back to all changes in this revision

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

  • Committer: Dan Garner
  • Date: 2015-01-15 14:26:07 UTC
  • Revision ID: git-v1:0bf2226a1e1e343100602a625c79b0b71a23593d
Migrated from BZR and moved files to root 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
 *  id = The GridID for rendering AJAX layout table return
 
23
 *  filter_id = The Filter Form ID
 
24
 *  form_meta = Extra form meta that needs to be sent to the CMS to return the list of layouts
 
25
 *  pager = A paging control for this Xibo Grid
 
26
 */
 
27
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
 
28
?>
 
29
<div class="row">
 
30
    <div class="col-sm-12">
 
31
        <div class="btn-group pull-right xibo-calendar-controls">
 
32
            <button type="button" class="btn btn-warning" data-calendar-view="year"><?php echo Theme::Translate('Year'); ?></button>
 
33
            <button type="button" class="btn btn-warning active" data-calendar-view="month"><?php echo Theme::Translate('Month'); ?></button>
 
34
            <button type="button" class="btn btn-warning" data-calendar-view="week"><?php echo Theme::Translate('Week'); ?></button>
 
35
            <button type="button" class="btn btn-warning" data-calendar-view="day"><?php echo Theme::Translate('Day'); ?></button>
 
36
        </div>
 
37
        <div class="btn-group pull-right xibo-calendar-controls">
 
38
            <button type="button" class="btn btn-primary" data-calendar-nav="prev"><span class="glyphicon glyphicon-backward"></span> <?php echo Theme::Translate('Prev'); ?></button>
 
39
            <button type="button" class="btn btn-default" data-calendar-nav="today"><?php echo Theme::Translate('Today'); ?></button>
 
40
            <button type="button" class="btn btn-primary" data-calendar-nav="next"><?php echo Theme::Translate('Next'); ?> <span class="glyphicon glyphicon-forward"></span></button>
 
41
        </div>
 
42
        <div class="btn-group pull-right xibo-calendar-controls">
 
43
            <button class="btn btn-success XiboFormButton" href="<?php echo Theme::Get('event_add_url'); ?>"><?php echo Theme::Translate('Add Event'); ?></button>
 
44
        </div>
 
45
        <div class="xibo-calendar-controls dropdown pull-right">
 
46
            <select id="<?php echo Theme::Get('id'); ?>" type="form-control" name="DisplayGroupIDs[]" data-live-search="true" data-selected-text-format="count > 4" title="<?php echo Theme::Translate('Nothing Selected'); ?>" multiple>
 
47
                <option value="-1"<?php echo (Theme::Get('allSelected') == 1) ? 'selected' : ''; ?>><?php echo Theme::Translate('All'); ?></option>
 
48
                <optgroup label="<?php echo Theme::Translate('Groups'); ?>">
 
49
                    <?php foreach(Theme::Get('groups') as $row) { ?>
 
50
                    <option value="<?php echo $row['displaygroupid']; ?>"<?php echo $row['checked_text']; ?>><?php echo $row['displaygroup']; ?></option>
 
51
                    <?php } ?>
 
52
                </optgroup>
 
53
                <optgroup label="<?php echo Theme::Translate('Displays'); ?>">
 
54
                    <?php foreach(Theme::Get('displays') as $row) { ?>
 
55
                    <option value="<?php echo $row['displaygroupid']; ?>"<?php echo $row['checked_text']; ?>><?php echo $row['displaygroup']; ?></option>
 
56
                    <?php } ?>  
 
57
                </optgroup>
 
58
            </select>
 
59
        </div>
 
60
        <h1 class="page-header"></h1>
 
61
    </div>
 
62
</div>
 
63
<div class="row">
 
64
    <div class="col-sm-12">
 
65
        <div id="Calendar"></div>
 
66
    </div>
 
67
</div>
 
68
<div class="row">
 
69
    <div class="col-sm-12">
 
70
        <div class="cal-legend">
 
71
            <ul>
 
72
                <li class="event-info"><span class="fa fa-desktop"></span> <?php echo Theme::Translate('Single Display'); ?></li>
 
73
                <li class="event-success"><span class="fa fa-desktop"></span> <?php echo Theme::Translate('Multi Display'); ?></li>
 
74
                <li class="event-important"><span class="fa fa-bullseye"></span> <?php echo Theme::Translate('Priority'); ?></li>
 
75
                <li class="event-special"><span class="fa fa-repeat"></span> <?php echo Theme::Translate('Recurring'); ?></li>
 
76
                <li class="event-inverse"><span class="fa fa-lock"></span> <?php echo Theme::Translate('View Permission Only'); ?></li>
 
77
            </ul>
 
78
        </div>
 
79
    </div>
 
80
</div>
 
 
b'\\ No newline at end of file'