1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-26 17:43:29 +02:00
vroom/templates/default/admin_audit.html.ep

83 lines
2.7 KiB
Plaintext
Raw 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-13 19:30:22 +02:00
<form class="form-inline" id="eventSearch" role="form">
2015-07-08 22:28:55 +02:00
<div class="form-group">
<div class="input-group">
<input type="text" id="searchEvent" class="form-control" value=""/>
<div class="input-group-addon">
<span class="glyphicon glyphicon-search">
</span>
</div>
</div>
</div>
<div class="form-group">
<input type="text" id="dateStart" name="dateStart" class="form-control date-picker" value="<%= DateTime->now->ymd %>"/>
</div>
<div class="form-group">
<div class="input-group">
<input type="text" id="dateEnd" name="dateEnd" class="form-control date-picker" value="<%= DateTime->now->ymd %>"/>
<span class="input-group-btn">
<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>
<% 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-08 22:28:55 +02:00
</span>
</div>
</div>
<div class="form-group pull-right hidden-xs">
2015-07-13 19:30:22 +02:00
%= image '/img/loading.gif', alt => $self->l('LOADING'), id => 'loadingIcon'
2015-07-08 22:28:55 +02:00
</div>
</div>
</div>
<div class="panel-body">
<div class="text-center" id="pagination">
</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">
<%= l('EVENT_ID') %>
2015-07-08 22:28:55 +02:00
</th>
<th>
<%= l('EVENT_DATE') %>
2015-07-08 22:28:55 +02:00
</th>
2015-07-13 22:26:41 +02:00
<th>
<%= 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">
<%= l('EVENT') %>
2015-07-08 22:28:55 +02:00
</th>
<th class="hidden-xs">
<%= l('EVENT_USER') %>
2015-07-08 22:28:55 +02:00
</th>
<th>
<%= 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'