Apply card style ...ing

This commit is contained in:
MinSoo Kim 2017-01-08 17:27:28 +09:00
parent 5fcbbdd865
commit 6ebf6d65ac
9 changed files with 109 additions and 93 deletions

View file

@ -21,8 +21,8 @@
position:absolute;
right:0
}
.rx_member-notice
/* message */
.rx_member-notice, .rx_member-notice.info
{
background: #e3f2fd;
padding: 15px;
@ -30,6 +30,19 @@
margin-top:0;
text-align: justify;
}
.rx_member-notice.error
{
background: #fff3e0;
}
.rx_member-notice.update
{
background: #e8f5e9;
}
.rx_member-notice>*
{
padding: 0;
margin:0;
}
/* member forms */
.rx_simple_member .signin
{
@ -84,7 +97,7 @@
list-style:none;
border-bottom: 1px solid #e0e0e0;
}
.rx_simple_member .sw-body dl dt
.rx_simple_member .sw-body dl dt, .rx_simple_member form>div.control-group>label
{
font-weight: bold;
border:0;
@ -96,7 +109,7 @@
white-space: normal;
box-sizing: border-box;
}
.rx_simple_member form div.control-group>input[type="submit"], .rx_simple_member .login-footer>a
.rx_simple_member form div.control-group>input[type="submit"], .rx_simple_member .sw-footer>a, .rx_simple_member .sw-anchor-buttons a
{
display:block;
background: #2196f3 none repeat scroll 0 0;
@ -106,7 +119,11 @@
padding: 10px;
vertical-align: bottom;
}
.rx_simple_member .login-footer>a
.rx_simple_member .sw-footer
{
margin-bottom:30px;
}
.rx_simple_member .sw-footer>a
{
background: #757575 none repeat scroll 0 0;
text-decoration: none;
@ -159,4 +176,10 @@
}
.rx_simple_member ul.rx_simple_tab>li:first-child a span {
border-left: 0 none;
}
.rx_simple_member .sw-anchor-buttons {
float:right
}
.rx_simple_member .sw-anchor-buttons a {
display:inline-block;
}

View file

@ -1,10 +1,10 @@
<include target="./common_header.html" />
<div class="signin">
<div class="sw-body">
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/member/skins'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<h1>{$lang->cmd_login}</h1>
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/member/skins'" class="rx_member-notice {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<h1>{$lang->cmd_login}</h1>
<form ruleset="@login" action="{getUrl('', 'act', 'procMemberLogin')}" method="post" id="fo_member_login">
<input type="hidden" name="success_return_url" value="{$referer_url}" />
<input type="hidden" name="act" value="procMemberLogin" />
@ -33,7 +33,7 @@
</div>
</form>
</div>
<div class="login-footer">
<div class="sw-footer">
<a href="{getUrl('act','dispMemberSignUpForm')}">{lang('member.cmd_signup')}</a>
</div>
</div>

View file

