\
-
\
-
\
- \
- \
-
\
-
\
-
\
-
\
-
\
-
'+
- ''+
- ''+
- '
\
-
\
+ context.html(generateAdvancedSection({
+ title: tr("Advanced Role Parameters"),
+ html_id: 'advanced_role'+role_id,
+ content: '
\
+
\
+ \
+ \
\
-
');
-
- $(document).foundation();
+
\
+
\
+
'}));
}
function generate_elasticity_accordion(role_id, context) {
- context.html('
'}));
}
var instantiate_service_template_tmpl ='\
diff --git a/src/sunstone/public/js/sunstone.js b/src/sunstone/public/js/sunstone.js
index 53caf4d0e4..40d7a31d47 100644
--- a/src/sunstone/public/js/sunstone.js
+++ b/src/sunstone/public/js/sunstone.js
@@ -6171,3 +6171,21 @@ function generateInstantiateUserInputs(div, user_inputs, opts) {
return (network_attrs.length > 0 || text_attrs.length > 0);
}
+
+/*
+ opts.title string to be shown
+ opts.html_id unique identifier
+ opts.content html to be shown when clicking in the element
+*/
+function generateAdvancedSection(opts){
+ return '