UI cleaning.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12308 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-11-27 05:56:43 +00:00
parent 300e241ed8
commit db95e36caf
12 changed files with 117 additions and 119 deletions

View file

@ -104,6 +104,7 @@ body>.x,
.x .x_control-group:before{content:"";display:block;clear:both}
.x .x_control-group:first-child,
.x .x_control-group:first-of-type{border-top:0;padding-top:0}
.x .x_control-group select{width:auto;min-width:220px}
.x input[type="text"],
.x input[type="password"],
.x input[type="datetime"],
@ -133,6 +134,7 @@ body>.x,
.x label{font-weight:inherit}
.x p:last-child{margin-bottom:0}
.x form{margin:0 0 10px 0}
.x form .x_btn-primary[type="submit"]:only-of-type{min-width:160px}
.x .x_help-inline{display:inline;vertical-align:baseline}
/* Custom Styles */
.x .section{margin:20px 0 40px 0}

File diff suppressed because one or more lines are too long

View file

@ -1,3 +1,3 @@
.barContainer{margin-right:103px;position:relative;height:100%;}
.graphHr{position:relative; display:inline-block; background:transparent url(images/iconBar.gif) 4px 0 repeat-x; top:5px; height:5px; }
.graphHr span{position:absolute; top:-5px; left:100%; padding-left:3px; width:100px; }
.graphHr{position:relative; display:inline-block; background:transparent url(images/iconBar.gif) 4px 0 repeat-x;height:5px}
.graphHr>span{position:absolute;top:-7px;left:100%;padding-left:4px;width:100px}

View file

@ -15,60 +15,63 @@
<h1>{$lang->counter} {$lang->cmd_management}</h1>
</div>
<form action="./index.php" method="get" name="calendar" id="fo_calendar">
<form action="./index.php" method="get" name="calendar" id="fo_calendar" style="margin-bottom:30px">
<input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="act" value="{$act}" />
<input type="hidden" name="selected_date" id="selected_date" value="{zDate('Ymd',$selected_date)}" />
<table class="x_table x_table-striped x_table-hover">
<thead>
<tr>
<th scope="row">{$lang->total_counter}</th>
<th scope="row">
<span id="str_selected_date">{zdate($selected_date, "Y-m-d")}</span>
<input type="hidden" class="inputDate" value="{zdate($selected_date,'Y-m-d')}" />
<script>
(function($){
$(function(){
var option = {
changeMonth: true
,changeYear: true
,gotoCurrent: false
,dateFormat:'yy-mm-dd'
,yearRange:'-100:+10'
,showOn:"button"
,buttonImage:"./modules/counter/tpl/images/buttonCalendar.gif"
,buttonImageOnly:true
,mandatory:true
,onSelect:function(){
$("#str_selected_date").html(this.value);
$("#selected_date").val(this.value.replace(/-/g,''));
moveDate();
}
};
$.extend(option,$.datepicker.regional['{$lang_type}']);
$(".inputDate").datepicker(option);
});
})(jQuery);
</script>
</th>
</tr>
<tr>
<th scope="row">{$lang->total_counter}</th>
<th scope="row">
<span id="str_selected_date">{zdate($selected_date, "Y-m-d")}</span>
<input type="hidden" class="inputDate" value="{zdate($selected_date,'Y-m-d')}" />
<script>
(function($){
$(function(){
var option = {
changeMonth: true
,changeYear: true
,gotoCurrent: false
,dateFormat:'yy-mm-dd'
,yearRange:'-100:+10'
,showOn:"button"
,buttonImage:"./modules/counter/tpl/images/buttonCalendar.gif"
,buttonImageOnly:false
,mandatory:true
,onSelect:function(){
$("#str_selected_date").html(this.value);
$("#selected_date").val(this.value.replace(/-/g,''));
moveDate();
}
};
$.extend(option,$.datepicker.regional['{$lang_type}']);
$(".inputDate").datepicker(option);
});
})(jQuery);
</script>
<style scoped>
.ui-datepicker-trigger{cursor:pointer;border:0;background:none;padding:0}
</style>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>Visitor <strong>{number_format($total_counter->unique_visitor)}</strong> &nbsp;/&nbsp; Pageview : <strong>{number_format($total_counter->pageview)}</strong></td>
<td>Visitor : <strong>{number_format($selected_day_counter->unique_visitor)}</strong> &nbsp;/&nbsp; Pageview : <strong>{number_format($selected_day_counter->pageview)}</strong></td>
</tr>
<tr>
<td>Visitor <strong>{number_format($total_counter->unique_visitor)}</strong> &nbsp;/&nbsp; Pageview : <strong>{number_format($total_counter->pageview)}</strong></td>
<td>Visitor : <strong>{number_format($selected_day_counter->unique_visitor)}</strong> &nbsp;/&nbsp; Pageview : <strong>{number_format($selected_day_counter->pageview)}</strong></td>
</tr>
</tbody>
</table>
</form>
<p>
<block loop="$lang->cmd_select_counter_type => $key, $val">
<a href="{getUrl('type',$key)}" class="active"|cond="$type==$key || (!$type && $key == 'hour')">{$val}</a> <i class="vr">|</i>
</block>
</p>
<ul class="x_nav x_nav-tabs">
<li loop="$lang->cmd_select_counter_type => $key, $val" class="x_active"|cond="$type==$key || (!$type && $key == 'hour')">
<a href="{getUrl('type',$key)}">{$val}</a>
</li>
</ul>
<!-- 일자를 옮기는 form -->
<form action="./" method="get" id="fo_counter">
@ -79,46 +82,45 @@
<!-- unique visitor 그래프 -->
<table class="x_table x_table-striped x_table-hover">
<!--@foreach($detail_status->list as $key => $val)-->
<!--@if($detail_status->sum>0)-->
{@$percent = sprintf("%0.2f", $val / $detail_status->sum * 100 )}
{@$img_width = sprintf("%d", $val / $detail_status->max * 100 )}
<!--@else-->
{@$percent = 0}
{@$img_width = 1}
<!--@end-->
<tr>
<!--@if(Context::getLangType()=='en')-->
<th scope="row"> <!--// 시간대별 -->
<!--@if($type == 'year')-->
<em>{$key}</em>
<!--@elseif($type == 'month')-->
<em>{$key}</em>
<!--@elseif($type == 'day')-->
<em>{$key}</em> {$lang->unit_day}
<!--@foreach($detail_status->list as $key => $val)-->
<!--@if($detail_status->sum>0)-->
{@$percent = sprintf("%0.2f", $val / $detail_status->sum * 100 )}
{@$img_width = sprintf("%d", $val / $detail_status->max * 100 )}
<!--@else-->
<em>{$key}</em>
<!--@end--> </th>
<!--@else-->
<th scope="row"> <!--// 시간대별 -->
<!--@if($type == 'year')-->
<em>{$key}</em> {$lang->unit_year}
<!--@elseif($type == 'month')-->
<em>{$key}</em> {$lang->unit_month}
<!--@elseif($type == 'day')-->
<em>{$key}</em> {$lang->unit_day}
<!--@else-->
<em>{$key}</em> {$lang->unit_hour}
<!--@end--> </th>
{@$percent = 0}
{@$img_width = 1}
<!--@end-->
<tr>
<th scope="row" cond="Context::getLangType()=='en'"> <!--// 시간대별 -->
<!--@if($type == 'year')-->
{$key}
<!--@elseif($type == 'month')-->
{$key}
<!--@elseif($type == 'day')-->
{$key} {$lang->unit_day}
<!--@else-->
{$key}
<!--@end-->
</th>
<th scope="row" cond="Context::getLangType()!='en'"> <!--// 시간대별 -->
<!--@if($type == 'year')-->
{$key} {$lang->unit_year}
<!--@elseif($type == 'month')-->
{$key} {$lang->unit_month}
<!--@elseif($type == 'day')-->
{$key} {$lang->unit_day}
<!--@else-->
{$key} {$lang->unit_hour}
<!--@end-->
</th>
{@ $img_width = (int)$percent; $img_width = $img_width?$img_width.'%':'3px'; }
<td>
<div class="barContainer">
<span class="graphHr" style="width:{$img_width}">
<span>{number_format($val)}({$percent}%)</span>
</span>
</div>
</td>
</tr>
<!--@end-->
{@ $img_width = (int)$percent; $img_width = $img_width?$img_width.'%':'3px'; }
<td >
<div class="barContainer">
<span class="graphHr" style="width:{$img_width}">
<span>{number_format($val)}({$percent}%)</span>
</span>
</div>
</td>
</tr>
<!--@end-->
</table>

View file

@ -12,8 +12,8 @@
<div class="x_control-group">
<label for="sample_code" class="x_control-label">{$lang->sample_code}</label>
<div class="x_controls" style="margin-right:14px">
<textarea id="sample_code" readonly style="width:100%;height:100px;cursor:text">{$sample_code}</textarea>
<span class="x_help-block">{$lang->about_sample_code}</span>
<textarea id="sample_code" readonly style="width:100%;height:100px;cursor:text;font-family:'Courier New', Courier, monospace">{$sample_code}</textarea>
<p class="x_help-block">{$lang->about_sample_code}</p>
</div>
</div>
<div class="x_control-group">
@ -22,7 +22,7 @@
<select name="skin" id="skin">
<option loop="$skin_list => $key, $val" value="{$key}" selected="selected"|cond="$config->skin == $key">{$val->title}</option>
</select>
<span class="x_help-block">{$lang->about_skin}</span>
<p class="x_help-inline">{$lang->about_skin}</p>
</div>
</div>
<div class="x_control-group">

View file

@ -62,9 +62,9 @@
</div>
</section>
<section class="section">
<section class="section" cond="$skin_info->extra_vars || $skin_info->colorset">
<h1>{$lang->extra_vars}</h1>
<div class="x_control-group" cond="$skin_info->colorset" class="colorset">
<div class="x_control-group" cond="$skin_info->colorset">
<label class="x_control-label">{$lang->colorset}</label>
<div class="x_controls">
<block loop="$skin_info->colorset => $key, $val">

View file

@ -1,6 +1,10 @@
<div class="x_page-header">
<h1>{$lang->message}</h1>
<h1>
{$lang->message}
<a href="#aboutSkin" class="x_icon-question-sign x_pull-right" data-toggle style="margin-top:13px">{$lang->help}</a>
</h1>
</div>
<p class="x_alert x_alert-info" id="aboutSkin" hidden>{$lang->about_skin}</p>
<div cond="$XE_VALIDATOR_MESSAGE" class="x_alert x_alert-{$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
@ -9,12 +13,11 @@
<form action="./" method="post" class="x_form-horizontal">
<input type="hidden" name="module" value="message" />
<input type="hidden" name="act" value="procMessageAdminInsertConfig" />
<p>{$lang->about_skin}</p>
<div class="x_control-group">
<label for="skin" class="x_control-label">{$lang->skin}</label>
<div class="x_controls">
<select name="skin" id="skin">
<select name="skin" id="skin" style="width:auto">
<option loop="$skin_list => $key, $val" value="{$key}" selected="selected"|cond="$key == $config->skin">{$val->title}</option>
</select>
</div>
@ -22,7 +25,7 @@
<div class="x_control-group">
<label for="mskin" class="x_control-label">{$lang->mobile_skin}</label>
<div class="x_controls">
<select name="mskin" id="mskin">
<select name="mskin" id="mskin" style="width:auto">
<option loop="$mskin_list => $key, $val" value="{$key}" selected="selected"|cond="$key == $config->mskin">{$val->title}</option>
</select>
</div>

View file

@ -9,22 +9,14 @@
<value xml:lang="tr"><![CDATA[Oturum]]></value>
</item>
<item name="about_session">
<value xml:lang="ko"><![CDATA[세션 관리를 하는 모듈입니다.
틈틈이 세션 정리를 하면 사이트 운영에 보다 좋은 효과를 낼 수 있습니다.]]></value>
<value xml:lang="en"><![CDATA[This module manages sessions.
Frequent session arrangement will provide a better environment for your site.]]></value>
<value xml:lang="jp"><![CDATA[セッションを管理するモジュールです。
定期的なセッションの整理はサイトのパフォーマンスに効果的です。]]></value>
<value xml:lang="zh-CN"><![CDATA[管理会话的模块。
有时间清理无用会话,可提高网站效率。]]></value>
<value xml:lang="zh-TW"><![CDATA[管理SESSION的模組。
請定時清理SESSION可提高網站效率。]]></value>
<value xml:lang="fr"><![CDATA[Ce module administre les sessions
L'arrangement fréquent des sessions pourvoira de meilleur environnement pour votre site Web.]]></value>
<value xml:lang="tr"><![CDATA[Bu modül oturumları yönetir
Alışılmış oturum düzenlemesi, sitenize daha iyi bir ortam sağlayacaktır.]]></value>
<value xml:lang="vi"><![CDATA[Module này quản lý những Session
Thường xuyên xắp xếp Session sẽ giúp Website của bạn hoạt động ổn định và nhanh hơn.]]></value>
<value xml:lang="ko"><![CDATA[세션 관리를 하는 모듈입니다. 틈틈이 세션 정리를 하면 사이트 운영에 보다 좋은 효과를 낼 수 있습니다.]]></value>
<value xml:lang="en"><![CDATA[This module manages sessions. Frequent session arrangement will provide a better environment for your site.]]></value>
<value xml:lang="jp"><![CDATA[セッションを管理するモジュールです。定期的なセッションの整理はサイトのパフォーマンスに効果的です。]]></value>
<value xml:lang="zh-CN"><![CDATA[管理会话的模块。有时间清理无用会话,可提高网站效率。]]></value>
<value xml:lang="zh-TW"><![CDATA[管理SESSION的模組。請定時清理SESSION可提高網站效率。]]></value>
<value xml:lang="fr"><![CDATA[Ce module administre les sessions. L'arrangement fréquent des sessions pourvoira de meilleur environnement pour votre site Web.]]></value>
<value xml:lang="tr"><![CDATA[Bu modül oturumları yönetir. Alışılmış oturum düzenlemesi, sitenize daha iyi bir ortam sağlayacaktır.]]></value>
<value xml:lang="vi"><![CDATA[Module này quản lý những Session. Thường xuyên xắp xếp Session sẽ giúp Website của bạn hoạt động ổn định và nhanh hơn.]]></value>
</item>
<item name="cmd_clear_session">
<value xml:lang="ko"><![CDATA[세션 정리]]></value>

View file

@ -5,7 +5,6 @@
<section class="section">
<form action="./" method="post" onsubmit="return false;">
<p>{nl2br($lang->about_session)}</p>
<button class="x_btn x_btn-inverse" type="button" onclick="doClearSession(); return false;">{$lang->cmd_clear_session}</button>
<div class="x_clearfix btnArea"></div>
<button class="x_btn x_btn-warning" style="min-width:220px" type="button" onclick="doClearSession(); return false;">{$lang->cmd_clear_session}</button>
</form>
</section>

View file

@ -1,10 +1,10 @@
<div class="x_page-header">
<h1>
{$lang->installed_widgets}
<block cond="$widget_info">
<span class="path" cond="$widget_info">
&gt; {$widget_info->title}
<a href="#widgetInfo" class="x_icon-question-sign x_pull-right" data-toggle style="margin-top:15px">{$lang->help}</a>
</block>
</span>
<a cond="$widget_info" href="#widgetInfo" class="x_icon-question-sign x_pull-right" data-toggle style="margin-top:15px">{$lang->help}</a>
</h1>
</div>
<div cond="$XE_VALIDATOR_MESSAGE" class="x_alert x_alert-{$XE_VALIDATOR_MESSAGE_TYPE}">

View file

@ -17,6 +17,6 @@
</form>
<div class="x_well">
<h3>{$lang->widget_code}</h3>
<p style="margin-right:14px"><textarea id="widget_code" rows="4" cols="42" style="width:100%;cursor:text" readonly="readonly"></textarea>
<p style="margin-right:14px"><textarea id="widget_code" rows="4" cols="42" style="width:100%;cursor:text;font-family:'Courier New', Courier, monospace" readonly="readonly"></textarea>
</div>
<include target="../../module/tpl/include.filebox.html" />

View file

@ -22,7 +22,7 @@
<div class="x_control-group">
<label class="x_control-label" for="widget_cache">{$lang->widget_cache}</label>
<div class="x_controls">
<input type="text" name="widget_cache" id="widget_cache" value="0" size="2" style="width:30px" /> {$lang->unit_min}
<input type="number" name="widget_cache" id="widget_cache" value="0" size="2" style="width:50px" /> {$lang->unit_min}
<p class="x_help-inline">{$lang->about_widget_cache}</p>
</div>
</div>
@ -57,7 +57,7 @@
<!--@else-->
<input type="hidden" name="{$id}" value="" />
<!--@end-->
<div style="display:inline-block">
<div style="display:inline-block;padding-top:3px">
<label>{$lang->display_no}</label>
<select class="multiorder_show" size="8" multiple="multiple" style="vertical-align:top;margin-bottom:5px">
<option loop="$var->options => $key, $val" cond="!$var->init_options[$key]" value="{$key}" default="true"|cond="$var->default_options[$key]">{$val}</option>
@ -65,7 +65,7 @@
<br>
<button type="button" class="x_btn multiorder_add" style="vertical-align:top">{$lang->cmd_insert}</button>
</div>
<div style="display:inline-block">
<div style="display:inline-block;padding-top:3px">
<label>{$lang->display_yes}</label>
<select class="multiorder_selected" size="8" multiple="multiple" style="vertical-align:top;margin-bottom:5px">
<option loop="$var->options => $key, $val" cond="$var->init_options[$key]" value="{$key}" default="true"|cond="$var->default_options[$key]">{$val}</option>