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
284ff8f1
Commit
284ff8f1
authored
Aug 26, 2022
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio: drop slap_select_software_product/release pages
parent
1efd35aa
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
0 additions
and
1673 deletions
+0
-1673
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_product_html.html
...s_gadget_erp5_page_slap_select_software_product_html.html
+0
-26
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_product_html.xml
...js_gadget_erp5_page_slap_select_software_product_html.xml
+0
-336
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_product_js.js
...e/rjs_gadget_erp5_page_slap_select_software_product_js.js
+0
-131
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_product_js.xml
.../rjs_gadget_erp5_page_slap_select_software_product_js.xml
+0
-332
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_release_html.html
...s_gadget_erp5_page_slap_select_software_release_html.html
+0
-28
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_release_html.xml
...js_gadget_erp5_page_slap_select_software_release_html.xml
+0
-336
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_release_js.js
...e/rjs_gadget_erp5_page_slap_select_software_release_js.js
+0
-144
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_release_js.xml
.../rjs_gadget_erp5_page_slap_select_software_release_js.xml
+0
-332
master/bt5/slapos_jio/bt/template_keep_last_workflow_history_only_path_list
...jio/bt/template_keep_last_workflow_history_only_path_list
+0
-4
master/bt5/slapos_jio/bt/template_path_list
master/bt5/slapos_jio/bt/template_path_list
+0
-4
No files found.
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_product_html.html
deleted
100644 → 0
View file @
1efd35aa
<!DOCTYPE html>
<html>
<!--
data-i18n=Title
data-i18n=Description
data-i18n=Software Products
data-i18n=1/3 Select one Software
-->
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width, user-scalable=no"
/>
<title>
Site List
</title>
<!-- renderjs -->
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"renderjs.js"
type=
"text/javascript"
></script>
<!-- custom script -->
<script
src=
"gadget_erp5_page_slap_select_software_product.js"
type=
"text/javascript"
></script>
</head>
<body>
<div
data-gadget-url=
"gadget_erp5_pt_form_list.html"
data-gadget-scope=
"form_list"
></div>
</body>
</html>
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_product_html.xml
deleted
100644 → 0
View file @
1efd35aa
This diff is collapsed.
Click to expand it.
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_product_js.js
deleted
100644 → 0
View file @
1efd35aa
/*global window, rJS, RSVP */
/*jslint nomen: true, indent: 2, maxerr: 3*/
(
function
(
window
,
rJS
,
RSVP
)
{
"
use strict
"
;
rJS
(
window
)
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
updatePanel
"
,
"
updatePanel
"
)
.
declareAcquiredMethod
(
"
redirect
"
,
"
redirect
"
)
.
declareAcquiredMethod
(
"
reload
"
,
"
reload
"
)
.
declareAcquiredMethod
(
"
getSetting
"
,
"
getSetting
"
)
.
declareAcquiredMethod
(
"
setSetting
"
,
"
setSetting
"
)
.
declareAcquiredMethod
(
"
getUrlForList
"
,
"
getUrlForList
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
getTranslationList
"
,
"
getTranslationList
"
)
.
allowPublicAcquisition
(
"
getUrlForList
"
,
function
(
promise_list
)
{
var
index
,
gadget
=
this
;
for
(
index
in
promise_list
[
0
])
{
if
((
promise_list
[
0
].
hasOwnProperty
(
index
))
&&
(
promise_list
[
0
][
index
].
command
===
"
display_with_history_and_cancel
"
)
&&
(
promise_list
[
0
][
index
].
options
.
jio_key
)
&&
(
promise_list
[
0
][
index
].
options
.
jio_key
.
startsWith
(
"
software_product_module
"
)))
{
promise_list
[
0
][
index
].
options
.
page
=
"
slap_select_software_release
"
;
if
(
gadget
.
compute_node_jio_key
!==
undefined
)
{
promise_list
[
0
][
index
].
options
.
compute_node_jio_key
=
gadget
.
compute_node_jio_key
;
}
}
}
return
gadget
.
getUrlForList
(
promise_list
[
0
]);
})
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
var
argument_list
=
arguments
;
return
this
.
getDeclaredGadget
(
'
form_list
'
)
.
push
(
function
(
gadget
)
{
return
gadget
.
triggerSubmit
.
apply
(
gadget
,
argument_list
);
});
})
.
declareMethod
(
"
render
"
,
function
(
options
)
{
var
gadget
=
this
,
lines_limit
,
page_title_translation
,
translation_list
=
[
"
Title
"
,
"
Description
"
,
"
Software Products
"
,
"
1/3 Select one Software
"
];
if
(
options
.
compute_node_jio_key
!==
undefined
)
{
gadget
.
compute_node_jio_key
=
options
.
compute_node_jio_key
;
}
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getDeclaredGadget
(
'
form_list
'
),
gadget
.
getSetting
(
"
listbox_lines_limit
"
,
100
),
gadget
.
getTranslationList
(
translation_list
)
]);
})
.
push
(
function
(
result
)
{
var
form_list
=
result
[
0
],
column_list
=
[
[
'
title
'
,
result
[
2
][
0
]],
[
'
description
'
,
result
[
2
][
1
]]
];
lines_limit
=
result
[
1
];
page_title_translation
=
result
[
2
][
3
];
return
form_list
.
render
({
erp5_document
:
{
"
_embedded
"
:
{
"
_view
"
:
{
"
listbox
"
:
{
"
command
"
:
'
display_with_history_and_cancel
'
,
"
column_list
"
:
column_list
,
"
show_anchor
"
:
0
,
"
default_params
"
:
{},
"
editable
"
:
0
,
"
editable_column_list
"
:
[],
"
key
"
:
"
slap_software_product_listbox
"
,
"
lines
"
:
lines_limit
,
"
list_method
"
:
"
portal_catalog
"
,
"
query
"
:
"
urn:jio:allDocs?query=portal_type%3A%22
"
+
"
Software Product
"
+
"
%22%20AND%20validation_state%3Apublished
"
,
"
portal_type
"
:
[],
"
search_column_list
"
:
column_list
,
"
sort_column_list
"
:
column_list
,
"
sort
"
:
[[
"
title
"
,
"
ascending
"
]],
"
title
"
:
result
[
2
][
2
],
"
type
"
:
"
ListBox
"
}
}},
"
_links
"
:
{
"
type
"
:
{
// form_list display portal_type in header
name
:
""
}
}
},
form_definition
:
{
group_list
:
[[
"
bottom
"
,
[[
"
listbox
"
]]
]]
}
});
})
.
push
(
function
()
{
return
gadget
.
updatePanel
({
jio_key
:
"
software_product_module
"
});
})
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getUrlFor
({
command
:
'
cancel_dialog_with_history
'
})
]);
})
.
push
(
function
(
url_list
)
{
return
gadget
.
updateHeader
({
page_title
:
page_title_translation
,
cancel_url
:
url_list
[
0
],
filter_action
:
true
});
});
});
}(
window
,
rJS
,
RSVP
));
\ No newline at end of file
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_product_js.xml
deleted
100644 → 0
View file @
1efd35aa
This diff is collapsed.
Click to expand it.
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_release_html.html
deleted
100644 → 0
View file @
1efd35aa
<!DOCTYPE html>
<html>
<!--
data-i18n=Slapos
data-i18n=Title
data-i18n=Version
data-i18n=Description
data-i18n=Software Releases
data-i18n=2/3 Select one Release
-->
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width, user-scalable=no"
/>
<title>
Site List
</title>
<!-- renderjs -->
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"renderjs.js"
type=
"text/javascript"
></script>
<!-- custom script -->
<script
src=
"gadget_erp5_page_slap_select_software_release.js"
type=
"text/javascript"
></script>
</head>
<body>
<div
data-gadget-url=
"gadget_erp5_pt_form_list.html"
data-gadget-scope=
"form_list"
></div>
</body>
</html>
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_release_html.xml
deleted
100644 → 0
View file @
1efd35aa
This diff is collapsed.
Click to expand it.
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_release_js.js
deleted
100644 → 0
View file @
1efd35aa
/*global window, rJS, RSVP */
/*jslint nomen: true, indent: 2, maxerr: 3*/
(
function
(
window
,
rJS
,
RSVP
)
{
"
use strict
"
;
rJS
(
window
)
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
updatePanel
"
,
"
updatePanel
"
)
.
declareAcquiredMethod
(
"
redirect
"
,
"
redirect
"
)
.
declareAcquiredMethod
(
"
reload
"
,
"
reload
"
)
.
declareAcquiredMethod
(
"
getSetting
"
,
"
getSetting
"
)
.
declareAcquiredMethod
(
"
setSetting
"
,
"
setSetting
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
getUrlForList
"
,
"
getUrlForList
"
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
jio_get
"
,
"
jio_get
"
)
.
declareAcquiredMethod
(
"
getTranslationList
"
,
"
getTranslationList
"
)
.
allowPublicAcquisition
(
"
getUrlForList
"
,
function
(
promise_list
)
{
var
index
,
gadget
=
this
;
for
(
index
in
promise_list
[
0
])
{
if
((
promise_list
[
0
].
hasOwnProperty
(
index
))
&&
(
promise_list
[
0
][
index
].
command
===
"
display_with_history_and_cancel
"
)
&&
(
promise_list
[
0
][
index
].
options
.
jio_key
)
&&
(
promise_list
[
0
][
index
].
options
.
jio_key
.
startsWith
(
"
software_release_module
"
)))
{
if
(
gadget
.
compute_node_jio_key
!==
undefined
)
{
promise_list
[
0
][
index
].
options
.
page
=
"
slap_add_software_installation
"
;
promise_list
[
0
][
index
].
options
.
compute_node_jio_key
=
gadget
.
compute_node_jio_key
;
}
else
{
promise_list
[
0
][
index
].
options
.
page
=
"
slap_add_instance_tree
"
;
}
}
}
return
gadget
.
getUrlForList
(
promise_list
[
0
]);
})
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
var
argument_list
=
arguments
;
return
this
.
getDeclaredGadget
(
'
form_list
'
)
.
push
(
function
(
gadget
)
{
return
gadget
.
triggerSubmit
.
apply
(
gadget
,
argument_list
);
});
})
.
declareMethod
(
"
render
"
,
function
(
options
)
{
var
gadget
=
this
,
page_title_translation
,
translation_list
=
[
"
Title
"
,
"
Version
"
,
"
Description
"
,
"
Software Releases
"
,
"
2/3 Select one Release
"
];
if
(
options
.
compute_node_jio_key
!==
undefined
)
{
gadget
.
compute_node_jio_key
=
options
.
compute_node_jio_key
;
}
return
gadget
.
jio_get
(
options
.
jio_key
)
.
push
(
function
(
doc
)
{
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getDeclaredGadget
(
'
form_list
'
),
gadget
.
getTranslationList
(
translation_list
)
]);
})
.
push
(
function
(
result
)
{
var
form_list
=
result
[
0
],
column_list
=
[
[
'
title
'
,
result
[
1
][
0
]],
[
'
version
'
,
result
[
1
][
1
]],
[
'
description
'
,
result
[
1
][
2
]]
];
page_title_translation
=
result
[
1
][
4
];
return
form_list
.
render
({
erp5_document
:
{
"
_embedded
"
:
{
"
_view
"
:
{
"
listbox
"
:
{
"
command
"
:
'
display_with_history_and_cancel
'
,
"
column_list
"
:
column_list
,
"
show_anchor
"
:
0
,
"
default_params
"
:
{},
"
editable
"
:
0
,
"
editable_column_list
"
:
[],
"
key
"
:
"
slap_software_product_listbox
"
,
"
lines
"
:
15
,
"
list_method
"
:
"
portal_catalog
"
,
"
query
"
:
"
urn:jio:allDocs?query=portal_type%3A%22
"
+
"
Software Release
"
+
"
%22%20AND%20
"
+
"
validation_state%3A
"
+
"
%28%22shared%22%2C
"
+
"
%22shared_alive%22%2C
"
+
"
%20%22released%22%3B%20
"
+
"
%22released_alive%22%2C
"
+
"
%22published%22%2C
"
+
"
%22published_alive%22%29
"
+
"
%20AND%20default_aggregate_reference%3A
"
+
doc
.
reference
,
"
portal_type
"
:
[],
"
search_column_list
"
:
column_list
,
"
sort_column_list
"
:
column_list
,
"
sort
"
:
[[
"
title
"
,
"
ascending
"
]],
"
title
"
:
result
[
1
][
3
],
"
type
"
:
"
ListBox
"
}
}},
"
_links
"
:
{
"
type
"
:
{
// form_list display portal_type in header
name
:
""
}
}
},
form_definition
:
{
group_list
:
[[
"
bottom
"
,
[[
"
listbox
"
]]
]]
}
});
});
})
.
push
(
function
()
{
return
gadget
.
updatePanel
({
jio_key
:
"
software_release_module
"
});
})
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getUrlFor
({
command
:
'
cancel_dialog_with_history
'
})
]);
})
.
push
(
function
(
url_list
)
{
return
gadget
.
updateHeader
({
page_title
:
page_title_translation
,
cancel_url
:
url_list
[
0
],
filter_action
:
true
});
});
});
}(
window
,
rJS
,
RSVP
));
\ No newline at end of file
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_release_js.xml
deleted
100644 → 0
View file @
1efd35aa
This diff is collapsed.
Click to expand it.
master/bt5/slapos_jio/bt/template_keep_last_workflow_history_only_path_list
View file @
284ff8f1
...
...
@@ -97,10 +97,6 @@ web_page_module/rjs_gadget_erp5_page_slap_rss_ticket_html
web_page_module/rjs_gadget_erp5_page_slap_rss_ticket_js
web_page_module/rjs_gadget_erp5_page_slap_sale_invoice_transaction_view_html
web_page_module/rjs_gadget_erp5_page_slap_sale_invoice_transaction_view_js
web_page_module/rjs_gadget_erp5_page_slap_select_software_product_html
web_page_module/rjs_gadget_erp5_page_slap_select_software_product_js
web_page_module/rjs_gadget_erp5_page_slap_select_software_release_html
web_page_module/rjs_gadget_erp5_page_slap_select_software_release_js
web_page_module/rjs_gadget_erp5_page_slap_site_list_html
web_page_module/rjs_gadget_erp5_page_slap_site_list_js
web_page_module/rjs_gadget_erp5_page_slap_site_view_html
...
...
master/bt5/slapos_jio/bt/template_path_list
View file @
284ff8f1
...
...
@@ -98,10 +98,6 @@ web_page_module/rjs_gadget_erp5_page_slap_rss_ticket_html
web_page_module/rjs_gadget_erp5_page_slap_rss_ticket_js
web_page_module/rjs_gadget_erp5_page_slap_sale_invoice_transaction_view_html
web_page_module/rjs_gadget_erp5_page_slap_sale_invoice_transaction_view_js
web_page_module/rjs_gadget_erp5_page_slap_select_software_product_html
web_page_module/rjs_gadget_erp5_page_slap_select_software_product_js
web_page_module/rjs_gadget_erp5_page_slap_select_software_release_html
web_page_module/rjs_gadget_erp5_page_slap_select_software_release_js
web_page_module/rjs_gadget_erp5_page_slap_site_list_html
web_page_module/rjs_gadget_erp5_page_slap_site_list_js
web_page_module/rjs_gadget_erp5_page_slap_site_view_html
...
...
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