index.rhtml

来自「用ruby on rails写的一个博客程序,还不错..ruby on rail」· RHTML 代码 · 共 39 行

RHTML
39
字号
 <% @page_heading = 'Sidebar' %><% content_for('tasks') do %>	<%= tab _("Choose a theme"), :controller=>"themes", :action=>"index" %>	<%= tab _("Manage Text Filters"), :controller=>"textfilters", :action=>"list" %><% end %>  <p><%= _("Drag and drop to change the sidebar items displayed on this blog.  To remove items from the sidebar just click remove  Changes are saved immediately, but not activated until you click the 'Publish' button")%>.</p>  <%= form_remote_tag(:url=>{:action=>'publish'},                      :loading => "new Element.show('update_spinner')")  %>  <input value="<%= _('Publish changes')%>" class="space" type="submit"/>  <div id="messages">&nbsp;</div>  <div id="sidebar-config">    <div id="available" class="dropbox">      <h3><%= _("Available Items")%></h3>      <div id="available_box">        <%= render :partial => 'availables', :object => @available %>      </div>    </div>    <div id="cnt-active">      <h3 id="hdr-active">        <%= _("Active Sidebar items")%>        <%= image_tag "spinner-blue.gif", :id => 'update_spinner',                      :style => 'display:none;' -%>      </h3>      <div id="active" class="dropbox">        <%= render :partial => 'actives', :object => @active %>      </div>    </div>    <br clear="all" />    <input value="<%= _('Publish changes')%>" class="space" type="submit"/>  </div>  <%= end_form_tag %>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?