mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 08:12:17 +09:00
Installed widget UI cleaning. [ing]
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11976 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
df3386e1c8
commit
8da76db573
7 changed files with 32 additions and 38 deletions
|
|
@ -1,21 +1,20 @@
|
|||
<include target="header.html" />
|
||||
|
||||
<table class="x_table x_table-striped x_table-hover dsTg">
|
||||
<caption>
|
||||
All({$tCount})
|
||||
<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->widget_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_generate_code}</th>
|
||||
<th scope="col" class="nowr">{$lang->cmd_delete}</th>
|
||||
<th scope="col">{$lang->widget_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_generate_code}</th>
|
||||
<th scope="col">{$lang->cmd_delete}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
@ -27,16 +26,16 @@
|
|||
{$lang->msg_avail_easy_update} <a href="{$widget->update_url}&return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->msg_do_you_like_update}</a>
|
||||
</p>
|
||||
</td>
|
||||
<td class="nowr">{$widget->version}</td>
|
||||
<td class="nowr">
|
||||
<td>{$widget->version}</td>
|
||||
<td>
|
||||
<block loop="$widget->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">{$widget->path}</td>
|
||||
<td class="nowr"><a class="x_btn" href="{getUrl('act', 'dispWidgetAdminGenerateCode', 'selected_widget', $widget->widget)}">{$lang->cmd_generate_code}</a></td>
|
||||
<td class="nowr"><a class="x_btn x_btn-danger" cond="$widget->remove_url" href="{$widget->remove_url}&return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->cmd_delete}</a></td>
|
||||
<td>{$widget->path}</td>
|
||||
<td><a class="x_btn x_btn-link" href="{getUrl('act', 'dispWidgetAdminGenerateCode', 'selected_widget', $widget->widget)}">{$lang->cmd_generate_code}</a></td>
|
||||
<td><a class="x_btn x_btn-link" cond="$widget->remove_url" href="{$widget->remove_url}&return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->cmd_delete}</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -1,32 +1,25 @@
|
|||
<include cond="$in_admin" target="header.html" />
|
||||
<load target="js/generate_code.js" usecdn="true" />
|
||||
|
||||
<div class="x_well">
|
||||
<h2>{$widget_info->title}</h2>
|
||||
<p>{$widget_info->description}</p>
|
||||
</div>
|
||||
|
||||
<form id="widget_code_form" class="x_form-horizontal x_well" action="./" method="post">
|
||||
<form id="widget_code_form" class="x_form-horizontal" action="./" method="post">
|
||||
<input type="hidden" name="module" value="widget" />
|
||||
<input type="hidden" name="act" value="procWidgetGenerateCode" />
|
||||
<input type="hidden" name="selected_widget" value="{$widget_info->widget}" />
|
||||
|
||||
<h3>{$lang->cmd_generate_code}</h3>
|
||||
<h1>{$lang->cmd_generate_code}</h1>
|
||||
<p>{$lang->about_widget_code}</p>
|
||||
<include target="widget_generate_code.include.html" />
|
||||
|
||||
<div class="btnArea">
|
||||
<input type="submit" class="x_btn x_btn-primary" value="{$lang->cmd_generate_code}" />
|
||||
<input type="submit" class="x_btn x_btn-large x_btn-primary" value="{$lang->cmd_generate_code}" />
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<div class="x_well">
|
||||
<h3>{$lang->widget_code}</h3>
|
||||
<p><textarea id="widget_code" rows="8" cols="42" style="width:100%;height:50px;cursor:text" readonly="readonly"></textarea>
|
||||
<p style="margin-right:14px"><textarea id="widget_code" rows="4" cols="42" style="width:100%;cursor:text" readonly="readonly"></textarea>
|
||||
</div>
|
||||
|
||||
<div class="btnArea">
|
||||
<a href="{getUrl('', 'module', 'admin', 'act', 'dispWidgetAdminDownloadedList')}" class="x_btn">{$lang->cmd_list}</a>
|
||||
<div class="x_clearfix">
|
||||
<a href="{getUrl('', 'module', 'admin', 'act', 'dispWidgetAdminDownloadedList')}" class="x_btn x_pull-left">{$lang->cmd_list}</a>
|
||||
</div>
|
||||
|
||||
<include target="../../module/tpl/include.filebox.html" />
|
||||
|
|
|
|||
|
|
@ -2,15 +2,14 @@
|
|||
<load target="js/module_list.js" usecdn="true" />
|
||||
<load target="js/mid.js" usecdn="true" />
|
||||
<!--%load_js_plugin("ui.colorpicker")-->
|
||||
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="skin">{$lang->skin}</label>
|
||||
<div class="x_controls">
|
||||
<select name="skin" id="skin" style="width:220px">
|
||||
<option value="">{$lang->select}</option>
|
||||
<option loop="$skin_list => $skin_name, $skin" value="{$skin_name}">{$skin->title} ({$skin_name})</option>
|
||||
</select>
|
||||
<input type="button" class="x_btn" value="{$lang->cmd_select}" />
|
||||
<select name="skin" id="skin" style="width:220px">
|
||||
<option value="">{$lang->select}</option>
|
||||
<option loop="$skin_list => $skin_name, $skin" value="{$skin_name}">{$skin->title} ({$skin_name})</option>
|
||||
</select>
|
||||
<input type="button" class="x_btn" value="{$lang->cmd_select}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
|
|
@ -23,8 +22,8 @@
|
|||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="widget_cache">{$lang->widget_cache}</label>
|
||||
<div class="x_controls">
|
||||
<input type="text" name="widget_cache" id="widget_cache" value="0" size="2" style="width:auto" /> {$lang->unit_min}
|
||||
<span class="x_help-block">{$lang->about_widget_cache}</span>
|
||||
<input type="text" name="widget_cache" id="widget_cache" value="0" size="2" style="width:30px" /> {$lang->unit_min}
|
||||
<p class="x_help-inline">{$lang->about_widget_cache}</p>
|
||||
</div>
|
||||
</div>
|
||||
{@$suggestion_id = 0}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
doFillWidgetVars();
|
||||
});
|
||||
</script>
|
||||
|
||||
<div cond="$type=='faceoff'" class="x" style="padding: 0 10px;">
|
||||
<form>
|
||||
<input type="hidden" name="module" value="widget" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue