modified editor > descript page, poll, image gallary

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12109 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
chschy 2012-11-05 01:52:50 +00:00
parent 34045a94d6
commit 44691213c6
4 changed files with 48 additions and 117 deletions

View file

@ -1,86 +1,10 @@
<!--%import("popup.js")-->
<!--%import("popup.css")-->
<!--%import("../lang")-->
<h1 class="h1">{$component_info->title} ver. {$component_info->version}</h1>
<form action="./" method="get" onSubmit="return false" id="fo">
<input type="hidden" name="editor_sequence" value="{$editor_sequence}" />
<table class="x_table x_table-striped x_table-hover">
<col width="120" />
<col />
<tr>
<th scope="row">{$lang->width}</th>
<td><input type="text" size="3" id="width" value="400" />px</td>
</tr>
<tr>
<th scope="row">{$lang->gallery_style}</th>
<td>
<select id="gallery_style">
<option value="slide">{$lang->gallery_slide_style}</option>
<option value="list">{$lang->gallery_list_style}</option>
</select>
</td>
</tr>
<tr>
<th scope="row">{$lang->gallery_slide_align}</th>
<td>
<select id="gallery_align">
<option value="center">{$lang->gallery_slide_center}</option>
<option value="left">{$lang->gallery_slide_left}</option>
<option value="right">{$lang->gallery_slide_right}</option>
</select>
</td>
</tr>
<tr>
<th scope="row">{$lang->gallery_border_thickness}</th>
<td><input type="text" size="1" id="border_thickness" value="0" />px</td>
</tr>
<tr>
<th scope="row">{$lang->gallery_border_color}</th>
<td>
<div class="editor_color_box">
<script>
printColor("border", "{$tpl_path}/images/blank.gif");
</script>
</div>
<ul class="buttonLeft">
<li><img src="./images/border_solid.gif" alt="blank" class="border_preview_color" id="border_preview_color" /></li>
<li>#<input type="text" id="border_color_input" size="7" maxlength="6" value="000000" onkeyup="manual_select_color('border',this)"/></li>
</ul>
</td>
</tr>
<tr>
<th scope="row">{$lang->gallery_bg_color}</th>
<td>
<div class="editor_color_box">
<script>
printColor("bg", "{$tpl_path}/images/blank.gif");
</script>
</div>
<ul class="buttonLeft">
<li><img src="./images/blank.gif" alt="blank" class="bg_preview_color" id="bg_preview_color" /></li>
<li>#<input type="text" id="bg_color_input" size="7" maxlength="6" value="FFFFFF" onkeyup="manual_select_color('bg',this)"/></li>
</ul>
</td>
</tr>
<tr>
<th scope="row">{$lang->image_list}</th>
<td>
<select id="image_list" size="6" multiple="true" class="image_list">
</select>
<p>{$lang->about_image_list}</p>
</td>
</tr>
</table>
<div class="btnArea">
<span class="btn"><button type="button" onclick="insertSlideShow()">{$lang->cmd_insert}</button></span>
<span class="btn"><a href="./?module=editor&amp;act=dispEditorComponentInfo&amp;component_name={$component_info->component_name}" target="_blank" onclick="window.open('this.href','ComponentInfo','width=10,height=10');return false;">{$lang->about_component}</a></span>
</div>
</form>
<section cond="0" class="section">
<section class="section">
<h1>{$component_info->title} ver. {$component_info->version}</h1>
<form action="./" method="get" onSubmit="return false" id="fo" class="x_form-horizontal">
<form action="./" method="get" onSubmit="return false" id="fo" class="x_form-horizontal">
<input type="hidden" name="editor_sequence" value="{$editor_sequence}" />
<table class="x_table x_table-striped x_table-hover">
<div class="x_control-group">
<label for="" class="x_control-label">{$lang->width}</label>
<div class="x_controls">
@ -151,7 +75,7 @@
<div class="x_clearfix btnArea">
<div class="x_pull-right">
<button type="button" class="x_btn x_btn-primary" onclick="insertSlideShow()">{$lang->cmd_insert}</button>
<a class="x_btn" href="./?module=editor&amp;act=dispEditorComponentInfo&amp;component_name={$component_info->component_name}" target="_blank" onclick="window.open('this.href','ComponentInfo','width=10,height=10');return false;">{$lang->about_component}</button>
<a class="x_btn" href="{getUrl('','module','editor','act','dispEditorComponentInfo','component_name',$component_info->component_name)}" target="_blank" onclick="window.open(this.href,'ComponentInfo','width=10,height=10');return false;">{$lang->about_component}</a>
</div>
</div>
</form>

View file

@ -1,5 +1,6 @@
@charset "utf-8";
@import url(../../../../../modules/admin/tpl/css/admin.css);
@import url(../../../../../common/css/bootstrap.css);
.display_date { cursor:pointer; width:80px; float:left; border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; height:1em; padding:3px; font-family:tahoma; }

View file

@ -9,21 +9,17 @@
<script>
var msg_poll_cannot_modify = "{$lang->msg_poll_cannot_modify}";
</script>
<h1 class="h1">{$component_info->title} ver. {$component_info->version}</h1>
<form action="./" method="post" id="fo_component" onSubmit="procFilter(this, insert_poll); return false;">
<input type="hidden" name="component" value="{$component_info->component_name}" />
<input type="hidden" name="method" value="insertPoll" />
<input type="hidden" name="poll_srl" value="" />
<table class="x_table x_table-striped x_table-hover">
<col width="100" />
<col />
<tr>
<th scope="row">{$lang->poll_stop_date}</th>
<td>
<input type="hidden" name="stop_date" id="stop_date" value="{date('Ymd',time()+60*60*24*30)}" />
<input type="text" class="inputDate" value="{date('Y-m-d',time()+60*60*24*30)}" readonly="readonly" />
<section class="section">
<h1>{$component_info->title} ver. {$component_info->version}</h1>
<form action="./" method="post" id="fo_component" onSubmit="procFilter(this, insert_poll); return false;" class="x_form-horizontal">
<input type="hidden" name="component" value="{$component_info->component_name}" />
<input type="hidden" name="method" value="insertPoll" />
<input type="hidden" name="poll_srl" value="" />
<div class="x_control-group">
<label for="" class="x_control-label">{$lang->poll_stop_date}</label>
<div class="x_controls">
<input type="hidden" name="stop_date" id="stop_date" value="{date('Ymd',time()+60*60*24*30)}" />
<input type="text" class="inputDate" value="{date('Y-m-d',time()+60*60*24*30)}" readonly="readonly" />
<script>
(function($){
$(function(){
@ -42,25 +38,28 @@ $(function(){
})(jQuery);
</script>
</td>
</tr>
<tr>
<th scope="row">{$lang->skin}</th>
<td>
<select name="skin">
</div>
</div>
<div class="x_control-group">
<label for="" class="x_control-label">{$lang->skin}</label>
<div class="x_controls">
<select name="skin">
<!--@foreach($skin_list as $skin=>$skin_info)-->
<option value="{$skin}">{$skin_info->title} (skin by {$skin_info->maker->name})</option>
<!--@end-->
</select>
</td>
</tr>
</table>
</select>
</div>
</div>
<div id="poll_source" style="display:none">
<div class="table">
<table class="x_table x_table-striped x_table-hover">
<thead>
<col width="100" />
<col />
</thead>
<tbody>
<tr>
<th scope="row"><div><label>{$lang->poll_chk_count}</label></div></th>
<th scope="row"><div>{$lang->poll_chk_count}</div></th>
<td><input type="text" name="checkcount_tidx" value="1" size="1" /></td>
</tr>
<tr>
@ -77,14 +76,19 @@ $(function(){
<th scope="row"><div>{$lang->poll_item} 2</div></th>
<td><input type="text" name="item_tidx_2" /></td>
</tr>
</tbody>
</table>
<button type="button" class="_add_item">{$lang->cmd_add_item}</button>
<button type="button" class="_del_item">{$lang->cmd_del_item}</button>
<button type="button" class="_del_poll">{$lang->cmd_del_poll}</button>
</div>
<div class="btnArea">
<span class="btn"><input type="submit" value="{$lang->cmd_submit}" /></span>
<span class="btn"><button type="button" id="add_poll">{$lang->cmd_add_poll}</button></span>
<span class="btn"><a href="./?module=editor&amp;act=dispEditorComponentInfo&amp;component_name={$component_info->component_name}" target="_blank">{$lang->about_component}</a></span>
</div>
</form>
</div>
<button type="button" class="_add_item x_btn">{$lang->cmd_add_item}</button>
<button type="button" class="_del_item x_btn">{$lang->cmd_del_item}</button>
<button type="button" class="_del_poll x_btn">{$lang->cmd_del_poll}</button>
</div>
<div class="x_clearfix btnArea">
<div class="x_pull-right">
<button type="submit" class="x_btn x_btn-primary" />{$lang->cmd_submit}</button>
<button type="button" id="add_poll" class="x_btn">{$lang->cmd_add_poll}</button>
<a class="x_btn" href="{getUrl('','module','editor','act','dispEditorComponentInfo','component_name',$component_info->component_name)}" target="_blank" onclick="window.open(this.href,'ComponentInfo','width=10,height=10');return false;">{$lang->about_component}</a>
</div>
</div>
</form>
</section>

View file

@ -1,8 +1,9 @@
<load target="css/editor.css" usecdn="true" />
<load target="../../../modules/admin/tpl/css/admin.css" usecdn="true" />
<load target="../../../common/css/bootstrap.css" usecdn="true" />
<h1 class="h1">{$component->title} ver. {$component->version}</h1>
<section class="section">
<h1>{$component->title} ver. {$component->version}</h1>
<table class="x_table x_table-striped x_table-hover">
<tr>
<th scope="row"><div>{$lang->component_author}</div></th>
@ -70,3 +71,4 @@
<!--@endforeach-->
</table>
<!--@endif-->
</section>