* fix bug: the wrong link of icon.

* adjust the style of page.
 * change the url of reload.
This commit is contained in:
wangyidong
2013-01-18 01:07:31 +00:00
parent 641876898a
commit 2f3e8f2c70
3 changed files with 4 additions and 4 deletions

View File

@@ -138,7 +138,7 @@ class webapp extends control
die(js::reload('parent'));
}
echo js::alert($this->lang->webapp->successInstall);
die(js::locate(inlink('index'), 'parent.parent'));
die(js::locate(inlink('index', "module={$this->post->module}"), 'parent.parent'));
}
$this->view->modules = $this->webapp->getModules();

View File

@@ -4,14 +4,14 @@
.success {color:green; font-size:14px}
.exttable tr {padding:5px 0px}
.exttable td {padding:0px 5px 0px 10px}
.exttable td {padding:1px 5px 1px 10px}
.exttable caption{background:#efefef; border-color:#CCC9C9; margin-left:0}
.exttable {border-color:#CCC9C9; border-top:none;}
.exttable td{border-color:#CCC9C9}
#webapps li {float:left; width:25%; list-style:none}
#webapps li table {border:0px; width:95%; background:#f5f5f5}
#webapps li table .webapp-name{font-size:14px; color:#039; padding-top:6px;}
#webapps li table .webapp-name{font-size:14px; color:#039; padding-top:2px;}
#webapps li table .webapp-icon{padding:5px;}
#webapps li table .webapp-info{color:#888; padding-top:2px;}

View File

@@ -20,7 +20,7 @@
<li>
<table class='fixed exttable' id='webapp<?php echo $webapp->id?>'>
<tr>
<td rowspan='4' width='73' height='73' class='webapp-icon'><img src='<?php echo empty($webapp->icon) ? '/theme/default/images/main/webapp-default.png' : ($webapp->addType == 'custom' ? '' : $config->webapp->url) . $webapp->icon?>' width='72' height='72' /></td>
<td rowspan='4' width='73' height='73' class='webapp-icon'><img src='<?php echo empty($webapp->icon) ? '/theme/default/images/main/webapp-default.png' : $webapp->icon?>' width='72' height='72' /></td>
<td class='webapp-name'><?php echo $webapp->name?></td>
</tr>
<tr><td class='webapp-info'><span title='<?php echo $webapp->desc?>'><?php echo empty($webapp->desc) ? '&nbsp;' : $webapp->desc?></span></td></tr>