HTML/CSS code cleaning.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10302 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-03-02 19:05:23 +00:00
parent 5ef08c16ec
commit f18b7c4c0b
73 changed files with 399 additions and 701 deletions

View file

@ -1,51 +0,0 @@
@charset "utf-8";
/* NHN (developers@xpressengine.com) */
.install{border-top:1px solid #ddd;zoom:1}
.install:after{content:"";display:block;clear:both}
.aside{width:180px;float:left;margin-right:30px;padding-bottom:30px}
.aside .categoryBox{background-color:#F8F8F8;padding:10px;width:160px;overflow:hidden}
.aside .categoryBox h3{padding:0 0 10px 0;margin:0 0 10px 0;white-space:nowrap;overflow:hidden;color:#48494E;font-size:11px;font-weight:normal}
.aside .categoryBox .bottomLine{background:transparent url(../img/hrE1.gif) repeat-x scroll left bottom}
.aside .categoryBox .topLine{background:transparent url(../img/hrE1.gif) repeat-x scroll left top}
.aside .categoryBox h3 a{color:#48494E;font-size:12px;font-weight:bold;text-decoration:none}
.aside .categoryBox ul.category{margin:10px 0 0 0;padding:0;list-style:none}
.aside .categoryBox ul.category li{margin:0 0 10px 10px}
.aside .categoryBox ul.category li a.selected{font-weight:bold;color:#2893BB}
.aside .categoryBox ul.category li a{text-decoration:none;color:#7B7575}
.aside .categoryBox ul.category li span{font-family:verdana;font-size:10px;color:#999}
.aside .categoryBox ul.resourceManage{margin:0;padding:10px 0 0 0;list-style:none;background:transparent url(../img/hrE1.gif) repeat-x scroll left top}
.aside .categoryBox ul.resourceManage li{background:url(../img/btnManage.gif) no-repeat 2px 2px;padding-left:14px;white-space:nowrap;overflow:hidden;margin-bottom:10px}
.aside .categoryBox ul.resourceManage li a{text-decoration:none;color:#747474}
.aside .categoryBox ul.resourceManage li a.selected{font-weight:bold}
.aside .searchBox{padding:10px 0;text-align:center}
.aside .searchBox input.input{border:1px solid #ddd;width:120px;height:16px}
.aside .searchBox input.submit{vertical-align:middle}
.install .content{position:relative;zoom:1;overflow:hidden;width:auto;float:none;margin:0}
.updateList,
.updateList th,
.updateList td{border:0;vertical-align:top;text-align:left;padding:10px 0}
.updateList{width:100%;height:100px;table-layout:fixed}
.updateList th,
.updateList td{border-bottom:1px dotted #ddd}
.updateList th img{border:1px solid #ccc;padding:2px;overflow:hidden;zoom:1}
.updateList td{padding:10px 0 0 0}
.updateList td .title{position:relative}
.updateList td .title h3{padding:0;margin:0 0 5px 0;font-size:12px}
.updateList td .title a{text-decoration:none;color:#333 !important}
.updateList td .title .buttons{position:absolute;top:0;right:0}
.updateList td .info p{margin:0 0 5px 0;line-height:1.5}
.updateList td .info p.desc{margin:0 100px 10px 0}
.updateList td .info p.meta{font-size:11px}
.updateList td .info p.meta span{display:inline-block;line-height:1;padding:0 5px 0 9px}
.updateList td .info p.meta .reputation{padding:0 5px 0 0}
.updateList td .info p.meta .reputation img{float:left;margin:-1px 0 0 0}
.updateList td .info p.meta .reputation span{padding:0 0 0 5px}
.updateList td .info p.meta .lastUpdate{border-left:1px solid #ddd}
.updateList td .info p.meta .download{border-left:1px solid #ddd}
ul.listOrder{position:relative;overflow:hidden;margin:0;padding:10px 0;text-align:left;background:transparent url(../img/hrE1.gif) repeat-x scroll left bottom}
ul.listOrder.asc li.arrow{background:url(../img/arrUp.gif) no-repeat right 2px;padding-right:10px}
ul.listOrder.desc li.arrow{background:url(../img/arrDown.gif) no-repeat right 2px;padding-right:10px}
ul.listOrder li{position:relative;left:-1px;display:inline;margin:0;padding:0 5px 0 9px;border-left:1px solid #ddd}
ul.listOrder li.arrow a{text-decoration:none;font-weight:bold;color:#2893BB}
ul.listOrder li a{text-decoration:none;color:#7B7575}
p.caution strong{font-size:1.2em;font-weight:bold;color:red}

View file

@ -1 +0,0 @@
<h1 class="h1">{$lang->autoinstall}</h1>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 B

View file

@ -1,4 +1,4 @@
<include target="header.html" />
<h1 class="h1">{$lang->autoinstall}</h1>
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>

View file

@ -1,48 +0,0 @@
<include target="header.html" />
<load target="js/waiting.js" usecdn="true" />
<h2 class="h2">{$package->title} ver. {$package->version}</h2>
<p cond="$package->installed">{$lang->current_version}: {$package->cur_version} <block cond="$package->need_update">({$lang->require_update})</block></p>
<p cond="!$package->installed">{$lang->require_installation}</p>
<block cond="$package->depends">
<p>{$lang->about_depending_programs}</p>
<ul>
<li loop="$package->depends => $dep">
{$dep->title} ver. {$dep->version} -
<block cond="$dep->installed">{$lang->current_version}: {$dep->cur_version} <block cond="$dep->need_update">({$lang->require_update})</block></block>
<block cond="!$dep->installed">{$lang->require_installation}</block>
<block cond="$show_ftp_note && ($dep->need_update || !$dep->installed)">
<a href="{_XE_DOWNLOAD_SERVER_}?module=resourceapi&act=procResourceapiDownload&package_srl={$dep->package_srl}">{$lang->cmd_download}</a> ({$lang->path}: {$dep->path})
</block>
</li>
</ul>
</block>
<block cond="!$package->installed || $package->need_update">
<block cond="$show_ftp_note">
<p>{$lang->description_download}. (<a href="{getUrl('', 'module', 'admin', 'act', 'dispAdminConfigFtp')}">FTP Setup</a>)</p>
<p>{$lang->path}: {$package->path}</p>
<p><a href="{_XE_DOWNLOAD_SERVER_}?module=resourceapi&act=procResourceapiDownload&package_srl={$package->package_srl}">{$lang->cmd_download}</a>
</block>
<block cond="!$show_ftp_note">
<p>{$lang->description_install}</p>
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<form action="./" class="form" method="post" ruleset="ftp">
<input type="hidden" name="module" value="autoinstall" />
<input type="hidden" name="act" value="procAutoinstallAdminPackageinstall" />
<input type="hidden" name="package_srl" value="{$package->package_srl}" />
<input type="hidden" name="return_url" value="{$return_url}" />
<input cond="!$need_password" type="hidden" name="ftp_password" value="dummy" />
<block cond="$need_password">
<p class="q"><label for="ftp_password">FTP {$lang->password}</label></p>
<p class="a"><input type="password" name="ftp_password" id="ftp_password" value="" /> <span class="desc">{$lang->about_ftp_password}</span></p>
</block>
<div class="btnArea">
<span class="btn medium"><input type="submit" value="{$package->installed?$lang->update:$lang->install}" /></span>
</div>
</form>
</block>
</block>

View file

@ -1,43 +0,0 @@
function completeUpdate(ret_obj) {
alert(ret_obj['message']);
location.reload();
}
function doUpdate() {
var params = new Array();
exec_xml('autoinstall', 'procAutoinstallAdminUpdateinfo', params, completeUpdate);
}
function doInstallPackage(package_srl) {
var params = new Array();
params['package_srl'] = package_srl;
var e = jQuery("#ftp_password").get(0)
if(typeof(e) != "undefined")
{
params['ftp_password'] = e.value;
}
exec_xml('autoinstall', 'procAutoinstallAdminPackageinstall', params, completeInstall);
}
function completeUpdateNoMsg(ret_obj) {
//location.reload();
var src = current_url.setQuery('act', 'dispAutoinstallAdminIndex');
location.href = src;
}
function completeInstall(ret_obj) {
alert(ret_obj['message']);
if(ret_obj['error'] != 0) return;
var params = new Array();
exec_xml('autoinstall', 'procAutoinstallAdminUpdateinfo', params, completeUpdateNoMsg);
}
function completeUninstall(ret_obj) {
alert(ret_obj['message']);
if(ret_obj['error'] != 0) return;
var params = new Array();
exec_xml('autoinstall', 'procAutoinstallAdminUpdateinfo', params, completeUpdateNoMsg);
}

View file

@ -1,15 +0,0 @@
(function($){
var WaitingStub = xe.createPlugin('waiting_stub', {
API_BEFORE_VALIDATE : function(sender, params) {
$('.wfsr').html(waiting_message).show();
},
API_BEFORE_SHOW_ALERT : function(sender, params) {
$('.wfsr').hide();
}
});
var Validator = xe.getApp('validator')[0];
if(Validator){
Validator.registerPlugin(new WaitingStub);
}
})(jQuery);

View file

@ -1,40 +0,0 @@
<include target="header.html" />
<load target="js/waiting.js" usecdn="true" />
<h2 class="h2">{$package->title}</h2>
<p>{$package->type} ({$package->path})</p>
<block cond="$package->avail_remove">
<div class="message info">
<p>{$lang->description_uninstall}</p>
</div>
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<form action="./" class="form" method="post" ruleset="ftp">
<input type="hidden" name="module" value="autoinstall" />
<input type="hidden" name="act" value="procAutoinstallAdminUninstallPackage" />
<input type="hidden" name="package_srl" value="{$package_srl}" />
<input type="hidden" name="return_url" value="{$return_url}" />
<input cond="!$need_password" type="hidden" name="ftp_password" value="dummy" />
<block cond="$need_password">
<p class="q"><label for="ftp_password">FTP {$lang->password}</label></p>
<p class="a"><input type="password" name="ftp_password" id="ftp_password" value="" /> <span class="desc">{$lang->about_ftp_password}</span></p>
</block>
<div class="btnArea">
<span class="btn medium"><input type="submit" value="{$lang->cmd_delete}" /></span>
</div>
</form>
</block>
<block cond="!$package->avail_remove">
<div class="message error">
<p>{$lang->msg_dependency_package}</p>
</div>
<p cond="$package->deps">{$lang->dependant_list}:</p>
<ul cond="$package->deps">
<li loop="$package->deps => $dep_package_srl">{$installed[$dep_package_srl]->title}</li>
</ul>
</block>