##// END OF EJS Templates
Added tag v4.27.0 for changeset 6cea3037df92
Added tag v4.27.0 for changeset 6cea3037df92

File last commit:

r3589:aac6b163 new-ui
r4774:012cd986 stable
Show More
admin_audit_logs.mako
43 lines | 1.4 KiB | application/x-mako | MakoHtmlLexer
audit-logs: introduced new view to replace admin journal....
r1758 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
${_('Admin audit logs')}
%if c.rhodecode_name:
&middot; ${h.branding(c.rhodecode_name)}
%endif
</%def>
nav: bring back quick filter and cleanup titles
r3589 <%def name="breadcrumbs_links()"></%def>
audit-logs: introduced new view to replace admin journal....
r1758
<%def name="menu_bar_nav()">
${self.menu_items(active='admin')}
</%def>
audit-logs: improve help text, and expose all audit commands for easier filtering +ui fixes
r2807
ui: navigation, fixed wrapping of new admin navigation items
r3566 <%def name="menu_bar_subnav()">
${self.admin_menu(active='audit_logs')}
</%def>
audit-logs: introduced new view to replace admin journal....
r1758 <%def name="main()">
<div class="box">
nav: bring back quick filter and cleanup titles
r3589 <div class="title">
${h.form(None, id_="filter_form", method="get")}
<input class="q_filter_box ${'' if c.search_term else 'initial'}" id="j_filter" size="15" type="text" name="filter" value="${c.search_term or ''}" placeholder="${_('filter...')}"/>
<input type='submit' value="${_('filter')}" class="btn" />
${_('Audit logs')} - ${_ungettext('%s entry', '%s entries', c.audit_logs.item_count) % (c.audit_logs.item_count)}
${h.end_form()}
<p class="filterexample" style="position: inherit" onclick="$('#search-help').toggle()">${_('Example Queries')}</p>
<pre id="search-help" style="display: none">${h.tooltip(h.journal_filter_help(request))}</pre>
</div>
audit-logs: introduced new view to replace admin journal....
r1758 <div class="table">
<div id="user_log">
<%include file="/admin/admin_log_base.mako" />
</div>
</div>
</div>
<script>
$('#j_filter').autoGrowInput();
</script>
</%def>