Easy install UI cleaning.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11963 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
|
@ -308,15 +308,15 @@ class HTMLDisplayHandler {
|
|||
// for admin page, add admin css
|
||||
if(Context::get('module')=='admin' || strpos(Context::get('act'),'Admin')>0){
|
||||
if(__DEBUG__) {
|
||||
$oContext->loadFile(array('./modules/admin/tpl/css/admin.css', '', '', 100000), true);
|
||||
$oContext->loadFile(array("./modules/admin/tpl/css/admin_{$lang_type}.css", '', '', 100000), true);
|
||||
$oContext->loadFile(array("./modules/admin/tpl/css/admin.iefix.css", '', 'ie', 100000), true);
|
||||
$oContext->loadFile(array('./modules/admin/tpl/css/admin.css', '', '', 10), true);
|
||||
$oContext->loadFile(array("./modules/admin/tpl/css/admin_{$lang_type}.css", '', '', 10), true);
|
||||
$oContext->loadFile(array("./modules/admin/tpl/css/admin.iefix.css", '', 'ie', 10), true);
|
||||
$oContext->loadFile('./modules/admin/tpl/js/admin.js', true);
|
||||
$oContext->loadFile(array('./common/css/bootstrap.css', '', '', 1), true);
|
||||
} else {
|
||||
$oContext->loadFile(array('./modules/admin/tpl/css/admin.min.css', '', '', 100000), true);
|
||||
$oContext->loadFile(array("./modules/admin/tpl/css/admin_{$lang_type}.css", '', '',10000), true);
|
||||
$oContext->loadFile(array("./modules/admin/tpl/css/admin.iefix.min.css", '', 'ie', 100000), true);
|
||||
$oContext->loadFile(array('./modules/admin/tpl/css/admin.min.css', '', '', 10), true);
|
||||
$oContext->loadFile(array("./modules/admin/tpl/css/admin_{$lang_type}.css", '', '',10), true);
|
||||
$oContext->loadFile(array("./modules/admin/tpl/css/admin.iefix.min.css", '', 'ie', 10), true);
|
||||
$oContext->loadFile('./modules/admin/tpl/js/admin.min.js', true);
|
||||
$oContext->loadFile(array('./common/css/bootstrap.min.css', '', '', 1), true);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -465,8 +465,6 @@ html[lang="mn"] .x .g11n.active>[disabled],
|
|||
.x .form input[type=text],
|
||||
.x .form input[type=password],
|
||||
.x .form input[type=file]{height:22px;line-height:22px;vertical-align:middle;padding:0 4px}
|
||||
.x .form input[type=text].loading,
|
||||
.x .form input.loading[type=password]{padding-right:24px;width:260px;background:transparent url(../img/preLoader16.gif) no-repeat 265px center}
|
||||
.x .form input[type=checkbox],
|
||||
.x .form input[type=radio]{margin:0;padding:0;width:13px;height:13px;vertical-align:middle}
|
||||
.x .form input[type=text][disabled=disabled],
|
||||
|
|
@ -507,11 +505,6 @@ html[lang="mn"] .x .g11n.active>[disabled],
|
|||
.x .pagination .direction:focus{border:0;margin:0;text-decoration:underline}
|
||||
.x .pagination input{width:30px;text-align:center}
|
||||
.x .pagination button{overflow:visible}
|
||||
/* Star Rating */
|
||||
.x .starRating,
|
||||
.x .starRating span{display:inline-block;height:14px;background:transparent url(../img/iconStarRating.gif) no-repeat;overflow:hidden}
|
||||
.x .starRating{width:79px;vertical-align:top}
|
||||
.x .starRating span{font-size:0;line-height:0;vertical-align:top;text-indent:-100px;*text-indent:0;background-position:0 -14px}
|
||||
/* Progress */
|
||||
.x .prgrs{white-space:nowrap;line-height:normal;vertical-align:middle}
|
||||
.x .prgrs *{vertical-align:middle}
|
||||
|
|
|
|||
7
modules/admin/tpl/css/admin.min.css
vendored
|
|
@ -465,8 +465,6 @@ html[lang="mn"] .x .g11n.active>[disabled],
|
|||
.x .form input[type=text],
|
||||
.x .form input[type=password],
|
||||
.x .form input[type=file]{height:22px;line-height:22px;vertical-align:middle;padding:0 4px}
|
||||
.x .form input[type=text].loading,
|
||||
.x .form input.loading[type=password]{padding-right:24px;width:260px;background:transparent url(../img/preLoader16.gif) no-repeat 265px center}
|
||||
.x .form input[type=checkbox],
|
||||
.x .form input[type=radio]{margin:0;padding:0;width:13px;height:13px;vertical-align:middle}
|
||||
.x .form input[type=text][disabled=disabled],
|
||||
|
|
@ -507,11 +505,6 @@ html[lang="mn"] .x .g11n.active>[disabled],
|
|||
.x .pagination .direction:focus{border:0;margin:0;text-decoration:underline}
|
||||
.x .pagination input{width:30px;text-align:center}
|
||||
.x .pagination button{overflow:visible}
|
||||
/* Star Rating */
|
||||
.x .starRating,
|
||||
.x .starRating span{display:inline-block;height:14px;background:transparent url(../img/iconStarRating.gif) no-repeat;overflow:hidden}
|
||||
.x .starRating{width:79px;vertical-align:top}
|
||||
.x .starRating span{font-size:0;line-height:0;vertical-align:top;text-indent:-100px;*text-indent:0;background-position:0 -14px}
|
||||
/* Progress */
|
||||
.x .prgrs{white-space:nowrap;line-height:normal;vertical-align:middle}
|
||||
.x .prgrs *{vertical-align:middle}
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 91 B |
|
Before Width: | Height: | Size: 8.6 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 849 B |
|
Before Width: | Height: | Size: 64 B |
|
Before Width: | Height: | Size: 134 B |
|
Before Width: | Height: | Size: 632 B |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 574 B |
|
Before Width: | Height: | Size: 727 B |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
|
@ -3,12 +3,14 @@
|
|||
<li class="x_active"|cond="$act == 'dispAutoinstallAdminInstalledPackages'"><a href="{getUrl('', 'module', 'admin', 'act', 'dispAutoinstallAdminInstalledPackages')}">Installed({$iCount})</a></li>
|
||||
</ul>
|
||||
|
||||
<div cond="$act == 'dispAutoinstallAdminIndex'" class="x_row-fluid" style="margin-bottom:20px">
|
||||
<ul loop="$categories => $category" cond="$category->depth == 0" class="x_nav x_nav-list x_well x_span6">
|
||||
<li class="x_nav-header">{$category->title}</li>
|
||||
<li loop="$category->children => $children" class="x_active"|cond="$children->category_srl == $category_srl">
|
||||
<a href="{getUrl('','module','admin','act','dispAutoinstallAdminIndex','category_srl',$children->category_srl,'childrenList','')}">{$children->title}({$children->nPackages})</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div cond="$act == 'dispAutoinstallAdminIndex'" class="x_thumbnail x_clearfix category">
|
||||
<div loop="$categories => $category" cond="$category->depth == 0">
|
||||
<h2>{$category->title}</h2>
|
||||
<ul>
|
||||
<li loop="$category->children => $children" class="active"|cond="$children->category_srl == $category_srl">
|
||||
<a href="{getUrl('','module','admin','act','dispAutoinstallAdminIndex','category_srl',$children->category_srl,'childrenList','')}">{$children->title}({$children->nPackages})</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,59 +1,31 @@
|
|||
@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; }
|
||||
a>i{opacity:.5;filter:alpha(opacity=50)}
|
||||
.x_label,
|
||||
.x_badge{font-weight:normal}
|
||||
.category{padding:15px 20px 0 20px;margin-bottom:20px}
|
||||
.category>div{float:left;width:50%}
|
||||
.category h2{margin:0 0 8px 0;color:#333;font-size:14px}
|
||||
.category ul{margin:0 0 15px 0;padding:0;list-style:none}
|
||||
.category .active>a{font-weight:bold;color:#333}
|
||||
.list{zoom:1}
|
||||
.list:after{content:"";display:block;clear:both}
|
||||
.list>.x_thumbnail{padding:8px 10px; margin-bottom:10px;zoom:1;width:47%;box-shadow:1px 1px 3px #eee}
|
||||
.list>.x_thumbnail:after{content:"";display:block; clear:both}
|
||||
.list>.x_thumbnail:nth-child(odd){float:left}
|
||||
.list>.x_thumbnail:nth-child(even){float:right}
|
||||
.list .thumb{border-radius:3px;float:left;overflow:hidden;box-shadow:0 0 3px #666 inset;margin:0 15px 0 0;padding:5px}
|
||||
.list .text>h3{margin:0 0 8px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
||||
.list .text>h3>a{color:#333}
|
||||
.starRating,
|
||||
.starRating span{display:inline-block;height:15px;background:transparent url(../img/starRating.png) no-repeat;overflow:hidden}
|
||||
.starRating{width:79px;vertical-align:middle}
|
||||
.starRating span{font-size:0;line-height:0;vertical-align:top;text-indent:-100px;*text-indent:0;background-position:0 -15px}
|
||||
@media all and (max-width:480px){
|
||||
.category>div{float:none;width:auto}
|
||||
}
|
||||
@media all and (max-width:960px){
|
||||
.list>.x_thumbnail{width:auto}
|
||||
.list>.x_thumbnail:nth-child(odd),
|
||||
.list>.x_thumbnail:nth-child(even){float:none}
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<load target="../../../common/css/bootstrap-responsive.css" index="100" />
|
||||
<load target="./css/autoinstall.css" index="11" />
|
||||
<div class="x_page-header">
|
||||
<h1>{$lang->autoinstall}</h1>
|
||||
</div>
|
||||
|
|
|
|||
BIN
modules/autoinstall/tpl/img/starRating.png
Normal file
|
After Width: | Height: | Size: 1 KiB |
|
|
@ -12,15 +12,16 @@
|
|||
<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>
|
||||
<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>
|
||||
<p>{$lang->description_install}</p>
|
||||
</block>
|
||||
</div>
|
||||
|
||||
|
|
@ -28,10 +29,9 @@
|
|||
<div cond="$show_ftp_note" class="x_well x_clearfix">
|
||||
<p>{$lang->description_download}. (<a href="{getUrl('', 'module', 'admin', 'act', 'dispAdminConfigFtp')}">FTP Setup</a>)</p>
|
||||
<p>{$lang->path}: {$package->path}</p>
|
||||
<p><a class="x_btn x_btn-primary x_pull-right" href="{_XE_DOWNLOAD_SERVER_}?module=resourceapi&act=procResourceapiDownload&package_srl={$package->package_srl}">{$lang->cmd_download}</a>
|
||||
<p><a class="x_btn x_btn-large x_btn-primary x_pull-right" href="{_XE_DOWNLOAD_SERVER_}?module=resourceapi&act=procResourceapiDownload&package_srl={$package->package_srl}">{$lang->cmd_download}</a>
|
||||
</div>
|
||||
<div cond="!$show_ftp_note">
|
||||
<p style="border-bottom:1px solid #ccc"|cond="$need_password">{$lang->description_install}</p>
|
||||
<div cond="$XE_VALIDATOR_MESSAGE" class="x_alert x_alert-error">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
|
|
@ -47,13 +47,13 @@
|
|||
<label class="x_control-label" for="ftp_password">FTP {$lang->password}</label>
|
||||
<div class="x_controls">
|
||||
<input type="password" name="ftp_password" id="ftp_password" value="" />
|
||||
<span class="x_help-block">{$lang->about_ftp_password}</span>
|
||||
<p class="x_help-inline">{$lang->about_ftp_password}</p>
|
||||
</div>
|
||||
</div>
|
||||
</block>
|
||||
<div class="x_clearfix btnArea">
|
||||
<div class="x_pull-right">
|
||||
<input class="x_btn x_btn-primary" type="submit" value="{$package->installed?$lang->update:$lang->install}" />
|
||||
<input class="x_btn x_btn-large x_btn-primary" type="submit" value="{$package->installed?$lang->update:$lang->install}" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<include target="category.html" />
|
||||
<div class="x_clearfix">
|
||||
<div cond="$act == 'dispAutoinstallAdminIndex'" class="x_pull-left">
|
||||
<div class="x_clearfix" style="margin-bottom:10px">
|
||||
<div cond="$act == 'dispAutoinstallAdminIndex'" class="x_pull-left sort">
|
||||
<!--@if($order_target == 'newest')-->
|
||||
<!--@if($order_type == 'desc')-->{@$_newest_order_type = 'asc'}<!--@else-->{@$_newest_order_type = 'desc'}<!--@end-->
|
||||
<!--@else-->
|
||||
|
|
@ -16,75 +16,66 @@
|
|||
<!--@else-->
|
||||
{@$_popular_order_type = 'desc'}
|
||||
<!--@end-->
|
||||
<a href="{getUrl('order_target','newest','order_type',$_newest_order_type)}">{$lang->order_newest}<!--@if($order_target == 'newest')--><i class="<!--@if($_newest_order_type == 'asc')-->x_icon-arrow-down<!--@else-->x_icon-arrow-up<!--@end-->">{$_newest_order_type}</i><!--@end--></a>
|
||||
<a href="{getUrl('order_target','newest','order_type',$_newest_order_type)}" class="active"|cond="$order_target == 'newest'">{$lang->order_newest} <i cond="$order_target == 'newest'" class="x_icon-circle-arrow-down"|cond="$_newest_order_type == 'asc'" class="x_icon-circle-arrow-up"|cond="$_newest_order_type == 'desc'">{$_newest_order_type}</i></a>
|
||||
<i>|</i>
|
||||
<a href="{getUrl('order_target','download','order_type',$_download_order_type)}">{$lang->order_download}<!--@if($order_target == 'download')--><i class="<!--@if($_newest_order_type == 'asc')-->x_icon-arrow-down<!--@else-->x_icon-arrow-up<!--@end-->">{$_newest_order_type}</i><!--@end--></a>
|
||||
<a href="{getUrl('order_target','download','order_type',$_download_order_type)}" class="active"|cond="$order_target == 'download'">{$lang->order_download} <i cond="$order_target == 'download'" class="x_icon-circle-arrow-down"|cond="$_download_order_type == 'asc'" class="x_icon-circle-arrow-up"|cond="$_download_order_type == 'desc'">{$_download_order_type}</i></a>
|
||||
<i>|</i>
|
||||
<a href="{getUrl('order_target','popular','order_type',$_popular_order_type)}">{$lang->order_popular}<!--@if($order_target == 'popular')--><i class="<!--@if($_newest_order_type == 'asc')-->x_icon-arrow-down<!--@else-->x_icon-arrow-up<!--@end-->">{$_newest_order_type}</i><!--@end--></a></li>
|
||||
<a href="{getUrl('order_target','popular','order_type',$_popular_order_type)}" class="active"|cond="$order_target == 'popular'">{$lang->order_popular} <i cond="$order_target == 'popular'" class="x_icon-circle-arrow-down"|cond="$_popular_order_type == 'asc'" class="x_icon-circle-arrow-up"|cond="$_popular_order_type == 'desc'">{$_popular_order_type}</i></a></li>
|
||||
</div>
|
||||
<div class="x_btn-group x_pull-right x_nav">
|
||||
<button id="__btn_simple" class="x_btn x_btn-mini x_active">{$lang->simple_view}</button>
|
||||
<button id="__btn_detail" class="x_btn x_btn-mini">{$lang->detail_view}</button>
|
||||
<div class="x_btn-group x_pull-right">
|
||||
<button id="__btn_simple" class="x_btn x_active">{$lang->simple_view}</button>
|
||||
<button id="__btn_detail" class="x_btn">{$lang->detail_view}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="__list_simple">
|
||||
<strong>
|
||||
<p>
|
||||
<block cond="$current_category">{$current_category}</block>
|
||||
<block cond="!$current_category">All</block>
|
||||
({sprintf('%d', $page_navigation->total_count)})
|
||||
</strong>
|
||||
<div class="x_row-fluid">
|
||||
{@$c = 0}
|
||||
</p>
|
||||
<div class="list">
|
||||
<block loop="$item_list => $key, $item">
|
||||
{@ $target_url = $original_site."?mid=download&package_srl=".$item->package_srl; }
|
||||
{@$c++}
|
||||
<div class="x_well x_span6" style="position:relative;padding-left:135px;">
|
||||
<div class="x_thumbnail" style="position:absolute;left:15px">
|
||||
<img src="{str_replace('./', $uri, $item->item_screenshot_url)}" alt="" width="100" height="100" />
|
||||
<div class="x_thumbnail">
|
||||
<div class="thumb">
|
||||
<img src="{str_replace('./', $uri, $item->item_screenshot_url)}" alt="" width="80" height="80" />
|
||||
</div>
|
||||
<div class="x_clearfix">
|
||||
<p>{$item->category}</p>
|
||||
<h4 style="text-overflow:ellipsis;overflow:hidden;white-space:nowrap"><a href="{$target_url}" title="{htmlspecialchars($item->title)}" target="_blank">{htmlspecialchars($item->title)}</a></h4>
|
||||
<p class="x_pull-left nowr" style="margin-right:20px">
|
||||
<div class="text">
|
||||
<h3><span class="x_label x_label-info">{$item->category}</span> <a href="{$target_url}" title="{htmlspecialchars($item->title)}" target="_blank">{htmlspecialchars($item->title)}</a></h3>
|
||||
<p>
|
||||
<block cond="(int)$item->package_voter > 0">
|
||||
<span class="starRating" style="text-align:left"><span style="width:{sprintf("%d",$item->package_voted/$item->package_voter*20)}%">{sprintf($lang->rate, $item->package_start)}</span></span>
|
||||
<span class="x_label">{sprintf("%0.1f",$item->package_voted/$item->package_voter*2)}/{number_format($item->package_voter)}</label>
|
||||
<span class="starRating"><span style="width:{sprintf("%d",$item->package_voted/$item->package_voter*20)}%">{sprintf($lang->rate, $item->package_start)}</span></span>
|
||||
<span class="x_badge">{sprintf("%0.1f",$item->package_voted/$item->package_voter*2)}/{number_format($item->package_voter)}</label>
|
||||
</block>
|
||||
<block cond="(int)$item->package_voter <= 0">
|
||||
<span class="starRating" style="text-align:left"><span style="width:0%">0</span></span>
|
||||
<span class="x_label">0/0</span>
|
||||
<span class="starRating"><span style="width:0%">0</span></span>
|
||||
<span class="x_badge">0/0</span>
|
||||
</block>
|
||||
</p>
|
||||
<p class="x_pull-right nowr">
|
||||
<p class="x_btn-group" style="text-align:right">
|
||||
<a cond="$item->current_version && $item->need_update != 'Y'" class="x_btn x_disabled" href="#">{$lang->installed}</a>
|
||||
<a cond="!$item->current_version" class="x_btn x_btn-primary" href="{getUrl('act','dispAutoinstallAdminInstall','package_srl',$item->package_srl)}">{$lang->install}</a>
|
||||
<a cond="!$show_ftp_note && $item->current_version && $item->avail_remove" class="x_btn x_btn-primary" href="{getUrl('act','dispAutoinstallAdminUninstall','package_srl',$item->package_srl)}">{$lang->cmd_delete}</a>
|
||||
<a cond="$item->current_version && $item->need_update == 'Y'" class="x_btn x_btn-primary" href="{getUrl('act','dispAutoinstallAdminInstall','package_srl',$item->package_srl)}">{$lang->update}</a>
|
||||
<a cond="!$item->current_version" class="x_btn" href="{getUrl('act','dispAutoinstallAdminInstall','package_srl',$item->package_srl)}"><i class="x_icon-download-alt"></i> {$lang->install}</a>
|
||||
<a cond="!$show_ftp_note && $item->current_version && $item->avail_remove" class="x_btn" href="{getUrl('act','dispAutoinstallAdminUninstall','package_srl',$item->package_srl)}"><i class="x_icon-remove"></i> {$lang->cmd_delete}</a>
|
||||
<a cond="$item->current_version && $item->need_update == 'Y'" class="x_btn" href="{getUrl('act','dispAutoinstallAdminInstall','package_srl',$item->package_srl)}"><i class="x_icon-refresh"></i> {$lang->update}</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<!--@if($c % 2 == 0)-->
|
||||
</div>
|
||||
<div class="x_row-fluid">
|
||||
<!--@end-->
|
||||
</block>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<table id="__list_detail" class="x_table x_table-striped x_table-hover" style="display:none">
|
||||
<caption>
|
||||
<strong>
|
||||
<block cond="$current_category">{$current_category}</block>
|
||||
<block cond="!$current_category">All</block>
|
||||
({sprintf('%d', $page_navigation->total_count)})
|
||||
</strong>
|
||||
<block cond="$current_category">{$current_category}</block>
|
||||
<block cond="!$current_category">All</block>
|
||||
({sprintf('%d', $page_navigation->total_count)})
|
||||
</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="nowr">{$lang->category}</th>
|
||||
<th scope="col" class="nowr">{$lang->thumbnail}</th>
|
||||
<th scope="col" class="title">{$lang->name}</th>
|
||||
<th scope="col" class="nowr">{$lang->name}</th>
|
||||
<th scope="col" class="nowr">{$lang->distribute_version}</th>
|
||||
<th scope="col" class="nowr">{$lang->current_version}</th>
|
||||
<th scope="col" class="nowr">{$lang->run}</th>
|
||||
|
|
@ -93,13 +84,13 @@
|
|||
<tbody>
|
||||
<tr loop="$item_list => $key, $item">
|
||||
{@ $target_url = $original_site."?mid=download&package_srl=".$item->package_srl; }
|
||||
<td class="nowr">{$item->category}</td>
|
||||
<td><span class="x_label x_label-info">{$item->category}</span></td>
|
||||
<td>
|
||||
<div class="x_thumbnail">
|
||||
<img src="{str_replace('./', $uri, $item->item_screenshot_url)}" alt="" width="100" height="100" />
|
||||
</div>
|
||||
</td>
|
||||
<td class="title">
|
||||
<td>
|
||||
<p><a href="{$target_url}" target="_blank">{htmlspecialchars($item->title)}</a></p>
|
||||
<p>{cut_str(htmlspecialchars($item->package_description),200)}</p>
|
||||
<p>
|
||||
|
|
@ -115,65 +106,64 @@
|
|||
{$lang->package_downloaded_count} : {number_format($item->package_downloaded)}
|
||||
</p>
|
||||
<p cond="$item->deps">{$lang->dependant_list}:</p>
|
||||
<ul cond="$item->deps">
|
||||
<ul cond="$item->deps" class="">
|
||||
<li loop="$item->deps => $package_srl">{$installed[$package_srl]->title}</li>
|
||||
</ul>
|
||||
</td>
|
||||
<td class="nowr">{htmlspecialchars($item->item_version)}</td>
|
||||
<td class="nowr">{htmlspecialchars($item->current_version)}</td>
|
||||
<td class="nowr">
|
||||
<td>{htmlspecialchars($item->item_version)}</td>
|
||||
<td>{htmlspecialchars($item->current_version)}</td>
|
||||
<td class="nowr x_btn-group">
|
||||
<a cond="$item->current_version && $item->need_update != 'Y'" class="x_btn x_disabled" href="#">{$lang->installed}</a>
|
||||
<a cond="!$item->current_version" class="x_btn x_btn-primary" href="{getUrl('act','dispAutoinstallAdminInstall','package_srl',$item->package_srl)}">{$lang->install}</a>
|
||||
<a cond="!$show_ftp_note && $item->current_version && $item->avail_remove" class="x_btn x_btn-primary" href="{getUrl('act','dispAutoinstallAdminUninstall','package_srl',$item->package_srl)}">{$lang->cmd_delete}</a>
|
||||
<a cond="$item->current_version && $item->need_update == 'Y'" class="x_btn x_btn-primary" href="{getUrl('act','dispAutoinstallAdminInstall','package_srl',$item->package_srl)}">{$lang->update}</a>
|
||||
<a cond="!$item->current_version" class="x_btn" href="{getUrl('act','dispAutoinstallAdminInstall','package_srl',$item->package_srl)}"><i class="x_icon-download-alt"></i> {$lang->install}</a>
|
||||
<a cond="!$show_ftp_note && $item->current_version && $item->avail_remove" class="x_btn" href="{getUrl('act','dispAutoinstallAdminUninstall','package_srl',$item->package_srl)}"><i class="x_icon-remove"></i> {$lang->cmd_delete}</a>
|
||||
<a cond="$item->current_version && $item->need_update == 'Y'" class="x_btn" href="{getUrl('act','dispAutoinstallAdminInstall','package_srl',$item->package_srl)}"><i class="x_icon-refresh"></i> {$lang->update}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<form cond="$page_navigation" action="./" class="x_pagination x_pagination-centered" no-error-return-url="true">
|
||||
{@
|
||||
$urlInfo = parse_url(getRequestUriByServerEnviroment());
|
||||
parse_str($urlInfo['query'], $param);
|
||||
}
|
||||
<input loop="$param => $key, $val" cond="!in_array($key, array('mid', 'vid', 'act'))" type="hidden" name="{$key}" value="{$val}" />
|
||||
<ul>
|
||||
<li class="x_disabled"|cond="!$page || $page == 1"><a href="{getUrl('page', '')}">« {$lang->first_page}</a></li>
|
||||
<block cond="$page_navigation->first_page != 1 && $page_navigation->first_page + $page_navigation->page_count > $page_navigation->last_page - 1 && $page_navigation->page_count != $page_navigation->total_page">
|
||||
{@$isGoTo = true}
|
||||
<li>
|
||||
<a href="#goTo" data-toggle="#goTo" title="{$lang->cmd_go_to_page}">...</a>
|
||||
<span cond="$isGoTo" id="goTo" class="x_input-append">
|
||||
<input type="number" min="1" max="{$page_navigation->last_page}" required name="page" title="{$lang->cmd_go_to_page}" />
|
||||
<button type="submit" class="x_add-on">Go</button>
|
||||
</span>
|
||||
</li>
|
||||
</block>
|
||||
<!--@while($page_no = $page_navigation->getNextPage())-->
|
||||
{@$last_page = $page_no}
|
||||
<li class="x_active"|cond="$page_no == $page"><a href="{getUrl('page', $page_no)}">{$page_no}</a></li>
|
||||
<!--@end-->
|
||||
<block cond="$last_page != $page_navigation->last_page && $last_page + 1 != $page_navigation->last_page">
|
||||
{@$isGoTo = true}
|
||||
<li>
|
||||
<a href="#goTo" data-toggle="#goTo" title="{$lang->cmd_go_to_page}">...</a>
|
||||
<span cond="$isGoTo" id="goTo" class="x_input-append">
|
||||
<input type="number" min="1" max="{$page_navigation->last_page}" required name="page" title="{$lang->cmd_go_to_page}" />
|
||||
<button type="submit" class="x_add-on">Go</button>
|
||||
</span>
|
||||
</li>
|
||||
</block>
|
||||
<li class="x_disabled"|cond="$page == $page_navigation->last_page"><a href="{getUrl('page', $page_navigation->last_page)}" title="{$page_navigation->last_page}">{$lang->last_page} »</a></li>
|
||||
</ul>
|
||||
</form>
|
||||
|
||||
<form action="./" class="search center x_input-append" no-error-return-url="true">
|
||||
<input loop="$param => $key, $val" cond="!in_array($key, array('mid', 'vid', 'act', 'page'))" type="hidden" name="{$key}" value="{$val}" />
|
||||
<input type="search" name="search_keyword" required title="Search" value="{htmlspecialchars($search_keyword)}">
|
||||
<button class="x_btn x_btn-inverse" type="submit">{$lang->cmd_search}</button>
|
||||
<a href="{getUrl('page', '', 'search_keyword', '')}" class="x_btn">{$lang->cmd_cancel}</a>
|
||||
</form>
|
||||
|
||||
<div class="x_clearfix" style="margin-top:-10px">
|
||||
<form cond="$page_navigation" action="./" class="x_pagination x_pull-left" no-error-return-url="true">
|
||||
{@
|
||||
$urlInfo = parse_url(getRequestUriByServerEnviroment());
|
||||
parse_str($urlInfo['query'], $param);
|
||||
}
|
||||
<input loop="$param => $key, $val" cond="!in_array($key, array('mid', 'vid', 'act'))" type="hidden" name="{$key}" value="{$val}" />
|
||||
<ul>
|
||||
<li class="x_disabled"|cond="!$page || $page == 1"><a href="{getUrl('page', '')}">« {$lang->first_page}</a></li>
|
||||
<block cond="$page_navigation->first_page != 1 && $page_navigation->first_page + $page_navigation->page_count > $page_navigation->last_page - 1 && $page_navigation->page_count != $page_navigation->total_page">
|
||||
{@$isGoTo = true}
|
||||
<li>
|
||||
<a href="#goTo" data-toggle="#goTo" title="{$lang->cmd_go_to_page}">...</a>
|
||||
<span cond="$isGoTo" id="goTo" class="x_input-append">
|
||||
<input type="number" min="1" max="{$page_navigation->last_page}" required name="page" title="{$lang->cmd_go_to_page}" />
|
||||
<button type="submit" class="x_add-on">Go</button>
|
||||
</span>
|
||||
</li>
|
||||
</block>
|
||||
<!--@while($page_no = $page_navigation->getNextPage())-->
|
||||
{@$last_page = $page_no}
|
||||
<li class="x_active"|cond="$page_no == $page"><a href="{getUrl('page', $page_no)}">{$page_no}</a></li>
|
||||
<!--@end-->
|
||||
<block cond="$last_page != $page_navigation->last_page && $last_page + 1 != $page_navigation->last_page">
|
||||
{@$isGoTo = true}
|
||||
<li>
|
||||
<a href="#goTo" data-toggle="#goTo" title="{$lang->cmd_go_to_page}">...</a>
|
||||
<span cond="$isGoTo" id="goTo" class="x_input-append">
|
||||
<input type="number" min="1" max="{$page_navigation->last_page}" required name="page" title="{$lang->cmd_go_to_page}" />
|
||||
<button type="submit" class="x_add-on">Go</button>
|
||||
</span>
|
||||
</li>
|
||||
</block>
|
||||
<li class="x_disabled"|cond="$page == $page_navigation->last_page"><a href="{getUrl('page', $page_navigation->last_page)}" title="{$page_navigation->last_page}">{$lang->last_page} »</a></li>
|
||||
</ul>
|
||||
</form>
|
||||
<form action="./" class="search x_input-append x_pull-right" no-error-return-url="true">
|
||||
<input loop="$param => $key, $val" cond="!in_array($key, array('mid', 'vid', 'act', 'page'))" type="hidden" name="{$key}" value="{$val}" />
|
||||
<input type="search" name="search_keyword" required title="Search" value="{htmlspecialchars($search_keyword)}">
|
||||
<button class="x_btn x_btn-inverse" type="submit">{$lang->cmd_search}</button>
|
||||
<a href="{getUrl('page', '', 'search_keyword', '')}" class="x_btn">{$lang->cmd_cancel}</a>
|
||||
</form>
|
||||
</div>
|
||||
<script>
|
||||
jQuery(function($){
|
||||
var $btnSimple = $('#__btn_simple');
|
||||
|
|
|
|||
|
|
@ -51,8 +51,6 @@
|
|||
.xc .form input[type=text],
|
||||
.xc .form input[type=password],
|
||||
.xc .form input[type=file]{height:22px;line-height:22px;vertical-align:middle;padding:0 4px}
|
||||
.xc .form input[type=text].loading,
|
||||
.xc .form input.loading[type=password]{padding-right:24px;width:260px;background:transparent url(../img/preLoader16.gif) no-repeat 265px center}
|
||||
.xc .form input[type=checkbox],
|
||||
.xc .form input[type=radio]{margin:0;padding:0;width:13px;height:13px;vertical-align:middle}
|
||||
.xc .form input[type=text][disabled=disabled],
|
||||
|
|
|
|||
|
|
@ -45,4 +45,3 @@ input[type=radio]{width:13px;height:13px;margin:0;padding:0}
|
|||
.bn[href]{height:26px}
|
||||
.bn.dark{border-color:#666;background:#777 -webkit-gradient(linear,0% 0%,0% 100%,from(#7e7c78),to(#5c5b58));background:#777 -moz-linear-gradient(top,#7e7c78,#5c5b58);background-color:#777;color:#fff;box-shadow:0 0 1px #fff inset;-moz-box-shadow:0 0 1px #fff inset;-webkit-box-shadow:0 0 1px #fff inset}
|
||||
.bn.white{border-color:#b5b5b5;background:#1b1b1b -webkit-gradient(linear,0% 0%,0% 100%,from(#fff),to(#f6f6f6),color-stop(0.5,#f0f0f0),color-stop(0.5,#e4e4e4));background:#1b1b1b -moz-linear-gradient(top,#fff,#e4e4e4);background-color:#fff;color:#000}
|
||||
.message{border:1px solid #ddd;background:#f8f8f8;margin:1em 0;padding:0 1em;border-radius:5px;line-height:1.4;font-size:12px}.message p{margin:1em 0!important}.message em{font-style:normal;color:#e00}.message.info,.message.error,.message.update{padding-left:55px}.message.info{border-color:#e0e8ec;background:#edf9ff url(../../../../../common/img/msg.Info.png) no-repeat 1em .5em}.message.error{border-color:#efdcdc;background:#ffecec url(../../../../../../common/img/msg.error.png) no-repeat 1em .5em}.message.update{border-color:#eae9dc;background:#fffdef url(../../../../../common/img/msg.update.png) no-repeat 1em .5em}
|
||||
|
|
|
|||
|
|
@ -55,6 +55,5 @@ input[type=radio]{width:13px;height:13px;margin:0;padding:0}
|
|||
.bn[href]{height:26px}
|
||||
.bn.dark{border-color:#666;background:#777 -webkit-gradient(linear,0% 0%,0% 100%,from(#7e7c78),to(#5c5b58));background:#777 -moz-linear-gradient(top,#7e7c78,#5c5b58);background-color:#777;color:#fff;box-shadow:0 0 1px #fff inset;-moz-box-shadow:0 0 1px #fff inset;-webkit-box-shadow:0 0 1px #fff inset}
|
||||
.bn.white{border-color:#b5b5b5;background:#1b1b1b -webkit-gradient(linear,0% 0%,0% 100%,from(#fff),to(#f6f6f6),color-stop(0.5,#f0f0f0),color-stop(0.5,#e4e4e4));background:#1b1b1b -moz-linear-gradient(top,#fff,#e4e4e4);background-color:#fff;color:#000}
|
||||
.message{border:1px solid #ddd;background:#f8f8f8;margin:1em 0;padding:0 1em;border-radius:5px;line-height:1.4;font-size:12px}.message p{margin:1em 0!important}.message em{font-style:normal;color:#e00}.message.info,.message.error,.message.update{padding-left:55px}.message.info{border-color:#e0e8ec;background:#edf9ff url(../../../../common/img/msg.Info.png) no-repeat 1em .5em}.message.error{border-color:#efdcdc;background:#ffecec url(../../../../common/img/msg.error.png) no-repeat 1em .5em}.message.update{border-color:#eae9dc;background:#fffdef url(../../../../common/img/msg.update.png) no-repeat 1em .5em}
|
||||
.agreement .text{height:200px;overflow-y:auto;}
|
||||
.bn a{text-decoration:none;}
|
||||
|
|
|
|||
|
|
@ -51,8 +51,6 @@
|
|||
.xm .form input[type=text],
|
||||
.xm .form input[type=password],
|
||||
.xm .form input[type=file]{height:22px;line-height:22px;vertical-align:middle;padding:0 4px}
|
||||
.xm .form input[type=text].loading,
|
||||
.xm .form input.loading[type=password]{padding-right:24px;width:260px;background:transparent url(../img/preLoader16.gif) no-repeat 265px center}
|
||||
.xm .form input[type=checkbox],
|
||||
.xm .form input[type=radio]{margin:0;padding:0;width:13px;height:13px;vertical-align:middle}
|
||||
.xm .form input[type=text][disabled=disabled],
|
||||
|
|
|
|||
|
|
@ -45,4 +45,3 @@ input[type=radio]{width:13px;height:13px;margin:0;padding:0}
|
|||
.bn[href]{height:26px}
|
||||
.bn.dark{border-color:#666;background:#777 -webkit-gradient(linear,0% 0%,0% 100%,from(#7e7c78),to(#5c5b58));background:#777 -moz-linear-gradient(top,#7e7c78,#5c5b58);background-color:#777;color:#fff;box-shadow:0 0 1px #fff inset;-moz-box-shadow:0 0 1px #fff inset;-webkit-box-shadow:0 0 1px #fff inset}
|
||||
.bn.white{border-color:#b5b5b5;background:#1b1b1b -webkit-gradient(linear,0% 0%,0% 100%,from(#fff),to(#f6f6f6),color-stop(0.5,#f0f0f0),color-stop(0.5,#e4e4e4));background:#1b1b1b -moz-linear-gradient(top,#fff,#e4e4e4);background-color:#fff;color:#000}
|
||||
.message{border:1px solid #ddd;background:#f8f8f8;margin:1em 0;padding:0 1em;border-radius:5px;line-height:1.4;font-size:12px}.message p{margin:1em 0!important}.message em{font-style:normal;color:#e00}.message.info,.message.error,.message.update{padding-left:55px}.message.info{border-color:#e0e8ec;background:#edf9ff url(../../../../common/img/msg.Info.png) no-repeat 1em .5em}.message.error{border-color:#efdcdc;background:#ffecec url(../../../../common/img/msg.error.png) no-repeat 1em .5em}.message.update{border-color:#eae9dc;background:#fffdef url(../../../../common/img/msg.update.png) no-repeat 1em .5em}
|
||||
|
|
@ -51,4 +51,3 @@ input[type=radio]{width:13px;height:13px;margin:0;padding:0}
|
|||
.bn[href]{height:26px}
|
||||
.bn.dark{border-color:#666;background:#777 -webkit-gradient(linear,0% 0%,0% 100%,from(#7e7c78),to(#5c5b58));background:#777 -moz-linear-gradient(top,#7e7c78,#5c5b58);background-color:#777;color:#fff;box-shadow:0 0 1px #fff inset;-moz-box-shadow:0 0 1px #fff inset;-webkit-box-shadow:0 0 1px #fff inset}
|
||||
.bn.white{border-color:#b5b5b5;background:#1b1b1b -webkit-gradient(linear,0% 0%,0% 100%,from(#fff),to(#f6f6f6),color-stop(0.5,#f0f0f0),color-stop(0.5,#e4e4e4));background:#1b1b1b -moz-linear-gradient(top,#fff,#e4e4e4);background-color:#fff;color:#000}
|
||||
.message{border:1px solid #ddd;background:#f8f8f8;margin:1em 0;padding:0 1em;border-radius:5px;line-height:1.4;font-size:12px}.message p{margin:1em 0!important}.message em{font-style:normal;color:#e00}.message.info,.message.error,.message.update{padding-left:55px}.message.info{border-color:#e0e8ec;background:#edf9ff url(../../../../common/img/msg.Info.png) no-repeat 1em .5em}.message.error{border-color:#efdcdc;background:#ffecec url(../../../../common/img/msg.error.png) no-repeat 1em .5em}.message.update{border-color:#eae9dc;background:#fffdef url(../../../../common/img/msg.update.png) no-repeat 1em .5em}
|
||||
|
|
@ -58,4 +58,3 @@ input[type=radio]{width:13px;height:13px;margin:0;padding:0}
|
|||
.bn[href]{height:26px}
|
||||
.bn.dark{border-color:#666;background:#777 -webkit-gradient(linear,0% 0%,0% 100%,from(#7e7c78),to(#5c5b58));background:#777 -moz-linear-gradient(top,#7e7c78,#5c5b58);background-color:#777;color:#fff;box-shadow:0 0 1px #fff inset;-moz-box-shadow:0 0 1px #fff inset;-webkit-box-shadow:0 0 1px #fff inset}
|
||||
.bn.white{border-color:#b5b5b5;background:#1b1b1b -webkit-gradient(linear,0% 0%,0% 100%,from(#fff),to(#f6f6f6),color-stop(0.5,#f0f0f0),color-stop(0.5,#e4e4e4));background:#1b1b1b -moz-linear-gradient(top,#fff,#e4e4e4);background-color:#fff;color:#000}
|
||||
.message{border:1px solid #ddd;background:#f8f8f8;margin:1em 0;padding:0 1em;border-radius:5px;line-height:1.4;font-size:12px}.message p{margin:1em 0!important}.message em{font-style:normal;color:#e00}.message.info,.message.error,.message.update{padding-left:55px}.message.info{border-color:#e0e8ec;background:#edf9ff url(../../../../common/img/msg.Info.png) no-repeat 1em .5em}.message.error{border-color:#efdcdc;background:#ffecec url(../../../../common/img/msg.error.png) no-repeat 1em .5em}.message.update{border-color:#eae9dc;background:#fffdef url(../../../../common/img/msg.update.png) no-repeat 1em .5em}
|
||||