From 324ee36fe31763e507b422ab0a88e4230045e205 Mon Sep 17 00:00:00 2001 From: "Timoney, Daniel (dt5972)" Date: Wed, 15 Feb 2017 10:37:53 -0500 Subject: Initial commit for OpenECOMP SDN-C OA&M Change-Id: I7ab579fd0d206bf356f36d52dcdf4f71f1fa2680 Signed-off-by: Timoney, Daniel (dt5972) Former-commit-id: 2a9f0edd09581f907e62ec4689b5ac94dd5382ba --- admportal/views/mobility/vnfProfile.ejs | 177 ++++++++++++++++++++++++++++++++ 1 file changed, 177 insertions(+) create mode 100644 admportal/views/mobility/vnfProfile.ejs (limited to 'admportal/views/mobility/vnfProfile.ejs') diff --git a/admportal/views/mobility/vnfProfile.ejs b/admportal/views/mobility/vnfProfile.ejs new file mode 100644 index 00000000..1a494985 --- /dev/null +++ b/admportal/views/mobility/vnfProfile.ejs @@ -0,0 +1,177 @@ + + + + + + <% include ../partials/head %> + <% include ../partials/header %> + + SDN-C AdminPortal + + + + + +
+

VNF Profile

+
+ +<% if ( typeof result != 'undefined' ) { + if (result.code.length > 0) { + if ( result.code == 'success' ) { %> + + <% } else { %> +
+ <% + for ( x in result.msg ){ %> +
<%= result.msg[x] %>
+ <% } %> +
+ <% } %> + <% } %> +<% } %> + +<% if( typeof privilege != 'undefined'){ + var priv = privilege.privilege; +} else { + var priv = 'A'; +} %> + + +
+ + <% if (priv == 'A'){ %> +
+ +
+ <% } %> + + + + + + + + <% if(priv == 'A'){ %> + + <% } %> + + + + <% rows.forEach( function(row) { %> + + + + + <% if(priv == 'A' ) { %> + + <% } %> + + <% }); %> + +
*VNF_TYPEAVAILABILITY_ZONE_COUNTEQUIPMENT_ROLEAction
<%= row.vnf_type %><%= row.availability_zone_count %><%= row.equipment_role %> + +
+ + <% if(priv == 'A'){ %> +
+
+
+ + +

Choose a file to upload.

+
+ +
+
+ <% } %> +
+ +<% include ../partials/vnf_profile %> +
+ <% include ../partials/footer %> +
+ + + + + + -- cgit 1.2.3-korg