issue 404, changed ui of layout info

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12324 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
chschy 2012-11-29 01:43:09 +00:00
parent 5ee075279c
commit 5c74ac93f5

View file

@ -48,19 +48,30 @@
<span class="x_help-block">{$lang->about_header_script}</span>
</div>
</div>
<block loop="$selected_layout->extra_var => $name, $var">
<block cond="!$not_first && !$var->group">
<section class="section">
<section class="section" cond="count($selected_layout->extra_var)">
<h1>{$lang->extra_vars}</h1>
</block>
<div class="x_tabbable">
{@$cnt = 1}
<block loop="$selected_layout->extra_var => $name, $var">
<block cond="$cnt == 1 && $var->group"><ul class="x_nav x_nav-tabs"></block>
<block cond="$group != $var->group">
<block cond="$not_first"></section></block>
<section>
<h2>{$var->group}</h2>
<li class="x_active"|cond="$cnt == 1"><a href="#extra_var{$cnt}" data-index="{$cnt}">{$var->group}</a></li>
{@$group = $var->group}
{@$cnt ++}
</block>
</block>
</ul>
{@$group = ''}
{@$cnt = 1}
<div class="x_tab-content">
<block loop="$selected_layout->extra_var => $name, $var">
<block cond="$group != $var->group">
<block cond="$cnt != 1"></div></block>
<div style="display: none;"|cond="$cnt != 1" id="extra_var{$cnt}" class="x_tab-pane <!--@if($cnt == 1)-->x_active<!--@end-->" data-index="{$cnt}">
{@$group = $var->group}
{@$cnt ++}
</block>
{@$not_first = true}
<div class="x_control-group">
<label class="x_control-label" for="{$name}">{$var->title}</label>
<div class="x_controls">
@ -124,8 +135,9 @@
</div>
</div>
</block>
</div>
</div>
</section>
<section class="section">
<h1 cond="$selected_layout->menu">{$lang->menu}</h1>
<div cond="$selected_layout->menu" class="x_form-horizontal">