comparison rhodecode/templates/admin/settings/hooks.html @ 3197:b4f401524060 beta

html: don't use tabs
author Mads Kiilerich <madski@unity3d.com>
date Tue, 22 Jan 2013 23:44:38 +0100
parents 7ae36df760ce
children c20adbaf16af
comparison
equal deleted inserted replaced
3196:809fe2d392f8 3197:b4f401524060
8 <%def name="breadcrumbs_links()"> 8 <%def name="breadcrumbs_links()">
9 ${h.link_to(_('Admin'),h.url('admin_home'))} &raquo; ${_('Settings')} 9 ${h.link_to(_('Admin'),h.url('admin_home'))} &raquo; ${_('Settings')}
10 </%def> 10 </%def>
11 11
12 <%def name="page_nav()"> 12 <%def name="page_nav()">
13 ${self.menu('admin')} 13 ${self.menu('admin')}
14 </%def> 14 </%def>
15 15
16 <%def name="main()"> 16 <%def name="main()">
17 <div class="box"> 17 <div class="box">
18 <!-- box / title --> 18 <!-- box / title -->
24 <h3>${_('Built in hooks - read only')}</h3> 24 <h3>${_('Built in hooks - read only')}</h3>
25 <div class="form"> 25 <div class="form">
26 <div class="fields"> 26 <div class="fields">
27 % for hook in c.hooks: 27 % for hook in c.hooks:
28 <div class="field"> 28 <div class="field">
29 <div class="label label"> 29 <div class="label label">
30 <label for="${hook.ui_key}">${hook.ui_key}</label> 30 <label for="${hook.ui_key}">${hook.ui_key}</label>
31 </div> 31 </div>
32 <div class="input" style="margin-left:280px"> 32 <div class="input" style="margin-left:280px">
33 ${h.text(hook.ui_key,hook.ui_value,size=60,readonly="readonly")} 33 ${h.text(hook.ui_key,hook.ui_value,size=60,readonly="readonly")}
34 </div> 34 </div>
35 </div> 35 </div>
36 % endfor 36 % endfor
37 </div> 37 </div>
38 </div> 38 </div>
39 39
40 <h3>${_('Custom hooks')}</h3> 40 <h3>${_('Custom hooks')}</h3>
41 ${h.form(url('admin_setting', setting_id='hooks'),method='put')} 41 ${h.form(url('admin_setting', setting_id='hooks'),method='put')}
42 <div class="form"> 42 <div class="form">