Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bonita-portal-js
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bonita
bonita-portal-js
Commits
f015a29d
Commit
f015a29d
authored
3 years ago
by
VishalThapaliya
Committed by
abirembaut
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Resolve menu drag and drop defect when the app is not editable
parent
5d536c71
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/features/admin/applications/details/menubuilder-menuList.html
+10
-11
10 additions, 11 deletions
...ures/admin/applications/details/menubuilder-menuList.html
main/styles/applications/app-details.less
+19
-15
19 additions, 15 deletions
main/styles/applications/app-details.less
with
29 additions
and
26 deletions
main/features/admin/applications/details/menubuilder-menuList.html
+
10
−
11
View file @
f015a29d
<div
class=
"container-menubuilder"
ui-tree=
"treeOptions"
data-max-depth=
"2"
>
<div
class=
"container-menubuilder"
ui-tree=
"treeOptions"
data-max-depth=
"2"
ng-attr-data-drop-enabled=
"{{isAppEditable === 'true' ? true: false}}"
ng-attr-data-drag-enabled=
"{{isAppEditable === 'true' ? true: false}}"
>
<ul
class=
"list-group"
ui-tree-nodes=
""
data-ng-model=
"model"
>
<li
class=
"list-group-item"
data-ng-repeat=
"menu in model"
ui-tree-node
ng-class=
"{'menucontainer-has-submenu-items': !menu.applicationPageId || menu.applicationPageId === '-1', 'menucontainer-no-submenu-items': menu.applicationPageId && menu.applicationPageId !== '-1'}"
>
<div
ui-tree-handle
ng-class=
"{'hidden-submenu': collapsed
}"
>
<div
ui-tree-handle
ng-class=
"{'hidden-submenu': collapsed
, 'default-cursor': isAppEditable !== 'true'} "
>
<action-bar
collapsed=
"collapsed"
menu=
"menu"
data=
"data"
is-app-editable=
"isAppEditable"
>
{{menu.displayName}}
</action-bar>
</div>
<ul
ui-tree-nodes=
""
ng-if=
"!menu.applicationPageId || menu.applicationPageId === '-1'"
data-ng-model=
"menu.children"
ng-class=
"{'menucontainer-submenu-exist':menu.children.length,'menucontainer-submenu':!menu.children.length}"
><li
data-ng-repeat=
"subItem in menu.children"
ui-tree-node
>
<div
ui-tree-handle
>
<action-bar
add=
"false"
menu=
"subItem"
data=
"data"
is-app-editable=
"isAppEditable"
>
{{subItem.displayName}}
</action-bar>
</div>
</li></ul>
</li>
<ul
ui-tree-nodes=
""
ng-if=
"!menu.applicationPageId || menu.applicationPageId === '-1'"
data-ng-model=
"menu.children"
ng-class=
"{'menucontainer-submenu-exist':menu.children.length,'menucontainer-submenu':!menu.children.length}"
>
<li
data-ng-repeat=
"subItem in menu.children"
ui-tree-node
>
<div
ui-tree-handle
ng-class=
"isAppEditable === 'true' ? '' : 'default-cursor'"
>
<action-bar
add=
"false"
menu=
"subItem"
data=
"data"
is-app-editable=
"isAppEditable"
>
{{subItem.displayName}}
</action-bar>
</div>
</li>
</ul>
</li>
</ul>
</div>
This diff is collapsed.
Click to expand it.
main/styles/applications/app-details.less
+
19
−
15
View file @
f015a29d
#look-n-feel-edit-section .editable-buttons> button{
margin-top: 2px;
min-width: 30px;
min-height: 30px;
padding: 0 0 0 0;
}
#look-n-feel-edit-section .editable-input{
max-width: 280px;
}
#app-details-container .actions{
padding-top: 20px;
}
.app-details-flex-display {
.app-details-col {
margin: 0;
...
...
@@ -46,6 +31,25 @@
display: inline-flex;
}
.list-group-item .default-cursor {
cursor: default;
}
#look-n-feel-edit-section .editable-buttons> button{
margin-top: 2px;
min-width: 30px;
min-height: 30px;
padding: 0 0 0 0;
}
#look-n-feel-edit-section .editable-input{
max-width: 280px;
}
#app-details-container .actions{
padding-top: 20px;
}
#app-details-information {
margin-bottom: 15px;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment