Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>MotoFoto Administration || <%= yield(:title) || "Index"%></title>
- <%= javascript_include_tag :defaults %>
- <style type="text/css">
- <!--
- body {
- height: 100%;
- background-image: url('<%= yield (:background_image) ||"/images/admin/confidential_stamp.jpg" %>');
- background-repeat: no-repeat;
- background-attachment: fixed;
- background-position: 60% 20%;
- }
- div#navbar {
- height: 30px;
- width: 100%;
- border-top: solid #000 1px;
- border-bottom: solid #000 1px;
- background-color: #336699;
- }
- div#navbar ul {
- margin: 0px;
- padding: 0px;
- font-family: Arial, Helvetica, sans-serif;
- font-size: small;
- color: #FFF;
- line-height: 30px;
- white-space: nowrap;
- }
- div#navbar li {
- list-style-type: none;
- display: inline;
- }
- div#navbar li a {
- text-decoration: none;
- padding: 7px 10px;
- color: #FFF;
- }
- div#navbar li a:link {
- color: #FFF:
- }
- div#navbar li a:visited {
- color: #CCC;
- }
- div#navbar li a:hover {
- font-weight: bold;
- color: #FFF;
- background-color: #3366FF;
- }
- -->
- </style>
- </head>
- <body>
- <% unless session[:user_id].nil? -%>
- <div id="navbar">
- <ul>
- <li><%= link_to 'Show Form Factors', :action => "show_form_factors" %></li>
- <li><%= link_to 'Show Internal Phone Models', :action => "show_phone_models" %></li>
- <li><%= link_to_remote 'Show Technologies', :url => {:action => "show_technologies", :update => {:success => "main_content"}} %></li>
- <li><%= link_to 'Show Photo Types', :action => "show_photo_types" %></li>
- <li><%= link_to 'Index', :action => "index" %></li>
- <li><%= link_to 'Logout', :action => "logout" %></li>
- </ul></td>
- <% end -%>
- </div>
- <%= flash[:notice] %><br /><%= yield %>
- </body>
- </html>
Add Comment
Please, Sign In to add comment