Gazelle/sections/reportsv2/reports.php

30 lines
1.2 KiB
PHP
Raw Normal View History

2011-03-28 14:21:28 +00:00
<?
/*
2013-01-15 08:00:37 +00:00
* This is the outline page for auto reports. It calls the AJAX functions
2011-03-28 14:21:28 +00:00
* that actually populate the page and shows the proper header and footer.
* The important function is AddMore().
*/
2013-05-04 08:00:48 +00:00
if (!check_perms('admin_reports')) {
2011-03-28 14:21:28 +00:00
error(403);
}
2012-10-11 08:00:15 +00:00
View::show_header('Reports V2!', 'reportsv2');
2012-08-19 08:00:19 +00:00
2013-03-09 08:00:18 +00:00
?>
2012-08-19 08:00:19 +00:00
<div class="header">
<h2>New reports, auto assigned!</h2>
<? include('header.php'); ?>
</div>
2011-03-28 14:21:28 +00:00
<div class="buttonbox thin center">
2013-03-09 08:00:18 +00:00
<input type="button" onclick="AddMore();" value="Add more" /> <input type="text" name="repop_amount" id="repop_amount" size="2" value="10" />
2012-09-19 08:00:35 +00:00
| <span title="Changes whether to automatically replace resolved ones with new ones"><input type="checkbox" checked="checked" id="dynamic" /> <label for="dynamic">Dynamic</label></span>
2013-03-09 08:00:18 +00:00
| <span title="Resolves *all* checked reports with their respective resolutions"><input type="button" onclick="MultiResolve();" value="Multi-resolve" /></span>
| <span title="Unclaim all of the reports currently displayed"><input type="button" onclick="GiveBack();" value="Unclaim all" /></span>
2011-03-28 14:21:28 +00:00
</div>
<br />
2013-05-04 08:00:48 +00:00
<div id="all_reports" style="width: 80%; margin-left: auto; margin-right: auto;">
2011-03-28 14:21:28 +00:00
</div>
<?
2012-10-11 08:00:15 +00:00
View::show_footer();
2011-03-28 14:21:28 +00:00
?>