default.html.erb
上传用户:netsea168
上传日期:2022-07-22
资源大小:4652k
文件大小:2k
源码类别:

Ajax

开发平台:

Others

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4.   <%= page_header %>
  5.   <title><%=h page_title %></title>
  6.   <%= stylesheet_link_tag '/stylesheets/theme/application.css', :media => 'all' %>
  7. </head>
  8. <body>
  9. <div class="outer-container">
  10. <div class="inner-container">
  11.    <div class="header">
  12. <div class="title">
  13.      <h1 class="sitename"><%= link_to this_blog.blog_name, this_blog.base_url %></h1>
  14.      <div class="slogan"><%= this_blog.blog_subtitle %></div>
  15. </div>
  16.    </div>
  17.     <div class="path">
  18.         <ul>
  19.             <li class="page_item <%= 'current_page_item' if (controller.controller_name == "articles" and controller.action_name == "index") %>">
  20.                 <%= link_to _("Home"), this_blog.base_url %>
  21.             </li>
  22.             <li class="page_item <%= 'current_page_item' if (controller.action_name != 'index' and controller.action_name != 'view_page') %>">
  23.                 <%= link_to _("Articles"), {:controller => "articles", :action => "archives"} if (controller.controller_name != "index" )%>
  24.             </li>
  25.             <li class="page_item <%= 'current_page_item' if (controller.controller_name == "articles" and controller.action_name == "view_page" and params[:name].to_s == 'about') %>">
  26.                 <%= link_to _("About"), this_blog.base_url + "/pages/about" %>
  27.             </li>
  28.         </ul>
  29.     </div>
  30.    <div class="main">
  31.      <div id="content">
  32.        <%= @content_for_layout %>
  33.        <%= javascript_tag 'show_dates_as_local_time()' %>
  34.      </div>
  35.      <div id="sidebar">
  36.        <!-- sidebar components -->
  37.        <%= render_sidebars %>
  38.      </div>
  39.      <br style="clear:both;" />
  40.    </div>
  41.    <div id="footer">
  42.      <div class="left"><%= link_to this_blog.blog_name, this_blog.base_url %></div>
  43. <div class="right">
  44.         <%= _("Designed by %s ported to typo by %s ", link_to('Dirtylicious', ' http://templates.arcsin.se/'), 
  45.         link_to("Fr茅d茅ric de Villamil", 'http://fredericdevillamil.com')) %> <br />
  46.         <%= _("Powered by %s", link_to('typo', 'http://typosphere.org')) %>
  47. </div>
  48. <div class="clearer"></div>
  49.    </div>
  50. </div>
  51. </div>
  52. </body>
  53. </html>