mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-17 10:19:55 +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
|
|
@ -115,6 +115,8 @@ body>.x,
|
|||
.x textarea{vertical-align:top}
|
||||
.x .x_tab-content{overflow-x:hidden}
|
||||
.x .x_table thead th{vertical-align:top}
|
||||
.x .x_well>*:first-child{margin-top:0}
|
||||
.x .x_well>*:last-child{margin-bottom:0}
|
||||
/* Custom Styles */
|
||||
.x .section{margin:20px 0 40px 0}
|
||||
.x .section>h1{position:relative;border-bottom:1px solid #ddd}
|
||||
|
|
|
|||
2
modules/admin/tpl/css/admin.min.css
vendored
2
modules/admin/tpl/css/admin.min.css
vendored
|
|
@ -115,6 +115,8 @@ body>.x,
|
|||
.x textarea{vertical-align:top}
|
||||
.x .x_tab-content{overflow-x:hidden}
|
||||
.x .x_table thead th{vertical-align:top}
|
||||
.x .x_well>*:first-child{margin-top:0}
|
||||
.x .x_well>*:last-child{margin-bottom:0}
|
||||
/* Custom Styles */
|
||||
.x .section{margin:20px 0 40px 0}
|
||||
.x .section>h1{position:relative;border-bottom:1px solid #ddd}
|
||||
|
|
|
|||
|
|
@ -352,7 +352,7 @@
|
|||
<value xml:lang="vi"><![CDATA[Bạn cần phải chọn Skin cho Widget.]]></value>
|
||||
</item>
|
||||
<item name="about_widget_code">
|
||||
<value xml:lang="ko"><![CDATA[선택하신 위젯에서 요구하는 아래 항목들의 값을 넣고 [코드생성]버튼을 누르시면 제일 아래 칸에 템플릿 파일에 적용할 수 있는 코드가 출력 됩니다.]]></value>
|
||||
<value xml:lang="ko"><![CDATA[선택하신 위젯에서 요구하는 아래 항목들의 값을 넣고 [코드생성]버튼을 누르면 제일 아래 칸에 템플릿 파일에 적용할 수 있는 코드가 출력 됩니다.]]></value>
|
||||
<value xml:lang="en"><![CDATA[Please input the required value first, and click [Generate Code] button to generate the code for adding to the template file.]]></value>
|
||||
<value xml:lang="jp"><![CDATA[選択したウィジェットで要求する下記項目の値を入力し、「コード生成」ボタンをクリックすると、<br />一番下にテンプレートファイルに適用できるコードが出力されます。]]></value>
|
||||
<value xml:lang="zh-CN"><![CDATA[输入所选控件所需要的下列各项后,按『代码生成』按钮,即可在页面下方获得可以用在布局模版代码片断。]]></value>
|
||||
|
|
@ -364,7 +364,7 @@
|
|||
<value xml:lang="vi"><![CDATA[Hãy nhập các thông tin cần thiết, sau đó bấm nút [<b>Tạo Code</b>] để lấy Code thêm vào giao diện.]]></value>
|
||||
</item>
|
||||
<item name="about_widget_code_in_page">
|
||||
<value xml:lang="ko"><![CDATA[아래 필요한 값들을 입력하신 후 추가 버튼을 누르시면 페이지 내에 위젯이 삽입됩니다.]]></value>
|
||||
<value xml:lang="ko"><![CDATA[아래 필요한 값들을 입력하신 후 추가 버튼을 누르면 페이지 내에 위젯이 삽입됩니다.]]></value>
|
||||
<value xml:lang="en"><![CDATA[After entering the required values, click the [Add] button to insert the widget code into the page.]]></value>
|
||||
<value xml:lang="jp"><![CDATA[下記に必要な値を入力した後、追加ボタンをクリックするとページ内にウィジェットが挿入されます。]]></value>
|
||||
<value xml:lang="zh-CN"><![CDATA[输入下列各项必要值后,按『生成代码』按钮,即可把控件插入到页面当中。]]></value>
|
||||
|
|
|
|||
|
|
@ -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