@ -1,12 +1,12 @@
<include target="./common_header.html" />
<section class="sw-body">
<h1>{$lang->member_info}</h1>
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/member/skins/default/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/member/skins/simple_world/1'" class="rx_member-notice {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<dl class="dl-horizontal">
<block loop="$displayDatas => $item">
<dt>{$item->title} <sup cond="$item->required || $item->mustRequired">*</sup></dt>
<dt>{$item->title}<sup cond="$item->required || $item->mustRequired">*</sup></dt>
<dd cond="$item->value">{$item->value}</dd>
<dd cond="!$item->value" style="color:#ccc">&hellip;</dd>
</block>
@ -19,11 +19,11 @@
<dd>{zdate($memberInfo[last_login],"Y-m-d")}</dd>
</block>
</dl>
<div class="btnArea btn-group" cond="$memberInfo['member_srl'] == $logged_info->member_srl">
<a href="{getUrl('act', 'dispMemberModifyEmailAddress')}" class="btn" cond="$member_config->identifier == 'email_address'">{$lang->cmd_modify_member_email_address}</a>
<a href="{getUrl('act','dispMemberModifyInfo','member_srl','')}" class="btn">{$lang->cmd_modify_member_info}</a>
<a href="{getUrl('act','dispMemberModifyPassword','member_srl','')}" class="btn">{$lang->cmd_modify_member_password}</a>
<a href="{getUrl('act','dispMemberLeave','member_srl','')}" class="btn">{$lang->cmd_leave}</a>
</div>
</section>
<div class="sw-footer sw-anchor-buttons" cond="$memberInfo['member_srl'] == $logged_info->member_srl">
<a href="{getUrl('act', 'dispMemberModifyEmailAddress')}" cond="$member_config->identifier == 'email_address'">{$lang->cmd_modify_member_email_address}</a>
<a href="{getUrl('act','dispMemberModifyInfo','member_srl','')}">{$lang->cmd_modify_member_info}</a>
<a href="{getUrl('act','dispMemberModifyPassword','member_srl','')}">{$lang->cmd_modify_member_password}</a>
<a href="{getUrl('act','dispMemberLeave','member_srl','')}">{$lang->cmd_leave}</a>
</div>
<include target="./common_footer.html" />

View file

@ -1,14 +1,14 @@
<include target="./common_header.html" />
<h1>{$lang->cmd_modify_member_email_address}</h1>
<p>{$lang->about_modify_member_email_address}</p>
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/member/skins/default/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/member/skins/simple_world/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<form ruleset="modifyEmailAddress" action="./" method="post">
<input type="hidden" name="module" value="member" />
<input type="hidden" name="act" value="procMemberModifyEmailAddress" />
<input type="hidden" name="success_return_url" value="{getRequestUriByServerEnviroment()}" />
<input type="hidden" name="xe_validator_id" value="modules/member/skins/default/1" />
<input type="hidden" name="xe_validator_id" value="modules/member/skins/simple_world/1" />
<span class="input-append">
<input type="email" id="email_address" name="email_address" value="" required placeholder="{$lang->email_address}" title="{$lang->email_address}" />
<input type="submit" value="{$lang->cmd_send_auth_new_emaill_address}" class="btn btn-inverse" />

View file

