mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
Installed layout UI cleaning.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11968 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
29b0796928
commit
a19a001d53
4 changed files with 42 additions and 41 deletions
|
|
@ -70,6 +70,7 @@ body>.x,
|
|||
.x a.x_icon-question-sign,
|
||||
.x button.x_icon-question-sign{cursor:help}
|
||||
.x .x_nav-tabs>li>a{padding-top:6px;padding-bottom:6px}
|
||||
.x .x_nav-tabs>li.x_active>a{font-weight:bold}
|
||||
.x .x_table{margin:10px 0;border-top:2px solid #ddd;border-bottom:1px solid #ddd}
|
||||
.x .x_table:first-child{margin-top:0}
|
||||
.x .x_table>caption{text-align:left;padding:8px 0}
|
||||
|
|
@ -133,6 +134,7 @@ body>.x,
|
|||
.x .module_search+[readonly]+a.x_btn{vertical-align:top;border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-5px}
|
||||
.x .fileBtn{position:relative;display:inline-block;overflow:hidden;cursor:pointer}
|
||||
.x .fileBtn>input[type="file"]{position:absolute;top:0;right:0;height:100%;overflow:hidden;opacity:0;border:0;filter:alpha(opacity=0);margin:0;padding:0;cursor:pointer;-webkit-transform:scale(3, 3);-webkit-transform-origin:0 0;-moz-transform:scale(3, 3);-moz-transform-origin:100% 0;-o-transform:scale(3, 3);-o-transform-origin:100% 0;filter:progid:DXImageTransform.Microsoft.Matrix(M11=3.0,M22=3.0);}
|
||||
.x td>form,
|
||||
.x td>p:only-of-type,
|
||||
.x td>p:last-of-type{margin:0}
|
||||
/* Image Sprite */
|
||||
|
|
|
|||
2
modules/admin/tpl/css/admin.min.css
vendored
2
modules/admin/tpl/css/admin.min.css
vendored
|
|
@ -70,6 +70,7 @@ body>.x,
|
|||
.x a.x_icon-question-sign,
|
||||
.x button.x_icon-question-sign{cursor:help}
|
||||
.x .x_nav-tabs>li>a{padding-top:6px;padding-bottom:6px}
|
||||
.x .x_nav-tabs>li.x_active>a{font-weight:bold}
|
||||
.x .x_table{margin:10px 0;border-top:2px solid #ddd;border-bottom:1px solid #ddd}
|
||||
.x .x_table:first-child{margin-top:0}
|
||||
.x .x_table>caption{text-align:left;padding:8px 0}
|
||||
|
|
@ -133,6 +134,7 @@ body>.x,
|
|||
.x .module_search+[readonly]+a.x_btn{vertical-align:top;border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-5px}
|
||||
.x .fileBtn{position:relative;display:inline-block;overflow:hidden;cursor:pointer}
|
||||
.x .fileBtn>input[type="file"]{position:absolute;top:0;right:0;height:100%;overflow:hidden;opacity:0;border:0;filter:alpha(opacity=0);margin:0;padding:0;cursor:pointer;-webkit-transform:scale(3, 3);-webkit-transform-origin:0 0;-moz-transform:scale(3, 3);-moz-transform-origin:100% 0;-o-transform:scale(3, 3);-o-transform-origin:100% 0;filter:progid:DXImageTransform.Microsoft.Matrix(M11=3.0,M22=3.0);}
|
||||
.x td>form,
|
||||
.x td>p:only-of-type,
|
||||
.x td>p:last-of-type{margin:0}
|
||||
/* Image Sprite */
|
||||
|
|
|
|||
|
|
@ -4,22 +4,21 @@
|
|||
<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_btn-mini x_active __simple">{$lang->simple_view}</button>
|
||||
<button class="x_btn x_btn-mini __detail">{$lang->detail_view}</button>
|
||||
<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="title">{$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">{$lang->layout_name}</th>
|
||||
<th scope="col">{$lang->version}</th>
|
||||
<th scope="col">{$lang->author}</th>
|
||||
<th scope="col">{$lang->path}</th>
|
||||
<th scope="col">{$lang->cmd_delete}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<block loop="$layout_list => $key, $layout">
|
||||
<tr>
|
||||
<tr loop="$layout_list => $key, $layout">
|
||||
<block cond="$layout->title">
|
||||
<td class="title">
|
||||
<p><a href="{getUrl('act', 'dispLayoutAdminInstanceList', 'type', $type, 'layout', $layout->layout)}">{$layout->title}</a></p>
|
||||
|
|
@ -28,15 +27,15 @@
|
|||
{$lang->msg_avail_easy_update} <a href="{$layout->update_url}&return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->msg_do_you_like_update}</a>
|
||||
</p>
|
||||
</td>
|
||||
<td class="nowr">{$layout->version}</td>
|
||||
<td class="nowr">
|
||||
<td>{$layout->version}</td>
|
||||
<td>
|
||||
<block loop="$layout->author => $author">
|
||||
<a cond="$author->homepage" href="{$author->homepage}" target="_blank">{$author->name}</a>
|
||||
<block cond="!$author->homepage">{$author->name}</block>
|
||||
</block>
|
||||
</td>
|
||||
<td class="nowr">{$layout->path}</td>
|
||||
<td class="nowr"><a cond="$layout->remove_url" class="x_btn x_btn-danger" href="{$layout->remove_url}&return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->cmd_delete}</a></td>
|
||||
<td>{$layout->path}</td>
|
||||
<td><a cond="$layout->remove_url" class="x_btn x_btn-link" href="{$layout->remove_url}&return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->cmd_delete}</a></td>
|
||||
</block>
|
||||
<block cond="!$layout->title">
|
||||
<td class="title">
|
||||
|
|
@ -45,12 +44,11 @@
|
|||
{$lang->msg_avail_easy_update} <a href="{$layout->update_url}&return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->msg_do_you_like_update}</a>
|
||||
</p>
|
||||
</td>
|
||||
<td class="nowr">-</td>
|
||||
<td class="nowr">-</td>
|
||||
<td class="nowr">{$layout->path}</td>
|
||||
<td class="nowr"><a cond="$layout->remove_url" class="x_btn x_btn-danger" href="{$layout->remove_url}&return_url={urlencodegetRequestUriByServerEnviroment()}">{$lang->cmd_delete}</a></td>
|
||||
<td>-</td>
|
||||
<td>-</td>
|
||||
<td>{$layout->path}</td>
|
||||
<td><a cond="$layout->remove_url" class="x_btn x_btn-link" href="{$layout->remove_url}&return_url={urlencodegetRequestUriByServerEnviroment()}">{$lang->cmd_delete}</a></td>
|
||||
</block>
|
||||
</tr>
|
||||
</block>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -1,43 +1,42 @@
|
|||
<include target="header.html" />
|
||||
<load target="js/adminList.js" usecdn="true" />
|
||||
<script>
|
||||
xe.lang.confirm_delete = '{$lang->confirm_delete}';
|
||||
</script>
|
||||
<include target="header.html" />
|
||||
<load target="js/adminList.js" usecdn="true" />
|
||||
<include target="sub_tab.html" />
|
||||
|
||||
<table class="x_table x_table-striped x_table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="nowr">{$lang->number}</th>
|
||||
<th scope="col" class="nowr">{$lang->layout_name}</th>
|
||||
<th scope="col" class="title">{$lang->title}</th>
|
||||
<th scope="col" class="nowr">{$lang->regdate}</th>
|
||||
<th scope="col" class="nowr">{$lang->cmd_layout_management}</th>
|
||||
<th scope="col" class="nowr">{$lang->cmd_layout_edit}</th>
|
||||
<th scope="col" class="nowr">{$lang->cmd_copy}</th>
|
||||
<th scope="col" class="nowr">{$lang->cmd_delete}</th>
|
||||
<th scope="col">{$lang->number}</th>
|
||||
<th scope="col">{$lang->layout_name}</th>
|
||||
<th scope="col">{$lang->title}</th>
|
||||
<th scope="col">{$lang->regdate}</th>
|
||||
<th scope="col">{$lang->cmd_layout_management}</th>
|
||||
<th scope="col">{$lang->cmd_layout_edit}</th>
|
||||
<th scope="col">{$lang->cmd_copy}</th>
|
||||
<th scope="col">{$lang->cmd_delete}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{@$count=1}
|
||||
{@$count=1}
|
||||
<!--@foreach($layout_list as $layout)-->
|
||||
{@$layout_name = $layout['title']}
|
||||
{@unset($layout['title'])}
|
||||
{@$layout_name = $layout['title']}
|
||||
{@unset($layout['title'])}
|
||||
<tr loop="$layout => $no, $item">
|
||||
<td class="nowr" rowspan="{count($layout)}" cond="$no === 0" >{$count++}</td>
|
||||
<td class="nowr" rowspan="{count($layout)}" cond="$no === 0" >{$layout_name}</td>
|
||||
<td class="title">{$item->title}</td>
|
||||
<td class="nowr">{zdate($item->regdate, "Y-m-d")}</td>
|
||||
<td class="nowr"><a href="{getUrl('act', 'dispLayoutAdminModify', 'layout_srl', $item->layout_srl)}">{$lang->cmd_layout_management}</a></td>
|
||||
<td class="nowr"><a href="{getUrl('act', 'dispLayoutAdminEdit', 'layout_srl', $item->layout_srl)}">{$lang->cmd_layout_edit}</a></td>
|
||||
<td class="nowr"><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 class="nowr">
|
||||
<td rowspan="{count($layout)}" cond="$no === 0" >{$count++}</td>
|
||||
<td rowspan="{count($layout)}" cond="$no === 0" >{$layout_name}</td>
|
||||
<td>{$item->title}</td>
|
||||
<td>{zdate($item->regdate, "Y-m-d")}</td>
|
||||
<td><a href="{getUrl('act', 'dispLayoutAdminModify', 'layout_srl', $item->layout_srl)}">{$lang->cmd_layout_management}</a></td>
|
||||
<td><a href="{getUrl('act', 'dispLayoutAdminEdit', 'layout_srl', $item->layout_srl)}">{$lang->cmd_layout_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>
|
||||
<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" />
|
||||
<input type="hidden" name="layout_srl" value="{$item->layout_srl}" />
|
||||
|
||||
<input class="x_btn x_btn-danger" type="submit" value="{$lang->cmd_delete}" />
|
||||
<input class="x_btn x_btn-link" type="submit" value="{$lang->cmd_delete}" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue