Fix for structure

This commit is contained in:
chris 2013-07-29 18:46:38 +08:00
parent f332a3191a
commit ff59feb2e7
3 changed files with 11 additions and 15 deletions

View File

@ -48,7 +48,7 @@ class Admin::PagePartsController < OrbitBackendController
get_categories_and_tags
get_frontend_data_count
@app_frontend_urls = get_app_frontend_urls
@no_orbit_bar = true
@no_orbit_bar = @side_bar = @no_header = true
end
def reload_widgets

View File

@ -2,15 +2,9 @@
<%= f.error_messages %>
<%= f.hidden_field :parent, :value => (@item.parent.id rescue nil) %>
<<<<<<< Updated upstream
<%= f.label :name, t(:name) %>
<%= f.text_field :name, class: 'input-xlarge', placeholder: t(:name) %>
=======
<%= f.label :name, content_tag(:i, nil, :class => "icons-star") + t(:name) %>
<%= f.text_field :name, class: 'input-xlarge', placeholder: t(:name) %>
<span class="help-block"><%= I18n.t("front_page.name_field_helper") %></span>
>>>>>>> Stashed changes
<%= f.label :url, t(:url) %>
<%= f.text_field :url, :class => 'input-xlarge', placeholder: t(:url) %>

View File

@ -11,16 +11,18 @@
</head>
<body id="sideset">
<%= render 'layouts/orbit_bar' unless @no_orbit_bar %>
<%= render 'site_bar' %>
<%= render 'admin/items/site_bar' unless @side_bar %>
<section id="main-wrap">
<div class="wrap-inner">
<div id="filter" class="topnav clearfix">
<ul class="breadcrumb text-info pull-left">
<li><a href="/orbit_4.0.1/admin/dashboards/dashboards.shtml">Dashboard</a> <span class="divider">/</span></li>
<li class="active">All</li>
</ul>
<%= yield :right_nav %>
</div>
<% unless @no_header %>
<div id="filter" class="topnav clearfix">
<ul class="breadcrumb text-info pull-left">
<li><a href="/orbit_4.0.1/admin/dashboards/dashboards.shtml">Dashboard</a> <span class="divider">/</span></li>
<li class="active">All</li>
</ul>
<%= yield :right_nav %>
</div>
<% end %>
<%= yield %>
<div id="pageslide">
<div id="view-page" class="nano" style="display:none">