From 2f3e8f2c70f7169b0028d79ec647bae64993921d Mon Sep 17 00:00:00 2001 From: wangyidong Date: Fri, 18 Jan 2013 01:07:31 +0000 Subject: [PATCH] * fix bug: the wrong link of icon. * adjust the style of page. * change the url of reload. --- module/webapp/control.php | 2 +- module/webapp/css/common.css | 4 ++-- module/webapp/view/index.html.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/module/webapp/control.php b/module/webapp/control.php index aa2b518b92..6ed1232fff 100644 --- a/module/webapp/control.php +++ b/module/webapp/control.php @@ -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(); diff --git a/module/webapp/css/common.css b/module/webapp/css/common.css index 085f03932e..8d5bb3bbfc 100644 --- a/module/webapp/css/common.css +++ b/module/webapp/css/common.css @@ -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;} diff --git a/module/webapp/view/index.html.php b/module/webapp/view/index.html.php index 18f5e17c87..f9dc7981e4 100644 --- a/module/webapp/view/index.html.php +++ b/module/webapp/view/index.html.php @@ -20,7 +20,7 @@
  • - +
    addType == 'custom' ? '' : $config->webapp->url) . $webapp->icon?>' width='72' height='72' />icon?>' width='72' height='72' /> name?>
    desc) ? ' ' : $webapp->desc?>