Now the reports page uses a panel instead of a tabbed container
This commit is contained in:
parent
08f6678fe8
commit
9078b6b2ea
@ -228,22 +228,27 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
|
||||
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
?>
|
||||
|
||||
<div class="enclosingDashboard" style="padding-top: 20px">
|
||||
<div class="row">
|
||||
<div class="row" style="margin-top: 20px">
|
||||
<div align="left" class="col-md-4">
|
||||
<div class="moreToLeft">
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="active"><a title="<?php echo $hesklang['reports_tab']; ?>" href="javascript:void(null);" onclick="javascript:alert('<?php echo hesk_makeJsString($hesklang['reports_intro']); ?>')"><?php echo $hesklang['reports_tab']; ?> <i class="fa fa-question-circle settingsquestionmark"></i></a></li>
|
||||
<?php
|
||||
// Show a link to export.php if user has permission to do so
|
||||
if ( hesk_checkPermission('can_export',0) )
|
||||
{
|
||||
echo '<li><a title="' . $hesklang['export'] . '" href="export.php">' . $hesklang['export'] . '</a></li>';
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<?php echo $hesklang['reports_tab']; ?> <a href="#" onclick="javascript:alert('<?php echo hesk_makeJsString($hesklang['reports_intro']); ?>')"><i class="fa fa-question-circle settingsquestionmark"></i></a>
|
||||
</div>
|
||||
<?php if (hesk_checkPermission('can_export',0)) {
|
||||
$canExport = true;
|
||||
$panelMargin = '-15px';
|
||||
} else {
|
||||
$canExport = false;
|
||||
}
|
||||
?>
|
||||
<div class="panel-body" <?php if ($canExport) echo 'style="margin-top: -15px";'; ?>>
|
||||
<?php
|
||||
// Show a link to export.php if user has permission to do so
|
||||
if ( $canExport )
|
||||
{
|
||||
echo '<small><a title="' . $hesklang['export'] . '" href="export.php">' . $hesklang['export'] . '</a></small><div class="blankSpace"></div>';
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
<div class="summaryList">
|
||||
<div class="viewTicketSidebar">
|
||||
<form action="reports.php" method="get" name="form1" role="form">
|
||||
<div class="form-group">
|
||||
<label for="dtrg" class="control-label"><?php echo $hesklang['dtrg']; ?></b>:</label>
|
||||
@ -287,7 +292,6 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-8">
|
||||
<?php
|
||||
/* This will handle error, success and notice messages */
|
||||
@ -849,7 +853,4 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
} // END hesk_ticketsByDay
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user