Small Cleanups + Merchandise Search
[cs356-p2-videostore.git] / app / views / layouts / admin.rhtml
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2                       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
3
4 <html>
5 <head>
6   <title>PripPropPrix Video</title>
7   <%= stylesheet_link_tag "scaffold", "depot", :media => "all" %>
8 </head>
9 <body id="admin">
10   <div id="banner">
11     <img src="/images/logo2.png" />
12     <%= @page_title || "PripPropPrix" %>
13   </div>
14   <div id="columns">
15     <div id="side">
16       <p><%= link_to "Customer Transaction", :controller => 'purchase', :action => 'begin' %></p>
17       <p><%= link_to "Return Items", :controller => 'coitem', :action => 'return' %></p>
18       <br/>
19       <p><%= link_to "Manage Customers", :controller => 'customer', :action => 'index' %></p>
20       <p><%= link_to "Manage Games", :controller => 'game', :action => 'index' %></p>
21       <p><%= link_to "Manage Merchandise", :controller => 'merchandise', :action => 'index' %></p>
22       <p><%= link_to "Manage Videos", :controller => 'video', :action => 'index' %></p>
23       <br/>
24       <p><%= link_to "Checked Out Items", :controller => 'coitem', :action => 'index' %></p>
25       <p><%= link_to "Financial Information", :controller => 'purchase', :action => 'index' %></p>
26       <p><%= link_to "Rental and Bonus Policies", :controller => 'login', :action => 'limits' %></p>
27       <br/>
28       <p><%= link_to "Manage Users", :controller => 'login', :action => 'maintenance' %></p>
29       <br/>
30       <p><%= link_to "Logout", :controller => 'login', :action => 'logout' %></p>
31     </div>
32   <div id="main">
33     <% if flash[:notice] -%>
34       <div id="notice"><%= flash[:notice] %></div>
35     <% end -%> <%= yield :layout %>
36   </div>
37 </div>
38 </body>
39 </html>