@ -3,59 +3,44 @@
<!--// datepicker javascript plugin load -->
<!--%load_js_plugin("ui")-->
<!--%load_js_plugin("ui.datepicker")-->
<h1 style="border-bottom:1px solid #ccc">{$lang->msg_update_member}</h1>
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/member/skins/default/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<script>
xe.lang.deleteProfileImage = '{$lang->msg_delete_extend_form}';
xe.lang.deleteImageMark = '{$lang->msg_delete_extend_form}';
xe.lang.deleteImageName = '{$lang->msg_delete_extend_form}';
</script>
<form ruleset="@insertMember" id="fo_insert_member" action="./" method="post" enctype="multipart/form-data" class="form-horizontal">
<input type="hidden" name="act" value="procMemberModifyInfo" />
<input type="hidden" name="module" value="member" />
<input type="hidden" name="member_srl" value="{$member_info->member_srl}" />
<input type="hidden" name="signature" value="{htmlspecialchars($member_info->signature, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)}" />
<input type="hidden" name="page" value="{$page}" />
<input type="hidden" name="xe_validator_id" value="modules/member/skins/default/1" />
<div class="control-group">
<label for="{$identifierForm->name}" class="control-label">{$identifierForm->title} <em style="color:red">*</em></label>
<div class="controls">
<input type="hidden" name="{$identifierForm->name}" value="{$identifierForm->value}" />
<input type="text" name="{$identifierForm->name}" id="{$identifierForm->name}" value="{$identifierForm->value}" disabled="disabled" />
</div>
</div>
<div class="control-group" loop="$formTags=>$formTag">
<label for="{$formTag->name}" class="control-label">{$formTag->title}</label>
<div class="controls" cond="$formTag->name != 'signature'">{$formTag->inputTag}</div>
<div class="controls" cond="$formTag->name =='signature'">
{$editor}
<style scoped>
.xpress-editor>#smart_content,
.xpress-editor>#smart_content>.tool{clear:none}
</style>
</div>
</div>
<div class="control-group">
<div class="control-label">{$lang->allow_mailing}</div>
<div class="controls" style="padding-top:5px">
<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>
</div>
</div>
<div class="control-group">
<div class="control-label">{$lang->allow_message}</div>
<div class="controls" style="padding-top:5px">
<label for="allow_{$key}" loop="$lang->allow_message_type=>$key,$val"><input type="radio" name="allow_message" value="{$key}" checked="checked"|cond="$member_info->allow_message == $key" id="allow_{$key}" /> {$val}</label>
</div>
</div>
<div class="btnArea" style="border-top:1px solid #ccc;padding-top:10px">
<input type="submit" value="{$lang->cmd_registration}" class="btn btn-inverse pull-right" />
<a href="{getUrl('act','dispMemberInfo','member_srl','')}" class="btn pull-left">{$lang->cmd_cancel}</a>
</div>
</form>
<section class="sw-body">
<h1 style="border-bottom:1px solid #ccc">{$lang->msg_update_member}</h1>
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/member/skins/simple_world/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<form ruleset="@insertMember" id="fo_insert_member" action="./" method="post" enctype="multipart/form-data" class="form-horizontal">
<input type="hidden" name="act" value="procMemberModifyInfo" />
<input type="hidden" name="module" value="member" />
<input type="hidden" name="member_srl" value="{$member_info->member_srl}" />
<input type="hidden" name="signature" value="{htmlspecialchars($member_info->signature, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)}" />
<input type="hidden" name="page" value="{$page}" />
<input type="hidden" name="xe_validator_id" value="modules/member/skins/simple_world/1" />
<div class="control-group">
<label for="{$identifierForm->name}">{$identifierForm->title}<sup>*</sup></label>
<input type="text" name="{$identifierForm->name}" id="{$identifierForm->name}" value="{$identifierForm->value}" readonly />
<block loop="$formTags=>$formTag">
<label for="{$formTag->name}">{$formTag->title}</label>
<block cond="$formTag->name != 'signature'">{$formTag->inputTag}</block>
<block cond="$formTag->name =='signature'">{$editor}</block>
</block>
<label class="control-label">{$lang->allow_mailing}</label>
<div class="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>
</div>
<label class="control-label">{$lang->allow_message}</label>
<div class="controls">
<label for="allow_{$key}" loop="$lang->allow_message_type=>$key,$val"><input type="radio" name="allow_message" value="{$key}" checked="checked"|cond="$member_info->allow_message == $key" id="allow_{$key}" /> {$val}</label>
</div>
<input type="submit" value="{$lang->cmd_registration}" />
</div>
</form>
</section>
<script>
xe.lang.deleteProfileImage = '{$lang->msg_delete_extend_form}';
xe.lang.deleteImageMark = '{$lang->msg_delete_extend_form}';
xe.lang.deleteImageName = '{$lang->msg_delete_extend_form}';
jQuery(function($){
// label for setup
$('.control-label[for]').each(function(){

View file

@ -11,13 +11,13 @@
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="document_srl" value="{$document_srl}" />
<input type="hidden" name="page" value="{$page}" />
<input type="hidden" name="xe_validator_id" value="modules/member/skins/default/1" />
<input type="hidden" name="xe_validator_id" value="modules/member/skins/simple_world/1" />
<input type="hidden" name="success_return_url" value="{getUrl('act','dispMemberInfo')}" />
<div class="control-group">
<label for="uid">
{lang($identifier)}
</label>
<input type="email" disabled="disabled" value="{$formValue}" id="uid" title="{lang($identifier)}" />
<input type="text" disabled="disabled" value="{$formValue}" id="uid" title="{lang($identifier)}" />
<label for="cpw">
{lang('member.current_password')}
</label>

View file

@ -1,20 +1,28 @@
<include target="./common_header.html" />
<h1>{$lang->msg_rechecked_password}</h1>
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/member/skins/default/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
<div class="signin">
<section class="sw-body">
<h1>{$lang->msg_rechecked_password}</h1>
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/member/skins/simple_world/1'" class="rx_member-notice {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<p class="rx_member-notice">{$lang->about_rechecked_password}</p>
<form action="./index.php" method="post" ruleset="recheckedPassword">
<input type="hidden" name="act" value="procMemberModifyInfoBefore" />
<input type="hidden" name="module" value="member" />
<input type="hidden" name="xe_validator_id" value="modules/member/skins/simple_world/1" />
<input cond="$success_return_url" type="hidden" name="success_return_url" value="{$success_return_url}" />
<div class="control-group">
<label for="uid">
{$identifierTitle}
</label>
<input type="text" id="uid" value="{$identifierValue}" readonly title="{$identifierTitle}" />
<label for="pw">
{lang('common.password')}
</label>
<input type="password" name="password" id="pw" required title="{$lang->password}" />
<input type="submit" value="{$lang->cmd_confirm}" />
</div>
</form>
</section>
</div>
<p>{$lang->about_rechecked_password}</p>
<form action="./index.php" method="post" ruleset="recheckedPassword">
<input type="hidden" name="act" value="procMemberModifyInfoBefore" />
<input type="hidden" name="module" value="member" />
<input type="hidden" name="xe_validator_id" value="modules/member/skins/default/1" />
<input cond="$success_return_url" type="hidden" name="success_return_url" value="{$success_return_url}" />
<div>
<input type="email" value="{$identifierValue}" readonly title="{$lang->email}" />
</div>
<span class="input-append">
<input type="password" name="password" required placeholder="{$lang->password}" title="{$lang->password}" />
<input type="submit" value="{$lang->cmd_confirm}" class="btn btn-inverse" />
</span>
</form>
<include target="./common_footer.html" />

View file

@ -1,13 +1,13 @@
<include target="./common_header.html" />
<h1>{$lang->cmd_resend_auth_mail}</h1>
<p>{$lang->about_resend_auth_mail}</p>
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/member/skins/default/resend_auth_mail/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/member/skins/simple_world/resend_auth_mail/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<form ruleset="resendAuthMail" class="form" action="./" method="post">
<input type="hidden" name="module" value="member" />
<input type="hidden" name="act" value="procMemberResendAuthMail" />
<input type="hidden" name="xe_validator_id" value="modules/member/skins/default/resend_auth_mail/1" />
<input type="hidden" name="xe_validator_id" value="modules/member/skins/simple_world/resend_auth_mail/1" />
<div class="input-append">
<input type="text" id="email_address" name="email_address" value="" title="{$lang->email_address}" placeholder="{$lang->email_address}" />
<input type="submit" id="resend_button" name="" value="{$lang->cmd_resend_auth_mail}" class="btn btn-inverse" />

View file

@ -1,14 +1,14 @@
<include target="./common_header.html" />
<h1>{$lang->cmd_resend_auth_mail}</h1>
<p>{sprintf($lang->about_reset_auth_mail, $memberInfo->email_address)}</p>
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/member/skins/default/reset_mail/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/member/skins/simple_world/reset_mail/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<form action="./" method="post">
<input type="hidden" name="module" value="member" />
<input type="hidden" name="act" value="procMemberResendAuthMail" />
<input type="hidden" name="email_address" value="{$memberInfo->email_address}" />
<input type="hidden" name="xe_validator_id" value="modules/member/skins/default/reset_mail/1" />
<input type="hidden" name="xe_validator_id" value="modules/member/skins/simple_world/reset_mail/1" />
<div class="input-append">
<input type="text" readonly="readonly" disabled="disabled" value="{$memberInfo->email_address}" title="{$lang->cmd_resend_auth_mail}" />
<input type="submit" id="resend_button" name="" value="{$lang->cmd_resend_auth_mail}" class="btn btn-inverse" />