##// END OF EJS Templates
admin: show admin menus in add pages, and edit pages for users/groups/user groups
marcink -
r3585:1fe68664 new-ui
parent child Browse files
Show More
@@ -20,13 +20,12 b''
20 20 ${self.menu_items(active='admin')}
21 21 </%def>
22 22
23 <%def name="menu_bar_subnav()">
24 ${self.admin_menu(active='repository_groups')}
25 </%def>
26
23 27 <%def name="main()">
24 28 <div class="box">
25 <!-- box / title -->
26 <div class="title">
27 ${self.breadcrumbs()}
28 </div>
29 <!-- end box / title -->
30 29 ${h.secure_form(h.route_path('repo_group_create'), request=request)}
31 30 <div class="form">
32 31 <!-- fields -->
@@ -26,12 +26,12 b''
26 26 ${self.menu_items(active='admin')}
27 27 </%def>
28 28
29 <%def name="menu_bar_subnav()">
30 ${self.admin_menu(active='repositories')}
31 </%def>
32
29 33 <%def name="main()">
30 34 <div class="box">
31 <!-- box / title -->
32 <div class="title">
33 ${self.breadcrumbs()}
34 </div>
35 35 <%include file="repo_add_base.mako"/>
36 36 </div>
37 37 </%def>
@@ -19,13 +19,12 b''
19 19 ${self.menu_items(active='admin')}
20 20 </%def>
21 21
22 <%def name="menu_bar_subnav()">
23 ${self.admin_menu(active='user_groups')}
24 </%def>
25
22 26 <%def name="main()">
23 27 <div class="box main-content">
24 <!-- box / title -->
25 <div class="title">
26 ${self.breadcrumbs()}
27 </div>
28 <!-- end box / title -->
29 28 ${h.secure_form(h.route_path('user_groups_create'), request=request)}
30 29 <div class="form">
31 30 <!-- fields -->
@@ -20,11 +20,12 b''
20 20 ${self.menu_items(active='admin')}
21 21 </%def>
22 22
23 <%def name="menu_bar_subnav()">
24 ${self.admin_menu(active='user_groups')}
25 </%def>
26
23 27 <%def name="main()">
24 28 <div class="box">
25 <div class="title">
26 ${self.breadcrumbs()}
27 </div>
28 29
29 30 ##main
30 31 <div class="sidebar-col-wrapper">
@@ -25,13 +25,15 b''
25 25 ${self.menu_items(active='admin')}
26 26 </%def>
27 27
28 <%def name="menu_bar_subnav()">
29 ${self.admin_menu(active='users')}
30 </%def>
31
32
28 33 <%def name="main()">
29 34 <div class="box user_settings">
30 <div class="title">
31 ${self.breadcrumbs()}
32 </div>
33 35
34 ##main
36 ##main
35 37 <div class="sidebar-col-wrapper">
36 38 <div class="sidebar">
37 39 <ul class="nav nav-pills nav-stacked">
General Comments 0
You need to be logged in to leave comments. Login now