admin.html
45 lines
| 1.2 KiB
| text/html
|
HtmlLexer
r547 | ## -*- coding: utf-8 -*- | |||
<%inherit file="/base/base.html"/> | ||||
<%def name="title()"> | ||||
r619 | ${_('Admin journal')} - ${c.rhodecode_name} | |||
r547 | </%def> | |||
<%def name="breadcrumbs_links()"> | ||||
r3062 | <form id="filter_form"> | |||
<input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" value="${c.search_term or _('quick filter...')}"/> | ||||
r3063 | <input type='submit' value="${_('filter')}" class="ui-btn" style="padding:0px 2px 0px 2px;margin:0px"/> | |||
${_('Admin journal')} - ${ungettext('%s entry', '%s entries', c.users_log.item_count) % (c.users_log.item_count)} | ||||
r3062 | </form> | |||
${h.end_form()} | ||||
r547 | </%def> | |||
<%def name="page_nav()"> | ||||
${self.menu('admin')} | ||||
</%def> | ||||
<%def name="main()"> | ||||
<div class="box"> | ||||
<!-- box / title --> | ||||
<div class="title"> | ||||
${self.breadcrumbs()} | ||||
</div> | ||||
<!-- end box / title --> | ||||
<div class="table"> | ||||
<div id="user_log"> | ||||
${c.log_data} | ||||
</div> | ||||
</div> | ||||
r1888 | </div> | |||
r3062 | ||||
<script> | ||||
YUE.on('q_filter','click',function(){ | ||||
YUD.get('q_filter').value = ''; | ||||
}); | ||||
YUE.on('filter_form','submit',function(e){ | ||||
YUE.preventDefault(e) | ||||
var val = YUD.get('q_filter').value; | ||||
window.location = "${url.current(filter='__FILTER__')}".replace('__FILTER__',val); | ||||
}); | ||||
</script> | ||||
r1888 | </%def> | |||
r3062 | ||||