##// 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 ${self.menu_items(active='admin')}
20 ${self.menu_items(active='admin')}
21 </%def>
21 </%def>
22
22
23 <%def name="menu_bar_subnav()">
24 ${self.admin_menu(active='repository_groups')}
25 </%def>
26
23 <%def name="main()">
27 <%def name="main()">
24 <div class="box">
28 <div class="box">
25 <!-- box / title -->
26 <div class="title">
27 ${self.breadcrumbs()}
28 </div>
29 <!-- end box / title -->
30 ${h.secure_form(h.route_path('repo_group_create'), request=request)}
29 ${h.secure_form(h.route_path('repo_group_create'), request=request)}
31 <div class="form">
30 <div class="form">
32 <!-- fields -->
31 <!-- fields -->
@@ -26,12 +26,12 b''
26 ${self.menu_items(active='admin')}
26 ${self.menu_items(active='admin')}
27 </%def>
27 </%def>
28
28
29 <%def name="menu_bar_subnav()">
30 ${self.admin_menu(active='repositories')}
31 </%def>
32
29 <%def name="main()">
33 <%def name="main()">
30 <div class="box">
34 <div class="box">
31 <!-- box / title -->
32 <div class="title">
33 ${self.breadcrumbs()}
34 </div>
35 <%include file="repo_add_base.mako"/>
35 <%include file="repo_add_base.mako"/>
36 </div>
36 </div>
37 </%def>
37 </%def>
@@ -19,13 +19,12 b''
19 ${self.menu_items(active='admin')}
19 ${self.menu_items(active='admin')}
20 </%def>
20 </%def>
21
21
22 <%def name="menu_bar_subnav()">
23 ${self.admin_menu(active='user_groups')}
24 </%def>
25
22 <%def name="main()">
26 <%def name="main()">
23 <div class="box main-content">
27 <div class="box main-content">
24 <!-- box / title -->
25 <div class="title">
26 ${self.breadcrumbs()}
27 </div>
28 <!-- end box / title -->
29 ${h.secure_form(h.route_path('user_groups_create'), request=request)}
28 ${h.secure_form(h.route_path('user_groups_create'), request=request)}
30 <div class="form">
29 <div class="form">
31 <!-- fields -->
30 <!-- fields -->
@@ -20,11 +20,12 b''
20 ${self.menu_items(active='admin')}
20 ${self.menu_items(active='admin')}
21 </%def>
21 </%def>
22
22
23 <%def name="menu_bar_subnav()">
24 ${self.admin_menu(active='user_groups')}
25 </%def>
26
23 <%def name="main()">
27 <%def name="main()">
24 <div class="box">
28 <div class="box">
25 <div class="title">
26 ${self.breadcrumbs()}
27 </div>
28
29
29 ##main
30 ##main
30 <div class="sidebar-col-wrapper">
31 <div class="sidebar-col-wrapper">
@@ -25,13 +25,15 b''
25 ${self.menu_items(active='admin')}
25 ${self.menu_items(active='admin')}
26 </%def>
26 </%def>
27
27
28 <%def name="menu_bar_subnav()">
29 ${self.admin_menu(active='users')}
30 </%def>
31
32
28 <%def name="main()">
33 <%def name="main()">
29 <div class="box user_settings">
34 <div class="box user_settings">
30 <div class="title">
31 ${self.breadcrumbs()}
32 </div>
33
35
34 ##main
36 ##main
35 <div class="sidebar-col-wrapper">
37 <div class="sidebar-col-wrapper">
36 <div class="sidebar">
38 <div class="sidebar">
37 <ul class="nav nav-pills nav-stacked">
39 <ul class="nav nav-pills nav-stacked">
General Comments 0
You need to be logged in to leave comments. Login now