mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 12:32:14 +09:00
issue 2578 fixed. layout edit page -> 'list button' add to page header.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11723 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bf72a52ea0
commit
4d8fe5b607
3 changed files with 1476 additions and 198 deletions
|
|
@ -64,7 +64,7 @@ jQuery(function($){
|
||||||
// Active Submenu Copy
|
// Active Submenu Copy
|
||||||
$xGnb_li.find('>ul>li.active_').clone().addClass('active').prependTo('#gnbNav');
|
$xGnb_li.find('>ul>li.active_').clone().addClass('active').prependTo('#gnbNav');
|
||||||
// GNB Hover toggle
|
// GNB Hover toggle
|
||||||
function reflow(){ // Chrome browser rendering bug fix
|
function reflow(){ // Browser bug fix & resize height
|
||||||
$xContent.width('99.99%');
|
$xContent.width('99.99%');
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
$xContent.removeAttr('style');
|
$xContent.removeAttr('style');
|
||||||
|
|
@ -129,6 +129,7 @@ jQuery(function($){
|
||||||
$section.removeClass('collapse').children('h1:first').siblings().show();
|
$section.removeClass('collapse').children('h1:first').siblings().show();
|
||||||
$this.removeClass('x_icon-chevron-down').addClass('x_icon-chevron-up');
|
$this.removeClass('x_icon-chevron-down').addClass('x_icon-chevron-up');
|
||||||
}
|
}
|
||||||
|
reflow();
|
||||||
});
|
});
|
||||||
// Alert Closer
|
// Alert Closer
|
||||||
var $xAlert = $('.x .x_alert');
|
var $xAlert = $('.x .x_alert');
|
||||||
|
|
|
||||||
1376
modules/admin/tpl/js/admin.min.js
vendored
1376
modules/admin/tpl/js/admin.min.js
vendored
File diff suppressed because it is too large
Load diff
|
|
@ -1,8 +1,11 @@
|
||||||
<include target="header.html" />
|
<include target="header.html" />
|
||||||
<load target="js/layout_modify.js" />
|
<load target="js/layout_modify.js" />
|
||||||
|
<section class="section">
|
||||||
<h2 cond="$act == 'dispLayoutAdminModify'">{$selected_layout->layout_title}</h2>
|
<h1 cond="$act == 'dispLayoutAdminModify'">
|
||||||
|
{$selected_layout->layout_title}
|
||||||
|
<a cond="$layout" class="x_btn" href="{getUrl('', 'module', 'admin', 'act', 'dispLayoutAdminInstanceList', 'layout', $selected_layout->layout)}" title="{$lang->cmd_list}" style="padding:3px 6px"><i class="x_icon-arrow-left"></i></a>
|
||||||
|
<a cond="!$layout" class="x_btn" href="{getUrl('', 'module', 'admin', 'act', 'dispLayoutAdminAllInstanceList')}" title="{$lang->cmd_list}" style="padding:3px 6px"><i class="x_icon-arrow-left"></i></a>
|
||||||
|
</h1>
|
||||||
<form id="config_form" ruleset="updateLayout"|cond="$act == 'dispLayoutAdminModify'" action="./" class="form" enctype="multipart/form-data" method="post">
|
<form id="config_form" ruleset="updateLayout"|cond="$act == 'dispLayoutAdminModify'" action="./" class="form" enctype="multipart/form-data" method="post">
|
||||||
<input type="hidden" name="module" value="layout" />
|
<input type="hidden" name="module" value="layout" />
|
||||||
<input type="hidden" name="act" value="procLayoutAdminUpdate"|cond="$act == 'dispLayoutAdminModify'" />
|
<input type="hidden" name="act" value="procLayoutAdminUpdate"|cond="$act == 'dispLayoutAdminModify'" />
|
||||||
|
|
@ -13,7 +16,6 @@
|
||||||
<!--// For submit config. Do not delete this division. -->
|
<!--// For submit config. Do not delete this division. -->
|
||||||
<div></div>
|
<div></div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div id="layout_config" class="x_form-horizontal">
|
<div id="layout_config" class="x_form-horizontal">
|
||||||
<div class="x_control-group">
|
<div class="x_control-group">
|
||||||
<label class="x_control-label">{$lang->layout}</label>
|
<label class="x_control-label">{$lang->layout}</label>
|
||||||
|
|
@ -55,11 +57,8 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<block cond="$act == 'dispLayoutAdminModify'" loop="$selected_layout->extra_var => $name, $var">
|
<block cond="$act == 'dispLayoutAdminModify'" loop="$selected_layout->extra_var => $name, $var">
|
||||||
<block cond="!$not_first && !$var->group"><section class="section"></block>
|
|
||||||
<block cond="$group != $var->group">
|
<block cond="$group != $var->group">
|
||||||
<block cond="$not_first"></section></block>
|
<h2>{$var->group}</h2>
|
||||||
<section class="section">
|
|
||||||
<h1>{$var->group}</h1>
|
|
||||||
{@$group = $var->group}
|
{@$group = $var->group}
|
||||||
</block>
|
</block>
|
||||||
{@$not_first = true}
|
{@$not_first = true}
|
||||||
|
|
@ -121,12 +120,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</block>
|
</block>
|
||||||
<block cond="$act == 'dispLayoutAdminModify'"></ul></block>
|
|
||||||
|
|
||||||
<section class="section">
|
<div cond="$selected_layout->menu" loop="$selected_layout->menu => $menu_name, $menu_info" class="x_control-group">
|
||||||
<h1 cond="$selected_layout->menu">{$lang->menu}</h1>
|
|
||||||
<div cond="$selected_layout->menu" class="x_form-horizontal">
|
|
||||||
<div loop="$selected_layout->menu => $menu_name, $menu_info" class="x_control-group">
|
|
||||||
<label class="x_control-label" for="{$menu_name}">{$menu_info->title}({$menu_name})</label>
|
<label class="x_control-label" for="{$menu_name}">{$menu_info->title}({$menu_name})</label>
|
||||||
<div class="x_controls">
|
<div class="x_controls">
|
||||||
<select name="{$menu_name}" id="{$menu_name}" style="width:220px">
|
<select name="{$menu_name}" id="{$menu_name}" style="width:220px">
|
||||||
|
|
@ -136,32 +131,28 @@
|
||||||
<a class="x_btn" href="{getUrl('module','admin','act','dispMenuAdminSiteMap')}">{$lang->cmd_management}</a>
|
<a class="x_btn" href="{getUrl('module','admin','act','dispMenuAdminSiteMap')}">{$lang->cmd_management}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="x_control-group">
|
<div cond="$selected_layout->menu" class="x_control-group">
|
||||||
<label class="x_control-label">{$lang->not_apply_menu}</label>
|
<label class="x_control-label">{$lang->not_apply_menu}</label>
|
||||||
<div class="x_controls">
|
<div class="x_controls">
|
||||||
<label class="x_inline"><input type="checkbox" name="apply_layout" id="apply_layout" value="Y" /> {$lang->about_not_apply_menu}</label>
|
<label class="x_inline"><input type="checkbox" name="apply_layout" id="apply_layout" value="Y" /> {$lang->about_not_apply_menu}</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div cond="$selected_layout->layout_type == 'M'" class="x_control-group">
|
<div cond="$selected_layout->menu && $selected_layout->layout_type == 'M'" class="x_control-group">
|
||||||
<label class="x_control-label">{$lang->apply_mobile_view}</label>
|
<label class="x_control-label">{$lang->apply_mobile_view}</label>
|
||||||
<div class="x_controls">
|
<div class="x_controls">
|
||||||
<label class="x_inline"><input type="checkbox" name="apply_mobile_view" id="apply_mobile_layout" value="Y" /> {$lang->about_apply_mobile_view}</label>
|
<label class="x_inline"><input type="checkbox" name="apply_mobile_view" id="apply_mobile_layout" value="Y" /> {$lang->about_apply_mobile_view}</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<div class="x_clearfix btnArea">
|
<div class="x_clearfix btnArea">
|
||||||
<span class="x_btn-group x_pull-left">
|
<span class="x_btn-group x_pull-left">
|
||||||
<!--@if($layout)-->
|
<a cond="$layout" class="x_btn" href="{getUrl('', 'module', 'admin', 'act', 'dispLayoutAdminInstanceList', 'layout', $selected_layout->layout)}">{$lang->cmd_list}</a>
|
||||||
<a class="x_btn" href="{getUrl('', 'module', 'admin', 'act', 'dispLayoutAdminInstanceList', 'layout', $selected_layout->layout)}">{$lang->cmd_list}</a>
|
<a cond="!$layout" class="x_btn" href="{getUrl('', 'module', 'admin', 'act', 'dispLayoutAdminAllInstanceList')}">{$lang->cmd_list}</a>
|
||||||
<!--@else-->
|
|
||||||
<a class="x_btn" href="{getUrl('', 'module', 'admin', 'act', 'dispLayoutAdminAllInstanceList')}">{$lang->cmd_list}</a>
|
|
||||||
<!--@end-->
|
|
||||||
</span>
|
</span>
|
||||||
<span class="x_btn-group x_pull-right">
|
<span class="x_btn-group x_pull-right">
|
||||||
<input class="x_btn x_btn-primary" type="submit" value="{$lang->cmd_insert}"|cond="$act == 'dispLayoutAdminInsert'" value="{$lang->cmd_save}"|cond="$act == 'dispLayoutAdminModify'" onclick="doSubmitConfig()"/>
|
<input class="x_btn x_btn-primary" type="submit" value="{$lang->cmd_insert}"|cond="$act == 'dispLayoutAdminInsert'" value="{$lang->cmd_save}"|cond="$act == 'dispLayoutAdminModify'" onclick="doSubmitConfig()"/>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</section>
|
||||||
<iframe name="hiddenIframe" src="about:blank" width="1000px" height="1000px" frameborder="0" style="position:absolute;top:-9999px;left:-9999px"></iframe>
|
<iframe name="hiddenIframe" src="about:blank" width="1000px" height="1000px" frameborder="0" style="position:absolute;top:-9999px;left:-9999px"></iframe>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue