UI cleaning.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12276 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-11-21 10:03:54 +00:00
parent 41fc5be074
commit 197aaafae5
18 changed files with 58 additions and 58 deletions

View file

@ -42,13 +42,13 @@ body>.x,
.x.x_modal>.x_close{position:absolute;top:0;right:0}
.x .x_modal>.x_close,
.x.x_modal>.x_close{font-size:21px}
.x .x_pagination{height:32px}
.x .x_pagination{height:26px;margin:10px 0 0 0}
.x .x_pagination ul>li>a,
.x .x_pagination ul>li>span,
.x .x_pagination ul>li>strong{line-height:24px;padding:0 8px}
.x .x_pagination ul>.x_active>a,
.x .x_pagination ul>.x_active>span,
.x .x_pagination ul>.x_active>strong{line-height:26px;border:0;background-color:#666;color:#fff;font-weight:bold;font-size:18px;font-family:Arial, Helvetica, sans-serif}
.x .x_pagination ul>.x_active>strong{line-height:26px;border:0;background-color:#333;color:#fff;font-weight:bold;font-size:18px;font-family:Arial, Helvetica, sans-serif;border-radius:2px}
.x .x_pagination [id^="goTo"]{display:none;margin:0;padding:0}
.x .x_pagination [id^="goTo"]>*{border:0;border-radius:0}
.x .x_pagination [id^="goTo"]>[type="number"]{height:16px;line-height:16px;width:50px;text-align:center}
@ -79,7 +79,7 @@ body>.x,
.x .x_table{margin:10px 0;border-top:2px solid #ddd;border-bottom:1px solid #ddd}
.x h1+.x_table{border-top:0}
.x .x_table:first-child{margin-top:0}
.x .x_table>caption{text-align:left;padding:8px 0}
.x .x_table>caption{text-align:left;padding:0 0 10px 0;line-height:26px}
.x .x_inline{display:inline-block;*display:inline;*zoom:1}
.x label.checked,
.x input:checked+label,
@ -96,6 +96,7 @@ body>.x,
.x.x_modal,
.x_modal-backdrop{display:none}
.x.x_modal{padding:0;width:90%;margin:-250px 0 0 -45%;max-width:none;border-radius:6px;box-shadow:none}
.x_modal>form{margin:0}
.x .x_control-group{padding-top:8px;margin-bottom:10px;border-top:1px dotted #ddd;clear:both}
.x .x_control-group:before{content:"";display:block;clear:both}
.x .x_control-group:first-child,
@ -128,6 +129,8 @@ body>.x,
.x legend{font-size:14px;font-weight:bold;line-height:24px}
.x label{font-weight:inherit}
.x p:last-child{margin-bottom:0}
.x form{margin:0 0 10px 0}
.x .x_help-inline{display:inline;vertical-align:baseline}
/* Custom Styles */
.x .section{margin:20px 0 40px 0}
.x .section>h1{position:relative;border-bottom:1px solid #ddd}
@ -138,12 +141,12 @@ body>.x,
.x .section.collapse>*{display:none}
.x .section.collapse>h1{display:block}
.x .center{text-align:center}
.x .search{margin:20px 0}
.x .search{margin:10px 0 0 0}
.x .search select{width:auto}
.x .search>input[type="search"]{height:16px;line-height:16px;width:120px}
.x .vr{color:#ccc;font-style:normal}
.x .nowr{white-space:nowrap}
.x .btnArea{padding:8px 0;margin:20px 0;border-top:1px solid #ccc}
.x .btnArea{padding:10px 0;margin:20px 0;border-top:1px solid #ccc}
.x li.active>a,
.x a.active{color:#000;font-weight:bold;text-decoration:none}
.x .module_search+[readonly]{vertical-align:top;border-top-right-radius:0;border-bottom-right-radius:0}
@ -170,10 +173,10 @@ body>.x,
.x>.xin>.skipNav>a:focus{height:auto;margin:5px 0;padding:8px 0;background:#fff}
.x>.xin>.header{position:relative;z-index:2;border-radius:5px 5px 0 0;padding:10px 15px;zoom:1;border-bottom:1px solid #ddd;background:#f6f6f6;background:-webkit-gradient(linear, left top, left bottom, from(#F6F6F6), to(#F1F1F1));background:-moz-linear-gradient(top,#F6F6F6,#F1F1F1);background:-o-linear-gradient(top,#F6F6F6,#F1F1F1)}
.x>.xin>.header:after{content:"";display:block;clear:both}
.x>.xin>.body{position:relative;zoom:1;padding:0 20px 0 215px}
.x>.xin>.body{position:relative;zoom:1;padding:0 20px 50px 215px}
.x>.xin>.body.wide{padding:0 20px 0 70px}
.x>.xin>.body:after{content:"";display:block;clear:both}
.x>.xin>.body>.content{width:100%;padding:1px 0 0 0;float:right;margin:0 0 30px -100%;outline:none}
.x>.xin>.body>.content{width:100%;padding:1px 0 0 0;float:right;margin:0 0 0 -100%;outline:none}
.x>.xin>.body>.content>*:first-child{margin-top:0}
.x>.xin>.body>.gnb{width:180px;position:relative;margin:1px 0 0 -213px;float:left;display:inline}
.x>.xin>.body.wide>.gnb{width:36px;margin:1px 0 0 -68px}

File diff suppressed because one or more lines are too long

View file

@ -72,7 +72,7 @@ xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
</form>
<form action="./" class="x_pagination" style="margin:-10px 0 0 0">
<form action="./" class="x_pagination">
<input type="hidden" name="error_return_url" value="" />
<input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="act" value="{$act}" />

View file

@ -69,7 +69,7 @@ xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
</div>
</form>
<form action="./" class="x_pagination" style="margin-top:-10px">
<form action="./" class="x_pagination">
<input type="hidden" name="error_return_url" value="" />
<input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="act" value="{$act}" />

View file

@ -80,7 +80,7 @@ xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
<a href="#manageForm" class="x_btn modalAnchor x_pull-right" onclick="getDocumentList();">{$lang->document_manager}...</a>
</div>
</form>
<form action="./" class="x_pagination x_pull-left" style="margin:-45px 0 0 0">
<form action="./" class="x_pagination x_pull-left" style="margin:-36px 0 0 0">
<input type="hidden" name="error_return_url" value="" />
<input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="act" value="{$act}" />
@ -137,7 +137,7 @@ xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
<input type="hidden" name="type" value="" />
<input type="hidden" name="success_return_url" value="{getUrl('', 'module', 'admin', 'act', 'dispDocumentAdminList', 'is_secret', $is_secret, 'search_target', $search_target, 'search_keyword', $search_keyword)}" cond="!empty($search_target) && !empty($search_keyword)" />
<div class="x_modal-header">
<h2>{$lang->document_manager}</h2>
<h3>{$lang->document_manager}</h3>
</div>
<div class="x_modal-body">
<table width="100%" id="documentManageListTable" class="x_table x_table-striped x_table-hover">

View file

@ -115,7 +115,7 @@ xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
</span>
</form>
<form action="" class="x_pagination" style="margin-top:-10px">
<form action="" class="x_pagination">
<input type="hidden" name="error_return_url" value="" />
<input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="act" value="{$act}" />

View file

@ -7,7 +7,7 @@
</script>
<style>
._imageMarkButton img { max-height:16px }
.filebox_item { border: 1px solid #ccc!important; padding: 2px; max-height: 16px; }
.filebox_item{max-height:16px}
</style>
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>

View file

@ -9,12 +9,6 @@
<div class="x_page-header">
<h1>{$lang->user_list}</h1>
</div>
<div class="x_clearfix" style="margin-bottom:-38px">
<div class="x_pull-right x_btn-group">
<a class="x_btn x_btn-inverse" href="{getUrl('', 'module', 'admin', 'act', 'dispMemberAdminInsert')}">{$lang->cmd_make}</a>
<a href="#listManager" class="modalAnchor _member x_btn">{$lang->cmd_selected_user_manage}...</a>
</div>
</div>
<form action="" method="post">
<table class="_memberList x_table x_table-striped x_table-hover">
<caption>
@ -25,6 +19,10 @@
<a href="{getUrl('filter_type', 'enable', 'page', '')}" class="active"|cond="$filter_type==enable">{$lang->approval}<block cond="$filter_type==enable">({$total_count})</block></a>
<i>|</i>
<a href="{getUrl('filter_type', 'disable', 'page', '')}" class="active"|cond="$filter_type==disable">{$lang->denied}<block cond="$filter_type==disable">({$total_count})</block></a>
<div class="x_pull-right x_btn-group">
<a class="x_btn x_btn-inverse" href="{getUrl('', 'module', 'admin', 'act', 'dispMemberAdminInsert')}">{$lang->cmd_make}</a>
<a href="#listManager" class="modalAnchor _member x_btn">{$lang->cmd_selected_user_manage}...</a>
</div>
</caption>
<thead>
<tr>
@ -151,7 +149,7 @@
<a class="x_btn" href="{getUrl('', 'module', 'admin', 'act', 'dispMemberAdminList', 'page', $page)}">{$lang->cmd_cancel}</a>
</form>
<div class="x_modal" id="listManager">
<form action="./" ruleset="updateSeletecdMemberInfo" class="fg form" method="post">
<form action="./" ruleset="updateSeletecdMemberInfo" method="post">
<input type="hidden" name="module" value="member" />
<input type="hidden" name="act" value="procMemberAdminSelectedMemberManage" />
<input type="hidden" name="success_return_url" value="{getUrl('act', $act)}" />

View file

@ -170,9 +170,7 @@
<!--@end-->
</tbody>
</table>
</div>
<div class="x_clearfix">
<span class="x_pull-right"><a href="#userDefine" class="modalAnchor _extendFormEdit x_btn">{$lang->add_extend_form}...</a></span>
<a href="#userDefine" class="modalAnchor _extendFormEdit x_btn" style="min-width:200px">{$lang->add_extend_form}...</a>
</div>
</div>
</section>

View file

@ -25,14 +25,14 @@
</p>
</td>
<td cond="!$allow_multiple">
<button type="button" class="x_btn x_btn-mini select" style="white-space:nowrap">{$lang->cmd_select}</button>
<button type="button" class="x_btn select" style="white-space:nowrap">{$lang->cmd_select}</button>
</td>
</tr>
</tbody>
</table>
<div cond="$allow_multiple">
<span class="x_pull-right x_btn-group">
<button class="x_btn x_btn-mini select">{$lang->cmd_select}</button>
<button class="x_btn select">{$lang->cmd_select}</button>
</span>
</div>

View file

@ -1,7 +1,7 @@
<block cond="$use_filebox">
<!--%load_js_plugin("filebox")-->
<style>
.filebox_item { border: 1px solid #ccc!important; padding: 5px; max-height: 200px; max-width: 200px; }
.filebox_item{max-height:200px;max-width:200px}
</style>
<div class="x_modal" id="modalFilebox" style="display:none">
@ -26,8 +26,8 @@
<input type="text" name="attribute_name[]" id="attribute_name1" class="__attribute_name" />
<label for="attribute_value1" class="x_inline __attribute_value_label">{$lang->attribute_value} <input type="text" name="attribute_value[]" id="attribute_value1" class="__attribute_value" /></label>
<button type="button" class="x_btn x_btn-mini __addBtn" onclick="addRow('fileUp');">{$lang->cmd_add}</button>
<button type="button" class="x_btn x_btn-mini __deleteBtn" onclick="clearRow(this);">{$lang->cmd_delete}</button>
<button type="button" class="x_btn __addBtn" onclick="addRow('fileUp');">{$lang->cmd_add}</button>
<button type="button" class="x_btn __deleteBtn" onclick="clearRow(this);">{$lang->cmd_delete}</button>
</div>
</div>
<div class="x_control-group">

View file

@ -9,25 +9,25 @@
<table class="x_table x_table-striped x_table-hover">
<caption>
Total <strong>{number_format($total_count)}</strong>, Page <strong>{number_format($page)}</strong>/{number_format($total_page)}
<form action="./" method="get" no-error-return-url="true" class="x_pull-right"style="margin:0">
<form action="./" method="get" no-error-return-url="true" class="x_pull-right"style="margin:0;height:26px">
<input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="act" value="{$act}" />
<fieldset>
<select name="is_admin" style="width:auto">
<select name="is_admin" style="width:auto;margin:0">
<option value="" <!--@if($is_admin!='Y')-->selected="selected"<!--@end-->>{$lang->total}</option>
<option value="Y" <!--@if($is_admin=='Y')-->selected="selected"<!--@end-->>{$lang->is_admin}</option>
</select>
<select name="is_denied" style="width:auto">
<select name="is_denied" style="width:auto;margin:0">
<option value="" <!--@if($is_denied!='Y')-->selected="selected"<!--@end-->>{$lang->total}</option>
<option value="Y" <!--@if($is_denied=='Y')-->selected="selected"<!--@end-->>{$lang->denied}</option>
</select>
<select name="selected_group_srl" style="width:auto" title="{$lang->member_group}">
<select name="selected_group_srl" style="width:auto;margin:0" title="{$lang->member_group}">
<option value="0">{$lang->member_group}</option>
<!--@foreach($group_list as $key => $val)-->
<option value="{$val->group_srl}" <!--@if($selected_group_srl==$val->group_srl)-->selected="selected"<!--@end-->>{$val->title}</option>
<!--@end-->
</select>
<select name="search_target" title="{$lang->search_target}">
<select name="search_target" style="width:auto;margin:0" title="{$lang->search_target}">
<option value="{$identifier}" selected="selected"|cond="$search_target == $identifier">{Context::getLang($identifier)}</option>
<!--@foreach($lang->search_target_list as $key => $val)-->
<option value="{$key}" <!--@if($search_target==$key)-->selected="selected"<!--@end-->>{$val}</option>
@ -73,13 +73,6 @@
</tbody>
</table>
<form ruleset="updatePoint" id="updateForm" action="./" method="POST" style="margin:0">
<input type="hidden" name="module" value="point" />
<input type="hidden" name="act" value="procPointAdminUpdatePoint" />
<input type="hidden" id="update_member_srl" name="member_srl" value="" />
<input type="hidden" id="update_point" name="point" />
</form>
<div class="x_clearfix">
<!-- PAGINATION -->
<form cond="$page_navigation" action="./" class="x_pagination x_pull-left" no-error-return-url="true" style="margin:0">
@ -130,20 +123,20 @@
<input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="act" value="{$act}" />
<fieldset>
<select name="is_admin" style="width:auto">
<select name="is_admin" style="width:auto;margin:0">
<option value="" <!--@if($is_admin!='Y')-->selected="selected"<!--@end-->>{$lang->total}</option>
<option value="Y" <!--@if($is_admin=='Y')-->selected="selected"<!--@end-->>{$lang->is_admin}</option>
</select>
<select name="is_denied" style="width:auto">
<select name="is_denied" style="width:auto;margin:0">
<option value="" <!--@if($is_denied!='Y')-->selected="selected"<!--@end-->>{$lang->total}</option>
<option value="Y" <!--@if($is_denied=='Y')-->selected="selected"<!--@end-->>{$lang->denied}</option>
</select>
<select name="selected_group_srl" style="width:auto" title="{$lang->member_group}">
<select name="selected_group_srl" style="width:auto;margin:0" title="{$lang->member_group}">
<!--@foreach($group_list as $key => $val)-->
<option value="{$val->group_srl}" <!--@if($selected_group_srl==$val->group_srl)-->selected="selected"<!--@end-->>{$val->title}</option>
<!--@end-->
</select>
<select name="search_target" title="{$lang->search_target}">
<select name="search_target" style="width:auto;margin:0" title="{$lang->search_target}">
<option value="{$identifier}" selected="selected"|cond="$search_target == $identifier">{Context::getLang($identifier)}</option>
<!--@foreach($lang->search_target_list as $key => $val)-->
<option value="{$key}" <!--@if($search_target==$key)-->selected="selected"<!--@end-->>{$val}</option>
@ -157,3 +150,11 @@
</fieldset>
</form>
</div>
<form ruleset="updatePoint" id="updateForm" action="./" method="POST" style="margin:0">
<input type="hidden" name="module" value="point" />
<input type="hidden" name="act" value="procPointAdminUpdatePoint" />
<input type="hidden" id="update_member_srl" name="member_srl" value="" />
<input type="hidden" id="update_point" name="point" />
</form>

View file

@ -22,13 +22,13 @@
<tbody>
<tr loop="$mid_list => $key,$val">
<th scope="row">{$val->browser_title}({$val->mid})</th>
<td><input type="number" style="width:50px;text-align:right" name="insert_document_{$val->module_srl}" value="{$module_config[$val->module_srl]['insert_document']}" title="{$config->point_name}" /> {$config->point_name}</td>
<td><input type="number" style="width:50px;text-align:right" name="insert_comment_{$val->module_srl}" value="{$module_config[$val->module_srl]['insert_comment']}" title="{$config->point_name}" /> {$config->point_name}</td>
<td><input type="number" style="width:50px;text-align:right" name="upload_file_{$val->module_srl}" value="{$module_config[$val->module_srl]['upload_file']}" title="{$config->point_name}" /> {$config->point_name}</td>
<td><input type="number" style="width:50px;text-align:right" name="download_file_{$val->module_srl}" value="{$module_config[$val->module_srl]['download_file']}" title="{$config->point_name}" /> {$config->point_name}</td>
<td><input type="number" style="width:50px;text-align:right" name="read_document_{$val->module_srl}" value="{$module_config[$val->module_srl]['read_document']}" title="{$config->point_name}" /> {$config->point_name}</td>
<td><input type="number" style="width:50px;text-align:right" name="voted_{$val->module_srl}" value="{$module_config[$val->module_srl]['voted']}" title="{$config->point_name}" /> {$config->point_name}</td>
<td><input type="number" style="width:50px;text-align:right" name="blamed_{$val->module_srl}" value="{$module_config[$val->module_srl]['blamed']}" title="{$config->point_name}" /> {$config->point_name}</td>
<td class="nowr"><input type="number" style="width:40px;text-align:right" name="insert_document_{$val->module_srl}" value="{$module_config[$val->module_srl]['insert_document']}" title="{$config->point_name}" /> {$config->point_name}</td>
<td class="nowr"><input type="number" style="width:40px;text-align:right" name="insert_comment_{$val->module_srl}" value="{$module_config[$val->module_srl]['insert_comment']}" title="{$config->point_name}" /> {$config->point_name}</td>
<td class="nowr"><input type="number" style="width:40px;text-align:right" name="upload_file_{$val->module_srl}" value="{$module_config[$val->module_srl]['upload_file']}" title="{$config->point_name}" /> {$config->point_name}</td>
<td class="nowr"><input type="number" style="width:40px;text-align:right" name="download_file_{$val->module_srl}" value="{$module_config[$val->module_srl]['download_file']}" title="{$config->point_name}" /> {$config->point_name}</td>
<td class="nowr"><input type="number" style="width:40px;text-align:right" name="read_document_{$val->module_srl}" value="{$module_config[$val->module_srl]['read_document']}" title="{$config->point_name}" /> {$config->point_name}</td>
<td class="nowr"><input type="number" style="width:40px;text-align:right" name="voted_{$val->module_srl}" value="{$module_config[$val->module_srl]['voted']}" title="{$config->point_name}" /> {$config->point_name}</td>
<td class="nowr"><input type="number" style="width:40px;text-align:right" name="blamed_{$val->module_srl}" value="{$module_config[$val->module_srl]['blamed']}" title="{$config->point_name}" /> {$config->point_name}</td>
</tr>
</tbody>
</table>

View file

@ -66,7 +66,7 @@ xe.lang.confirm_poll_delete = '{$lang->confirm_poll_delete}';
</span>
</form>
<form action="./" class="x_pagination x_pull-left">
<form action="./" class="x_pagination x_pull-left" style="margin:0">
<input type="hidden" name="error_return_url" value="" />
<input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="act" value="{$act}" />
@ -104,7 +104,7 @@ xe.lang.confirm_poll_delete = '{$lang->confirm_poll_delete}';
</ul>
</form>
<form action="./" method="get" class="search center x_input-append">
<form action="./" method="get" class="search center x_input-append" style="clear:both;padding:10px 0 0 0;margin:0">
<input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="act" value="{$act}" />
<input type="hidden" name="error_return_url" value="" />

View file

@ -54,7 +54,7 @@ xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
<a href="#listManager" class="x_btn modalAnchor" onclick="getTrackbackList();">{$lang->trackback_manager}...</a>
</div>
</form>
<form action="" class="x_pagination" style="margin-top:-10px">
<form action="" class="x_pagination">
<input type="hidden" name="error_return_url" value="" />
<input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="act" value="{$act}" />

View file

@ -61,7 +61,7 @@ var no_text_comment = '{$lang->no_text_comment}';
</div>
</form>
<form action="" class="x_pagination" style="margin-top:-10px">
<form action="" class="x_pagination">
<input type="hidden" name="error_return_url" value="" />
<input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="act" value="{$act}" />

View file

@ -238,7 +238,7 @@ jQuery(document).ready(function($){
}
}
} else {
htmlCode = '<img src="'+src+'" alt="" style="border: 1px solid #ccc; padding: 5px; max-height: 200px; max-width: 200px;"> <button class="filebox_del x_btn x_btn-mini x_btn-danger" type="button">'+xe.lang.cmd_delete+'</button> ';
htmlCode = '<img src="'+src+'" alt="" style="border: 1px solid #ccc; padding: 5px; max-height: 200px; max-width: 200px;"> <button class="filebox_del x_btn x_btn-danger" type="button">'+xe.lang.cmd_delete+'</button> ';
$(this).siblings('input').val(src);
}
$(this).before(htmlCode);

View file

@ -120,7 +120,7 @@
<block cond="$var->type == 'filebox'">
{@$use_filebox = true}
<input type="hidden" name="{$id}" />
<a class="x_btn x_btn-mini modalAnchor filebox" href="#modalFilebox">{$lang->cmd_select}</a>
<a class="x_btn modalAnchor filebox" href="#modalFilebox">{$lang->cmd_select}</a>
</block>
<select cond="$var->type == 'menu'" name="{$id}">
<option value="">-</option>