vroom/templates/default/admin_audit.html.ep

127 lines
3.9 KiB
Plaintext
Raw Permalink Normal View History

2015-07-08 22:28:55 +02:00
% title l('ADMIN_AUDIT');
%= include 'header'
%= include 'public_toolbar'
<div class="container-fluid">
2015-07-13 19:30:22 +02:00
%= include 'noscript'
2015-07-08 22:28:55 +02:00
<div class="panel panel-default">
<div class="panel-heading">
2015-07-23 14:15:30 +02:00
<form class="form-inline"
id="eventSearch">
2015-07-08 22:28:55 +02:00
<div class="form-group">
<div class="input-group">
2015-07-23 14:15:30 +02:00
<input type="text"
id="searchEvent"
2015-10-29 14:32:32 +01:00
class="form-control help"
data-toggle="tooltip"
data-placement="bottom"
title="<%= l('FILTER') %>"
2015-07-23 14:15:30 +02:00
value="">
2015-07-08 22:28:55 +02:00
<div class="input-group-addon">
<span class="glyphicon glyphicon-search">
</span>
</div>
</div>
</div>
<div class="form-group">
2015-07-23 14:15:30 +02:00
<input type="text"
id="dateStart"
name="dateStart"
2015-10-29 14:32:32 +01:00
class="form-control date-picker help"
data-toggle="tooltip"
data-placement="bottom"
title="<%= l('START_DATE') %>"
2015-07-23 14:15:30 +02:00
value="<%= DateTime->now->ymd %>">
2015-07-08 22:28:55 +02:00
</div>
<div class="form-group">
<div class="input-group">
2015-07-23 14:15:30 +02:00
<input type="text"
id="dateEnd"
name="dateEnd"
2015-10-29 14:32:32 +01:00
class="form-control date-picker help"
data-toggle="tooltip"
data-placement="bottom"
title="<%= l('END_DATE') %>"
2015-07-23 14:15:30 +02:00
value="<%= DateTime->now->ymd %>">
2015-07-08 22:28:55 +02:00
<span class="input-group-btn">
2015-07-23 14:15:30 +02:00
<button id="events_refresh"
class="btn btn-primary help"
data-toggle="tooltip"
data-placement="bottom"
title="<%= l('REFRESH_EVENTS') %>">
2015-07-08 22:28:55 +02:00
<span class="glyphicon glyphicon-play">
</span>
</button>
2015-07-23 14:15:30 +02:00
% if ($self->get_opt_features->{excel}){
<button id="events_export"
class="btn btn-default help"
data-toggle="tooltip"
data-placement="bottom"
title="<%= l('EXPORT_EVENTS') %>">
2015-07-16 22:47:22 +02:00
<span class="glyphicon glyphicon-save">
</span>
</button>
2015-07-23 14:15:30 +02:00
% }
2015-07-08 22:28:55 +02:00
</span>
</div>
<div class="form-group">
<select id="item-per-page"
class="form-control navbar-btn help"
data-toggle="tooltip"
data-placement="bottom"
title="<%= l('ITEM_PER_PAGE') %>">
% for my $i (qw(20 40 80 150 300)){
<option value="<%= $i %>"
%== ($i == 20) ? 'selected="selected">' : '>'
%= $i
</option>
% }
</select>
</div>
2015-07-08 22:28:55 +02:00
</div>
<div class="form-group pull-right hidden-xs">
2015-07-23 14:15:30 +02:00
%= image url_for('/img/loading.gif'), alt => $self->l('LOADING'), id => 'loadingIcon'
2015-07-08 22:28:55 +02:00
</div>
</div>
</div>
<div class="panel-body">
2015-07-23 14:15:30 +02:00
<div class="text-center"
id="pagination">
2015-07-08 22:28:55 +02:00
</div>
2015-07-13 19:30:22 +02:00
<table class="table table-hover">
2015-07-08 22:28:55 +02:00
<thead>
<tr>
<th class="hidden-xs">
2015-07-23 14:15:30 +02:00
%= l('EVENT_ID')
2015-07-08 22:28:55 +02:00
</th>
<th>
2015-07-23 14:15:30 +02:00
%= l('EVENT_DATE')
2015-07-08 22:28:55 +02:00
</th>
2015-07-13 22:26:41 +02:00
<th>
2015-07-23 14:15:30 +02:00
%= l('EVENT_FROM_IP')
2015-07-08 22:28:55 +02:00
</th>
2015-07-13 22:26:41 +02:00
<th class="hidden-xs">
2015-07-23 14:15:30 +02:00
%= l('EVENT')
2015-07-08 22:28:55 +02:00
</th>
<th class="hidden-xs">
2015-07-23 14:15:30 +02:00
%= l('EVENT_USER')
2015-07-08 22:28:55 +02:00
</th>
<th>
2015-07-23 14:15:30 +02:00
%= l('EVENT_MESSAGE')
2015-07-08 22:28:55 +02:00
</th>
</tr>
</thead>
<tbody id="eventList">
</tbody>
</table>
</div>
</div>
</div>
%= include 'js_common'
<script>
$(document).ready(function() {
initAdminAudit();
});
</script>
%= include 'footer'