/modules/member/ /modules/point/ UI Cleaning.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11799 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-10-18 23:24:33 +00:00
parent 5457426c7d
commit 41a26515eb
6 changed files with 47 additions and 26 deletions

View file

@ -6,8 +6,16 @@ body>.x{min-width:300px;max-width:1240px}
@media all and (max-width:480px){
body>.x{margin:0}
}
body>.x,.x label,.x table,.x input,.x textarea,.x select,.x button{font-size:13px}
.x strong, .x th{font-weight:600}
body>.x,
.x label,
.x table,
.x input,
.x textarea,
.x select,
.x button{font-size:13px}
.x strong,
.x th{font-weight:600}
.x em{font-style:normal}
.x [disabled]{cursor:not-allowed}
.x button[disabled]{color:#ccc !important}
.x a[target="_blank"]:after{ content:"";display:inline-block;width:14px;height:14px;vertical-align:middle;margin:0 0 0 2px;background-position:-120px -72px;opacity:.3;filter:alpha(opacity=30)}

View file

@ -6,8 +6,16 @@ body>.x{min-width:300px;max-width:1240px}
@media all and (max-width:480px){
body>.x{margin:0}
}
body>.x,.x label,.x table,.x input,.x textarea,.x select,.x button{font-size:13px}
.x strong, .x th{font-weight:600}
body>.x,
.x label,
.x table,
.x input,
.x textarea,
.x select,
.x button{font-size:13px}
.x strong,
.x th{font-weight:600}
.x em{font-style:normal}
.x [disabled]{cursor:not-allowed}
.x button[disabled]{color:#ccc !important}
.x a[target="_blank"]:after{ content:"";display:inline-block;width:14px;height:14px;vertical-align:middle;margin:0 0 0 2px;background-position:-120px -72px;opacity:.3;filter:alpha(opacity=30)}

View file

@ -417,13 +417,13 @@
}//end imageType
elseif($formInfo->name == 'birthday'){
$formTag->type = 'date';
$inputTag = sprintf('<input type="hidden" name="birthday" id="date_birthday" value="%s" /><input type="text" class="inputDate" id="birthday" value="%s" /> <input type="button" value="%s" class="dateRemover" />'
$inputTag = sprintf('<input type="hidden" name="birthday" id="date_birthday" value="%s" /><input type="text" placeholder="YYYY-MM-DD" class="inputDate" id="birthday" value="%s" /> <input type="button" value="%s" class="x_btn dateRemover" />'
,$memberInfo['birthday']
,zdate($memberInfo['birthday'], 'Y-m-d', false)
,$lang->cmd_delete);
}elseif($formInfo->name == 'find_account_question'){
$formTag->type = 'select';
$inputTag = '<select name="find_account_question" id="find_account_question" style="width:290px; display:block;">%s</select>';
$inputTag = '<select name="find_account_question" id="find_account_question" style="width:220px;display:block;margin:0 0 8px 0">%s</select>';
$optionTag = array();
foreach($lang->find_account_question_items as $key=>$val){
if($key == $memberInfo['find_account_question']) $selected = 'selected="selected"';
@ -434,10 +434,10 @@
,$val);
}
$inputTag = sprintf($inputTag, implode('', $optionTag));
$inputTag .= '<input type="text" name="find_account_answer" id="find_account_answer" title="'.Context::getLang('find_account_answer').'" value="'.$memberInfo['find_account_answer'].'" class="inputText long tall" />';
$inputTag .= '<input type="text" name="find_account_answer" id="find_account_answer" title="'.Context::getLang('find_account_answer').'" value="'.$memberInfo['find_account_answer'].'" />';
}else{
$formTag->type = 'text';
$inputTag = sprintf('<input type="text" name="%s" id="%s" value="%s" class="inputText long tall" />'
$inputTag = sprintf('<input type="text" name="%s" id="%s" value="%s" />'
,$formInfo->name
,$formInfo->name
,$memberInfo[$formInfo->name]);

View file

@ -46,30 +46,30 @@
</div>
</div>
<div loop="$formTags=>$formTag" class="x_control-group">
<label class="x_control-label">{$formTag->title}</label>
<label class="x_control-label" for="{$formTag->name}">{$formTag->title}</label>
<div class="x_controls" cond="$formTag->name != 'signature'">{$formTag->inputTag}</div>
<div class="x_controls" cond="$formTag->name =='signature'">{$editor}</div>
</div>
<div class="x_control-group">
<label class="x_control-label">{$lang->allow_mailing}</label>
<div class="x_controls">
<label for="mailingYes"><input type="radio" name="allow_mailing" id="mailingYes" value="Y" checked="checked"|cond="$member_info->allow_mailing == 'Y'"> {$lang->cmd_yes}</label>
<label for="mailingNo"><input type="radio" name="allow_mailing" id="mailingNo" value="N" checked="checked"|cond="$member_info->allow_mailing != 'Y'" > {$lang->cmd_no}</label>
<label class="x_inline" for="mailingYes"><input type="radio" name="allow_mailing" id="mailingYes" value="Y" checked="checked"|cond="$member_info->allow_mailing == 'Y'"> {$lang->cmd_yes}</label>
<label class="x_inline" for="mailingNo"><input type="radio" name="allow_mailing" id="mailingNo" value="N" checked="checked"|cond="$member_info->allow_mailing != 'Y'" > {$lang->cmd_no}</label>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label">{$lang->allow_message}</label>
<div class="x_controls">
<block loop="$lang->allow_message_type=>$key,$val">
<label for="allow_{$key}"><input type="radio" name="allow_message" value="{$key}" checked="checked"|cond="$member_info->allow_message == $key || (!$member_info->member_srl && $key == 'Y')" id="allow_{$key}" /> {$val}</label>
<label class="x_inline" for="allow_{$key}"><input type="radio" name="allow_message" value="{$key}" checked="checked"|cond="$member_info->allow_message == $key || (!$member_info->member_srl && $key == 'Y')" id="allow_{$key}" /> {$val}</label>
</block>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label">{$lang->status}</label>
<div class="x_controls">
<label for="appoval"><input type="radio" name="denied" id="appoval" value="N" checked="checked"|cond="$member_info->denied != 'Y'" > {$lang->approval}</label>
<label for="deny"><input type="radio" name="denied" id="deny" value="Y" checked="checked"|cond="$member_info->denied == 'Y'" > {$lang->denied}</label>
<label class="x_inline" for="appoval"><input type="radio" name="denied" id="appoval" value="N" checked="checked"|cond="$member_info->denied != 'Y'" > {$lang->approval}</label>
<label class="x_inline" for="deny"><input type="radio" name="denied" id="deny" value="Y" checked="checked"|cond="$member_info->denied == 'Y'" > {$lang->denied}</label>
</div>
</div>
<div class="x_control-group">
@ -77,22 +77,22 @@
<div class="x_controls">
<input type="hidden" name="limit_date" id="date_limit_date" value="{$member_info->limit_date}" />
<input type="text" class="inputDate" id="until" value="{zdate($member_info->limit_date,'Y-m-d',false)}" />
<input type="button" value="{$lang->cmd_delete}" class="dateRemover" />
<span class="desc">{$lang->about_limit_date}</span>
<input type="button" value="{$lang->cmd_delete}" class="x_btn dateRemover" />
<span class="x_help-inline">{$lang->about_limit_date}</span>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label">{$lang->is_admin}</label>
<div class="x_controls">
<label for="is_admin"><input type="radio" name="is_admin" id="is_admin" value="Y" checked="checked"|cond="$member_info->is_admin == 'Y'" > {$lang->cmd_yes}</label>
<label for="not_admin"><input type="radio" name="is_admin" id="not_admin" value="N" checked="checked"|cond="$member_info->is_admin != 'Y'" > {$lang->cmd_no}</label>
<label class="x_inline" for="is_admin"><input type="radio" name="is_admin" id="is_admin" value="Y" checked="checked"|cond="$member_info->is_admin == 'Y'" > {$lang->cmd_yes}</label>
<label class="x_inline" for="not_admin"><input type="radio" name="is_admin" id="not_admin" value="N" checked="checked"|cond="$member_info->is_admin != 'Y'" > {$lang->cmd_no}</label>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label" for="description">{$lang->description}</label>
<div class="x_controls">
<textarea name="description" id="description" rows="8" cols="42">{htmlspecialchars($member_info->description)}</textarea>
<span class="desc">{$lang->about_member_description}</span>
<textarea name="description" id="description" rows="2" cols="42">{htmlspecialchars($member_info->description)}</textarea>
<span class="x_help-inline">{$lang->about_member_description}</span>
</div>
</div>
<div class="x_control-group">
@ -104,7 +104,7 @@
<!--@end-->
</div>
</div>
<div class="x_clearfix">
<div class="x_clearfix btnArea">
<span class="x_pull-left" cond="$member_srl"><button class="x_btn x_btn-large" type="button" onclick="history.go(-1)">{$lang->cmd_cancel}</button></span>
<span class="x_pull-right"><input class="x_btn x_btn-primary x_btn-large" type="submit" value="{$lang->cmd_save}" /></span>
</div>

View file

@ -1,4 +1,6 @@
<div class="x_page-header"><h1>{$lang->member_info}</h1></div>
<div class="x_page-header">
<h1>{$lang->member_info}</h1>
</div>
<table class="x_table x_table-striped x_table-hover">
<tr>
<th style="width:120px">{$lang->signup_date}</th>

View file

@ -53,15 +53,18 @@
<tr loop="$member_list => $no,$val">
<td>{$no}</td>
<td cond="$identifier == 'user_id'">{$val->user_id}</td>
<td cond="$identifier != 'user_id'">{$val->email_address}</td>
<td cond="$identifier != 'user_id'"><span class="masked">{$val->email_address}</span></td>
<td><a href="#popup_menu_area" class="member_{$val->member_srl}">{$val->nick_name}</a></td>
<td>
<form action="./" method="get">
<form action="./" method="get" style="margin:0">
<input type="hidden" name="module" value="point" />
<input type="hidden" name="member_srl" value="{$val->member_srl}" />
<input type="text" name="orgpoint" value="{$val->point}" disabled="disabled" style="width:40px;text-align:right" />
<input type="text" id="point_{$val->member_srl}" name="point" style="width:40px;text-align:right" />
<input type="button" value="{$lang->cmd_update}" onclick="updatePoint({$val->member_srl})" class="text" />
->
<span class="x_input-append">
<input type="text" id="point_{$val->member_srl}" name="point" style="width:40px;text-align:right" />
<input type="button" value="{$lang->cmd_update}" onclick="updatePoint({$val->member_srl})" class="x_btn" />
</span>
</form>
</td>
<td>{$val->level}</td>