[Opda-develop] OPDA/themes/default/layouts default-old.rhtml, NONE, 1.1
Brought to you by:
digitalpodcast
|
From: Alex N. <dig...@us...> - 2006-07-23 06:26:42
|
Update of /cvsroot/opda/OPDA/themes/default/layouts In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv15096/themes/default/layouts Added Files: default-old.rhtml Log Message: made major changes to css to improve ui. font size will need to be tuned up across the app. Old default.css moved to default-old.css. Also updated default.rhtml to use new css --- NEW FILE: default-old.rhtml --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>OPDA - Podcasts</title> <%= stylesheet_link_tag 'scaffold' %> <%= theme_stylesheet_link_tag 'default' %> <%= javascript_include_tag :defaults %> </head> <!-- TODO --> <body> <div id="page"> <div id="header"> <div class="floatright"> <% if !session[:user] %> <%= link_to 'Login', :controller => 'user', :action => 'login' %> <% else %> <%= link_to 'Logout', :controller => 'user', :action => 'logout' %> <%end%> </div> <div id='logo'><%= link_to (theme_image_tag("logo.png", :border => 0),:controller => 'channels', :action => 'index')%> </div> <!--Begin Nav Buttons --> <div id = "pagemenu"> <ul id="navtabs"> <% if authorized?(:controller =>'user', :action => 'home') %> <li class="right"> <%= link_to 'My subscriptions'.t,:controller => 'subscription_lists', :action => 'list' %> </li> <li class="right"> <%= link_to 'Add a Podcast'.t,:controller => 'channels', :action => 'new' %> </li> <li class="right"> <%= link_to 'Home'.t,:controller => 'user', :action => 'home' %> </li> <% end %> <% if session[:user] && session[:user].admin? %> <li class="farright"> <%= link_to 'Admin',:controller => 'admin/panel', :action => 'index' %> </li> <%end%> </ul> </div> <!---End Nav Buttons --> </div> <!-- End Header --> <div id="content"> <p style="color: green"><%= flash[:notice] %></p> <% if controller.controller_name == 'channels' && controller.action_name == 'index'%> <!-- no sidebar --> <% else %> <%= render_component (:controller => 'sidebar/sidetags', :action => 'sidebar') %> <% end %> <%= @content_for_layout %> </div> <!-- end content --> <div id = "footer"> <span>Powered by Ruby on Rails</span> </div><!--end footer --> </div> <!-- end page div --> </body> </html> |