index.html.erb
上传用户:netsea168
上传日期:2022-07-22
资源大小:4652k
文件大小:2k
- <% @page_heading = _('Sidebar') %>
- <% subtabs_for(:themes) %>
- <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')",
- :success => "var g = new k.Growler({location : 'br'});
- g.info('Sidebar was successfully saved', {life: 3});",
- :failure => "var g = new k.Growler({location : 'br'});
- g.error('Oops, something wrong happened', {life: 3});
- ") %>
- <div>
- <%= save(_('Publish changes'))%>
- </div>
- <div id="messages"> </div>
- <div id="sidebar-config">
- <div id="available" class='ui-accordion ui-widget ui-helper-reset ui-accordion-icons'>
- <h3 class='ui-accordion-header ui-helper-reset ui-state-active ui-corner-top'><%= _("Available Items")%></h3>
- <div id="available_box" class='ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content-active'>
- <%= render :partial => 'availables', :object => @available %>
- </div>
- </div>
- <div id="cnt-active" class='ui-accordion ui-widget ui-helper-reset ui-accordion-icons'>
- <h3 id="hdr-active" class='ui-accordion-header ui-helper-reset ui-state-active ui-corner-top'>
- <%= _("Active Sidebar items")%>
- <%= image_tag "spinner-blue.gif", :id => 'update_spinner',
- :style => 'display:none;' -%>
- </h3>
- <div id="active" class='ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content-active'>
- <%= render :partial => 'actives', :object => @active %>
- </div>
- </div>
- <br class='clear' />
- <div>
- <%= save(_('Publish changes'))%>
- </div>
- </div>
-
- <h2><%= _("Get more plugins") %></h2>
- <p>You can download and install sidebar plugins from our official <a href="http://wiki.github.com/fdv/typo/typo-plugins-list">plugin repository</a>. All you have to do is upload the theme directory in your vendor/plugins directory. You can aso run</p>
-
- <p><code>script/plugins install http://svn.typosphere.org/plugins/myplugin.</code></p>
-