관리자 페이지 디자인을 개정해보았습니다. (#1056)

* 관리자 페이지 디자인을 개정해보았습니다.

스마트폰과 같이 좁은 화면에서도 보기 좋도록 쉽게 조정할 수 있는 것들을 조정해보았습니다.
XE icon 1.0.4 를 활용했습니다.
This commit is contained in:
Min-Soo Kim 2018-08-13 00:51:19 +09:00 committed by GitHub
parent deca0d40b1
commit 9929df9c07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 634 additions and 621 deletions

View file

@ -13,8 +13,8 @@
<th scope="col" class="nowr">{$lang->layout_name}</th>
<th scope="col" class="nowr">{$lang->version}</th>
<th scope="col" class="nowr">{$lang->author}</th>
<th scope="col" class="nowr">{$lang->path}</th>
<th scope="col" class="nowr">{$lang->cmd_delete}</th>
<th scope="col" class="nowr rx_detail_marks">{$lang->path}</th>
<th scope="col" class="nowr rx_detail_marks">{$lang->cmd_delete}</th>
</tr>
</thead>
<tbody>
@ -34,8 +34,8 @@
<block cond="!$author->homepage">{$author->name}</block>
</block>
</td>
<td>{$layout->path}</td>
<td class="nowr"><a cond="$layout->remove_url" class="x_btn x_btn-link" href="{$layout->remove_url}&amp;return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->cmd_delete}</a></td>
<td class="rx_detail_marks">{$layout->path}</td>
<td class="nowr rx_detail_marks"><a cond="$layout->remove_url" class="x_btn x_btn-link" href="{$layout->remove_url}&amp;return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->cmd_delete}</a></td>
</block>
<block cond="!$layout->title">
<td class="title">
@ -46,8 +46,8 @@
</td>
<td>-</td>
<td>-</td>
<td>{$layout->path}</td>
<td class="nowr"><a cond="$layout->remove_url" class="x_btn x_btn-link" href="{$layout->remove_url}&amp;return_url={urlencodegetRequestUriByServerEnviroment()}">{$lang->cmd_delete}</a></td>
<td class="rx_detail_marks">{$layout->path}</td>
<td class="nowr rx_detail_marks"><a cond="$layout->remove_url" class="x_btn x_btn-link" href="{$layout->remove_url}&amp;return_url={urlencodegetRequestUriByServerEnviroment()}">{$lang->cmd_delete}</a></td>
</block>
</tr>
</tbody>

View file

@ -4,17 +4,22 @@
xe.lang.confirm_delete = '{$lang->confirm_delete}';
</script>
<include target="sub_tab.html" />
<table class="x_table x_table-striped x_table-hover">
<table class="x_table x_table-striped x_table-hover dsTg">
<caption>
<div class="x_pull-right x_btn-group">
<button class="x_btn x_active __simple">{$lang->simple_view}</button>
<button class="x_btn __detail">{$lang->detail_view}</button>
</div>
</caption>
<thead>
<tr>
<th scope="col" class="nowr">{$lang->number}</th>
<th scope="col" class="nowr">{$lang->layout_name}</th>
<th scope="col" class="nowr">{$lang->title}</th>
<th scope="col" class="nowr rx_detail_marks">{$lang->number}</th>
<th scope="col" class="nowr">{$lang->title} ({$lang->layout_name})</th>
<th scope="col" class="nowr">{$lang->regdate}</th>
<th scope="col" class="nowr">{$lang->cmd_setup}</th>
<th scope="col" class="nowr">{$lang->cmd_edit}</th>
<th scope="col" class="nowr">{$lang->cmd_copy}</th>
<th scope="col" class="nowr">{$lang->cmd_delete}</th>
<th scope="col" class="nowr rx_detail_marks">{$lang->cmd_delete}</th>
</tr>
</thead>
<tbody>
@ -23,14 +28,13 @@
{@$layout_name = $layout['title']}
{@unset($layout['title'])}
<tr loop="$layout => $no, $item">
<td rowspan="{count($layout)}" cond="$no === 0" >{$count++}</td>
<td rowspan="{count($layout)}" cond="$no === 0" >{$layout_name}</td>
<td>{$item->title}</td>
<td rowspan="{count($layout)}" cond="$no === 0" class="rx_detail_marks">{$count++}</td>
<td>{$item->title} ({$layout_name})</td>
<td>{zdate($item->regdate, "Y-m-d")}</td>
<td><a href="{getUrl('act', 'dispLayoutAdminModify', 'layout_srl', $item->layout_srl)}">{$lang->cmd_setup}</a></td>
<td><a href="{getUrl('act', 'dispLayoutAdminEdit', 'layout_srl', $item->layout_srl)}">{$lang->cmd_edit}</a></td>
<td><a href="{getUrl('', 'module', 'layout', 'act', 'dispLayoutAdminCopyLayout', 'layout_srl', $item->layout_srl)}" onclick="popopen(this.href);return false;" title="{$lang->cmd_copy}">{$lang->cmd_copy}</a></td>
<td>
<td class="rx_detail_marks">
<form cond="count($layout) > 1" class="layout_delete_form" ruleset="deleteLayout" action="./" method="post">
<input type="hidden" name="module" value="layout" />
<input type="hidden" name="act" value="procLayoutAdminDelete" />