initial users/roles/perms admin stuff
This commit is contained in:
parent
02d4cfc6c5
commit
ba94a015a6
24 changed files with 1061 additions and 110 deletions
2
edbob/pyramid/templates/users/base.mako
Normal file
2
edbob/pyramid/templates/users/base.mako
Normal file
|
@ -0,0 +1,2 @@
|
|||
<%inherit file="/base.mako" />
|
||||
${parent.body()}
|
10
edbob/pyramid/templates/users/index.mako
Normal file
10
edbob/pyramid/templates/users/index.mako
Normal file
|
@ -0,0 +1,10 @@
|
|||
<%inherit file="/users/base.mako" />
|
||||
<%inherit file="/index.mako" />
|
||||
|
||||
<%def name="title()">Users</%def>
|
||||
|
||||
<%def name="menu()">
|
||||
<p>${h.link_to("Create a new User", url('user.new'))}</p>
|
||||
</%def>
|
||||
|
||||
${parent.body()}
|
10
edbob/pyramid/templates/users/user.mako
Normal file
10
edbob/pyramid/templates/users/user.mako
Normal file
|
@ -0,0 +1,10 @@
|
|||
<%inherit file="/users/base.mako" />
|
||||
<%inherit file="/crud.mako" />
|
||||
|
||||
<%def name="crud_name()">User</%def>
|
||||
|
||||
<%def name="menu()">
|
||||
<p>${h.link_to("Back to Users", url('users.list'))}</p>
|
||||
</%def>
|
||||
|
||||
${parent.body()}
|
Loading…
Add table
Add a link
Reference in a new issue