Common UI and .x_btn style cleaning.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12222 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-11-14 15:28:42 +00:00
parent 9984a9e9af
commit 27c12c5dfb
55 changed files with 203 additions and 225 deletions

View file

@ -1,5 +1,11 @@
<div class="x_page-header">
<h1>{$lang->installed_widgets}</h1>
<h1>
{$lang->installed_widgets}
<block cond="$widget_info">
&gt; {$widget_info->title}
<a href="#widgetInfo" class="x_icon-question-sign x_pull-right" data-toggle style="margin-top:15px">{$lang->help}</a>
</block>
</h1>
</div>
<div cond="$XE_VALIDATOR_MESSAGE" class="x_alert x_alert-{$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>

View file

@ -219,7 +219,7 @@ jQuery(document).ready(function($){
if(src instanceof Object ) {
for(var i=0;i<src.length;i++){
if(src[i].id) {
htmlCode += '<img src="'+src[i].id+'" alt="" style="border: 1px solid #ccc; padding: 5px; max-height: 200px; max-width: 200px;"><button class="filebox_del x_btn x_btn-mini x_btn-danger" type="button">'+xe.lang.cmd_delete+'</button> ';
htmlCode += '<img src="'+src[i].id+'" alt="" style="border:1px solid #ccc;padding:5px;max-height:200px;max-width:200px"> <button type="button" class="filebox_del x_icon-remove">'+xe.lang.cmd_delete+'</button> ';
if(i==0) $(this).siblings('input').val(src[i].id);
else {
var aux = $(this).siblings('input').val();
@ -228,7 +228,7 @@ jQuery(document).ready(function($){
}
else {
if(src[i]){
htmlCode += '<img src="'+src[i]+'" alt="" style="border: 1px solid #ccc; padding: 5px; max-height: 200px; max-width: 200px;"><button class="filebox_del x_btn x_btn-mini x_btn-danger" type="button">'+xe.lang.cmd_delete+'</button> ';
htmlCode += '<img src="'+src[i]+'" alt="" style="border:1px solid #ccc;padding:5px;max-height:200px;max-width:200px"> <button type="button" class="filebox_del x_icon-remove">'+xe.lang.cmd_delete+'</button> ';
if(i==0) $(this).siblings('input').val(src[i]);
else {
var aux = $(this).siblings('input').val();

View file

@ -1,25 +1,22 @@
<include cond="$in_admin" target="header.html" />
<load target="js/generate_code.js" usecdn="true" />
<div class="x_well">
<h2>{$widget_info->title}</h2>
<div class="x_alert x_alert-info" hidden id="widgetInfo">
<p>{$widget_info->description}</p>
</div>
<form id="widget_code_form" class="x_form-horizontal" action="./" method="post">
<form id="widget_code_form" class="x_form-horizontal section" 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}" />
<h1>{$lang->cmd_generate_code}</h1>
<p>{$lang->about_widget_code}</p>
<h1>{$lang->cmd_generate_code} <a href="#codeHelp" class="x_icon-question-sign" data-toggle style="vertical-align:middle">{$lang->help}</a></h1>
<div class="x_alert x_alert-info" id="codeHelp" hidden><p>{$lang->about_widget_code}</p></div>
<include target="widget_generate_code.include.html" />
<div class="btnArea">
<input type="submit" class="x_btn x_btn-large x_btn-primary" value="{$lang->cmd_generate_code}" />
<div class="x_clearfix btnArea">
<a href="{getUrl('', 'module', 'admin', 'act', 'dispWidgetAdminDownloadedList')}" class="x_btn x_pull-left">{$lang->cmd_list}</a>
<input type="submit" class="x_btn x_btn-primary" value="{$lang->cmd_generate_code}" />
</div>
</form>
<div class="x_well">
<h3>{$lang->widget_code}</h3>
<p style="margin-right:14px"><textarea id="widget_code" rows="4" cols="42" style="width:100%;cursor:text" readonly="readonly"></textarea>
</div>
<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" />

View file

@ -2,7 +2,7 @@
<load target="../../module/tpl/js/module_list.js" usecdn="true" />
<load target="../../module/tpl/js/mid.js" usecdn="true" />
<!--%load_js_plugin("ui.colorpicker")-->
<div class="x_control-group">
<div class="x_control-group" style="border-top:0;padding-top:0">
<label class="x_control-label" for="skin">{$lang->skin}</label>
<div class="x_controls">
<select name="skin" id="skin" style="width:220px">