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
e345b0ad
Commit
e345b0ad
authored
Aug 16, 2022
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_panel: add WIP access page on panel
parent
89e29aa0
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
759 additions
and
6 deletions
+759
-6
master/bt5/slapos_panel/PathTemplateItem/web_page_module/slapos_master_panel_access_html.html
...Item/web_page_module/slapos_master_panel_access_html.html
+25
-0
master/bt5/slapos_panel/PathTemplateItem/web_page_module/slapos_master_panel_access_html.xml
...eItem/web_page_module/slapos_master_panel_access_html.xml
+340
-0
master/bt5/slapos_panel/PathTemplateItem/web_page_module/slapos_master_panel_access_js.js
...lateItem/web_page_module/slapos_master_panel_access_js.js
+41
-0
master/bt5/slapos_panel/PathTemplateItem/web_page_module/slapos_master_panel_access_js.xml
...ateItem/web_page_module/slapos_master_panel_access_js.xml
+342
-0
master/bt5/slapos_panel/PathTemplateItem/web_site_module/slapos_master_panel.xml
.../PathTemplateItem/web_site_module/slapos_master_panel.xml
+6
-4
master/bt5/slapos_panel/bt/template_keep_last_workflow_history_only_path_list
...nel/bt/template_keep_last_workflow_history_only_path_list
+2
-1
master/bt5/slapos_panel/bt/template_keep_workflow_path_list
master/bt5/slapos_panel/bt/template_keep_workflow_path_list
+2
-1
master/bt5/slapos_panel/bt/template_path_list
master/bt5/slapos_panel/bt/template_path_list
+1
-0
No files found.
master/bt5/slapos_panel/PathTemplateItem/web_page_module/slapos_master_panel_access_html.html
0 → 100644
View file @
e345b0ad
<!DOCTYPE html>
<html>
<!--
data-i18n=List All Report
data-i18n=Contribute File
data-i18n=New
-->
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width"
/>
<title>
SlapOS master Access
</title>
<link
rel=
"http://www.renderjs.org/rel/interface"
href=
"interface_page.html"
>
<!-- renderjs -->
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"renderjs.js"
type=
"text/javascript"
></script>
<script
src=
"slapos_master_panel_access.js"
type=
"text/javascript"
></script>
</head>
<body>
<div
data-gadget-url=
"gadget_erp5_page_access.html"
data-gadget-scope=
"access"
/>
</body>
</html>
master/bt5/slapos_panel/PathTemplateItem/web_page_module/slapos_master_panel_access_html.xml
0 → 100644
View file @
e345b0ad
This diff is collapsed.
Click to expand it.
master/bt5/slapos_panel/PathTemplateItem/web_page_module/slapos_master_panel_access_js.js
0 → 100644
View file @
e345b0ad
/*jslint indent: 2, maxerr: 3, maxlen: 80 */
/*global window, rJS, RSVP */
(
function
(
window
,
rJS
,
RSVP
)
{
"
use strict
"
;
rJS
(
window
)
.
declareAcquiredMethod
(
"
getTranslationDict
"
,
"
getTranslationDict
"
)
.
declareMethod
(
'
triggerSubmit
'
,
function
()
{
var
argument_list
=
arguments
;
return
this
.
getDeclaredGadget
(
'
access
'
)
.
push
(
function
(
access_gadget
)
{
return
access_gadget
.
triggerSubmit
.
call
(
access_gadget
,
argument_list
);
});
})
.
declareMethod
(
'
render
'
,
function
(
options
)
{
return
new
RSVP
.
Queue
(
RSVP
.
hash
({
access_gadget
:
this
.
getDeclaredGadget
(
'
access
'
),
translation_dict
:
this
.
getTranslationDict
([
'
Projects
'
,
'
Instance Trees
'
,
'
Servers
'
])
}))
.
push
(
function
(
result_dict
)
{
return
result_dict
.
access_gadget
.
render
(
options
,
[{
title
:
result_dict
.
translation_dict
.
Projects
,
jio_key
:
'
project_module
'
,
erp5_action
:
'
view
'
},
{
title
:
result_dict
.
translation_dict
[
'
Instance Trees
'
],
jio_key
:
'
instance_tree_module
'
,
erp5_action
:
'
view
'
},
{
title
:
result_dict
.
translation_dict
.
Servers
,
jio_key
:
'
compute_node_module
'
,
erp5_action
:
'
view
'
}]);
});
});
}(
window
,
rJS
,
RSVP
));
master/bt5/slapos_panel/PathTemplateItem/web_page_module/slapos_master_panel_access_js.xml
0 → 100644
View file @
e345b0ad
This diff is collapsed.
Click to expand it.
master/bt5/slapos_panel/PathTemplateItem/web_site_module/slapos_master_panel.xml
View file @
e345b0ad
...
...
@@ -375,7 +375,7 @@
</item>
<item>
<key>
<string>
configuration_frontpage_gadget_url
</string>
</key>
<value>
<string>
worklist
</string>
</value>
<value>
<string>
slapos_master_panel_access
</string>
</value>
</item>
<item>
<key>
<string>
configuration_hateoas_url
</string>
</key>
...
...
@@ -413,7 +413,9 @@
</item>
<item>
<key>
<string>
configuration_service_worker_url
</string>
</key>
<value>
<string>
gadget_erp5_serviceworker.js
</string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_translation_gadget_url
</string>
</key>
...
...
@@ -692,7 +694,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
1002.
15001.5527.15633
</string>
</value>
<value>
<string>
1002.
20537.42710.26641
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -710,7 +712,7 @@
</tuple>
<state>
<tuple>
<float>
1660
309990.8
</float>
<float>
1660
642388.77
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_panel/bt/template_keep_last_workflow_history_only_path_list
View file @
e345b0ad
web_site_module/slapos_master_panel
\ No newline at end of file
web_site_module/slapos_master_panel
web_page_module/slapos_master_panel_access_*
\ No newline at end of file
master/bt5/slapos_panel/bt/template_keep_workflow_path_list
View file @
e345b0ad
web_site_module/slapos_master_panel
\ No newline at end of file
web_site_module/slapos_master_panel
web_page_module/slapos_master_panel_access_*
\ No newline at end of file
master/bt5/slapos_panel/bt/template_path_list
View file @
e345b0ad
web_page_module/slapos_master_panel_access_*
web_site_module/slapos_master_panel
\ No newline at end of file
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