mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-30 15:52:17 +09:00
Issue 2383:Admin UI Refactoring - Advanced - Modules
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11616 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c67e8ffa36
commit
e8dc9e135f
6 changed files with 125 additions and 113 deletions
|
|
@ -1,62 +1,62 @@
|
|||
<include target="header.html" />
|
||||
|
||||
<div class="table even easyList dsTg">
|
||||
<table width="100%" border="1" cellspacing="0">
|
||||
<caption>
|
||||
All({count($module_list)})
|
||||
<span class="side"><button type="button" class="text"><span class="hide">{$lang->simple_view}</span><span class="show">{$lang->detail_view}</span></button></span>
|
||||
</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="nowr">{$lang->favorite}</th>
|
||||
<th scope="col" class="title">{$lang->module_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>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!--@foreach($module_list as $key => $val)-->
|
||||
<tr>
|
||||
<td class="nowr">
|
||||
<!--@if(in_array($val->module,$favoriteModuleList))-->
|
||||
<button type="button" class="fvOn" onclick="doToggleFavoriteModule(this, '{$val->module}'); return false;">{$lang->favorite}({$lang->on})</button>
|
||||
<table class="x_table x_table-striped x_table-hover dsTg">
|
||||
<caption>
|
||||
<strong>All({count($module_list)})</strong>
|
||||
<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>
|
||||
</div>
|
||||
</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="nowr">{$lang->favorite}</th>
|
||||
<th class="title">{$lang->module_name}</th>
|
||||
<th class="nowr">{$lang->version}</th>
|
||||
<th class="nowr">{$lang->author}</th>
|
||||
<th class="nowr">{$lang->path}</th>
|
||||
<th class="nowr">{$lang->cmd_delete}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!--@foreach($module_list as $key => $val)-->
|
||||
<tr>
|
||||
<td class="nowr">
|
||||
<!--@if(in_array($val->module,$favoriteModuleList))-->
|
||||
<button type="button" class="fvOn" onclick="doToggleFavoriteModule(this, '{$val->module}'); return false;">{$lang->favorite}({$lang->on})</button>
|
||||
<!--@else-->
|
||||
<button type="button" class="fvOff" onclick="doToggleFavoriteModule(this, '{$val->module}'); return false;">{$lang->favorite}({$lang->off})</button>
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td class="title">
|
||||
<p>
|
||||
<!--@if($val->admin_index_act)-->
|
||||
<a href="{getUrl('','module','admin','act',$val->admin_index_act)}">{$val->title}</a>
|
||||
<!--@else-->
|
||||
<button type="button" class="fvOff" onclick="doToggleFavoriteModule(this, '{$val->module}'); return false;">{$lang->favorite}({$lang->off})</button>
|
||||
<strong>{$val->title}</strong>
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td class="title">
|
||||
<p>
|
||||
<!--@if($val->admin_index_act)-->
|
||||
<a href="{getUrl('','module','admin','act',$val->admin_index_act)}">{$val->title}</a>
|
||||
<!--@else-->
|
||||
<strong>{$val->title}</strong>
|
||||
<!--@end-->
|
||||
</p>
|
||||
<p>{$val->description}</p>
|
||||
<p cond="$val->need_install" class="update">{$lang->msg_avail_install} <button class="text" type="button" onclick="doInstallModule('{$val->module}')">{$lang->msg_do_you_like_install}</button></p>
|
||||
<p cond="$val->need_update" class="update">{$lang->msg_avail_update} <button class="text" type="button" onclick="doUpdateModule('{$val->module}')">{$lang->msg_do_you_like_update}</button></p>
|
||||
<p cond="$val->need_autoinstall_update == 'Y'" class="update">{$lang->msg_avail_easy_update}<a href="{$val->update_url}&return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->msg_do_you_like_update}</a></p>
|
||||
</td>
|
||||
<td class="nowr">{$val->version}</td>
|
||||
<td class="nowr">
|
||||
<!--@foreach($val->author as $author)-->
|
||||
<!--@if($author->homepage)-->
|
||||
<a href="{$author->homepage}" onclick="window.open(this.href);return false;" target="_blank">{$author->name}</a>
|
||||
<!--@else-->
|
||||
{$author->name}
|
||||
<!--@endif-->
|
||||
<!--@endforeach-->
|
||||
</td>
|
||||
<td class="nowr">{$val->path}</td>
|
||||
<td class="nowr">
|
||||
<!--@if($val->delete_url)-->
|
||||
<a href="{$val->delete_url}&return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->cmd_delete}</a>
|
||||
<!--@end-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</p>
|
||||
<p>{$val->description}</p>
|
||||
<p cond="$val->need_install" class="update">{$lang->msg_avail_install} <button class="text" type="button" onclick="doInstallModule('{$val->module}')">{$lang->msg_do_you_like_install}</button></p>
|
||||
<p cond="$val->need_update" class="update">{$lang->msg_avail_update} <button class="text" type="button" onclick="doUpdateModule('{$val->module}')">{$lang->msg_do_you_like_update}</button></p>
|
||||
<p cond="$val->need_autoinstall_update == 'Y'" class="update">{$lang->msg_avail_easy_update}<a href="{$val->update_url}&return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->msg_do_you_like_update}</a></p>
|
||||
</td>
|
||||
<td class="nowr">{$val->version}</td>
|
||||
<td class="nowr">
|
||||
<!--@foreach($val->author as $author)-->
|
||||
<!--@if($author->homepage)-->
|
||||
<a href="{$author->homepage}" onclick="window.open(this.href);return false;" target="_blank">{$author->name}</a>
|
||||
<!--@else-->
|
||||
{$author->name}
|
||||
<!--@endif-->
|
||||
<!--@endforeach-->
|
||||
</td>
|
||||
<td class="nowr">{$val->path}</td>
|
||||
<td class="nowr">
|
||||
<!--@if($val->delete_url)-->
|
||||
<a href="{$val->delete_url}&return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->cmd_delete}</a>
|
||||
<!--@end-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue