diff --git a/module/doc/css/createlib.css b/module/doc/css/createlib.css index bd883f57fb..a1d9ca50c3 100644 --- a/module/doc/css/createlib.css +++ b/module/doc/css/createlib.css @@ -1,9 +1,10 @@ .modal-dialog {width: 75%;} form {margin-bottom: 50px;} -table {width: 90% !important;} #mainContent table th {width: 70px;} #whiteListBox div.input-group {margin-bottom: 2px;} #groups_chosen.chosen-container .chosen-results, #users_chosen.chosen-container .chosen-results {max-height: 160px;} #aclBox > th {vertical-align: top; padding-top: 17px;} +tr.executionBox > td {display: flex; width: 103%;} +tr.executionBox > td > .icon-help {margin: 8px 0 0 5px;} diff --git a/module/doc/model.php b/module/doc/model.php index 4c2a0cd9f3..9d0ace0159 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -3127,7 +3127,7 @@ class docModel extends model if($type != 'project') $libTree = array_values($libTree[$type]); if($type == 'mine') { - $libType = zget($this->app->rawParams, 'type', ''); + $libType = $this->app->rawMethod == 'view' ? 'mine' : zget($this->app->rawParams, 'type', ''); $libType = strtolower($libType); $myLib = new stdclass(); @@ -3138,7 +3138,7 @@ class docModel extends model $myLib->objectID = 0; $myLib->active = 0; $myLib->hasAction = false; - $myLib->active = $libType == 'mine' ? 1 : 0; + $myLib->active = $libType == 'mine' ? 1 : 0; $myLib->children = $libTree; $myView = new stdclass(); diff --git a/module/doc/view/createlib.html.php b/module/doc/view/createlib.html.php index 3935c828cd..4ed22d4857 100644 --- a/module/doc/view/createlib.html.php +++ b/module/doc/view/createlib.html.php @@ -36,7 +36,8 @@ doc->execution?> multiple ? '' : 'disabled';?> - doclib->tip->selectExecution}' $disabled")?> + + diff --git a/module/doc/view/lefttree.html.php b/module/doc/view/lefttree.html.php index d2e78e87d1..1b4eb344c5 100644 --- a/module/doc/view/lefttree.html.php +++ b/module/doc/view/lefttree.html.php @@ -12,21 +12,21 @@ /* css for tree */ #fileTree .title {font-size: 16px; height: 20px; margin-top: 5px; margin-bottom: 5px;} -#fileTree .tree li.has-list.open:before {content: unset;} -#fileTree .tree li > a {max-width: 100%; padding: 2px;} +#fileTree.tree li.has-list.open:before {content: unset;} +#fileTree.tree li > a {max-width: 100%; padding: 2px;} .file-tree a {height: 30px;} .flex-between {display: flex; align-items: center; justify-content: space-between;} .flex-center {display: flex; align-items: center; justify-content: center;} .flex-start {display: flex; align-items: center;} -#fileTree .tree li > .list-toggle {top: 4px;} +#fileTree.tree li > .list-toggle {top: 4px;} .input-tree {width: 120px;} .tree-icon {position: absolute; right: 0;} -#fileTree .tree li.has-input {overflow: hidden;} -#fileTree .tree li.has-input > input.input-bro {margin-left: 15px;} +#fileTree.tree li.has-input {overflow: hidden;} +#fileTree.tree li.has-input > input.input-bro {margin-left: 15px;} .img-lib {flex: 0 0 14px; height: 14px; margin-right: 5px; margin-bottom: 2px;} .file-icon {width: 14px; margin-bottom: 4px;} .tree-icon {position: absolute; right: 0;} -#fileTree .tree li > a {max-width: 100%; padding: 2px;} +#fileTree.tree li > a {max-width: 100%; padding: 2px;} .file-tree a.show-icon > div, .file-tree a.hover > div {padding-right: 15px;} .tree-text {overflow: hidden; min-width: 50px;}