Current File : /home/escuelai/public_html/dopp/scp/dashboard.php |
<?php
/*********************************************************************
dashboard.php
Staff's Dashboard - basic stats...etc.
Peter Rotich <peter@osticket.com>
Copyright (c) 2006-2013 osTicket
http://www.osticket.com
Released under the GNU General Public License WITHOUT ANY WARRANTY.
See LICENSE.TXT for details.
vim: expandtab sw=4 ts=4 sts=4:
**********************************************************************/
require('staff.inc.php');
$nav->setTabActive('dashboard');
$ost->addExtraHeader('<meta name="tip-namespace" content="dashboard.dashboard" />',
"$('#content').data('tipNamespace', 'dashboard.dashboard');");
require(STAFFINC_DIR.'header.inc.php');
?>
<script type="text/javascript" src="js/raphael-min.js?70898b3"></script>
<script type="text/javascript" src="js/g.raphael.js?70898b3"></script>
<script type="text/javascript" src="js/g.line-min.js?70898b3"></script>
<script type="text/javascript" src="js/g.dot-min.js?70898b3"></script>
<script type="text/javascript" src="js/bootstrap-tab.js?70898b3"></script>
<script type="text/javascript" src="js/dashboard.inc.js?70898b3"></script>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css?70898b3"/>
<link rel="stylesheet" type="text/css" href="css/dashboard.css?70898b3"/>
<h2><?php echo __('Ticket Activity');
?> <i class="help-tip icon-question-sign" href="#ticket_activity"></i></h2>
<p><?php echo __('Select the starting time and period for the system activity graph');?></p>
<form class="well form-inline" id="timeframe-form">
<label>
<i class="help-tip icon-question-sign" href="#report_timeframe"></i> <?php
echo __('Report timeframe'); ?>:
<input type="text" class="dp input-medium search-query"
name="start" placeholder="<?php echo __('Last month');?>"/>
</label>
<label>
<?php echo __('period');?>:
<select name="period">
<option value="now" selected="selected"><?php echo __('Up to today');?></option>
<option value="+7 days"><?php echo __('One Week');?></option>
<option value="+14 days"><?php echo __('Two Weeks');?></option>
<option value="+1 month"><?php echo __('One Month');?></option>
<option value="+3 months"><?php echo __('One Quarter');?></option>
</select>
</label>
<button class="btn" type="submit"><?php echo __('Refresh');?></button>
</form>
<!-- Create a graph and fetch some data to create pretty dashboard -->
<div style="position:relative">
<div id="line-chart-here" style="height:300px"></div>
<div style="position:absolute;right:0;top:0" id="line-chart-legend"></div>
</div>
<hr/>
<h2><?php echo __('Statistics'); ?> <i class="help-tip icon-question-sign" href="#statistics"></i></h2>
<p><?php echo __('Statistics of tickets organized by department, help topic, and agent.');?></p>
<ul class="nav nav-tabs" id="tabular-navigation"></ul>
<div id="table-here"></div>
<?php
include(STAFFINC_DIR.'footer.inc.php');
?>