Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Romain Courteaud
slapos.core
Commits
cb4ea4e7
Commit
cb4ea4e7
authored
Oct 25, 2022
by
Romain Courteaud
🐸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_panel: review View section in panel
Needed to cancel jump view
parent
ebe5b46d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
+8
-10
master/bt5/slapos_panel/PathTemplateItem/web_page_module/slapos_master_panel_panel_js.js
...plateItem/web_page_module/slapos_master_panel_panel_js.js
+6
-8
master/bt5/slapos_panel/PathTemplateItem/web_page_module/slapos_master_panel_panel_js.xml
...lateItem/web_page_module/slapos_master_panel_panel_js.xml
+2
-2
No files found.
master/bt5/slapos_panel/PathTemplateItem/web_page_module/slapos_master_panel_panel_js.js
View file @
cb4ea4e7
...
...
@@ -71,7 +71,7 @@
context
=
this
,
workflow_list
,
group_mapping
,
//
view_list,
view_list
,
action_list
,
clone_list
,
jump_list
;
...
...
@@ -109,7 +109,7 @@
});
workflow_list
=
JSON
.
stringify
(
group_mapping
.
action_workflow
);
//
view_list = JSON.stringify(group_mapping.action_object_view);
view_list
=
JSON
.
stringify
(
group_mapping
.
action_object_view
);
action_list
=
JSON
.
stringify
(
group_mapping
.
action_object_jio_action
);
clone_list
=
JSON
.
stringify
(
group_mapping
.
action_object_clone_action
);
jump_list
=
JSON
.
stringify
(
group_mapping
.
action_object_jio_jump
);
...
...
@@ -125,7 +125,7 @@
visible
:
visible
,
display_workflow_list
:
display_workflow_list
,
workflow_list
:
workflow_list
,
//
view_list: view_list,
view_list
:
view_list
,
action_list
:
action_list
,
clone_list
:
clone_list
,
jump_list
:
jump_list
,
...
...
@@ -142,7 +142,7 @@
var
i
,
gadget
=
this
,
workflow_list
,
view_list
=
[]
,
view_list
,
action_list
,
clone_list
,
jump_list
,
...
...
@@ -255,7 +255,7 @@
modification_dict
.
hasOwnProperty
(
"
clone_list
"
)
||
modification_dict
.
hasOwnProperty
(
"
jump_list
"
)
||
modification_dict
.
hasOwnProperty
(
"
jio_key
"
)
||
//
modification_dict.hasOwnProperty("view_list") ||
modification_dict
.
hasOwnProperty
(
"
view_list
"
)
||
modification_dict
.
hasOwnProperty
(
"
extra_menu_list
"
)))
{
dl_fragment
=
document
.
createDocumentFragment
();
...
...
@@ -266,7 +266,7 @@
.
push
(
function
()
{
var
parameter_list
=
[];
//
view_list = JSON.parse(gadget.state.view_list);
view_list
=
JSON
.
parse
(
gadget
.
state
.
view_list
);
action_list
=
JSON
.
parse
(
gadget
.
state
.
action_list
);
clone_list
=
JSON
.
parse
(
gadget
.
state
.
clone_list
);
jump_list
=
JSON
.
parse
(
gadget
.
state
.
jump_list
);
...
...
@@ -285,10 +285,8 @@
});
})
.
push
(
function
(
result_dict
)
{
/*
appendDt
(
dl_fragment
,
result_dict
.
translation_dict
.
Views
,
'
eye
'
,
view_list
,
result_dict
.
url_list
,
0
);
*/
if
(
gadget
.
state
.
display_workflow_list
)
{
// show Workflows only on document
appendDt
(
dl_fragment
,
result_dict
.
translation_dict
.
Workflows
,
'
random
'
,
...
...
master/bt5/slapos_panel/PathTemplateItem/web_page_module/slapos_master_panel_panel_js.xml
View file @
cb4ea4e7
...
...
@@ -234,7 +234,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
1003.515
07.1368.7987
</string>
</value>
<value>
<string>
1003.515
17.50494.8618
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>
1666
346746.1
8
</float>
<float>
1666
689519.7
8
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment