From 9141bb13d790fa22e25be5bdc5025ccbfbca2603 Mon Sep 17 00:00:00 2001 From: Catouse Date: Mon, 22 Feb 2016 15:03:44 +0800 Subject: [PATCH] * fix style of tree menu. --- module/common/view/treeview.html.php | 7 ------- module/custom/view/flow.html.php | 6 +++++- module/dept/css/browse.css | 2 ++ module/dept/model.php | 2 +- module/editor/model.php | 2 +- module/editor/view/extend.html.php | 1 - module/mail/view/sendcloud.html.php | 2 +- module/project/model.php | 2 +- module/tree/model.php | 10 +++++----- www/js/my.full.js | 3 +++ www/theme/default/style.css | 14 +++----------- 11 files changed, 22 insertions(+), 29 deletions(-) diff --git a/module/common/view/treeview.html.php b/module/common/view/treeview.html.php index 8a9543cfd0..7d690ff1e0 100755 --- a/module/common/view/treeview.html.php +++ b/module/common/view/treeview.html.php @@ -1,9 +1,2 @@ getExtViewFile(__FILE__)){include $extView; return helper::cd();}?> debug) -{ - css::import($defaultTheme . 'treeview.css'); - js::import($jsRoot . 'jquery/treeview/min.js'); -} -?> - diff --git a/module/custom/view/flow.html.php b/module/custom/view/flow.html.php index 4fb7356188..f57277b674 100644 --- a/module/custom/view/flow.html.php +++ b/module/custom/view/flow.html.php @@ -35,8 +35,12 @@ custom->productproject->relation, isset($config->custom->productproject) ? $config->custom->productproject : '0_0');?> + + +
custom->productproject->notice?>
+ + -
custom->productproject->notice?>
diff --git a/module/dept/css/browse.css b/module/dept/css/browse.css index ec776dedf3..8bd5357e69 100644 --- a/module/dept/css/browse.css +++ b/module/dept/css/browse.css @@ -1,2 +1,4 @@ .table.table-form {width: auto;} .table-form > tbody > tr > td .form-control + .form-control {margin-top: 5px;} + +.tree-lines li.has-list.open > ul:after {bottom: 20px;} diff --git a/module/dept/model.php b/module/dept/model.php index 1b2ac1b401..005e2aaff5 100644 --- a/module/dept/model.php +++ b/module/dept/model.php @@ -146,7 +146,7 @@ class deptModel extends model $deptMenu[$dept->parent] .= "\n"; } - $lastMenu = "\n"; + $lastMenu = "\n"; return $lastMenu; } diff --git a/module/editor/model.php b/module/editor/model.php index d94829bde4..1a07be820a 100644 --- a/module/editor/model.php +++ b/module/editor/model.php @@ -199,7 +199,7 @@ class editorModel extends model public function printTree($files, $isRoot = true) { if(empty($files) or !is_array($files)) return false; - $tree = $isRoot ? "