add employee views

This commit is contained in:
Lance Edgar 2012-07-26 14:04:03 -07:00
parent 5deb198846
commit 6ba157ccb2
7 changed files with 135 additions and 0 deletions

View file

@ -0,0 +1,2 @@
<%inherit file="/base.mako" />
${parent.body()}

View file

@ -0,0 +1,8 @@
<%inherit file="/employees/base.mako" />
<%inherit file="/crud.mako" />
<%def name="menu()">
<p>${h.link_to("Back to Employees", url('employees.list'))}</p>
</%def>
${parent.body()}

View file

@ -0,0 +1,2 @@
<%inherit file="/employees/crud.mako" />
${parent.body()}

View file

@ -0,0 +1,12 @@
<%inherit file="/employees/base.mako" />
<%inherit file="/index.mako" />
<%def name="title()">Employees</%def>
<%def name="menu()">
% if request.has_perm('employees.create'):
<p>${h.link_to("Create a new Employee", url('employees.new'))}</p>
% endif
</%def>
${parent.body()}

View file

@ -0,0 +1,2 @@
<%inherit file="/employees/crud.mako" />
${parent.body()}