Apply simple skin to member module... ing

This commit is contained in:
MinSoo Kim 2017-01-09 00:27:05 +09:00
parent 6ebf6d65ac
commit ab4b37a462
4 changed files with 139 additions and 48 deletions

View file

@ -182,4 +182,92 @@
}
.rx_simple_member .sw-anchor-buttons a {
display:inline-block;
}
/* 글 목록 스타일 */
.rx_simple_member .rx_sw_list .cont_a {
color: #222;
display: block;
letter-spacing: -1px;
line-height: 18px;
margin: 0;
overflow: hidden;
padding: 0.667em 70px 0.733em 15px;
text-overflow: ellipsis;
white-space: nowrap;
text-decoration: none;
}
.rx_simple_member .rx_sw_list .cont_a:hover {
color: #2196f3;
}
.rx_simple_member .content_basic{
position:relative;
display:inline-block;
max-width:100%;
vertical-align: middle;
overflow:hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.rx_simple_member .content_subinfo
{
color: #9e9e9e;
font-size: 12px;
margin: 0 3px 0 7px;
overflow:hidden;
}
.rx_simple_member ul.rx_sw_list {
list-style: outside none none;
padding: 0;
margin: 0;
border-bottom: 1px solid #e0e0e0;
}
.rx_simple_member .rx_sw_list li {
position:relative;
border-top: 1px solid #e0e0e0;
overflow: hidden;
padding:0;
}
.rx_simple_member .rx_sw_list .content_delete{
position:absolute;
top:1px;
right:0;
}
.rx_simple_member .rx_sw_list .content_delete button{
background: #2196f3 none repeat scroll 0 0;
font-size: 14px;
border:0;
color: #fff;
padding: 10px;
vertical-align: bottom;
}
.rx_simple_member .pagination ul, .rx_simple_member .pagination ul li
{
display:inline-block;
list-style: outside none none;
padding: 0;
margin: 0;
border:0;
}
.rx_simple_member .pagination ul
{
display:block;
text-align:center;
}
.rx_simple_member .pagination ul li>a
{
display: inline-block;
background: #ffffff;
font-size: 14px;
border: 1px solid #e0e0e0;
color: #000;
padding: 10px;
min-width:25px;
}
.rx_simple_member .pagination ul li.active>a
{
background: #2196f3;
color: #ffffff;
}

View file

@ -5,7 +5,7 @@
<!--%load_js_plugin("ui.datepicker")-->
<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}">
<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>
<form ruleset="@insertMember" id="fo_insert_member" action="./" method="post" enctype="multipart/form-data" class="form-horizontal">

View file

@ -1,32 +1,34 @@
<include target="./common_header.html" />
<h1>{$member_title = $lang->cmd_view_saved_document}</h1>
<table class="table table-striped table-hover">
<caption>Total: {number_format($total_count)}, Page: {number_format($page)}/{number_format($total_page)}</caption>
<thead>
<tr>
<th class="title">{$lang->title}</th>
<th>{$lang->date}</th>
<th>{$lang->cmd_delete}</th>
</tr>
</thead>
<tbody>
<tr loop="$document_list => $no,$val">
<td class="title">
<a href="#saved_document_{$val->document_srl}" onclick="jQuery('#saved_document_{$val->document_srl}').toggle(); return false;">{$val->getTitle()}</a>
<div id="saved_document_{$val->document_srl}" class="savedContent" style="display:none;">{$val->getContent(false)}</div>
</td>
<td>{$val->getRegdate("Y-m-d")}</td>
<td><button type="button" class="text" onclick="doDeleteSavedDocument('{$val->document_srl}','{$lang->confirm_delete}');">{$lang->cmd_delete}</button></td>
</tr>
</tbody>
</table>
<section class="sw-body">
<h1>{$member_title = $lang->cmd_view_saved_document}</h1>
<div class="rx_member-notice">{lang('common.total')}: {number_format($total_count)}</div>
<div>
<ul class="rx_sw_list">
<li loop="$document_list => $key, $item">
<a href="{getUrl('','document_srl',$item->document_srl)}" class="cont_a" onclick="window.open(this.href);return false;">
<span class="content_basic">
<span class="content_title">
{escape($item->getTitle())}
</span>
<span class="content_subinfo">
{$item->getRegdate("Y-m-d")}
</span>
</span>
</a>
<span class="content_delete">
<button type="button" class="text" onclick="doDeleteSavedDocument({$item->document_srl},'{lang('common.confirm_delete')}');return false;">{$lang->cmd_delete}</button>
</span>
</li>
</ul>
</div>
</section>
<div class="pagination pagination-centered">
<ul>
<li><a href="{getUrl('page','','module_srl','')}" class="direction">&laquo; {$lang->first_page}</a></li>
<li><a href="{getUrl('page','','module_srl','')}" class="direction">&lsaquo; {$lang->first_page}</a></li>
<!--@while($page_no = $page_navigation->getNextPage())-->
<li class="active"|cond="$page == $page_no"><a href="{getUrl('page',$page_no,'module_srl','')}">{$page_no}</a></li>
<!--@end-->
<li><a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="direction">{$lang->last_page} &raquo;</a></li>
<li><a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="direction">{$lang->last_page} &rsaquo;</a></li>
</ul>
</div>
<include target="./common_footer.html" />

View file

@ -1,33 +1,34 @@
<include target="./common_header.html" />
<h1>{$member_title = $lang->cmd_view_scrapped_document}</h1>
<table class="table table-striped table-hover">
<caption>Total: {number_format($total_count)}, Page: {number_format($page)}/{number_format($total_page)}</caption>
<thead>
<tr>
<th>{$lang->no}</th>
<th class="title">{$lang->title}</th>
<th>{$lang->writer}</th>
<th>{$lang->date}</th>
<th>{$lang->cmd_delete}</th>
</tr>
</thead>
<tbody>
<tr loop="$document_list=>$no,$val">
<td>{$no}</td>
<td class="title"><a href="{getUrl('','document_srl',$val->document_srl)}" onclick="window.open(this.href);return false;">{htmlspecialchars($val->title, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)}</a></td>
<td><a href="#popup_menu_area" class="member_{$val->target_member_srl}">{$val->nick_name}</a></td>
<td>{zdate($val->regdate, "Y-m-d")}</td>
<td><button type="button" class="text" onclick="doDeleteScrap({$val->document_srl});">{$lang->cmd_delete}</button></td>
</tr>
</tbody>
</table>
<section class="sw-body">
<h1>{$member_title = lang('member.cmd_view_scrapped_document')}</h1>
<div class="rx_member-notice">{lang('common.total')}: {number_format($total_count)}</div>
<div>
<ul class="rx_sw_list">
<li loop="$document_list => $key, $item">
<a href="{getUrl('','document_srl',$item->document_srl)}" class="cont_a" onclick="window.open(this.href);return false;">
<span class="content_basic">
<span class="content_title">
{escape($item->title)}
</span>
<span class="content_subinfo">
{escape($item->nick_name)}, {zdate($item->regdate, "Y-m-d")}
</span>
</span>
</a>
<span class="content_delete">
<button type="button" class="text" onclick="doDeleteScrap({$item->document_srl});return false;">{$lang->cmd_delete}</button>
</span>
</li>
</ul>
</div>
</section>
<div class="pagination pagination-centered">
<ul>
<li><a href="{getUrl('page','','module_srl','')}">&laquo; {$lang->first_page}</a></li>
<li><a href="{getUrl('page','','module_srl','')}">&lsaquo; {$lang->first_page}</a></li>
<!--@while($page_no = $page_navigation->getNextPage())-->
<li class="active"|cond="$page == $page_no"><a href="{getUrl('page',$page_no,'module_srl','')}">{$page_no}</a></li>
<!--@end-->
<li><a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}">{$lang->last_page} &raquo;</a></li>
<li><a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}">{$lang->last_page} &rsaquo;</a></li>
</ul>
</div>
<include target="./common_footer.html" />