UI cleaning.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12287 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-11-22 10:10:20 +00:00
parent d2bffa188b
commit 695693f66f
16 changed files with 47 additions and 72 deletions

View file

@ -993,7 +993,7 @@
</item>
<item name="installed_layout">
<value xml:lang="ko"><![CDATA[설치된 레이아웃]]></value>
<value xml:lang="en"><![CDATA[Layouts]]></value>
<value xml:lang="en"><![CDATA[Installed Layouts]]></value>
<value xml:lang="jp"><![CDATA[インストールされているレイアウト]]></value>
<value xml:lang="zh-TW"><![CDATA[已安裝版面]]></value>
</item>

View file

@ -1,9 +1,13 @@
<style>
#faceoff_migration_info img { border: 1px solid #ccc; padding: 5px; }
#faceoff_migration_info img {border:1px solid #ccc;padding:5px}
</style>
<div class="x_page-header">
<h1>{$lang->installed_layout}</h1>
<h1>
{$lang->installed_layout}
<span cond="$layout_info" style="font-size:14px">&gt; {$layout_info->title} v{$layout_info->version}({$layout_info->layout})</span>
<span cond="$selected_layout" style="font-size:14px">&gt; {$selected_layout->title} v{$selected_layout->version}({$selected_layout->layout})</span>
</h1>
</div>
<div cond="$layout == 'faceoff'" class="x_alert x_alert-block">

View file

@ -1,6 +1,5 @@
<include target="header.html" />
<include target="sub_tab.html" />
<table class="x_table x_table-striped x_table-hover dsTg">
<caption>
<div class="x_pull-right x_btn-group">

View file

@ -4,7 +4,6 @@
xe.lang.confirm_delete = '{$lang->confirm_delete}';
</script>
<include target="sub_tab.html" />
<table class="x_table x_table-striped x_table-hover">
<thead>
<tr>

View file

@ -9,13 +9,7 @@
<div></div>
</form>
<div id="layout_config" class="x_form-horizontal">
<div class="x_control-group">
<label class="x_control-label">{$lang->layout}</label>
<div class="x_controls">
{$selected_layout->title} ver {$selected_layout->version} ({$selected_layout->layout})
</div>
</div>
<section id="layout_config" class="x_form-horizontal">
<div cond="$selected_layout->path" class="x_control-group">
<label class="x_control-label">{$lang->path}</label>
<div class="x_controls">
@ -56,12 +50,15 @@
</div>
<block loop="$selected_layout->extra_var => $name, $var">
<block cond="!$not_first && !$var->group"><section class="section"></block>
<block cond="!$not_first && !$var->group">
<section class="section">
<h1>{$lang->extra_vars}</h1>
</block>
<block cond="$group != $var->group">
<block cond="$not_first"></section></block>
<section class="section">
<h1>{$var->group}</h1>
{@$group = $var->group}
<section>
<h2>{$var->group}</h2>
{@$group = $var->group}
</block>
{@$not_first = true}
<div class="x_control-group">
@ -84,19 +81,19 @@
<button class="x_icon-remove" type="button" onclick="deleteImage('{$name}')" title="{$lang->cmd_delete}">{$lang->cmd_delete}</button>
</div>
</div>
<form action="./" enctype="multipart/form-data" method="post" target="hiddenIframe" class="imageUpload">
<input type="hidden" name="module" value="layout" />
<input type="hidden" name="act" value="procLayoutAdminConfigImageUpload" />
<input type="hidden" name="layout_srl" value="{$layout_srl}" />
<input type="hidden" name="name" value="{$name}" />
<form action="./" enctype="multipart/form-data" method="post" target="hiddenIframe" class="imageUpload" style="margin:0">
<input type="hidden" name="module" value="layout" />
<input type="hidden" name="act" value="procLayoutAdminConfigImageUpload" />
<input type="hidden" name="layout_srl" value="{$layout_srl}" />
<input type="hidden" name="name" value="{$name}" />
<p>
<input type="file" name="img" id="file_select_{$name}" value="" title="{$lang->uploaded_file}" />
<input class="x_btn" type="submit" value="{$lang->cmd_submit}" />
<input class="x_btn" type="submit" value="{$lang->cmd_submit}" style="vertical-align:top" />
</p>
</form>
</block>
<select cond="$var->type == 'select'" name="{$name}" id="{$name}">
<select cond="$var->type == 'select'" name="{$name}" id="{$name}" style="width:auto">
<option loop="$var->options => $key, $val" value="{$key}" selected="selected"|cond="$key == $var->value">{$val->val}</option>
</select>
@ -123,11 +120,11 @@
<input type="text" class="color-indicator" name="{$name}" id="{$name}" value="{$var->value}" />
<p id="categoy_color_help" hidden style="margin:8px 0 0 0">{$lang->about_category_color}</p>
</block>
<span class="x_help-block">{$var->description}</span>
<p class="x_help-block">{$var->description}</p>
</div>
</div>
</block>
</ul>
</section>
<section class="section">
<h1 cond="$selected_layout->menu">{$lang->menu}</h1>

View file

@ -1,11 +1,8 @@
<include target="header.html" />
<load target="js/adminList.js" usecdn="true" />
<script>
xe.lang.confirm_delete = '{$lang->confirm_delete}';
xe.lang.confirm_delete = '{$lang->confirm_delete}';
</script>
<h2>{$layout_info->title} ver {$layout_info->version} ({$layout_info->layout})</h2>
<div cond="$layout_info->layout != 'faceoff'" class="x_clearfix">
<div class="x_btn-group x_pull-right">
<a href="#insertLayout" class="x_btn modalAnchor">{$lang->cmd_insert}&hellip;</a>
@ -97,7 +94,7 @@
<label class="x_control-label">{$lang->title}</label>
<div class="x_controls">
<input type="text" name="title" value="" />
<span class="x_help-block">{$lang->about_title}</span>
<p class="x_help-inline">{$lang->about_title}</p>
</div>
</div>
</div>