aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdan Binshtok <eb578m@intl.att.com>2017-10-26 11:54:48 +0300
committerEdan Binshtok <eb578m@intl.att.com>2017-10-26 11:54:48 +0300
commit5a9c75d55370e4512ca90c4a6db899c4e1da6cba (patch)
treece818150993ee40bc8027615e7e30bea5b1251ee
parent4b9d491581ca7f58a9178bb2c0c83af5757c880d (diff)
Remove Terms
Remove AT&T terms and conditions Change-Id: I16607383345d2c45a37c82ad039abb11fc6d73ed Issue-Id: VVP-28 Signed-off-by: Edan Binshtok <eb578m@intl.att.com>
-rw-r--r--vvp/dist/index.html2
-rw-r--r--vvp/dist/scripts/scripts.3e3147f7.js12
-rw-r--r--vvp/dist/scripts/scripts.d8a9fb59.js12
3 files changed, 13 insertions, 13 deletions
diff --git a/vvp/dist/index.html b/vvp/dist/index.html
index ba1b14a2..6d02fd92 100644
--- a/vvp/dist/index.html
+++ b/vvp/dist/index.html
@@ -81,6 +81,6 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.-->
<script src="scripts/vendor.79ec8dc5.js"></script>
-<script src="scripts/scripts.3e3147f7.js"></script>
+<script src="scripts/scripts.d8a9fb59.js"></script>
</body>
</html>
diff --git a/vvp/dist/scripts/scripts.3e3147f7.js b/vvp/dist/scripts/scripts.3e3147f7.js
deleted file mode 100644
index 969773f9..00000000
--- a/vvp/dist/scripts/scripts.3e3147f7.js
+++ /dev/null
@@ -1,12 +0,0 @@
-!function(){"use strict";angular.module("ice",["ngSanitize","ngAnimate","wysiwyg.module","ui.router","ice.env","ice.modals","angularUtils.directives.dirPagination","ui.select","ui.multiselect","ui.bootstrap","ui.bootstrap.datetimepicker","ngMaterial","ngMessages","angular-toArrayFilter","ngIntlTelInput","ui.sortable","jm.i18next","ice.toolbar","ice.navigation","ice.main","ice.contactUs","ice.dashboard.main","ice.dashboard.overview","ice.dashboard.dashboard","ice.activation.login","ice.activation.register","ice.activation.addVf","ice.activation.addVendorContact","ice.activation.resendActivation","ice.activation.terms","ice.activation.activateUser","ice.dashboard.account","ice.documentation","ice.activation.resetPassword","ice.activation.updatePassword","ice.dashboard.checklist","ice.welcome","ice.main.admin","ice.services.cacheService","ice.services.users","ice.services.localStorage","ice.services.vf","ice.services.steps","ice.services.vfc","ice.services.dtsite","ice.services.checklist","ice.services.status","ice.services.feedback","ice.services.toast","ice.services.cms","ice.services.sessionStorage","ice.directives","ice.filters","ice.interceptors.http"])}(),angular.module("ice.env",[]).constant("ENV",{name:"production",apiBase:"/vvp/v1/engmgr/"}),function(){"use strict";angular.module("ice").constant("_",window._).constant("iceConstants",{states:{incomplete:"Incomplete",completed:"Completed"},stages:{intake:"Intake",active:"Active",validated:"Validated",completed:"Completed"},roles:{standard:"standard_user",el:"el",admin:"admin",admin_ro:"admin_ro"},checklist_states:["automation","review","peer review","approval","handoff","closed"]})}(),function(){"use strict";function a(a){a.defaults.useXDomain=!0,delete a.defaults.headers.common["X-Requested-With"],a.interceptors.push("httpRequestInterceptor"),a.interceptors.push("httpResponseInterceptor"),a.interceptors.push("httpRequestErrorInterceptor"),a.interceptors.push("httpResponseErrorInterceptor")}angular.module("ice").config(a).config(["ngIntlTelInputProvider",function(a){a.set({initialCountry:"us"})}]),a.$inject=["$httpProvider"]}(),function(){"use strict";function a(a,b,c){c.hashPrefix(""),b.otherwise("/login"),b.when("/dashboard","/dashbaord/overview");var d="horizontalNavigation",e={horizontalNavigation:{main:"core/layouts/dashboard/dashboard.html",toolbar:"core/toolbar/layouts/horizontal-navigation/toolbar.html",navigation:"core/navigation/layouts/horizontal-navigation/navigation.html"},contentOnly:{main:"core/layouts/content-only.html",toolbar:"",navigation:""},contentWithToolbar:{main:"core/layouts/content-with-toolbar.html",toolbar:"toolbar/layouts/content-with-toolbar/toolbar.html",navigation:""}};a.state("app",{"abstract":!0,views:{"main@":{templateUrl:e[d].main,controller:"MainController as vm"},"toolbar@app":{templateUrl:e[d].toolbar,controller:"ToolbarController as vm"},"navigation@app":{templateUrl:e[d].navigation,controller:"NavigationController as vm"}}})}angular.module("ice").config(a),a.$inject=["$stateProvider","$urlRouterProvider","$locationProvider"]}(),function(){"use strict";function a(a,b,c,d){var e=!1;if(-1!=navigator.userAgent.indexOf("Safari")&&-1==navigator.userAgent.indexOf("Chrome"))d.debug("Smooth Scroll Off (Safari).");else try{e=$("#content-israel").niceScroll({zindex:2e4,scrollspeed:60,mousescrollstep:60,cursorborderradius:"10px",cursorborder:"1px solid rgba(255, 255, 255, 0.4)",cursorcolor:"rgba(0, 0, 0, 0.6)",cursorwidth:"10px"})}catch(f){d.debug("Smooth Scroll Off.")}}angular.module("ice").controller("AppController",["$state","$timeout","$rootScope","$log",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g,h){var i="LastDocumentationPageId",j=function(){a.user={},a.ice={},a.ice.loader={},a.state=d,a.baseURL=f.apiBase,m();var b=a.$on("$stateChangeStart",function(a,b,c,d,e){k(),l(b)}),c=a.$on("$stateChangeSuccess",function(){});a.$on("$destroy",function(){b(),c()}),e.set("configuration",{urls:{auth:{login:a.baseURL+"login/@t",register:a.baseURL+"signup",addVfs:a.baseURL+"vf/",getCompanies:a.baseURL+"vendors",resendActivationMail:a.baseURL+"users/activation-mail/@user_uuid",addVendorContact:a.baseURL+"add-contact",single_engagement:a.baseURL+"single-engagement/@engagementUuid",engagements:a.baseURL+"engagement",inviteMembers:a.baseURL+"invite-team-members",activities:a.baseURL+"engagement/@engagementUuid/activities/",updateDaysLeft:a.baseURL+"engagements/@engagementUuid/target_date",updateLabEntryDaysLeft:a.baseURL+"engagements/@engagementUuid/target_lab_date",setSSHKey:a.baseURL+"users/ssh",getIceUser:a.baseURL+"users",getRGWASecret:a.baseURL+"users/account/rgwa/",account:a.baseURL+"users/account",updatePassword:a.baseURL+"users/pwd/",sendResetPwdInstructions:a.baseURL+"users/pwd/reset-instructions/"},notifications:{getNotifications:a.baseURL+"notifications/num",resetNotificationNum:a.baseURL+"notifications/reset",notificationsDelete:a.baseURL+"notifications/@uuid",getNotificationsDescription:a.baseURL+"notifications/@userUuid/@offset/@limit"},steps:{get:a.baseURL+"engagements/@engagement/nextsteps/@progress",add:a.baseURL+"engagements/@engagement/nextsteps",edit:a.baseURL+"nextsteps/@stepUuid/engagement/@engUuid",order_next_steps:a.baseURL+"engagements/@engUuid/nextsteps/order_next_steps",update:a.baseURL+"nextsteps/@stepUuid/state","delete":a.baseURL+"nextsteps/@stepUuid",createChecklistNextStep:a.baseURL+"engagement/@engUuid/checklist/@checkListUuid/nextstep/",createNextStep:a.baseURL+"eng/@engUuid/nextstep/",getByUser:a.baseURL+"engagements/user/nextsteps/"},vf:{updateVfs:{put:a.baseURL+"vf/@vf_uuid/validation-details/"},deployment_target:{getDeployTargets:a.baseURL+"deployment-targets",updateDeployTargets:a.baseURL+"engagement/@engagementUuid//deployment-targets/@deployment_target_uuid"},ecomp:{getECOMPReleases:a.baseURL+"ecomp-releases",updateECOMPReleases:a.baseURL+"engagement/@engagementUuid/ecomp-releases/@ecomp_uuid"},version:{getVFVersion:a.baseURL+"vf/@vfUuid/vf-version/"}},vfcs:{add:a.baseURL+"vfcs/",get:a.baseURL+"vf/@vfUuid/vfcs/","delete":a.baseURL+"vf/@vfUuid/vfcs/@vfcUuid"},status:{get:a.baseURL+"engagements/@engagement/status",add:a.baseURL+"engagements/@engagement/status",update:a.baseURL+"engagements/@engagement/status"},feedback:{add:a.baseURL+"add-feedback"},dtsite:{get:a.baseURL+"dtsites/",getVFSites:a.baseURL+"vf/@vfUuid/dtsites/",add:a.baseURL+"dtsites/","delete":a.baseURL+"vf/@vfUuid/dtsites/@dtsUuid"},checklist:{state:{put:a.baseURL+"checklist/@cl_uuid/state/"},createChecklist:a.baseURL+"engagement/@engUuid/checklist/new/",getDataForChecklist:a.baseURL+"engagement/@engUuid/checklist/new/",getChecklist:a.baseURL+"checklist/@checklistUuid",putDataForChecklist:a.baseURL+"checklist/@checklist_uuid",checklistDecision:a.baseURL+"checklist/decision/@decisionUuid",createAuditlogChecklist:a.baseURL+"checklist/@checklist_uuid/auditlog/",createAuditlogDecisionChecklist:a.baseURL+"checklist/decision/@decision_uuid/auditlog/",getChecklistTemplates:a.baseURL+"checklist/templates/",getChecklistTemplate:a.baseURL+"checklist/template/@templateUuid",saveChecklistTemplate:a.baseURL+"checklist/template/"},engagement:{put:a.baseURL+"engagements/@engagementUuid/",updateProgress:a.baseURL+"engagements/@engagementUuid/progress",setStage:a.baseURL+"single-engagement/@engagementUuid/stage/@stage",starred_engagement:{put:a.baseURL+"engagements/starred_eng/",get:a.baseURL+"engagements/starred_eng/"},recent_engagement:{get:a.baseURL+"engagements/recent_eng/"},engagement_team:{put:a.baseURL+"engagements/engagement-team/"},engagementsExpanded:a.baseURL+"engagement/expanded/",exportEngagementsCSV:a.baseURL+"engagement/export/?stage=@stage&keyword=@keyword",reviewer:{put:a.baseURL+"engagements/@engagementUuid/reviewer/"},peerreviewer:{put:a.baseURL+"engagements/@engagementUuid/peerreviewer/"},switchReviewers:{put:a.baseURL+"engagements/@engagementUuid/switch-reviewers/"},archive:{put:a.baseURL+"engagements/@engagementUuid/archive/"}},welcome:{welcome:a.baseURL+"welcome/"},cms:{posts:{get:a.baseURL+"cms/posts/?limit=@limit&offset=@offset&fromLastDays=@fromLastDays&category=@category"},pages:{get:a.baseURL+"cms/pages/?title=@title",getById:a.baseURL+"cms/pages/@id/",search:a.baseURL+"cms/pages/search/?keyword=@keyword"}},users:{engagementleads:{get:a.baseURL+"users/engagementleads/"},activate:a.baseURL+"users/activate/@userid/@token"}}})},k=function(){var a=b.getToast();a&&!a.sticky&&b.clearToast()},l=function(a){a&&a.name&&"app.documentation.page"!==a.name&&"app.documentation"!==a.name&&c["delete"](i)},m=function(){g.i18next&&(g.i18next.use(g.i18nextXHRBackend),g.i18next.init({debug:!1,lng:"en",fallbackLng:"en",backend:{loadPath:"locales/{{lng}}/{{ns}}.json"},useCookie:!1,useLocalStorage:!1},function(a,b){a&&h.error(a)}))};j()}angular.module("ice").run(a),a.$inject=["$rootScope","toastService","sessionStorageService","$state","cacheService","ENV","$window","$log"]}(),angular.module("ice.interceptors.http",[]).factory("httpRequestInterceptor",["$injector","$rootScope",function(a,b){return{request:function(c){if(-1!==c.url.indexOf(b.baseURL)){c.headers=c.headers||{};var d=a.get("usersService").getUserData(function(){});d&&!c.skipAuth&&(c.headers.Authorization="token "+d.jwtToken)}return c}}}]).factory("httpResponseInterceptor",["$rootScope",function(a){return{response:function(a){return a}}}]).factory("httpRequestErrorInterceptor",["$q",function(a){return{requestError:function(a){return a}}}]).factory("httpResponseErrorInterceptor",["$q","$rootScope","$injector","toastService",function(a,b,c,d){return{responseError:function(b){var e=c.get("$state"),f=b.status;switch(f){case 401:d.setToast(b.statusText,"danger");break;case 403:e.go("app.login");break;case 404:}return a.reject(b)}}}]),function(){"use strict";angular.module("ice.services.cacheService",[]).service("cacheService",function(){var a={};this.get=function(b){return a[b]},this["delete"]=function(b){return a[b]=void 0},this.deleteAll=function(){return a={}},this.set=function(b,c){void 0===a[b]?a[b]=c:a[b]=$.extend({},c,a[b])},this.toString=function(){return a}}).factory("pageService",function(){var a="";return{getPage:function(){return a},setPage:function(b){a=b}}})}(),function(){"use strict";function a(a,b,c,d,e,f,g,h,i){var j=c.get("configuration").urls,k="user",l=g.getJson(k);this.isEngagementEL=function(a){var b=h.find(a,{uuid:l.uuid});return void 0==b?!1:l&&l.role.name===d.roles.el?!0:!1},this.isUserInRole=function(a){return l&&l.role&&l.role.name===a},this.isReviewer=function(a,b){return a&&b&&a.uuid==b},this.isPeerReviewer=function(a,b){return a&&b&&a.uuid==b},this.isAdmin=function(a){return a&&a.role&&a.role.name===d.roles.admin},this.updatePassword=function(c,d){var e=b.defer();return a.put(j.auth.updatePassword,d).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.sendResetPwdInstructions=function(c){var d=b.defer();return a.post(j.auth.sendResetPwdInstructions,c).success(function(a,b,c,e){d.resolve({data:a,status:b})}).error(function(a,b,c,e){d.reject({message:a,status:b})}),d.promise},this.login=function(c,d){var e=b.defer();return a.post(j.auth.login.replace("/@t",d),c).success(function(a,b,c,d){l=a,delete l.password,l.jwtToken=a.token,g.setJson(k,l),e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.register=function(c){var d=b.defer();return a.post(j.auth.register,c).success(function(a,b,c,e){l=a,l.jwtToken=a.token,g.setJson(k,l),d.resolve({data:a,status:b})}).error(function(a,b,c,e){d.reject({message:a,status:b})}),d.promise},this.addVendorContact=function(c){var d=b.defer();return a.post(j.auth.addVendorContact,c).success(function(a,b,c,e){d.resolve({data:a,status:b})}).error(function(a,b,c,e){d.reject({message:a,status:b})}),d.promise},this.resendActivationMail=function(c){var d=b.defer();return a.get(j.auth.resendActivationMail.replace("@user_uuid",c),{skipAuth:!0}).success(function(a,b,c,e){d.resolve({data:a,status:b})}).error(function(a,b,c,e){d.reject({message:a,status:b})}),d.promise},this.getNotifications=function(c){var d=b.defer();return a.get(j.notifications.getNotifications).success(function(a,b,c,e){d.resolve({data:a,status:b})}).error(function(a,b,c,e){d.reject({message:a,status:b})}),d.promise},this.resetNotificationNum=function(c){var d=b.defer();return a.put(j.notifications.resetNotificationNum).success(function(a,b,c,e){d.resolve({data:a,status:b})}).error(function(a,b,c,e){d.reject({message:a,status:b})}),d.promise},this.notificationsDelete=function(c){var d=b.defer();return a["delete"](j.notifications.notificationsDelete.replace("@uuid",c)).success(function(a,b,c,e){d.resolve({data:a,status:b})}).error(function(a,b,c,e){d.reject({message:a,status:b})}),d.promise},this.getNotificationsDescription=function(c,d,e){var f=b.defer();return a.get(j.notifications.getNotificationsDescription.replace("@userUuid",c).replace("@offset",d).replace("@limit",e)).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.getIceUser=function(){var c=b.defer();return a.get(j.auth.getIceUser).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}),c.promise},this.updateAccount=function(c,d){var e=b.defer();return a.put(j.auth.account,d).success(function(a,b,c,d){var f=l.jwtToken;l=a,l.jwtToken=f,g.setJson(k,l),e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.setSSHKey=function(c,d){var e=b.defer();return a.post(j.auth.setSSHKey,d).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.getUserData=function(a){return l||(a?(i.debug("There is no user data, will invoke callback pass as argument."),a()):(i.debug("There is no user data, will be redirected into /login page."),f.go("app.login"))),l},this.resetUserData=function(){i.debug("Clearing user from cache..."),l=void 0,g["delete"](k),e.setJson("ice.settings.view_type",void 0),e.setJson("ice.settings.eng_uuid",void 0),e.setJson("ice.settings.sub_id",void 0)},this.setUserActivationSuccess=function(a){l&&(l.activationSuccess=a,g.setJson(k,l))},this.getEngagementLeads=function(){var c=b.defer(),d=this.getUserData();return this.isAdmin(d)?a.get(j.users.engagementleads.get).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}):c.reject("Just admin allowed to get engagement leads list."),c.promise},this.activateUser=function(c,d){var e=b.defer();return a.get(j.users.activate.replace("@userid",c).replace("@token",d),{skipAuth:!0}).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.getRGWASecret=function(){var c=b.defer();return a.get(j.auth.getRGWASecret).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}),c.promise}}angular.module("ice.services.users",[]).service("usersService",["$http","$q","cacheService","iceConstants","localStorageService","$state","sessionStorageService","_","$log",a])}(),function(){"use strict";angular.module("ice.services.vf",[]).service("vfService",["$http","$q","cacheService",function(a,b,c){var d=c.get("configuration").urls;this.addVfs=function(c){var e=b.defer();return a.post(d.auth.addVfs,c).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.updateVfs=function(c,e){var f=b.defer();return a.put(d.vf.updateVfs.put.replace("@vf_uuid",e),c).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.inviteMembers=function(c){var e=b.defer();return a.post(d.auth.inviteMembers,c).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.getCompanies=function(){var c=b.defer();return a.get(d.auth.getCompanies).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}),c.promise},this.getDeployTargets=function(){var c=b.defer();return a.get(d.vf.deployment_target.getDeployTargets).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}),c.promise},this.getECOMPReleases=function(){var c=b.defer();return a.get(d.vf.ecomp.getECOMPReleases).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}),c.promise},this.getVFVersion=function(c){var e=b.defer();return a.get(d.vf.version.getVFVersion.replace("@vfUuid",c)).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.getEngagements=function(c){var e=b.defer();return a.get(d.auth.engagements).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.getExpandedEngagements=function(c){var e=b.defer();return a.post(d.engagement.engagementsExpanded,c).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.getSingleEngagement=function(c,e){var f=b.defer();return a.get(d.auth.single_engagement.replace("@engagementUuid",e)).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.getStarredEngagements=function(){var c=b.defer();return a.get(d.engagement.starred_engagement.get).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}),c.promise},this.putStarredEngagements=function(c){var e=b.defer(),f={};return f.engagement_uuid=c,a.put(d.engagement.starred_engagement.put,f).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.getRecentEngagements=function(){var c=b.defer();return a.get(d.engagement.recent_engagement.get).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}),c.promise},this.getActivities=function(c){var e=b.defer();return a.get(d.auth.activities.replace("@engagementUuid",c)).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.updateProgress=function(c,e){var f=b.defer();return a.put(d.engagement.updateProgress.replace("@engagementUuid",c),e).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.updateDeployTargets=function(c,e){var f=b.defer();return a.put(d.vf.deployment_target.updateDeployTargets.replace("@engagementUuid",c).replace("@deployment_target_uuid",e)).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.updateECOMPReleases=function(c,e){var f=b.defer();return a.put(d.vf.ecomp.updateECOMPReleases.replace("@engagementUuid",c).replace("@ecomp_uuid",e)).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.updateDaysLeft=function(c,e){var f=b.defer();return a.post(d.auth.updateDaysLeft.replace("@engagementUuid",c),e).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.updateLabEntryDaysLeft=function(c,e){var f=b.defer();return a.post(d.auth.updateLabEntryDaysLeft.replace("@engagementUuid",c),e).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.set_engagement_stage=function(c,e){var f=b.defer();return a.put(d.engagement.setStage.replace("@engagementUuid",c).replace("@stage",e)).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.exportEngagementsCSV=function(c,e){var f=b.defer();return null==c||null==e?f.reject("Invalid arguments on engagements export csv."):a({method:"GET",url:d.engagement.exportEngagementsCSV.replace("@stage",c).replace("@keyword",e),headers:{"Content-Type":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},responseType:"arraybuffer"}).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.archiveEngagement=function(c,e){var f=b.defer(),g={reason:e};return a.put(d.engagement.archive.put.replace("@engagementUuid",c),g).success(function(a,b,c,d){f.resolve()}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.updateEngagementReviewer=function(c,e){var f=b.defer(),g={reviewer:e};return a.put(d.engagement.reviewer.put.replace("@engagementUuid",c),g).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.updateEngagementPeerReviewer=function(c,e){var f=b.defer(),g={peerreviewer:e};return a.put(d.engagement.peerreviewer.put.replace("@engagementUuid",c),g).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.switchEngagementReviewers=function(c,e,f){var g=b.defer(),h={reviewer:e,peerreviewer:f};return a.put(d.engagement.switchReviewers.put.replace("@engagementUuid",c),h).success(function(a,b,c,d){g.resolve({data:a,status:b})}).error(function(a,b,c,d){g.reject({message:a,status:b})}),g.promise},this.updateEngagement=function(c,e){var f=b.defer(),g={engagement:c,status:e};return a.put(d.engagement.put.replace("@engagementUuid",c.uuid),g).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.remove_user_from_eng=function(c){var e=b.defer();return null==c?e.reject("Invalid arguments on remove_user_from_eng."):a.put(d.engagement.engagement_team.put,c).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise}}])}(),function(){"use strict";angular.module("ice.services.vfc",[]).service("vfcService",["$http","$q","cacheService",function(a,b,c){var d=c.get("configuration").urls;this.get=function(c){var e=b.defer();return a.get(d.vfcs.get.replace("@vfUuid",c)).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this["delete"]=function(c,e){var f=b.defer();return a["delete"](d.vfcs["delete"].replace("@vfUuid",e).replace("@vfcUuid",c)).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.add=function(c){var e=b.defer();return a.post(d.vfcs.add,c).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.getCompanies=function(){var c=b.defer();return a.get(d.auth.getCompanies).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}),c.promise}}])}(),angular.module("ice.services.localStorage",[]).service("localStorageService",["$window",function(a){this.setJson=function(b,c){return a.localStorage&&a.localStorage.setItem(b,JSON.stringify(c)),this},this.getJson=function(b){var c,d=a.localStorage&&a.localStorage.getItem(b);try{c=d?JSON.parse(d):void 0}catch(e){}return c},this["delete"]=function(b){return a.localStorage&&a.localStorage.removeItem(b)}}]),function(){"use strict";angular.module("ice.services.steps",[]).service("stepsService",["$http","$q","cacheService",function(a,b,c){var d=c.get("configuration").urls;this.getByUser=function(){var c=b.defer();return a.get(d.steps.getByUser).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}),c.promise},this.get=function(c,e){var f=b.defer();return a.get(d.steps.get.replace("@engagement",c).replace("@progress",e)).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.update=function(c,e){var f=b.defer();return a.put(d.steps.update.replace("@stepUuid",c),e).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this["delete"]=function(c){var e=b.defer();return a["delete"](d.steps["delete"].replace("@stepUuid",c)).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.add=function(c,e){var f=b.defer();return a.post(d.steps.add.replace("@engagement",c),e).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.edit=function(c,e,f){var g=b.defer();return a.put(d.steps.edit.replace("@stepUuid",e).replace("@engUuid",c),f).success(function(a,b,c,d){g.resolve({data:a,status:b})}).error(function(a,b,c,d){g.reject({message:a,status:b})}),g.promise},this.order_next_steps=function(c,e){var f=b.defer();return a.put(d.steps.order_next_steps.replace("@engUuid",c),e).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.createNextStep=function(c,e,f){var g=b.defer();return a.post(d.steps.createNextStep.replace("@engUuid",e),f).success(function(a,b,c,d){g.resolve({data:a,status:b})}).error(function(a,b,c,d){g.reject({message:a,status:b})}),g.promise},this.createChecklistNextStep=function(c,e,f){var g=b.defer();return a.post(d.steps.createChecklistNextStep.replace("@checkListUuid",c).replace("@engUuid",e),f).success(function(a,b,c,d){g.resolve({data:a,status:b})}).error(function(a,b,c,d){g.reject({message:a,status:b})}),g.promise}}])}(),function(){"use strict";angular.module("ice.services.dtsite",[]).service("dtsiteService",["$http","$q","cacheService",function(a,b,c){var d=c.get("configuration").urls;this.getVFSites=function(c){var e=b.defer();return a.get(d.dtsite.getVFSites.replace("@vfUuid",c)).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.get=function(){var c=b.defer();return a.get(d.dtsite.get).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}),c.promise},this["delete"]=function(c,e){var f=b.defer();return a["delete"](d.dtsite["delete"].replace("@vfUuid",c).replace("@dtsUuid",e)).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.add=function(c){var e=b.defer();return a.post(d.dtsite.add,c).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise}}])}(),function(){"use strict";var a;angular.module("ice.services.checklist",[]).factory("checklistService",["$rootScope","$http","$q","cacheService","$log",function(b,c,d,e,f){var g=e.get("configuration").urls;return this.setState=function(a,b){var e=d.defer();return c.put(g.checklist.state.put.replace("@cl_uuid",a),b).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.createChecklist=function(a,b){var e=d.defer();return c.post(g.checklist.createChecklist.replace("@engUuid",a),b).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.getDataForCreateChecklist=function(a){var b=d.defer();return c.get(g.checklist.getDataForChecklist.replace("@engUuid",a)).success(function(a,c,d,e){b.resolve({data:a,status:c})}).error(function(a,c,d,e){b.reject({message:a,status:c})}),b.promise},this.getChecklist=function(a){var b=d.defer();return c.get(g.checklist.getChecklist.replace("@checklistUuid",a)).success(function(a,c,d,e){b.resolve({data:a,status:c})}).error(function(a,c,d,e){b.reject({message:a,status:c})}),b.promise},this.putDataForChecklist=function(a,b){var e=d.defer();return c.put(g.checklist.putDataForChecklist.replace("@checklist_uuid",a),b).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.putChecklistDecision=function(a,b){var e=d.defer();return c.put(g.checklist.checklistDecision.replace("@decisionUuid",a),b).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.createAuditlogChecklist=function(a,b){var e=d.defer();return c.post(g.checklist.createAuditlogChecklist.replace("@checklist_uuid",a),b).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.createAuditlogDecisionChecklist=function(a,b){var e=d.defer();return c.post(g.checklist.createAuditlogDecisionChecklist.replace("@decision_uuid",a),b).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.setChecklistExitEntity=function(b){a=b,f.debug("set checklist")},this.callChecklistExit=function(b){if(void 0!=a&&"checklist"==b){var c="set_state";angular.forEach(a.data.checklistDecisions,function(a,b){angular.forEach(a.decisions,function(a,b){("approved"!=a.view_value&&"not_relevant"!=a.view_value||""==a.view_value)&&(c="next_step")})}),"next_step"==c?this.openNextSteps():"set_state"==c&&this.openSetState()}},this.getChecklistTemplates=function(){var a=d.defer();return c.get(g.checklist.getChecklistTemplates).success(function(b,c,d,e){a.resolve({data:b,status:c})}).error(function(b,c,d,e){a.reject({message:b,status:c})}),a.promise},this.getChecklistTemplate=function(a){var b=d.defer();return c.get(g.checklist.getChecklistTemplate.replace("@templateUuid",a)).success(function(a,c,d,e){b.resolve({data:a,status:c})}).error(function(a,c,d,e){b.reject({message:a,status:c})}),b.promise},this.saveChecklistTemplate=function(a){var b=d.defer();return c.put(g.checklist.saveChecklistTemplate,a).success(function(a,c,d,e){b.resolve({data:a,status:c})}).error(function(a,c,d,e){b.reject({message:a,status:c})}),b.promise},this}])}(),function(){"use strict";angular.module("ice.services.status",[]).service("statusService",["$http","$q","cacheService",function(a,b,c){var d=c.get("configuration").urls;this.get=function(c){var e=b.defer();return a.get(d.status.get.replace("@engagement",c)).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.update=function(c,e){var f=b.defer();return a.put(d.status.update.replace("@engagement",c),e).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.add=function(c,e){var f=b.defer();return a.post(d.status.update.replace("@engagement",c),e).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise}}])}(),function(){"use strict";angular.module("ice.services.feedback",[]).service("feedbackService",["$http","$q","cacheService",function(a,b,c){var d=c.get("configuration").urls;this.add=function(c){var e=b.defer();return a.post(d.feedback.add.replace(),c).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise}}])}(),function(){"use strict";angular.module("ice.services.toast",[]).service("toastService",["$rootScope",function(a){var b,c,d,e,f=!1,g="all",h=function(h,i,j){if(h&&void 0!=h.detail&&(h=h.detail),!h||!i)throw"You must provide both message an type in order to set new message toast";b=h,c=i,d=j&&j.sticky?j.sticky:!1,e=j&&j.readMoreCallback?j.readMoreCallback:void 0,g=j&&j.displayFor?j.displayFor:"all",
-f=!0,a.showToast=!0},i=function(){b=void 0,c=void 0,f=!1,g="all",a.showToast=!1},j=function(){return{message:b,type:c,show:f,sticky:d,readMore:e,displayFor:g}};return{setToast:h,clearToast:i,getToast:j}}])}(),function(){"use strict";function a(a,b,c,d,e,f,g){var h,i=c.get("configuration").urls,j="lastAnnouncement";this.getPosts=function(c,d,e){var f=b.defer(),g=e&&e instanceof Array?e.join():"";return a.get(i.cms.posts.get.replace("@limit",c).replace("@offset",0).replace("@fromLastDays",d).replace("@category",g)).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.getLastAnnouncementPost=function(){var c=b.defer(),d=1;return a.get(i.cms.posts.get.replace("@limit",d).replace("@offset",0).replace("@fromLastDays","").replace("@category","Announcement")).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}),c.promise},this.setAnnouncementToast=function(){var a=function(){e.open({templateUrl:"main/modals/cms-post-modal/cms-post-modal.html",controller:"cmsPostModalController",controllerAs:"vm",size:"cms-post-read-more",resolve:{post:function(){return void 0}}})};this.getLastAnnouncementPost().then(function(b){if(b&&b.data&&1===b.data.length){var c=d.getJson(j);if(!c||c.id!=b.data[0].id||!c.closed){d.setJson(j,{id:b.data[0].id,closed:!1});var e="<b>Important announcement</b>: <i>"+b.data[0].title+".</i>";h={message:e,readMore:a,type:"warning",show:!0,displayFor:"all",publishDate:b.data[0].publish_date},f.showAnnouncement=!f.showAnnouncement}}})["catch"](function(a){g.error(a)})},this.getAnnouncement=function(){return h},this.getPages=function(c){var d=b.defer();return c||(c=""),a.get(i.cms.pages.get.replace("@title",c)).success(function(a,b,c,e){d.resolve({data:a,status:b})}).error(function(a,b,c,e){d.reject({message:a,status:b})}),d.promise},this.getPage=function(c){var d=b.defer();return a.get(i.cms.pages.getById.replace("@id",c)).success(function(a,b,c,e){d.resolve({data:a,status:b})}).error(function(a,b,c,e){d.reject({message:a,status:b})}),d.promise},this.searchPages=function(c){var d=b.defer();return a.get(i.cms.pages.search.replace("@keyword",c)).success(function(a,b,c,e){d.resolve({data:a,status:b})}).error(function(a,b,c,e){d.reject({message:a,status:b})}),d.promise}}angular.module("ice.services.cms",[]).service("cmsService",["$http","$q","cacheService","localStorageService","$uibModal","$rootScope","$log",a])}(),function(){"use strict";function a(a){this.setJson=function(b,c){return a.sessionStorage&&a.sessionStorage.setItem(b,JSON.stringify(c)),this},this.getJson=function(b){var c,d=a.sessionStorage&&a.sessionStorage.getItem(b);try{c=d?JSON.parse(d):void 0}catch(e){}return c},this["delete"]=function(b){return a.sessionStorage&&a.sessionStorage.removeItem(b)}}angular.module("ice.services.sessionStorage",[]).service("sessionStorageService",["$window",a])}(),function(){"use strict";function a(a,b,c,d,e){var f={};return f.restrict="E",f.templateUrl="directives/step-stages/step-stages.html",f.scope={stage:"=stage",stage_num:"=stageNum",eng_uuid:"@engUuid",team:"=team",eng_name:"@engName",initactivitylogs:"&"},f.controller=["$scope","vfService","$log",function(b,c,d){b.set_engagement_stage=function(f,g){var h=e.open({templateUrl:"main/modals/set-eng-stage/set-eng-stage-modal.html",controller:"setEngStageModalController",controllerAs:"vm",resolve:{stage:function(){return g},eng_name:function(){return b.eng_name},current_stage:function(){return b.stage}}});h.result.then(function(e){e&&c.set_engagement_stage(f.eng_uuid,g).then(function(c){if(202!==c.status)return!1;switch(f.stage=g,g){case"Intake":f.stage_num=1;break;case"Active":f.stage_num=2;break;case"Validated":f.stage_num=3;break;case"Completed":f.stage_num=4}a.$broadcast("onUpdateNextSteps",{stage:f.stage,eng_uuid:f.eng_uuid}),b.initactivitylogs()})["catch"](function(a){d.error(a)})})},b.hover_design=function(a,c){b.temp_num=c,b.hover=a}}],f.link=function(a,c,e){a.hover=!1,a.temp_num=0,a.priviliged=!1,a["const"]=b.stages,a.loaded=!1,a.user=d.getUserData(),a.$watchGroup(["user","team"],function(a,b,c){a[0]&&a[1]&&(c.loaded||((d.isEngagementEL(c.team)||d.isAdmin(c.user))&&(c.priviliged=!0),c.loaded=!0))}),a.hover_actions=function(b,c){a.priviliged&&a.hover_design(b,c)},a.set_stage=function(b){if(a.priviliged){if(a.stage===b)return void $log.debug("Same stage was chosen, request ignored.");a.set_engagement_stage(a,b)}}},f}angular.module("ice.directives",[]).directive("stepStagesDirective",a),a.$inject=["$rootScope","iceConstants","localStorageService","usersService","$uibModal"]}(),function(){"use strict";function a(a,b,c,d){var e={};return e.restrict="E",e.templateUrl="directives/progress/progress.html",e.scope={progress:"@progress",data:"=data",callback:"=callback",statuses:"@statuses",enable_refresh:"@enableRefresh"},e.link=function(e,f,g){var h=function(){e.statuses||(e.statuses=!1),i(),j()},i=function(){var a=moment(),b=moment(e.data.completion_date),c=Math.ceil(b.diff(a,"days",!0));0>c&&(c=0),e.daysLeft=c},j=function(){e.$watch("data.completion_date",function(a,b){a!==b&&i()}),e.$watch("data.heat_validated_time",function(a,b){a!==b&&k()}),e.$watch("data.vnf_version",function(a,b){a!==b&&k()}),e.$watch("data.image_scan_time",function(a,b){a!==b&&k()}),e.$watch("data.aic_instantiation_time",function(a,b){a!==b&&k()}),e.$watch("data.asdc_onboarding_time",function(a,b){a!==b&&k()})},k=function(){e.data&&(e.data.ecomp_release||(e.data.ecomp_release="-"),e.data.aic_version||(e.data.aic_version="-"),e.data.aic_instantiation_time||(e.data.aic_instantiation_time="-"),e.data.vnf_version||(e.data.vnf_version="-"),e.data.asdc_onboarding_time||(e.data.asdc_onboarding_time="-"),e.data.heat_validated_time||(e.data.heat_validated_time="-"),e.data.image_scan_time||(e.data.image_scan_time="-"))};e.starEngagement=function(){d.putStarredEngagements(e.data.engagement_uuid).then(function(a){b.ice.loader.show=!1,200===a.status&&a.data&&""!==a.data&&(b.$broadcast("onUpdateEngagements",{select:{uuid:e.data.engagement_uuid,page_type:"dashboard",sub_id:void 0,enable_refresh:e.enable_refresh}}),0==e.data.starred?e.data.starred=!0:e.data.starred=!1)})["catch"](function(a){b.ice.loader.show=!1,c.error(a)})},e.goToEngagement=function(a){b.$broadcast("searchSelectEngagement",a)},e.changeProgress=function(){var b=a.open({templateUrl:"main/modals/change-progress/change-progress.html",controller:"ChangeProgressModalController",controllerAs:"vm",resolve:{progress:function(){return e.progress},engagementUuid:function(){return e.data.engagement_uuid}}});b.result.then(function(a){a&&(e.progress=a.progress||e.progress,a.progress&&e.callback(a))},function(){c.debug("Modal dismissed at: "+new Date)})},h()},e}angular.module("ice.directives").directive("progressDirective",["$uibModal","$rootScope","$log","vfService",a])}(),function(){"use strict";function a(a,b,c,d,e){var f={};return f.restrict="E",f.template="<div></div>",f.scope={activity:"="},f.controller=["$scope",function(a){a.addDateStamp=function(a){var c="",d=moment().format("z"),e=moment().format("A"),f=moment().tz(moment.tz.guess()).format("z");return c=-1==a.description.indexOf(" at ")?"."==a.description.substr(a.description.length-1)?a.description.substr(0,a.description.length-1):a.description:a.description.substring(0,a.description.indexOf(" at ")),a.description=c+" at "+b("date")(a.create_time,"yyyy-MM-dd hh:mm:ss",d)+" "+e+" "+f,a},a.addPopover=function(a,b,c,d){var e="<span popover-trigger='mouseenter' popover-html='true' popover-placement='top' uib-popover='"+d+"' class='' >"+c+"</span>";a.description=a.description.replaceAll(b,e)},a.addSelectEngagement=function(a,b,c,d){var e="<span ng-click=\"goToEngagement('"+d+"')\" class='engagement_link' >"+c+"</span>";a.description=a.description.replaceAll(b,e)},a.goToEngagement=function(a){e.setJson("ice.settings.eng_uuid",a),d.path("/dashboard/overview"),d.replace(),c.$broadcast("onUpdateEngagements",{select:{uuid:a,page_type:"overview",sub_id:void 0}})}}],f.link=function(b,c,d,e){var f=b.activity;f.meta_data=JSON.parse(f.metadata),b.addDateStamp(f),angular.forEach(f.meta_data.macros,function(a,c){switch(a.type){case"popover":b.addPopover(f,c,a["short"],a["long"]);break;case"select_engagement":b.addSelectEngagement(f,c,a["short"],a.eng_uuid)}});var g="<span>"+b.activity.description+"</span>";c.html(g).show(),a(c.contents())(b)},f}angular.module("ice.directives").directive("notifications",a),String.prototype.replaceAll=function(a,b,c){return this.replace(new RegExp(a.replace(/([\/\,\!\\\^\$\{\}\[\]\(\)\.\*\+\?\|\<\>\-\&])/g,"\\$&"),c?"gi":"g"),"string"==typeof b?b.replace(/\$/g,"$$$$"):b)},a.$inject=["$compile","$filter","$rootScope","$location","localStorageService"]}(),function(){"use strict";function a(a){var b={};return b.restrict="E",b.transclude=!1,b.scope={selector:"@selector"},b.link=function(b,c,d){a.$watch("ice.loader.show",function(a,c){if(a===!0){var d=$(b.selector),f=e(),g=$('<div class="ice-loader" id="'+f+'"></div>');$("body").append(g),d.addClass("ice-loader-overlay");var h=d.offset();h&&g.css({top:h.top+d.height()/2,left:h.left+d.width()/2,position:"fixed"})}else if(a===!1){var d=$(b.selector);d.removeClass("ice-loader-overlay");var f=e(),g=$("#"+f);g.remove()}},!0);var e=function(){var a="ice-loader-",c=b.selector;return c=c.replace(".",""),c=c.replace("#",""),a+c}},b}angular.module("ice.directives").directive("iceLoader",a),a.$inject=["$rootScope"]}(),function(){"use strict";function a(a,b){var c={};return c.restrict="E",c.templateUrl="directives/ice-toast/ice-toast.html",c.scope={isModal:"=isModal"},c.link=function(c,d,e){var f=function(){var a=b.getToast();a&&(c.toast=a)};c.closeAlert=function(){b.clearToast()},f(),a.$watch("showToast",function(a,b){f()},!0)},c}angular.module("ice.directives").directive("iceToast",["$rootScope","toastService",a])}(),function(){"use strict";function a(a,b,c){var d={};return d.restrict="E",d.templateUrl="directives/ice-announcement/ice-announcement.html",d.link=function(d,e,f){function g(a){var b=c.getJson(h)||{};b.closed=a,c.setJson(h,b)}var h="lastAnnouncement",i=function(){var a=b.getAnnouncement();if(a){d.toast=a;var c=new Date;c.setDate(c.getDate()-2);var e=new Date(d.toast.publishDate);c>e&&d.closeAlert()}};d.closeAlert=function(){d.toast.show=!1,g(!0)},i(),a.$watch("showAnnouncement",function(a,b){i()},!0)},d}angular.module("ice.directives").directive("iceAnnouncement",["$rootScope","cmsService","localStorageService",a])}(),function(){"use strict";function a(a,b){var c={};return c.restrict="E",c.templateUrl="directives/ice-tooltip/ice-tooltip.html",c.link=function(c,d,e){var f=5;a.getPosts(f,"",["FAQ"]).then(function(a){if(a.data&&a.data.length>0){var b=a.data.length,d=Math.floor(Math.random()*b);c.tipContent=a.data[d]}})["catch"](function(a){b.error(a)})},c}angular.module("ice.directives").directive("iceToolTip",["cmsService","$log",a])}(),function(){"use strict";function a(a,b,c){var d={};return d.restrict="E",d.templateUrl="directives/ice-news-and-announcement/ice-news-and-announcement.html",d.scope={limit:"=limit",fromLastDays:"=fromLastDays",showDescription:"=showDescription"},d.link=function(d,e,f){var g=d.limit||5,h=d.fromLastDays||"",i=function(){a.getPosts(g,h,["Announcement","News"]).then(function(a){d.cmsPosts=a.data})["catch"](function(a){c.error(a)})};d.openCMSReadMoreModal=function(a){a?b.open({templateUrl:"main/modals/cms-post-modal/cms-post-modal.html",controller:"cmsPostModalController",controllerAs:"vm",size:"cms-post-read-more",resolve:{post:function(){return a}}}):c.debug("Cannot open cms post.")},i()},d}angular.module("ice.directives").directive("iceNewsAndAnnouncement",["cmsService","$uibModal","$log",a])}(),function(){"use strict";function a(a){return function(b){return a.trustAsHtml(b)}}angular.module("ice.filters",[]).filter("trusted",["$sce",a])}(),function(){"use strict";function a(a,b,c){return function(a,b){return a.toLowerCase().includes(b.toLowerCase())}}angular.module("ice.filters").filter("doesExists",["$sce","$injector","$log",a])}(),function(){"use strict";function a(){return function(a){return a?a.charAt(0).toUpperCase()+a.substr(1).toLowerCase():""}}angular.module("ice.filters").filter("capitalize",[a])}(),function(){"use strict";function a(a,b){return function(c,d){var e={stage:"All",keyword:d,offset:0,limit:20};return a.getExpandedEngagements(e).then(function(a){return 200===a.status&&a.data&&""!==a.data?a.data.array:void 0})["catch"](function(a){$rootScope.ice.loader.show=!1,b.error(a)})}}angular.module("ice.filters").filter("customVFSearchFilter",["vfService","$log",a])}(),function(){"use strict";function a(a){var b=["th","st","nd","rd"];return function(c,d){if(c){var e=a("date")(c,d),f=parseInt(a("date")(c,"dd")),g=30>f?f%20:f%30,h=3>=g?b[g]:b[0];return e.replace("oo",h)}return c}}angular.module("ice.filters").filter("date2",["$filter",a])}(),function(){"use strict";function a(a,b){return function(b){return b=a.replace(b,/\&amp\;/g,"&"),b=a.replace(b,/\&lt\;/g,"<"),b=a.replace(b,/\&gt\;/g,">"),b=a.replace(b,/\&quot\;/g,'"'),b=a.replace(b,/\&#03\;/g,"'"),b=a.replace(b,/<(\s)*script/g,"_script")}}angular.module("ice.filters").filter("htmlspecialchars",["_","$filter",a])}(),function(){"use strict";function a(a,b){return function(b){return b=a.replace(b,/style=\"font-weight: bold;\"/g,'class="bold"'),b=a.replace(b,/style=\"font-style: italic;\"/g,'class="italic"'),b=a.replace(b,/style=\"text-decoration-line: line-through;\"/g,'class="line-through"'),b=a.replace(b,/style=\"text-decoration-line: underline;\"/g,'class="underline"')}}angular.module("ice.filters").filter("htmlstylespan",["_","$filter",a])}(),function(){"use strict";function a(a){return function(b,c){return a.searchPages(c).then(function(a){return a.data})["catch"](function(a){$log.error(a)})}}angular.module("ice.filters").filter("customDocumentationPageSearch",["cmsService",a])}(),function(){"use strict";function a(){}angular.module("ice.toolbar",[]).config(a)}(),function(){"use strict";function a(a,b,c,d,e,f){var g=this;g.notifications=0;var h=c.getUserData();h&&(g.isAdmin=c.isAdmin(h),c.getNotifications(h.uuid).then(function(a){200===a.status&&(g.notifications=a.data.notifications_number?a.data.notifications_number:0)})["catch"](function(a){e.error(a)})),g.logout=function(){c.resetUserData(),b.setJson("ice.settings.eng_uuid",void 0),d.go("app.login")},g.addFeedback=function(){f.open({templateUrl:"main/modals/feedback/feedback.html",controller:"FeedbackModalController",controllerAs:"vm",size:"lg",resolve:{action:function(){return"add"}}})},a.$on("eventClearNotifications",function(a,b){g.notifications=0})}angular.module("ice.toolbar").controller("ToolbarController",["$rootScope","localStorageService","usersService","$state","$log","$uibModal",a])}(),function(){"use strict";function a(){}angular.module("ice.navigation",[]).config(a)}(),function(){"use strict";function a(a,b,c,d,e,f,g,h,i,j,k,l,m,n){var o=this;k.selected=void 0,k.states=["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Dakota","North Carolina","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"],o.formatted_engagements={},o.starred_engagements={},o.recent_engagements={},o.showOpenWizardButton=!1;var p=i.getUserData();void 0!=p&&1==p.activationSuccess&&(o.activation_success=!0),o.selectEngagement=function(a,c,e,f){var j=angular.element(l);void 0!=c&&j.width()<992&&$(".navbar-collapse").collapse("hide"),null!=h.params.messagePass&&(m.setToast(h.params.messagePass,"success"),null==h.params.messagePass),void 0==a&&void 0!=g.getJson("ice.settings.eng_uuid")?a=g.getJson("ice.settings.eng_uuid"):h.go("app.dashboard.dashboard");var n=b.defer();return void 0!=c?o.view_type=c:""!=d.getPage()?o.view_type=d.getPage():void 0!=g.getJson("ice.settings.view_type")?o.view_type=g.getJson("ice.settings.view_type"):o.view_type="overview",void 0!=e?e=e:void 0!=g.getJson("ice.settings.sub_id")&&(e=g.getJson("ice.settings.sub_id")),g.setJson("ice.settings.view_type",o.view_type),g.setJson("ice.settings.sub_id",e),d.setPage(o.view_type),k.$watch(function(){return d.getPage()},function(a,b){a!==b&&(o.view_type=a)}),o.engagement=void 0,angular.forEach(o.recent_engagements,function(b,c){b.uuid===a?(o.engagement=b,o.engagement.selected=!0,o.engagement.page=o.view_type,o.engagement.sub_id=e,o.engagement.view_type=o.view_type):b.selected=void 0;o.recent_engagements[c]=b}),angular.forEach(o.starred_engagements,function(b,c){b.uuid===a?(o.engagement=b,o.engagement.selected=!0,o.engagement.page=o.view_type,o.engagement.sub_id=e,o.engagement.view_type=o.view_type):b.selected=void 0;o.starred_engagements[c]=b}),o.engagement?(g.setJson("ice.settings.eng_uuid",a),o.showOpenWizardButton=!0,(void 0===f||f===!0)&&(o.activation_success?h.go("app.dashboard."+o.view_type,{engagement_uuid:a,engagement:o.engagement,sub_id:e,messagePass:"You have successfully activated your account!"}):h.go("app.dashboard."+o.view_type,{engagement_uuid:a,engagement:o.engagement,sub_id:e,messagePass:null}))):1!=o.last_not_found_engagement?(g.setJson("ice.settings.eng_uuid",void 0),r()):r(!0),o.isReviewer=i.isReviewer(o.me,o.engagement.reviewer_uuid),o.isPeerReviewer=i.isPeerReviewer(o.me,o.engagement.peer_reviewer_uuid),n.resolve(a),n.promise},o.searchSelectEngagement=function(b){f.getSingleEngagement(o.me.uuid,b).then(function(c){a.ice.loader.show=!1,200===c.status&&c.data&&""!==c.data&&r(!1,{uuid:b,page_type:"overview",sub_id:void 0})})["catch"](function(b){a.ice.loader.show=!1,n.error(b)})};var q=function(){return o.me=o.user=i.getUserData(),o.isAdmin=i.isAdmin(o.me),o.isEngagementEL=i.isUserInRole(c.roles.el),o.vfc_num=0,o.user&&o.user.is_active===!1?void h.go("app.resend_activation",{message:"Please activate your account first"}):void 0===o.user?void h.go("app.login",{message:"Please login first"}):(r(!1),void a.$on("onUpdateEngagements",function(a,b){void 0!=b&&void 0!=b.select?r(!1,b.select):r(!0)}))},r=function(b,c){a.ice.loader.show=!0,o.starred_engagements={},o.recent_engagements={},o.formatted_engagements={},f.getStarredEngagements().then(function(d){a.ice.loader.show=!1,200===d.status&&d.data&&""!==d.data?s(d.data,!0,!1):204===d.status?n.error("no starred VFs were found for you."):n.error("getStarredEngagements Failed."),f.getRecentEngagements().then(function(d){a.ice.loader.show=!1,200===d.status&&d.data&&""!==d.data?d.data.length>0?s(d.data,!1,!0,b,c):h.go("app.dashboard.overview",{engagement_uuid:void 0,engagement:void 0,sub_id:void 0}):204===d.status?(n.error("no recent VFs were found for you."),t(b)):n.error("getRecentEngagements Failed.")})["catch"](function(b){a.ice.loader.show=!1,n.error(b)})})["catch"](function(b){a.ice.loader.show=!1,n.error(b)})};a.$on("searchSelectEngagement",function(a,b){o.searchSelectEngagement(b)});var s=function(a,b,c,d,e){var f=void 0;for(f=0;f<a.length;f++){var g={};b===!0?(g.creator=a[f].engagement__creator__uuid,g.is_service_provider_internal=a[f].is_service_provider_internal,g.name=a[f].engagement__engagement_manual_id+": "+a[f].name,g.engagement_manual_id=a[f].engagement__engagement_manual_id,g.reviewer_uuid=a[f].engagement__reviewer__uuid,g.uuid=a[f].engagement__uuid,g.peer_reviewer_uuid=a[f].engagement__peer_reviewer__uuid):(g.creator=a[f].vf__engagement__creator__uuid,g.is_service_provider_internal=a[f].vf__is_service_provider_internal,g.name=a[f].vf__engagement__engagement_manual_id+": "+a[f].vf__name,g.engagement_manual_id=a[f].vf__engagement__engagement_manual_id,g.uuid=a[f].vf__engagement__uuid,g.last_update=a[f].last_update,g.reviewer_uuid=a[f].vf__engagement__reviewer__uuid,g.peer_reviewer_uuid=a[f].vf__engagement__peer_reviewer__uuid),"NAVIGATED_INTO_ENGAGEMENT"!=a[f].action_type?g.red_dot=a[f].action_type.split("_").join(" "):g.red_dot=!1,g.checklists=a[f].checklists,g.page="overview",o.formatted_engagements[g.engagement_manual_id]=g,b===!0?o.starred_engagements[g.engagement_manual_id]=g:c===!0&&void 0==o.starred_engagements[g.engagement_manual_id]&&(o.recent_engagements[g.engagement_manual_id]=g)}return void 0!=e?e.view_type?o.selectEngagement(e.uuid,e.view_type,e.sub_id,e.enable_refresh):o.selectEngagement(e.uuid,e.page_type,e.sub_id,e.enable_refresh):void 0!=d&&t(d),new Promise(function(a,b){a(o.formatted_engagements)})},t=function(a){var b=!1,c=g.getJson("ice.settings.eng_uuid"),d=i.getUserData(),f=Object.keys(o.formatted_engagements);if(f.length>0){if(1==a?b=o.formatted_engagements[Object.keys(o.formatted_engagements)[0]].uuid:e.search().eng_uuid?b=e.search().eng_uuid:null!=c?b=c:void 0!=h.params.engagement_uuid&&(b=h.params.engagement_uuid),0!=b){o.selectEngagement(b)}else h.go("app.dashboard.dashboard"),null!=h.params.messagePass&&(m.setToast(h.params.messagePass,"success"),null==h.params.messagePass);0==b&&(b=o.formatted_engagements[Object.keys(o.formatted_engagements)[0]].uuid,o.engagement=o.formatted_engagements[Object.keys(o.formatted_engagements)[0]]),void 0!=o.engagement&&null!=o.engagement.creator&&d.uuid==o.engagement.creator&&1==o.activation_success&&o.openGettingStartedWizard(b)}else 1==d.activationSuccess?(o.openGettingStartedWizard(),h.go("app.dashboard.dashboard")):h.go("app.dashboard.dashboard");o.activation_success=!1,i.setUserActivationSuccess(void 0)};q(),o.openGettingStartedWizard=function(b){var c=o.engagement&&b?o.engagement.is_service_provider_internal:!1;b=b||"";var d={user:o.user,eng_uuid:b,is_service_provider_internal:c,showActivationMessage:o.activation_success};a.$broadcast("openGettingStartedWizard",d),o.activation_success=!1},o.addChecklist=function(a){var b=j.open({templateUrl:"main/modals/checklist/checklist.html",controller:"ChecklistModalController",controllerAs:"vm",size:"lg",resolve:{engagementUuid:function(){return a},modal_type:function(){return"create"},wizardData:function(){return!1}}});b.result.then(function(b){var c=void 0;void 0!=b&&(c=b.uuid,r(!1,{uuid:a,page_type:"checklist",sub_id:c}),b.progress&&o.callback(b))},function(){n.debug("Modal dismissed at: "+new Date)})}}angular.module("ice.navigation",["ui.bootstrap"]).controller("NavigationController",["$rootScope","$q","iceConstants","pageService","$location","vfService","localStorageService","$state","usersService","$uibModal","$scope","$window","toastService","$log",a])}(),function(){"use strict";function a(a,b,c,d,e){var f=this,g=function(){f.checkListTemplates=null,i(),h()},h=function(){a.$watch(function(){return e.params.templateName},function(a,b){a!==b&&f.selectedTemplate&&(f.selectedTemplate.name=a)})},i=function(){c.getChecklistTemplates().then(function(a){d.ice.loader.show=!1,200===a.status&&a.data&&""!==a.data?f.checkListTemplates=a.data.checkListTemplates:b.debug("getChecklistTemplates Failed. response.status="+a.status)})["catch"](function(a){d.ice.loader.show=!1,b.error(a)})};f.selectTemplate=function(a){a!==f.selectedTemplate&&(f.selectedTemplate=a,e.go("app.admin.checklisttemplate",{template_uuid:a.uuid}))},g()}angular.module("ice.main.admin",["ice.services.users"]).controller("adminNavigationController",["$scope","$log","checklistService","$rootScope","$state",a])}(),function(){"use strict";function a(a,b,c,d,e){var f=this,g="LastDocumentationPageId",h=function(){c.getPages("Documentation").then(function(a){if(a&&a.data&&1===a.data.length){f.documentationPage=a.data[0];var b=d.getJson(g);b?f.loadPageContent(b):f.loadPageContent(f.documentationPage.id)}})["catch"](function(a){e.error(a)})};f.loadPageContent=function(a){f.selectedSearchedPage&&delete f.selectedSearchedPage,f.pageId=a,d.setJson(g,a),b.go("app.documentation.page",{page_id:a})},f.isPageCollapsed=function(b){var c=!0;if(b&&b.children&&b.children.length>0){var d=a.flatMap(b.children,function(b){return a.concat(b.children,b)});c=b.id!=f.pageId&&!a.some(d,["id",f.pageId])}return c},h()}angular.module("ice.documentation",[]).controller("documentationNavigationController",["_","$state","cmsService","sessionStorageService","$log",a])}(),function(){"use strict";function a(a){var b=this,c=function(){b.selectedPage=a.$current.name||"app.account"};b.loadPageContent=function(c){b.selectedPage=c,a.go(c)},c()}angular.module("ice.dashboard.account",[]).controller("accountNavigationController",["$state",a])}(),function(){"use strict";function a(a,b,c,d,e,f){var g=this;g.progress=b,g.closeModal=function(){a.close()},g.submitForm=function(){var b={progress:g.progress};d.updateProgress(c,b).then(function(c){202===c.status&&a.close(b)})["catch"](function(a){e.error(a),f.setToast(a.status+": Error changing progress!","danger")})}}angular.module("ice.modals",[]).controller("ChangeProgressModalController",["$uibModalInstance","progress","engagementUuid","vfService","$log","toastService",a])}(),function(){"use strict";function a(a,b,c,d,e,f){var g=this;g.completionDate=b,g.dateOptions={minDate:new Date,showWeeks:!0},g.closeModal=function(){a.close()},g.submitForm=function(){var b={target_date:moment(g.completionDate).format("YYYY-MM-DD")};d.updateDaysLeft(c,b).then(function(c){200===c.status&&a.close(b)})["catch"](function(a){f.setToast(a.status+": Error changing completion date!","danger")})}}angular.module("ice.modals").controller("ChangeDateModalController",["$uibModalInstance","completionDate","engagementUuid","vfService","$rootScope","toastService",a])}(),function(){"use strict";function a(a,b,c,d,e,f){var g=this;g.targetLabDate=b,g.dateOptions={minDate:new Date,showWeeks:!0},g.closeModal=function(){a.close()},g.myDate=new Date,g.minDate=moment(g.myDate).format("YYYY-MM-DD"),g.maxDate=moment(g.myDate).add(2,"years").format("YYYY-MM-DD"),g.submitForm=function(){var b={target_date:moment(g.targetLabDate).format("YYYY-MM-DD")};d.updateLabEntryDaysLeft(c,b).then(function(c){200===c.status&&a.close(b)})["catch"](function(a){f.setToast(a.status+": Error changing completion date!","danger")})}}angular.module("ice.modals").controller("ChangeLabEntryDateModalController",["$uibModalInstance","targetLabDate","engagementUuid","vfService","$rootScope","toastService",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g,h,i,j,k){var l=this;l.nextSteps=[{assigneesUuids:"",description:"",files:"",duedate:""}];var m=function(){l.myDate=new Date,l.minDate=new Date(l.myDate.getFullYear(),l.myDate.getMonth(),l.myDate.getDate()),l.maxDate=new Date(l.myDate.getFullYear()+2,l.myDate.getMonth(),l.myDate.getDate()),l.onlyWeekendsPredicate=function(a){var b=a.getDay();return 0===b||6===b},l.wysiwyg_menu=[["bold","italic","strikethrough","underline"],["unordered-list","ordered-list","outdent","indent"]],l.select_str={File:"Select All"},l.select_all_flag=!1,l.associated_files=[],l.associated_files.push(l.select_str),l.assigness=[],l.title=e,void 0==h?(l.checklist={},l.checklist.uuid=void 0):l.checklist=h;var a=[];if(angular.forEach(f,function(b,c){-1==a.indexOf(b)&&(a.push(b),l.associated_files.push({File:b}))}),angular.forEach(d,function(a,b){l.assigness.push({name:a.full_name,id:a.uuid})}),l.edit=!1,void 0!=i){l.edit=!0;var b={};b.description=i.description,b.files=[],b.duedate=new Date(i.due_date);var a=[];angular.forEach(i.files,function(c,d){-1==a.indexOf(value)&&(a.push(value),b.files.push({File:c}))}),b.assigneesUuids=[],angular.forEach(i.assignees,function(a,c){b.assigneesUuids.push({name:a.full_name,id:a.uuid})}),l.nextSteps=[b]}};m(),l.get_chosen_files_num=function(a){return a.files.length==f.length+1?a.files.length-1:a.files.length},l.add_all_associated_files=function(a,b){1==b?(a.files=[],a.files.push({File:"Select All"}),_.forEach(f,function(b,c){a.files.push({File:b})})):(l.select_all_flag=!1,a.files=[])},l.pull_select_all_from_list=function(a){var b=[];_.forEach(a.files,function(a){_.isEqual(a,l.select_str)||b.push(a)}),a.files=b},l.verify_files_choice=function(a){_.forEach(a.files,function(b){a.files.length==f.length&&l.select_all_flag?b===l.select_str?(l.select_all_flag=!1,l.pull_select_all_from_list(a)):l.add_all_associated_files(a,!1):a.files.length!=f.length||l.select_all_flag?b===l.select_str&&(l.select_all_flag=!0,l.add_all_associated_files(a,!0)):(a.files.push({File:"Select All"}),l.select_all_flag=!0)})},l.addNewStep=function(){var a=l.nextSteps.length+1;l.nextSteps.push({id:a})},l.removeStep=function(a){l.nextSteps.splice(a,1)},l.closeModal=function(){a.ice.loader.show=!1,j.clearToast(),b.close()},l.submitForm=function(){var d,e=[];angular.forEach(l.nextSteps,function(a,b){var c={};c.files=[],a.files.length>f.length&&l.pull_select_all_from_list(a),angular.forEach(a.files,function(a,b){c.files.push(a.File)}),c.assigneesUuids=[],angular.forEach(a.assigneesUuids,function(a,b){c.assigneesUuids.push(a.id)}),d=new Date(Date.parse(a.duedate+moment().format("z"))),c.duedate=d.getFullYear()+"-"+n(d.getMonth()+1)+"-"+n(d.getDate()),c.description=a.description,e.push(c)});var h=l.checklist.uuid,m=g;l.edit?c.edit(g,i.uuid,e[0]).then(function(a){202===a.status&&b.close(a.data)})["catch"](function(a){k.error(a),j.setToast(a.status+": Error adding next step!","danger",{displayFor:"modal"})}):void 0==l.checklist.uuid?c.add(g,e).then(function(a){200===a.status&&b.close(a.data)})["catch"](function(a){k.error(a),j.setToast(a.status+": Error adding next step!","danger",{displayFor:"modal"})}):c.createChecklistNextStep(h,m,e).then(function(c){200===c.status?(b.close(c.status),l.closeModal()):(j.setToast(error.message,"danger",{displayFor:"modal"}),a.ice.loader.show=!1,k.error(error))})["catch"](function(b){j.setToast(b.message,"danger",{displayFor:"modal"}),a.ice.loader.show=!1,k.error(b)})};var n=function(a){return 10>a?"0"+a:a}}angular.module("ice.modals").controller("NextStepsModalController",["$rootScope","$uibModalInstance","stepsService","engagement_team","title","associated_files","engagement_uuid","checklist","nextstep","toastService","$log",a])}(),function(){"use strict";function a(a,b,c,d,e){var f=this,g=function(){f.stage=c,f.current_stage=e,f.modalText="Are you sure you want to set the Engagement's stage to "+f.stage+"?",f.eng_name=d};f.closeModal=function(a){b.close(a)},g()}angular.module("ice.modals").controller("setEngStageModalController",["$rootScope","$uibModalInstance","stage","eng_name","current_stage",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g,h){var i=this;i.checkListAssociatedFiles=[],i.selectedCheckListAssociatedFiles=[],i.isDisabled=!1;var j=function(){switch(f){case"create":i.create=!0,i.createUpadeTitle="Create",i.modalType="create",i.modalTitle="Create",d.getDataForCreateChecklist(e).then(function(a){200===a.status&&(i.checkListTemplatesLists=[],i.checkListTemplates=a.data.checkListTemplates,angular.forEach(a.data.checkListAssociatedFiles,function(a,b){i.checkListAssociatedFiles.push({File:a})}),b.ice.loader.show=!1)})["catch"](function(c){a.setToast(c.message,"danger",{displayFor:"modal"}),b.ice.loader.show=!1,h.error(c.message)});break;case"update":i.update=!0,i.createUpadeTitle="Update",i.modalType="udpate",i.modalTitle="Update",i.checklistUuid=g.uuid,i.checkListName=g.name,d.getDataForCreateChecklist(e).then(function(a){200===a.status&&(i.checkListAssociatedFiles=[],angular.forEach(a.data.checkListAssociatedFiles,function(a,b){i.checkListAssociatedFiles.push({File:a})}),b.ice.loader.show=!1,i.selectedCheckListAssociatedFiles=[],angular.forEach(g.associatedFiles,function(a,b){i.selectedCheckListAssociatedFiles.push({File:a})}))})["catch"](function(c){a.setToast(c.message,"danger",{displayFor:"modal"}),b.ice.loader.show=!1,h.error(c.message)}),i.selectedTemplateUuid=g.selectedTemplateUuid,i.selectedTemplateName=g.selectedTemplateName}};j(),i.addFile=function(){var a=i.selectedCheckListAssociatedFiles.length+1;
-i.selectedCheckListAssociatedFiles.push({id:a})},i.removeFile=function(a){i.selectedCheckListAssociatedFiles.splice(a,1)},i.closeModal=function(){a.clearToast(),b.$emit("onChecklistUpdate"),c.close(i.checkListName),c.close()},i.submitForm=function(){i.isDisabled=!0;var j=[];switch(f){case"create":angular.forEach(i.selectedCheckListAssociatedFiles,function(a,b){j.push(a.File)});var k={checkListAssociatedFiles:j,checkListName:i.checkListName,checkListTemplateUuid:i.selectedTemplateUuid};d.createChecklist(e,k).then(function(a){200===a.status&&(c.close(a.data),b.ice.loader.show=!1,i.closeModal())})["catch"](function(c){a.setToast(c.message||"Error creating check list.","danger",{displayFor:"modal"}),b.ice.loader.show=!1,i.isDisabled=!1,h.error(c.message)});break;case"update":var l=[];angular.forEach(i.selectedCheckListAssociatedFiles,function(a,b){l.push(a.File)}),h.debug("update",l);var m={checklistUuid:i.checklistUuid,checkListAssociatedFiles:l,checkListName:i.checkListName,checkListTemplateUuid:i.selectedTemplateUuid};d.putDataForChecklist(i.checklistUuid,m).then(function(f){if(200===f.status){b.$broadcast("onUpdateEngagements",{select:{uuid:e,view_type:"checklist",sub_id:i.checklistUuid}}),b.ice.loader.show=!1;var j={};j.checklist_name=i.checkListName,j.associated_files=l;var k=i.checkListAssociatedFiles.sort(),m=l.sort(),n=k.length==m.length&&k.every(function(a,b){return a===m[b]});if(!n&&"pending"!=g.state){var o={};o.description="Rejected due to file list change",o.decline="True",d.setState(i.checklistUuid,o).then(function(c){return 200!==c.status?(a.setToast(c.error,"danger",{displayFor:"modal"}),b.ice.loader.show=!1,void(i.isDisabled=!1)):void b.$broadcast("onUpdateEngagements")})["catch"](function(b){h.error(b),a.setToast(b.status+": Error changing progress!","danger"),i.isDisabled=!1})}c.close(j),i.closeModal()}})["catch"](function(c){a.setToast(c.message,"danger",{displayFor:"modal"}),b.ice.loader.show=!1,h.error(c.message),i.isDisabled=!1});break;default:h.debug("no submit action found"),i.isDisabled=!1}}}angular.module("ice.modals").controller("ChecklistModalController",["toastService","$rootScope","$uibModalInstance","checklistService","engagementUuid","modal_type","wizardData","$log",a])}(),function(){"use strict";function a(a,b,c,d,e,f){var g=this,h=function(){var a=[],b=moment().tz(moment.tz.guess()).format("z"),c="";g.name=d.name,g.checklistAuditLogs=d.checklistAuditLogs,g.checklistAuditLogs.forEach(function(d){c=moment(d.create_time).local().format("YYYY-MM-DD hh:mm:ss A")+" "+b,a.push({name:d.creator.full_name,dt:c,desc:d.description})}),g.checklistAuditLogs=a};h(),g.submitForm=function(){var h={description:g.description};c.createAuditlogChecklist(d.uuid,h).then(function(c){200===c.status?(b.close(c.data),g.closeModal()):(e.setToast(c.error,"danger",{displayFor:"modal"}),a.ice.loader.show=!1)})["catch"](function(a){e.setToast(a.message,"danger",{displayFor:"modal"}),f.error(a.message)})},g.closeModal=function(){e.clearToast(),b.close()}}angular.module("ice.modals").controller("AuditLogModalController",["$rootScope","$uibModalInstance","checklistService","wizardData","toastService","$log",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g){var h=this,i=function(){h.me=f.getUserData(),j()};h.vfcs=[{name:"",external_ref_id:"",company:""}],h.companies=[],h.closeModal=function(){b.close()},h.addNewChoice=function(){var a=h.vfcs.length+1;h.vfcs.push({id:a})},h.removeChoice=function(a){h.vfcs.splice(a,1)},h.submitForm=function(){var a=[];angular.forEach(h.vfcs,function(b,c){h.item=[];var d=new Object;d.name=b.name,d.external_ref_id=b.external_ref_id,d.company=b.company,a.push(d)});var f={vfcs:a,vf_uuid:e,creator:h.me};c.add(f).then(function(a){200===a.status&&b.close(a.status)})["catch"](function(a){g.error(a),d.setToast(a.status+": Error changing progress!","danger")})};var j=function(){a.ice.loader.show=!0,c.getCompanies().then(function(b){a.ice.loader.show=!1,200===b.status&&(h.companies=b.data,0===h.companies.length&&console.warn("No vendors pulled, request was successfull"))})["catch"](function(b){a.ice.loader.show=!1,g.error(b)})};i()}angular.module("ice.modals").controller("detailedViewVFCModalController",["$rootScope","$uibModalInstance","vfcService","toastService","vf_uuid","usersService","$log",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g,h,i,j){function k(){d.getDeployTargets().then(function(b){a.ice.loader.show=!1,200===b.status&&(n.deployTargets=b.data,0===j.filter(n.deployTargets,{uuid:n.dtversion.uuid}).length&&(n.dtversion.disabled=!0,n.deployTargets.push(n.dtversion)))})["catch"](function(b){a.ice.loader.show=!1,i.error(b)})}function l(){d.getECOMPReleases().then(function(a){200===a.status&&(n.ECOMPReleases=a.data,0===j.filter(n.ECOMPReleases,{uuid:n.ecomp_release.uuid}).length&&(n.ecomp_release.disabled=!0,n.ECOMPReleases.push(n.ecomp_release)))})["catch"](function(b){a.ice.loader.show=!1,i.error(b)})}function m(){d.getVFVersion(g).then(function(b){a.ice.loader.show=!1,200===b.status&&(n.VFVersion=b.data)})["catch"](function(b){a.ice.loader.show=!1,i.debug(b)})}var n=this,o=function(){e.engagement&&(n.engagement=e.engagement),n.me=h.getUserData(),d.getSingleEngagement(n.me.uuid,n.engagement.uuid).then(function(b){if(a.ice.loader.show=!1,200===b.status&&b.data&&""!==b.data){var c=b.data;n.engagement_manual_id=c.engagement.engagement_manual_id,n.vf_name=c.name,n.vf_uuid=c.uuid,n.ecomp_release=c.ecomp_release,n.target_lab=new Date(c.target_lab_entry_date),n.dtversion=c.deployment_target,n.selected_dt_uuid=n.dtversion.uuid,n.selected_ecomp_uuid=n.ecomp_release.uuid,n.me=h.getUserData(),n.name=n.engagement.name,n.isEngagementEL=h.isEngagementEL(c.engagement.engagement_team),n.isAdmin=h.isAdmin(n.me),n.choices=[{TargetLab:"",TargetAic:""}],k(),l(),m()}})["catch"](function(b){a.ice.loader.show=!1,i.error(b)})};n.closeModal=function(){b.close()},n.addNewChoice=function(){var a=n.choices.length+1;n.choices.push({id:a})},n.removeChoice=function(a){n.choices.splice(a,1)},n.submitForm=function(){var a={vf_uuid:n.vf_uuid,version:n.VFVersion,target_aic_uuid:n.TargetAic,ecomp_release:n.ECOMPRelease};d.updateVfs(a,n.vf_uuid).then(function(a){200===a.status&&b.close(a.status)})["catch"](function(a){i.error(a),f.setToast(a.status+": Error changing progress!","danger")})},n.update_deployment_target=function(){n.dtversion.uuid!=n.selected_dt_uuid&&(angular.forEach(n.dt_AIC_versions,function(a,b){a.uuid===n.selected_dt_uuid&&(n.dtversion=a)}),d.updateDeployTargets(n.engagement.uuid,n.selected_dt_uuid).then(function(b){a.ice.loader.show=!1})["catch"](function(b){a.ice.loader.show=!1,i.error(b)}),n.set_edit_mode("aic"))},n.update_ECOMP_release=function(){n.ecomp_release.uuid!=n.selected_ecomp_uuid&&(j.each(n.ECOMPReleases,function(a,b){a.uuid===n.selected_ecomp_uuid&&(n.ecomp_release=a)}),d.updateECOMPReleases(n.engagement.uuid,n.selected_ecomp_uuid).then(function(b){a.ice.loader.show=!1})["catch"](function(b){a.ice.loader.show=!1,i.error(b)}),n.set_edit_mode("ecomp"))},o()}angular.module("ice.modals").controller("validationDetailsModalController",["$rootScope","$uibModalInstance","vfcService","vfService","$stateParams","toastService","vf_uuid","usersService","$log","_",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g){var h=this,i=function(){void 0!=c.engagement&&(h.vf=c.engagement.vf),j()};h.closeModal=function(){b.close()},h.json="",h.submitForm=function(){var a={name:h.json,vf_uuid:f};d.add(a).then(function(a){b.close(a.status)})["catch"](function(a){g.error(a),e.setToast(a.status+": Error changing progress!","danger")})};var j=function(){a.ice.loader.show=!0,d.get().then(function(b){a.ice.loader.show=!1,200===b.status&&(h.dtsites=b.data)})["catch"](function(b){a.ice.loader.show=!1,g.error(b)})};i()}angular.module("ice.modals").controller("detailedViewDtsitesModalController",["$rootScope","$uibModalInstance","$stateParams","dtsiteService","toastService","vf_uuid","$log",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g){var h=this,i=function(){h.description=null,h.checklist_name=f.name,h.state=f.state,h.action=e,h.modalText="pending"==h.state?"Are you sure you want to move the checklist state to Automation?":"Please use the button below to either approve or reject the checklist.<br>You can also add a log entry comment."};h.submitForm=function(e){var i={};null!=h.description?i.description=h.description:i.description="",e===!0?i.decline="False":i.decline="True",c.setState(f.uuid,i).then(function(c){200===c.status?(b.close(c.data),h.closeModal()):(d.setToast(c.error,"danger"),a.ice.loader.show=!1)})["catch"](function(a){g.error(a),d.setToast(a.status+": Error changing progress!","danger")})},h.closeModal=function(){b.close()},i()}angular.module("ice.modals").controller("stateDecisionModalController",["$rootScope","$uibModalInstance","checklistService","toastService","action","checklist","$log",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g){var h=this,i=function(){h.engagement_uuid=d,h.action=e,"edit"==e?c.get(d).then(function(a){200===a.status?(h.status=a.data,h.status_modal_description=h.status.description,h.eng_status_uuid=h.status.uuid):g.error(a)})["catch"](function(a){h.status=!1,g.error(a.message)}):h.status_modal_description=""};i(),h.submitForm=function(){var d={description:h.status_modal_description};"edit"==e?(d.eng_status_uuid=h.eng_status_uuid,c.update(h.engagement_uuid,d).then(function(c){200===c.status?(b.close(c.data),h.closeModal()):(f.setToast(c.error,"danger"),a.ice.loader.show=!1)})["catch"](function(a){f.setToast(a.message,"danger"),g.error(a.message)})):c.add(h.engagement_uuid,d).then(function(c){200===c.status?(b.close(c.data),h.closeModal()):(f.setToast(c.error,"danger"),a.ice.loader.show=!1)})["catch"](function(a){f.setToast(a.message,"danger"),g.error(a.message)})},h.closeModal=function(){b.close()}}angular.module("ice.modals").controller("StatusModalController",["$rootScope","$uibModalInstance","statusService","engagement_uuid","action","toastService","$log",a])}(),function(){"use strict";function a(a,b,c,d,e,f){var g=this,h=function(){g.action=d,g.feedback_modal_description=""};h(),g.submitForm=function(){var h={description:g.feedback_modal_description};"add"==d&&c.add(h).then(function(c){200===c.status?(b.close(c.data),e.setToast("Feedback was sent successfully.","success")):(e.setToast(c.error,"danger"),a.ice.loader.show=!1)})["catch"](function(a){e.setToast(a.message,"danger"),f.error(a.message)})},g.closeModal=function(){b.close()}}angular.module("ice.modals").controller("FeedbackModalController",["$rootScope","$uibModalInstance","feedbackService","action","toastService","$log",a])}(),function(){"use strict";function a(a,b){var c=this,d=function(){b&&(c.upper_headline=b.upper_headline,c.upper_headline_value=b.upper_headline_value,c.headline=b.headline||"sp",c.message=b.message||"Are you sure?",c.closeCallback=b.closeCallback,c.approveText=b.approve||"Approve",c.cancelText=b.cancel||"Cancel",c.is_close_modal_button=b.is_close_modal_button,c.is_message=b.is_message)};c.closeModal=function(b){c.closeCallback&&c.closeCallback(b),a.close(b)},d()}angular.module("ice.modals").controller("generalPromptModalController",["$uibModalInstance","modalDetails",a])}(),function(){"use strict";function a(a,b){var c=this,d=function(){b&&(c.headline=b.headline||"General log modal",c.body=b.body||"There is no body")};d(),c.closeModal=function(){a.close()}}angular.module("ice.modals").controller("GeneralLogModalController",["$uibModalInstance","modalDetails",a])}(),function(){"use strict";function a(a,b,c,d){function e(){var a=5,c="";b.getPosts(a,c,["Announcement","News"]).then(function(a){f.recentPosts=a.data})["catch"](function(a){d.error(a)})}var f=this,g=function(){c?f.post=c:b.getLastAnnouncementPost().then(function(a){a&&a.data&&1===a.data.length&&(f.post=a.data[0])})["catch"](function(a){d.error(a)}),e()};f.closeModal=function(b){a.close(b)},f.loadSelectedPostData=function(a){a&&(f.post=a)},g()}angular.module("ice.modals").controller("cmsPostModalController",["$uibModalInstance","cmsService","post","$log",a])}(),function(){"use strict";function a(a,b){var c=this,d=function(){b&&(c.engagement=b)};c.closeModal=function(){a.dismiss()},c.archiveEngagement=function(){a.close(c.reason)},d()}angular.module("ice.modals").controller("archiveEngagementModalController",["$uibModalInstance","engagementDetails",a])}(),function(){"use strict";function a(a,b,c,d,e,f){var g=this;g.show_warning=!1;var h=function(){d.getEngagementLeads().then(function(a){g.engagementLeads=e.filter(a.data,function(a){return a.uuid}),g.selectedUserUuid=e.find(g.engagementLeads,["uuid",c])})["catch"](function(a){f.error(a),g.closeModal()})};g.closeModal=function(){a.dismiss()},g.onUserSelect=function(){g.selectedUserUuid&&a.close(g.selectedUserUuid)},h()}angular.module("ice.modals").controller("selectELModalController",["$uibModalInstance","excludeUuids","selectedOption","usersService","_","$log",a])}(),function(){"use strict";function a(a,b){var c=this,d=function(){c.engagement=b,e()};c.closeModal=function(){a.dismiss()},c.updateEngagement=function(){e(),a.close({engagement:c.engagement,status:c.status})};var e=function(){c.engagement.target_completion_date&&(c.engagement.target_completion_date=new Date(c.engagement.target_completion_date)),c.engagement.heat_validated_time&&(c.engagement.heat_validated_time=new Date(c.engagement.heat_validated_time)),c.engagement.image_scan_time&&(c.engagement.image_scan_time=new Date(c.engagement.image_scan_time)),c.engagement.aic_instantiation_time&&(c.engagement.aic_instantiation_time=new Date(c.engagement.aic_instantiation_time)),c.engagement.asdc_onboarding_time&&(c.engagement.asdc_onboarding_time=new Date(c.engagement.asdc_onboarding_time))};d()}angular.module("ice.modals").controller("updateEngagementStatusModalController",["$uibModalInstance","engagement",a])}(),function(){"use strict";function a(a,b){}angular.module("ice.main",[]).controller("MainController",a).config(["$mdDateLocaleProvider",function(a){a.formatDate=function(a){return a?moment(a).format("MMMM Do YYYY"):""},a.parseDate=function(a){var b=moment(a,"YYYY-MM-DD",!0);return b.isValid()?b.toDate():new Date(NaN)}}]),a.$inject=["$scope","$rootScope"]}(),function(){"use strict";function a(a){a.state("app.dashboard",{"abstract":!0,views:{"navigation@app":{templateUrl:"core/navigation/layouts/horizontal-navigation/navigation.html",controller:"NavigationController as vm"}},bodyClass:"dashboard"}).state("app.dashboard.dashboard",{url:"/dashboard/dashboard",views:{"content@app":{templateUrl:"main/dashboard/dashboard/dashboard.html",controller:"DashboardMainController as vm"}},params:{engagement_uuid:null,engagement:null,messagePass:null},bodyClass:"dashboard"}).state("app.dashboard.overview",{url:"/dashboard/overview",views:{"content@app":{templateUrl:"main/dashboard/overview/overview.html",controller:"OverviewMainController as vm"}},params:{engagement_uuid:null,engagement:null,messagePass:null},bodyClass:"dashboard"}).state("app.dashboard.detailedview",{url:"/dashboard/detailedview",views:{"content@app":{templateUrl:"main/dashboard/detailed-view/detailed-view.html",controller:"detailedViewController as vm"}},params:{engagement_uuid:null,engagement:null},bodyClass:"dashboard"}).state("app.dashboard.checklist",{url:"/dashboard/checklist",views:{"content@app":{templateUrl:"main/dashboard/checklist/checklist.html",controller:"DashboardChecklistController as vm"}},params:{engagement_uuid:null,sub_id:null,engagement:null},bodyClass:"dashboard"})}angular.module("ice.dashboard.main",["ice.dashboard.get-started-modal"]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c,d,e,f,g,h,i,j,k,l,m,n){var o=this;o.sortableOptions={handle:" .order-nextstep",axis:"y",update:function(a,b){f.order_next_steps(o.engagement.uuid,o.steps).then(function(a){200===a.status&&n.debug("updated")})["catch"](function(a){n.error(a)})}};var p=function(){k.setAnnouncementToast(),b.timeGapLocal=moment().format("z"),b.ampm=moment().format("A"),b.mom=moment().tz(moment.tz.guess()).format("z"),o.engagement=d.engagement,void 0!=o.engagement&&(o.me=h.getUserData(),g.getSingleEngagement(o.me.uuid,o.engagement.uuid).then(function(a){b.ice.loader.show=!1,200===a.status&&a.data&&""!==a.data&&(o.vf=a.data,o.is_service_provider_internal=o.vf.is_service_provider_internal,o.name=o.vf.name,o.manual_id=o.vf.engagement.engagement_manual_id,o.vf.git_repo_url&&-1!=o.vf.git_repo_url?o.git_repo_url=o.vf.git_repo_url:o.git_repo_url=!1,o.storage_bucket_url=o.manual_id+"_"+o.name.toLowerCase(),o.team=o.vf.engagement.engagement_team,o.me=h.getUserData(),o.stages=i.stages,o.stage=o.vf.engagement.engagement_stage,o.stage_num=0,o.set_stage_num(o.stage),o.in_overview_page=!0,o.uuid=o.engagement.uuid,o.progress=o.vf.engagement.progress,o.completion_date=o.vf.engagement.target_completion_date,o.starred=!1,o.isEngagmentLead=h.isUserInRole("el"),o.isEngagementEL=h.isEngagementEL(o.team),o.isAdmin=h.isAdmin(o.me),o.does_user_role_allow_action_array=[o.isAdmin,o.isEngagementEL],o.unremoveable_users_from_eng_team_array=[o.vf.engagement.reviewer.uuid,o.vf.engagement.peer_reviewer.uuid,o.vf.engagement.creator.uuid],null!=o.vf.engagement.contact_user&&o.unremoveable_users_from_eng_team_array.push(o.vf.engagement.contact_user.uuid),o.states=i.states,o.states_select=s(i.states),o.selected_state_filter=t(),o.steps=[],o.vf_name=o.vf.name,o.vf.engagement.starred_engagement.forEach(function(a){o.me.uuid==a.uuid&&(o.starred=!0)}),o.all_states=!1,o.all_files=!0,q(),o.initActivityLogs(),o.files=o.vf.files,o.files_filter_options=[],o.files_filter_options=o.files_filter_options.concat(o.files),o.files_filter_options.push("Any file"),o.chosen_files_filter=["Any file"],o.show_step=!0,o.status=!1,e.get(o.uuid).then(function(a){200===a.status?o.status=a.data:n.error(a)})["catch"](function(a){o.status=!1,n.error(a.message)}),o.progress_needed_data=u())})["catch"](function(a){b.ice.loader.show=!1,n.error(a)}))};o.set_stage_num=function(a){switch(a){case"Intake":o.stage_num=1;break;case"Active":o.stage_num=2;break;case"Validated":o.stage_num=3;break;case"Completed":o.stage_num=4}},o.checkIfAdmin=function(a){return h.isAdmin(a)},o.is_user_allowed=function(){return 1==c.includes(o.does_user_role_allow_action_array,!0)?!0:!1},o.is_able_to_delete=function(a){return!o.is_user_allowed()||c.includes(o.unremoveable_users_from_eng_team_array,a.uuid)||o.checkIfAdmin(a)?!1:!0},o.remove_user_from_eng=function(a){if(!o.is_able_to_delete(a))return l.setToast("Action is not allowed.","danger"),void(b.ice.loader.show=!1);var c=j.open({templateUrl:"main/modals/general-prompt-modal/general-prompt-modal.html",controller:"generalPromptModalController",controllerAs:"vm",resolve:{modalDetails:function(){return{upper_headline:"Remove user from engagement team: ",upper_headline_value:a.full_name,headline:"Are you sure you would like to remove the user out of the team members?",is_message:!1,message:"",approve:"Yes",cancelText:"No",is_close_modal_button:!0}}}});angular.element("body").click(),c.result.then(function(c){if(c){var d={eng_uuid:o.vf.engagement.uuid,user_uuid:a.uuid};g.remove_user_from_eng(d).then(function(a){b.ice.loader.show=!1,204===a.status&&b.$broadcast("onUpdateEngagements",{select:{uuid:o.engagement.uuid,page_type:"overview",sub_id:void 0}})})["catch"](function(a){b.ice.loader.show=!1,n.error(a)})}})},a.is_match_both_filters=function(){return function(a){var b=!1;return o.all_files&&o.all_states?b=!0:o.all_states&&o.is_contain_files(a)?b=!0:o.all_files&&o.is_same_state(a.state)?b=!0:o.is_contain_files(a)&&o.is_same_state(a.state)&&(b=!0),b?a:!1}},o.is_all_files=function(){o.all_files=-1!==o.chosen_files_filter.indexOf("Any file")},o.is_contain_files=function(a){if(a.files)for(var b=0;b<a.files.length;b++)if(-1!==o.chosen_files_filter.indexOf(a.files[b]))return!0;return!1},o.is_same_state=function(a){return-1!==o.selected_state_filter.indexOf(a)},o.update_next_steps_choice=function(){-1!==o.selected_state_filter.indexOf("All")?o.all_states=!0:o.all_states=!1},o.editStatus=function(){var a=j.open({templateUrl:"main/modals/status/status.html",controller:"StatusModalController",controllerAs:"vm",size:"lg",resolve:{engagement_uuid:function(){return o.engagement.uuid},action:function(){return"edit"}}});a.result.then(function(a){a&&(o.status=a)},function(){n.debug("Modal dismissed at: "+new Date)})},o.addStatus=function(){var a=j.open({templateUrl:"main/modals/status/status.html",controller:"StatusModalController",controllerAs:"vm",size:"lg",resolve:{engagement_uuid:function(){return o.engagement.uuid},action:function(){return"add"}}});a.result.then(function(a){a&&(o.status=a)},function(){n.debug("Modal dismissed at: "+new Date)})},o.deleteStep=function(a){var b=j.open({templateUrl:"main/modals/general-prompt-modal/general-prompt-modal.html",controller:"generalPromptModalController",controllerAs:"vm",resolve:{modalDetails:function(){return{headline:"Delete Step",is_message:!0,message:"Are you sure you want to delete this step?",approve:"Delete Step",is_close_modal_button:!0}}}});b.result.then(function(b){b&&f["delete"](a).then(function(a){204===a.status&&(q(),initActivityLogs())})["catch"](function(a){n.error(a)})})},o.editStep=function(a){var b=j.open({templateUrl:"main/modals/next-steps/next-steps.html",controller:"NextStepsModalController",controllerAs:"vm",size:"lg",resolve:{engagement_team:function(){return o.team},title:function(){return o.engagement.name},associated_files:function(){return o.files},engagement_uuid:function(){return o.engagement.uuid},checklist:function(){return void 0},nextstep:function(){return a}}});b.result.then(function(a){a&&q()},function(){n.debug("Modal dismissed at: "+new Date)})},o.addStep=function(){var a=j.open({templateUrl:"main/modals/next-steps/next-steps.html",controller:"NextStepsModalController",controllerAs:"vm",size:"lg",resolve:{engagement_team:function(){return o.team},title:function(){return o.engagement.name},associated_files:function(){return o.files},engagement_uuid:function(){return o.engagement.uuid},checklist:function(){return void 0},nextstep:function(){return void 0}}});a.result.then(function(a){a&&(a.forEach(function(a){a.creator=o.me,o.steps.push(a)}),q())},function(){n.debug("Modal dismissed at: "+new Date)})},b.$on("onUpdateNextSteps",function(a,b){return b.eng_uuid&&b.stage?(o.uuid=b.eng_uuid,o.stage=b.stage,void q()):void n.error("onUpdateNextStep expecting args")}),o.starEngagement=function(){g.putStarredEngagements(o.engagement.uuid).then(function(a){b.ice.loader.show=!1,200===a.status&&a.data&&""!==a.data&&(1==o.starred?o.starred=!1:o.starred=!0,b.$broadcast("onUpdateEngagements",{select:{uuid:o.engagement.uuid,page_type:"overview",sub_id:void 0}}))})["catch"](function(a){b.ice.loader.show=!1,n.error(a)})},o.updateStep=function(a,b){var c={state:b};f.update(a,c).then(function(b){if(200===b.status){var c=r(a);c&&(q(),o.initActivityLogs())}})["catch"](function(a){n.error(a)})},o.toggleCompleted=function(a){var b=r(a);b&&(b.state==o.states.incomplete?o.updateStep(a,i.states.completed):b.state==o.states.completed&&o.updateStep(a,i.states.incomplete))},o.updateProgress=function(a){a&&a.progress?o.progress=a.progress:a&&a.target_date&&(o.completion_date=a.target_date,o.target_completion_date=a.target_date)},o.addPeople=function(){var a={user:o.me,eng_uuid:o.engagement.uuid,is_service_provider_internal:o.is_service_provider_internal,requiredStep:"inviteMembers"};b.$broadcast("openGettingStartedWizard",a)};var q=function(){b.ice.loader.show=!0,f.get(o.uuid,o.stage).then(function(a){b.ice.loader.show=!1,200===a.status&&(o.steps=[],a.data.forEach(function(a){o.steps.push(a)}))})["catch"](function(a){b.ice.loader.show=!1,n.error(a)})};o.initActivityLogs=function(){b.ice.loader.show=!0,g.getActivities(o.uuid).then(function(a){b.ice.loader.show=!1,200===a.status&&(o.activities=a.data)})["catch"](function(a){b.ice.loader.show=!1,n.error(a)})};var r=function(a){var b;return o.steps&&o.steps.forEach(function(c){c.uuid===a&&(b=c)}),b},s=function(a){var b=[];for(var c in a)b.push(a[c]);return b},t=function(){var a=[];return a.push("Incomplete"),a},u=function(){var a={enable_edit:(o.isEngagementEL||o.isAdmin)&&o.in_overview_page,completion_date:o.vf.engagement.target_completion_date,ecomp_release:o.vf.ecomp_release.name,vnf_version:o.vf.version,aic_version:o.vf.deployment_target.version,aic_instantiation_time:o.vf.engagement.aic_instantiation_time,asdc_onboarding_time:o.vf.engagement.asdc_onboarding_time,heat_validated_time:o.vf.engagement.heat_validated_time,image_scan_time:o.vf.engagement.image_scan_time,engagement_uuid:o.uuid,manual_id:o.manual_id};return a};o.archiveEngagement=function(){var a=j.open({templateUrl:"main/modals/archive-engagement-modal/archive-engagement-modal.html",controller:"archiveEngagementModalController",controllerAs:"vm",resolve:{engagementDetails:function(){return{manual_id:o.manual_id,name:o.name,engagement:o.engagement}}}});a.result.then(function(a){a&&o.engagement&&o.engagement.uuid?g.archiveEngagement(o.engagement.uuid,a).then(function(){m.go("app.dashboard.dashboard"),l.setToast("Engagement '"+o.engagement.name+"' archived successfully.","success")})["catch"](function(a){l.setToast("Server failed archiving engagement.","danger"),b.ice.loader.show=!1,n.error(a)}):l.setToast("No reason was supplied, therefor engagement cannot be archived.","danger")})},o.changeReviewer=function(){var a=j.open({templateUrl:"main/modals/select-el-modal/select-el-modal.html",controller:"selectELModalController",controllerAs:"vm",resolve:{excludeUuids:function(){return[o.engagement.peer_reviewer_uuid]},selectedOption:function(){return o.engagement.reviewer_uuid}}});a.result.then(function(a){o.engagement&&o.engagement.uuid?a==o.engagement.peer_reviewer_uuid?g.switchEngagementReviewers(o.engagement.uuid,a,o.engagement.reviewer_uuid).then(function(a){o.engagement.reviewer_uuid=a.data.reviewer,o.engagement.peer_reviewer_uuid=a.data.peerreviewer,l.setToast("Reviewer and peer reviewer updated successfully.","success")})["catch"](function(a){l.setToast("Server failed to update engagement reviewers.","danger"),b.ice.loader.show=!1,n.error(a)}):g.updateEngagementReviewer(o.engagement.uuid,a).then(function(a){c.remove(o.team,function(a){return a.uuid===o.engagement.reviewer_uuid}),o.team.push(a.data),o.engagement.reviewer_uuid=a.data.uuid,l.setToast("Reviewer updated successfully.","success")})["catch"](function(a){l.setToast("Server failed to update engagement reviewer.","danger"),b.ice.loader.show=!1,n.error(a)}):l.setToast("Problem occurred while updating reviewer - missing engagement uuid.","danger")})},o.changePeerReviewer=function(){var a=j.open({templateUrl:"main/modals/select-el-modal/select-el-modal.html",controller:"selectELModalController",controllerAs:"vm",resolve:{excludeUuids:function(){return[o.engagement.reviewer_uuid]},selectedOption:function(){return o.engagement.peer_reviewer_uuid}}});a.result.then(function(a){o.engagement&&o.engagement.uuid?a==o.engagement.reviewer_uuid?g.switchEngagementReviewers(o.engagement.uuid,o.engagement.peer_reviewer_uuid,a).then(function(a){o.engagement.reviewer_uuid=a.data.reviewer,o.engagement.peer_reviewer_uuid=a.data.peerreviewer,l.setToast("Peer reviewer and reviewer updated successfully.","success")})["catch"](function(a){l.setToast("Server failed to update engagement reviewers.","danger"),b.ice.loader.show=!1,n.error(a)}):g.updateEngagementPeerReviewer(o.engagement.uuid,a).then(function(a){n.debug("vm.team",o.team),c.remove(o.team,function(a){return a.uuid===o.engagement.peer_reviewer_uuid}),o.team.push(a.data),o.engagement.peer_reviewer_uuid=a.data.uuid,l.setToast("Peer reviewer updated successfully.","success")})["catch"](function(a){l.setToast("Server failed to update engagement peer reviewer.","danger"),b.ice.loader.show=!1,n.error(a)}):l.setToast("Problem occurred while updating peer reviewer - missing engagement uuid.","danger")})},o.updateEngagementStatus=function(){o.vf.engagement.progress=parseInt(o.progress);var a=j.open({templateUrl:"main/modals/update-engagement-status-modal/update-engagement-status-modal.html",controller:"updateEngagementStatusModalController",controllerAs:"vm",resolve:{engagement:function(){return angular.copy(o.vf.engagement)}}});a.result.then(function(a){g.updateEngagement(a.engagement,a.status).then(function(b){o.vf.engagement=a.engagement,o.progress=o.vf.engagement.progress,o.progress_needed_data=u(),o.status=b.data,l.setToast("Engagement status updated successfully.","success")})["catch"](function(a){l.setToast("Server failed to update engagement status.","danger"),b.ice.loader.show=!1,n.error(a)})})},o.changeTargetCompletion=function(){var a=j.open({templateUrl:"main/modals/change-date/change-date.html",controller:"ChangeDateModalController",controllerAs:"vm",resolve:{completionDate:function(){return o.vf.engagement.target_completion_date},engagementUuid:function(){return o.engagement.uuid}}});a.result.then(function(a){a&&(o.completion_date=a.target_date||o.vf.engagement.target_completion_date,o.vf.engagement.target_completion_date=o.completion_date)},function(){n.debug("Modal dismissed at: "+new Date)})},p()}angular.module("ice.dashboard.overview",[]).controller("OverviewMainController",["$scope","$rootScope","_","$stateParams","statusService","stepsService","vfService","usersService","iceConstants","$uibModal","cmsService","toastService","$state","$log",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g,h,i,j,k,l){function m(){o.userNextSteps=[],c.getByUser().then(function(a){o.userNextSteps=a.data.data,o.userNextStepsCount=a.data.count})["catch"](function(a){l.error(a)})}function n(){angular.element(document).ready(function(){var a=angular.element(document.querySelector("#dashboard-title"));a&&1===a.length&&a.attr("list-loaded","true")})}var o=this,p=function(){b.setPage("dashboard"),j.setAnnouncementToast(),g.setJson("ice.settings.eng_uuid",void 0),o.stages=f.stages,o.stages.all="All",o.search_keyword="",o.search_stage="All",o.statistic_stage_filter="All",o.current_starting_offset="0",o.num_of_returned_items=0,o.pagination_num_of_objects=8,o.me=o.user=e.getUserData(),o.isAdminRo=e.isUserInRole(f.roles.admin_ro),o.isEngagmentEL=e.isUserInRole(f.roles.el),o.isEngagmentLead=e.isEngagementEL(o.team),o.isAdmin=e.isAdmin(o.me),o.page_num=1,o.searchEngagements(1),o.request_statistics_data(),m()};o.request_statistics_data=function(){d.getEngagements(o.me.uuid).then(function(a){if(200===a.status&&a.data&&""!==a.data){o.enagements_search_list=a.data;var b=void 0,c=0,d=0;o.enagements_search_list.forEach(function(a){"All"==o.statistic_stage_filter?(d++,("Validated"==a.engagement_stage||"Completed"==a.engagement_stage)&&a.vfc.length>1&&(b=a.vfc.split(", ").length,c+=b)):a.engagement_stage==o.statistic_stage_filter&&(d++,a.vfc.length>1&&("Validated"==a.engagement_stage||"Completed"==a.engagement_stage)&&(b=a.vfc.split(", ").length,c+=b))}),o.vfc_num=c,o.eng_num=d}})["catch"](function(b){a.ice.loader.show=!1,l.error(b)})},o.onStageChange=function(){o.page_num=1,o.searchEngagements()},o.onKeywordChange=function(){o.page_num=1,o.searchEngagements()},o.searchEngagements=function(){o.current_starting_offset=(o.page_num-1)*o.pagination_num_of_objects,o.postData={stage:o.search_stage,keyword:o.search_keyword,offset:o.current_starting_offset,limit:o.pagination_num_of_objects},d.getExpandedEngagements(o.postData).then(function(a){200===a.status&&a.data&&""!==a.data&&(o.vf_search_list=a.data.array,o.num_of_returned_items=a.data.num_of_objects,o.vf_search_list.forEach(function(a){var b={enable_edit:!1,completion_date:a.engagement__target_completion_date,ecomp_release:a.ecomp_release__name,vnf_version:a.version,aic_version:a.deployment_target__version,aic_instantiation_time:a.engagement__aic_instantiation_time,asdc_onboarding_time:a.engagement__asdc_onboarding_time,heat_validated_time:a.engagement__heat_validated_time,
-image_scan_time:a.engagement__image_scan_time,engagement_uuid:a.engagement__uuid,manual_id:a.engagement__engagement_manual_id,name:a.vf__name,starred:!1};a.progress_needed_data=b,a.starred_users.forEach(function(b){o.me.uuid==b&&(a.progress_needed_data.starred=!0)})}),o.vf_display_list=o.vf_search_list,n())})["catch"](function(b){a.ice.loader.show=!1,l.error(b)})},o.goToEngagement=function(b){a.$broadcast("searchSelectEngagement",b)},o.exportEngagementCSV=function(){var b=o.search_stage||"",c=o.search_keyword||"";a.ice.loader.show=!0,d.exportEngagementsCSV(b,c).then(function(b){if(b&&b.data){var c=new i([b.data],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"});h.saveAs(c,"sp.xlsx"),a.ice.loader.show=!1}})["catch"](function(b){a.ice.loader.show=!1,l.error(b)})},o.openCMSReadMoreModal=function(a){a?k.open({templateUrl:"main/modals/cms-post-modal/cms-post-modal.html",controller:"cmsPostModalController",controllerAs:"vm",size:"cms-post-read-more",resolve:{post:function(){return a}}}):l.warn("Cannot open cms post.")},p()}angular.module("ice.dashboard.dashboard",["angularUtils.directives.dirPagination","ngFileSaver"]).controller("DashboardMainController",["$rootScope","pageService","stepsService","vfService","usersService","iceConstants","localStorageService","FileSaver","Blob","cmsService","$uibModal","$log",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g,h,i){var j=this;j.data={};var k=b.engagement_uuid;j.checklistUuid=b.sub_id,j.selected_decision=!1;var l=function(){null!=j.checklistUuid&&d.getChecklist(j.checklistUuid).then(function(a){200===a.status&&(j.data=a.data,j.data.states=e.checklist_states,j.me=f.getUserData(),j.is_peer_reviewer=f.isPeerReviewer(j.me,a.data.checklist.engagement.peer_reviewer.uuid),j.data.checklist.associated_files?j.has_files=!0:j.has_files=!1,j.formatDecisions())})["catch"](function(a){return 410!==a.status?(i.error(a.message),!1):void c.$broadcast("onUpdateEngagements",{select:{uuid:b.engagement_uuid,view_type:"overview",sub_id:void 0}})})};j.formatDecisions=function(){var a=0;j.data.checklistDecisions=_.orderBy(j.data.checklistDecisions,"weight"),angular.forEach(j.data.checklistDecisions,function(b,c){a++,b.counter=a;var d=0;b.decisions=_.orderBy(b.decisions,"weight"),angular.forEach(b.decisions,function(b,e){d++,b.counter=a+"."+d,0==j.selected_decision&&(j.selected_decision=b,j.selectDecision(b));var f;switch(j.data.checklist.state){case"peer_review":f=b.peer_review_value;break;case"review":case"approval":case"handoff":case"closed":f=b.review_value}var g;switch(f){case"approved":g="sprite approved-cl";break;case"denied":g="sprite denied-cl";break;case"not_relevant":g="sprite not-relevant-cl"}var h;switch(b.lineitem.line_type){case"auto":h="sprite automation-state"}j.data.checklistDecisions[c].decisions[e]["selected-value"]=f,j.data.checklistDecisions[c].decisions[e].view_value=f,j.data.checklistDecisions[c].decisions[e].view_value_css=g,j.data.checklistDecisions[c].decisions[e].auto_icon_css=h})}),j.refreshStateOptions()},j.setDecision=function(a,b){d.putChecklistDecision(a.uuid,{value:b}).then(function(c){if(200===c.status){switch(j.data.checklist.state){case"peer_review":a.peer_review_value=b;break;case"review":a.review_value=b}j.formatDecisions()}})},j.refreshStateOptions=function(){var a=!1;j.is_able_to_approve=!0,angular.forEach(j.data.checklistDecisions,function(b,c){a||angular.forEach(b.decisions,function(b,c){a||"approved"!=b.view_value&&"not_relevant"!=b.view_value&&(j.is_able_to_approve=!1,a=!0)})})},j.stateAction=function(a){switch(a){case"approve":var b={};b.description="",b.decline="False",d.setState(j.data.checklist.uuid,b).then(function(a){200===a.status?c.$broadcast("onUpdateEngagements",{select:{uuid:k,page_type:"overview",sub_id:j.data.checklist.uuid}}):(h.setToast(a.error,"danger"),c.ice.loader.show=!1)})["catch"](function(a){i.error(a),h.setToast(a.status+": Error changing progress!","danger")});break;case"reject":j.openSetState(a,j.data.checklist);break;case"next_step":j.openNextSteps(j.data.checklist)}},j.formatDate=function(a){var b=moment().tz(moment.tz.guess()).format("z"),c="";return c=moment(a).local().format("YYYY-MM-DD hh:mm:ss A")+" "+b},j.submitDecisionAuditLog=function(){var a={description:j.selected_decision.new_audit_log_description};d.createAuditlogDecisionChecklist(j.selected_decision.uuid,a).then(function(a){200===a.status?(void 0==j.data.decisionAuditLogs[j.selected_decision.uuid]&&(j.data.decisionAuditLogs[j.selected_decision.uuid]=[]),j.data.decisionAuditLogs[j.selected_decision.uuid].push(a.data),j.selected_decision.new_audit_log_description=""):(h.setToast(a.error,"danger"),c.ice.loader.show=!1)})["catch"](function(a){h.setToast(a.message,"danger"),i.error(a.message)})},j.selectDecision=function(b,c){(j.selected_decision!=b||void 0===j.selected_decision.selected)&&(j.selected_decision.selected=!1,j.selected_decision=b,j.selected_decision.selected=!0,a.$$postDigest(function(){if(void 0!=c){var a=angular.element(c.target).prop("offsetHeight")+angular.element(c.target).prop("offsetTop"),b=angular.element("#line-item-extended").prop("offsetHeight"),d=a-b;d>0?angular.element("#line-item-extended").css("margin-top",20+d+"px"):angular.element("#line-item-extended").css("margin-top","")}}))},j.openNextSteps=function(a){var b=g.open({templateUrl:"main/modals/next-steps/next-steps.html",controller:"NextStepsModalController",controllerAs:"vm",size:"lg",resolve:{engagement_team:function(){return a.engagement.engagement_team},title:function(){return a.name},associated_files:function(){return a.repo_associated_files},engagement_uuid:function(){return a.engagement.uuid},checklist:function(){return a},nextstep:function(){return void 0}}});b.result.then(function(b){200===b&&c.$broadcast("onUpdateEngagements",{select:{uuid:k,page_type:"overview",sub_id:a.uuid}})},function(){})},j.openSetState=function(a,b){var d=g.open({templateUrl:"main/modals/checklist/state-approve-or-reject/state-approve-or-reject.html",controller:"stateDecisionModalController",controllerAs:"vm",resolve:{checklist:function(){return b},action:function(){return a}}});d.result.then(function(a){a&&c.$broadcast("onUpdateEngagements",{select:{uuid:k,page_type:"overview",sub_id:b.uuid}})},function(){})},j.openJenkinsLogModal=function(){g.open({templateUrl:"main/modals/general-log-modal/general-log-modal.html",controller:"GeneralLogModalController",controllerAs:"vm",size:"general-log-modal",resolve:{modalDetails:function(){return{headline:"Jenkins log",body:j.data.checklist.jenkins_log}}}})},j.auditLog=function(){var a={name:j.data.checklist.name,uuid:j.data.checklist.uuid,checklistAuditLogs:j.data.checklistAuditLogs},b=g.open({templateUrl:"main/modals/audit-log/audit-log.html",controller:"AuditLogModalController",controllerAs:"vm",size:"lg",resolve:{wizardData:function(){return a}}});b.result.then(function(a){a&&j.data.checklistAuditLogs.push(a)},function(){i.debug("Modal dismissed at: "+new Date)})},j.editChecklist=function(){var a={uuid:j.data.checklist.uuid,name:j.data.checklist.name,templates:j.data.checklist.templates,selectedTemplateUuid:j.data.checklist.template.uuid,selectedTemplateName:j.data.checklist.template.name,associatedFiles:j.data.checklist.associated_files,state:j.data.checklist.state},b=g.open({templateUrl:"main/modals/checklist/checklist.html",controller:"ChecklistModalController",controllerAs:"vm",size:"lg",resolve:{wizardData:function(){return a},engagementUuid:function(){return k},modal_type:function(){return"update"}}});b.result.then(function(a){a&&(j.data.checklist.name=a.checklist_name,j.data.checklist.associated_files=a.associated_files)})},l()}angular.module("ice.dashboard.checklist",[]).controller("DashboardChecklistController",["$scope","$stateParams","$rootScope","checklistService","iceConstants","usersService","$uibModal","toastService","$log",a])}(),function(){"use strict";angular.module("ice.dashboard.get-started-modal",["ngAnimate","ui.bootstrap","ice.activation.addVf"])}(),function(){"use strict";angular.module("ice.dashboard.get-started-modal").directive("getStartedModal",function(){return{restrict:"AEC",scope:{},link:function(a,b,c){a.$emit("openGettingStartedWizardLoaded")},controller:["$rootScope","$scope","$uibModal","toastService","$log",function(a,b,c,d,e){var f=this;f.data={},f.openModal=function(){d.clearToast();c.open({templateUrl:"main/dashboard/get-started-modal/wizard/wizard-container.html",controller:"ModalCtrl",controllerAs:"wizard",resolve:{wizardData:function(){return f.wizardData}},backdrop:"static"})},b.$on("openGettingStartedWizard",function(a,b){f.wizardData=b,f.openModal()})}],controllerAs:"gm"}}).controller("ModalCtrl",["$rootScope","$scope","$uibModalInstance","vfService","usersService","localStorageService","wizardData","toastService","$log","$i18next",function(a,b,c,d,e,f,g,h,i,j){function k(){if(a.ice.loader.show=!0,g.showActivationMessage&&h.setToast("You have successfully activated your account!","success",{displayFor:"modal"}),m.stepIndex=0,m.requiredStep)return m.steps.push(o[m.requiredStep]),m.setStep(m.steps[m.stepIndex]),void(a.ice.loader.show=!1);m.eng_uuid&&""!==m.eng_uuid||m.steps.push(o.addVF),m.user.is_service_provider_contact!==!0||m.is_service_provider_internal?m.user.is_service_provider_contact||m.steps.push(o.addSponsor):m.steps.push(o.addVendor),l(),m.steps.push(o.inviteMembers);var b=e.getUserData()||{},c=b.ssh_public_key;""!==m.user.ssh_public_key&&null!==m.user.ssh_public_key||""!==c&&null!==c||m.steps.push(o.addSSH),a.ice.loader.show=!1,m.setStep(m.steps[m.stepIndex])}function l(){d.getCompanies().then(function(a){if(200===a.status&&(m.companies=a.data,void 0!=m.companies))for(var b=0;b<m.companies.length;b++)if("AT&T"==m.companies[b].name){m.data.attCompanyUuid=m.companies[b].uuid;break}})["catch"](function(a){i.error(a)})}var m=this;m.steps=[],m.data={},m.user=g.user,m.is_service_provider_internal=g.is_service_provider_internal,m.eng_uuid=g.eng_uuid,m.requiredStep=g.requiredStep;var n=j.t("serviceProvider.name"),o={addVF:{name:"addVF",title:"Add a VF"},addSponsor:{name:"addContact",title:"Add "+n+" Sponsor",mode:"sponsor",submitButton:"Add "+n+" Sponsor"},addVendor:{name:"addContact",title:"Add Vendor Contact",mode:"vendor",submitButton:"Add Vendor Cotact"},inviteMembers:{name:"inviteMembers",title:"Invite Team Members"},addSSH:{name:"addSSH",title:"Add SSH Key"}};m.setStep=function(a){m.currentStep=a,m.title=a.title,a.completed=!0},k(),m.getCurrentStep=function(){return m.currentStep.name},m.nextStep=function(){return m.clearMessage(),m.stepIndex++,m.stepIndex===m.steps.length?void m.closeWizard():void m.setStep(m.steps[m.stepIndex])},m.closeWizard=function(){m.clearMessage(),c.close()},m.clearMessage=function(){h.clearToast()},m.onAddContactSubmit=function(){a.ice.loader.show=!0,m.data.addContact.eng_uuid=m.eng_uuid,m.user.is_main_vendor_contact!==!0||m.is_service_provider_internal?m.user.is_main_vendor_contact||(m.data.addContact.company=m.data.attCompanyUuid):m.data.addContact.company=m.data.addContact.company,e.addVendorContact(m.data.addContact).then(function(b){200===b.status&&(a.ice.loader.show=!1,m.nextStep())},function(b){h.setToast(b.message,"danger",{displayFor:"modal"}),i.error(b.message),a.ice.loader.show=!1})["catch"](function(b){m.Msg=b.status+" : "+b.statusText,m.bgColor="#FFEBEB",i.error(b),a.ice.loader.show=!1})},m.onInviteSubmit=function(){a.ice.loader.show=!0;var b=[];angular.forEach(m.inviteMembers.choices,function(a,c){m.item=[];var d=new Object;d.email=a.email,d.eng_uuid=m.eng_uuid,b.push(d)}),d.inviteMembers(JSON.stringify(b)).then(function(b){200===b.status&&m.nextStep(),a.ice.loader.show=!1})["catch"](function(b){h.setToast(b.message.detail,"danger",{displayFor:"modal"}),a.ice.loader.show=!1,i.error(b.message)})},m.inviteMembers={choices:[{email:"",eng_uuid:""}]},m.addNewChoice=function(){var a=m.inviteMembers.choices.length+1;m.inviteMembers.choices.push({id:a})},m.removeChoice=function(){var a=m.inviteMembers.choices.length-1;m.inviteMembers.choices.splice(a)},m.onAddSSHSubmit=function(){a.ice.loader.show=!0,e.setSSHKey(m.user.uuid,m.data.addSSH).then(function(c){200===c.status&&(e.getIceUser().then(function(c){200===c.status&&c.data&&""!==c.data&&(m.user=c.data,a.ice.loader.show=!1,b.$emit("onUpdateEngagements"))}),m.nextStep())})["catch"](function(b){h.setToast(b.message.detail,"danger",{displayFor:"modal"}),a.ice.loader.show=!1,i.error(b.message.detail)})},b.$on("moveWizardNextStep",function(a,b){m.is_service_provider_internal=b.is_service_provider_internal,m.eng_uuid=b.engagement.uuid,m.nextStep()})}])}(),function(){"use strict";function a(a){a.state("app.welcome",{url:"/",views:{"main@":{templateUrl:"welcome/welcome.html",controller:"WelcomeController as vm"}},params:{},bodyClass:"welcome-body"})}angular.module("ice.welcome",[]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c){var d=function(){};d()}angular.module("ice.welcome").controller("WelcomeController",["$state","$location","localStorageService",a])}(),function(){"use strict";function a(a){a.state("app.login",{url:"/login{engagement_uuid: (?:/[^/]+)?}",views:{"main@":{templateUrl:"core/layouts/full-page-with-header/full-page-with-header.html",controller:"MainController as vm"},"content@app.login":{templateUrl:"main/activation/login/login.html",controller:"LoginController as vm"}},params:{message:null,activation_success:void 0},bodyClass:"login"})}angular.module("ice.activation.login",[]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c,d,e,f,g){var h=this;h.data={},d.headerTitle="Login",d.headerSubTitle="Please use the form below to login",b.resetUserData();var i="";a.params.message&&(f.setToast(a.params.message,"danger"),c.warn(a.params.message)),void 0!=e.search().t&&(i="token"+e.search().t),h.data.invitation=e.search().invitation,h.submitForm=function(){d.ice.loader.show=!0,b.login(JSON.stringify(h.data),i).then(function(c){if(200===c.status)if(d.ice.loader.show=!1,b.setUserActivationSuccess(a.params.activation_success),void 0!=c.data.isResetPwdFlow&&1==c.data.isResetPwdFlow)a.go("app.updatePassword");else{var e=a.params.engagement_uuid;void 0!=c.data.eng_uuid&&(e=c.data.eng_uuid),e?(e=e.replace("/",""),a.go("app.dashboard.overview",{engagement_uuid:e})):a.go("app.dashboard.dashboard")}})["catch"](function(b){b&&b.message&&b.message.detail?f.setToast(b.message.detail,"danger"):f.setToast(b.message,"danger"),d.ice.loader.show=!1,c.error(b.message),403===b.status&&(c.error("User is not active, redirecting to resend_activation page"),a.go("app.resend_activation",{message:"Please activate your account first"})),302===b.status&&(c.error("Temporary password has expired, redirecting to reset_password page"),a.go("app.resetPassword",{message:"Your temporary password has expired, please generate a new one"}))})}}angular.module("ice.activation.login").controller("LoginController",["$state","usersService","$log","$rootScope","$location","toastService","$stateParams",a])}(),function(){"use strict";function a(a){a.state("app.activateUser",{url:"/activate/:userID/:token",views:{"main@":{templateUrl:"main/activation/activate/activateUser.html",controller:"ActivateUserController as vm"}},params:{}})}angular.module("ice.activation.activateUser",[]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c,d){var e=function(){b.activateUser(d.userID,d.token).then(function(b){a.go("app.login",{activation_success:b.data.activation_success,engagement_uuid:b.data.engagement_uuid})})["catch"](function(b){c.error(b),a.go("app.login",{message:b.message.detail})})};e()}angular.module("ice.activation.activateUser").controller("ActivateUserController",["$state","usersService","$log","$stateParams",a])}(),function(){"use strict";function a(a){a.state("app.register",{url:"/signUp",views:{"main@":{templateUrl:"core/layouts/full-page-with-header/full-page-with-header.html",controller:"MainController as vm"},"content@app.register":{templateUrl:"main/activation/register/register.html",controller:"RegisterController as vm"}},bodyClass:"register"})}angular.module("ice.activation.register",[]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c,d,e,f,g,h){var i=this;i.data={};var j=h.t("program.name"),k=function(){e.headerTitle="Sign Up",e.headerSubTitle="Please use the form to Sign Up to "+j,a.resetUserData();var b=c.search().company;i.data.full_name=c.search().full_name,i.data.email=c.search().email,i.data.phone_number=c.search().phone_number,e.ice.loader.show=!0,d.getCompanies().then(function(a){e.ice.loader.show=!1,200===a.status&&(i.vendors=a.data,void 0!=b&&angular.forEach(i.vendors,function(a,c){a.uuid===b&&(i.data.company=a.name)}))})["catch"](function(a){e.ice.loader.show=!1,g.error(a)})};i.submitForm=function(){0!=grecaptcha.getResponse().length?(e.ice.loader.show=!0,1!=i.data.regular_email_updates&&(i.data.regular_email_updates=!1),i.data.inviter_uuid=c.search().inviter_uuid,i.data.eng_uuid=c.search().eng_uuid,i.data.invitation=c.search().invitation,i.data.is_contact_user="true"===c.search().is_contact_user,i.email=c.search().email,a.register(i.data).then(function(a){e.ice.loader.show=!1,200===a.status&&b.go("app.resend_activation")})["catch"](function(a){f.setToast(a.message,"danger"),e.ice.loader.show=!1,g.error(a.message)}),e.PleaseFill=""):(f.setToast("Please fill CAPTCHA!","danger"),g.warn("Please fill CAPTCHA!"))},k()}angular.module("ice.activation.register").controller("RegisterController",["usersService","$state","$location","vfService","$rootScope","toastService","$log","$i18next",a])}(),function(){"use strict";function a(a){a.state("app.resetPassword",{url:"/resetPassword",views:{"main@":{templateUrl:"core/layouts/full-page-with-header/full-page-with-header.html",controller:"MainController as vm"},"content@app.resetPassword":{templateUrl:"main/activation/resetPassword/resetPassword.html",controller:"ResetPasswordController as vm"}},params:{message:null},bodyClass:"resetPassword"})}angular.module("ice.activation.resetPassword",[]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c,d,e,f){var g=this;g.data={};var h=!0;d.headerTitle="Reset Your Password",d.headerSubTitle="Please follow the instructions below to reset your password",void 0!=a.params.message&&""!=a.params.message&&(c.setToast(a.params.message,"danger"),d.ice.loader.show=!1,f.warn(a.params.message)),g.submitForm=function(){d.ice.loader.show=!0;var a={email:g.data.email};c.clearToast(),b.sendResetPwdInstructions(a).then(function(a){200===a.status?(c.setToast("An email with detailed instructions on how to reset your password was sent to your Email.","success"),h=!1,g.data.email="",d.ice.loader.show=!1):(c.setToast("Error sending reset password instructions email.","danger"),d.ice.loader.show=!1)})["catch"](function(a){c.setToast(a.message,"danger"),d.ice.loader.show=!1,f.error(a.message)})},g.sendMail=function(){e.open("mailto:sp@exspcom","_self")}}angular.module("ice.activation.resetPassword").controller("ResetPasswordController",["$state","usersService","toastService","$rootScope","$window","$log",a])}(),function(){"use strict";function a(a){a.state("app.updatePassword",{url:"/updatePassword{engagement_uuid: (?:/[^/]+)?}",views:{"main@":{templateUrl:"core/layouts/full-page-with-header/full-page-with-header.html",controller:"MainController as vm"},"content@app.updatePassword":{templateUrl:"main/activation/updatePassword/updatePassword.html",controller:"UpdatePasswordController as vm"}},params:{message:null,messagePass:null},bodyClass:"updatePassword"})}angular.module("ice.activation.updatePassword",[]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c,d,e,f){var g=this;g.data={};var h=!0;d.headerTitle="Update Your Password",d.headerSubTitle="Please follow the instructions below to update your password",g.submitForm=function(){d.ice.loader.show=!0;var c={password:g.data.password,confirm_password:g.data.confirm_password};b.updatePassword(b.getUserData().uuid,c).then(function(b){200===b.status?(e.setToast("Password was updated Successfully!","success"),h=!1,g.data.password="",g.data.confirm_password="",d.ice.loader.show=!1,a.go("app.dashboard.dashboard",{messagePass:"Password was updated Successfully!"})):(e.setToast("Error updating your password.","danger"),d.ice.loader.show=!1)})["catch"](function(a){e.setToast(a.message,"danger"),d.ice.loader.show=!1})},g.sendMail=function(){f.open("mailto:sp@exspcom","_self")}}angular.module("ice.activation.updatePassword").controller("UpdatePasswordController",["$state","usersService","localStorageService","$rootScope","toastService","$window",a])}(),function(){"use strict";function a(a){a.state("app.addVf",{url:"/addVf",views:{"main@":{templateUrl:"core/layouts/full-page-with-header/full-page-with-header.html",controller:"MainController as vm"},"content@app.addVf":{templateUrl:"main/activation/addVf/addVf.html",controller:"AddVfController as vm"}},bodyClass:"add-vf"})}angular.module("ice.activation.addVf",[]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,c,d,f,g,h,i,j,k){var l=this;l.data=[],l.isModal=a.isModal,l.user=j.getUserData(),void 0==l.user&&c.go("app.login"),h.headerTitle="Add Virtual Function",h.headerSubTitle="<center>Please use the form below to submit the virtual functions you would like to engage with ICE.<br/>Please do note that each VF will be tracked separately.</center>",!l.isModal&&g.search().activation_success&&f.setToast("You have successfully activated your account","success",{displayFor:"modal"});l.targetLabDate=b(),h.ice.loader.show=!0,d.getDeployTargets().then(function(a){h.ice.loader.show=!1,200===a.status&&(l.deployTargets=a.data)})["catch"](function(a){h.ice.loader.show=!1,k.error(a)}),d.getECOMPReleases().then(function(a){200===a.status&&(l.ECOMPReleases=a.data)})["catch"](function(a){h.ice.loader.show=!1,k.error(a)}),l.choices=[{VirtualFunction:"",TargetLab:"",TargetAic:"",is_service_provider_internal:""}],l.addNewChoice=function(){var a=l.choices.length+1;l.choices.push({id:a})},l.removeChoice=function(a){l.choices.splice(a,1)},l.submitForm=function(){var b,f=[];angular.forEach(l.choices,function(a,c){b=1==a.is_service_provider_internal?"True":"False",l.item=[];var d=new Object;d.virtual_function=a.VirtualFunction;var g=new Date(Date.parse(a.TargetLab+moment().format("z")));d.target_lab_entry_date=g.getFullYear()+"-"+e(g.getMonth()+1)+"-"+e(g.getDate()),d.version=a.VFVersion,d.target_aic_uuid=a.TargetAic,d.ecomp_release=a.ECOMPRelease,d.is_service_provider_internal="True"===b,f.push(d)}),h.ice.loader.show=!0,d.addVfs(JSON.stringify(f)).then(function(b){h.ice.loader.show=!1,200===b.status&&(i.setJson("vfs",b.data),l.isModal?(a.$emit("onUpdateEngagements",{select:{uuid:b.data[0].engagement.uuid,page_type:"overview",sub_id:void 0}}),a.$emit("moveWizardNextStep",b.data[0])):b.data.is_active?c.go("app.dashboard.overview"):c.go("app.resend_activation"))})["catch"](function(a){h.ice.loader.show=!1,k.error(a)})},l.skipAddVf=function(){!l.isModal&&g.search().activation_success?c.go("app.dashboard.overview"):c.go("app.resend_activation")},l.myDate=new Date,l.minDate=new Date(l.myDate.getFullYear(),l.myDate.getMonth(),l.myDate.getDate()),l.maxDate=new Date(l.myDate.getFullYear()+2,l.myDate.getMonth(),l.myDate.getDate())}angular.module("ice.activation.addVf").controller("AddVfController",["$scope","$state","vfService","toastService","$location","$rootScope","localStorageService","usersService","$log",a]).directive("addVf",function(){return{restrict:"AEC",templateUrl:"main/activation/addVf/addVf.html",link:function(a,b,c){},controller:a,controllerAs:"vm",scope:{isModal:"=isModal"}}}),a.$inject=["$scope","$state","vfService","toastService","$location","$rootScope","localStorageService","usersService","$log"];var b=function(){var a,b=[],e=(new Date).getMonth()+1,f=(new Date).getFullYear();for(a=e;12>=a;a++)b.push({val:c(a)+"-"+f,nam:d(a)+" "+f});for(a=1;e>a;a++)b.push({val:c(a)+"-"+(f+1),nam:d(a)+" "+(f+1)});return b},c=function(a){var b=a;return 10>a&&(b="0"+a),b},d=function(a){var b;switch(a){case 1:b="January";break;case 2:b="February";break;case 3:b="March";break;case 4:b="April";break;case 5:b="May";break;case 6:b="June";break;case 7:b="July";break;case 8:b="August";break;case 9:b="September";break;case 10:b="October";break;case 11:b="November";break;case 12:b="December"}return b},e=function(a){return 10>a?"0"+a:a}}(),function(){"use strict";function a(a){a.state("app.addVendorContact",{url:"/addVendorContact",views:{"main@":{templateUrl:"core/layouts/full-page-with-header/full-page-with-header.html",controller:"MainController as vm"},"content@app.addVendorContact":{templateUrl:"main/activation/addVendorContact/addVendorContact.html",controller:"AddVendorContactController as vm"}},bodyClass:"addVendorContact"})}angular.module("ice.activation.addVendorContact",[]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c,d,e){var f=this;f.data={};var g=function(){e.ice.loader.show=!0,e.headerTitle="",e.headerSubTitle="",f.choices=[{VirtualFunction:"",TargetLab:"",TargetAic:"",is_service_provider_internal:""}],b.getCompanies().then(function(a){e.ice.loader.show=!1,200===a.status&&(f.companies=a.data)})["catch"](function(a){e.ice.loader.show=!1,d.error(a)})};f.submitForm=function(){f.data.company=f.data.company.uuid,e.ice.loader.show=!0,c.addVendorContact(f.data).then(function(b){e.ice.loader.show=!1,200===b.status&&(b.data.is_active?a.go("app.dashboard.overview"):a.go("app.resend_activation"))})["catch"](function(a){e.ice.loader.show=!1,f.Msg=response.status+" : "+response.statusText,f.bgColor="#FFEBEB",d.error(a)})},f.addNewChoice=function(){var a=f.choices.length+1;f.choices.push({id:a})},f.removeChoice=function(){var a=f.choices.length-1;f.choices.splice(a)},g()}angular.module("ice.activation.addVendorContact").controller("AddVendorContactController",["$state","vfService","usersService","$log","$rootScope",a])}(),function(){"use strict";function a(a){a.state("app.resend_activation",{url:"/resendActivation",views:{"main@":{templateUrl:"core/layouts/full-page-with-header/full-page-with-header.html",controller:"MainController as vm"},"content@app.resend_activation":{templateUrl:"main/activation/resendActivation/resendActivation.html",controller:"resendActivationController as vm"}},params:{message:null},bodyClass:"resend-activation"})}angular.module("ice.activation.resendActivation",[]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c,d,e){var f=this;f.data=[];var g=function(){c.headerTitle="Activate Your Account",c.headerSubTitle="Please follow the instructions below to activate your account.",d.params.message&&b.setToast(d.params.message,"danger"),f.activated=!1,f.showHideMsg=!1,f.showHideWait=!1};f.submitForm=function(){c.ice.loader.show=!0,a.resendActivationMail().then(function(a){c.ice.loader.show=!1,200===a.status})["catch"](function(a){c.ice.loader.show=!1,e.error(a)})},g()}angular.module("ice.activation.resendActivation").controller("resendActivationController",["usersService","toastService","$rootScope","$state","$log",a])}(),function(){"use strict";function a(a){a.state("app.terms",{url:"/terms",views:{"main@":{templateUrl:"core/layouts/full-page-with-header/full-page-with-header.html",controller:"MainController as vm"},"content@app.terms":{templateUrl:"main/activation/terms/terms.html",controller:"TermsController as vm"}},params:{message:null},bodyClass:"terms"})}angular.module("ice.activation.terms",[]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a){var b=this;b.data={},a.headerTitle="Terms of Service",a.headerSubTitle="Last updated 2016-06-10"}angular.module("ice.activation.terms").controller("TermsController",["$rootScope",a])}(),function(){"use strict";function a(a){a.state("app.contactus",{url:"/contactUs",views:{"main@":{templateUrl:"core/layouts/full-page-with-header/full-page-with-header.html",controller:"MainController as vm"},"content@app.contactus":{templateUrl:"main/activation/contactUs/contactUs.html",controller:"ContactUsController as vm"}},bodyClass:"contact-us"})}angular.module("ice.contactUs",[]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a){a.headerTitle="Contact Us",a.headerSubTitle="Please fill in the details below"}angular.module("ice.contactUs").controller("ContactUsController",["$rootScope",a])}(),function(){"use strict";function a(a){a.state("app.account",{url:"/account",views:{"content@app":{templateUrl:"main/dashboard/account/account.html",controller:"DashboardAccountController as vm"},"navigation@app":{templateUrl:"core/navigation/layouts/account-navigation/navigation.html",controller:"accountNavigationController as vm"}},params:{engagement_uuid:null},bodyClass:"account"}).state("app.account.notifications",{url:"/account/notifications",views:{"content@app":{templateUrl:"main/dashboard/account/notifications/notifications.html",controller:"DashboardNotificationsController as vm"}},bodyClass:"notifications"}).state("app.account.userProfile",{url:"/account/userProfile",views:{"content@app":{templateUrl:"main/dashboard/account/user-profile-settings/user-profile-settings.html",controller:"accountUserProfileSettingsController as vm"}},bodyClass:"account"})}angular.module("ice.dashboard.account").config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c,d,e,f){var g=this;g.data={};var h=function(){if(g.user=b.getUserData(),void 0==g.user)return void a.go("app.login");var h=g.user.uuid;e.ice.loader.show=!0,b.getIceUser(h).then(function(a){200===a.status?(g.data.full_name=a.data.full_name,g.data.email=a.data.email,g.data.phone_number=a.data.phone_number,g.data.password="",g.data.ssh_key=a.data.ssh_public_key,g.data.company=a.data.company.name,g.data.access_key=a.data.rgwa_access_key,g.data.access_secret="•••••••••••••••",e.ice.loader.show=!1):(f.setToast("Error getting account","danger"),d.error("Error getting account: "+uuid),e.ice.loader.show=!1)})["catch"](function(a){f.setToast(a.message,"danger"),d.error(a.message)}),c.getCompanies().then(function(a){200===a.status&&(g.companies=a.data)})["catch"](function(a){d.error(a.message)})};h(),g.getAccessSecret=function(){b.getRGWASecret().then(function(a){200===a.status?g.data.access_secret=a.data.rgwa_secret_key:(f.setToast("Error getting user's access secret","danger"),d.error("Error getting access secret: "+uuid),e.ice.loader.show=!1)})["catch"](function(a){f.setToast(a.message,"danger"),d.error(a.message)})},g.submitForm=function(){var a=b.getUserData();b.updateAccount(a.uuid,g.data).then(function(a){200===a.status&&f.setToast("Account was updated successfully!","success")})["catch"](function(a){f.setToast(a.message.detail,"danger")})}}angular.module("ice.dashboard.account").controller("DashboardAccountController",["$state","usersService","vfService","$log","$rootScope","toastService",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g){var h=this;h.data={};var i=function(){return b.setPage("notification"),e.timeGapLocal=moment().format("z"),e.ampm=moment().format("A"),e.mom=moment().tz(moment.tz.guess()).format("z"),h.pagination_num_of_objects=10,h.current_starting_offset="0",h.page_num=1,h.user=c.getUserData(),void 0==h.user?void a.go("app.login"):void h.getNotifications(!0)};h.getNotifications=function(a){var b=h.user.uuid;e.ice.loader.show=!0,h.current_starting_offset=(h.page_num-1)*h.pagination_num_of_objects,c.getNotificationsDescription(h.user.uuid,h.current_starting_offset,h.pagination_num_of_objects).then(function(i){200===i.status?(h.notifications=i.data.serilizedActivitySet,h.num_of_returned_items=i.data.num_of_objects,h.notifications_display_list=h.notifications,a&&c.resetNotificationNum(b).then(function(a){200===a.status&&f.$emit("eventClearNotifications",0)})["catch"](function(a){d.setToast(a.message,"danger"),
-e.ice.loader.show=!1,g.error(a)}),e.ice.loader.show=!1):(d.setToast(i.error,"danger"),e.ice.loader.show=!1)})["catch"](function(a){d.setToast(a.message,"danger"),e.ice.loader.show=!1,g.error(a)})},h.delNotification=function(a){for(var b=0,f=0;f<h.notifications.length;f++)if(h.notifications[f].uuid==a){b=f;break}c.notificationsDelete(a).then(function(a){400!=a.status&&h.notifications.splice(b,1)})["catch"](function(a){d.setToast(a.message,"danger"),e.ice.loader.show=!1,g.error(a)})},i()}angular.module("ice.dashboard.account").controller("DashboardNotificationsController",["$state","pageService","usersService","toastService","$rootScope","$scope","$log",a])}(),function(){"use strict";function a(a){function b(a,b,c,d){var e=a.isAdmin(a.getUserData());return e===!0?b.when():(c(function(){d.go("app.login")}),b.reject())}a.state("app.admin",{url:"/admin",views:{"navigation@app":{templateUrl:"core/navigation/layouts/admin-navigation/navigation.html",controller:"adminNavigationController as vm"}},bodyClass:"nav-admin",resolve:{authenticate:b}}).state("app.admin.checklisttemplate",{url:"/admin/checklist-template",views:{"content@app":{templateUrl:"main/admin/checklist-template/checklist-template.html",controller:"checklistTemplateController as vm"}},params:{template_uuid:void 0},bodyClass:"checklist-template"}),b.$inject=["usersService","$q","$timeout","$state"]}angular.module("ice.main.admin").config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c,d,e,f,g){var h,i=this,j=function(){d.template_uuid&&(i.inlineEditingElements={},i.wysiwyg_menu=[["bold","italic","strikethrough","underline"],["unordered-list","ordered-list","outdent","indent"]],c.getChecklistTemplate(d.template_uuid).then(function(a){200===a.status&&(i.template=a.data,k(),m(),h=angular.copy(a.data),l())})["catch"](function(a){g.error("got error with getChecklistTemplate")}))};i.switchElementInlineEditing=function(a){i.inlineEditingElements[a]=!i.inlineEditingElements[a]},i.save=function(){var a=f.open({templateUrl:"main/modals/general-prompt-modal/general-prompt-modal.html",controller:"generalPromptModalController",controllerAs:"vm",resolve:{modalDetails:function(){return{upper_headline:"Master Checklist Template: ",upper_headline_value:i.template.name,headline:"Are you done editing?",is_message:!0,message:"Editing a master checklist template will effect all checklists currently created of that type and will also restart the validation for all active engagements",approve:"Yes",cancelText:"No",is_close_modal_button:!1}}}});a.result.then(function(a){a&&c.saveChecklistTemplate(i.template).then(function(a){200===a.status&&(h=angular.copy(i.template),e.setToast("Template was saved successfully.","success"))})["catch"](function(a){e.setToast("Problem occurred while saving template.","danger"),g.error("got error with saveChecklistTemplate")})})},i.cancel=function(){var a=f.open({templateUrl:"main/modals/general-prompt-modal/general-prompt-modal.html",controller:"generalPromptModalController",controllerAs:"vm",resolve:{modalDetails:function(){return{upper_headline:"Master Checklist Template: ",upper_headline_value:i.template.name,headline:"Are you sure you want to revert all changes?",is_message:!1,approve:"Yes",cancelText:"No",is_close_modal_button:!1}}}});a.result.then(function(a){a&&(i.template=angular.copy(h),l(),e.setToast("All changes discarded.","success"))})},i.deleteSection=function(b){a.remove(i.template.sections,function(a){return b===a}),l()},i.selectLineItem=function(a,c,d){i.selectedLineItem!=a&&(i.selectedSection=c,i.selectedLineItem=a,b.$$postDigest(function(){if(void 0!=d){var a=angular.element(d.target).prop("offsetHeight")+angular.element(d.target).prop("offsetTop"),b=angular.element("#line-item-extended").prop("offsetHeight"),c=a-b;c>0?angular.element("#line-item-extended").css("margin-top",20+c+"px"):angular.element("#line-item-extended").css("margin-top","")}}))},i.addLineItem=function(b){if(b){var c=a.maxBy(b.lineItems,function(a){return a.weight})+1,d={uuid:"newEntity",name:"Untitled line item",description:"Please add a description",weight:c,validation_instructions:"Please add validation instructions for the line item."};b.lineItems.push(d)}},i.addSection=function(){if(i.template){var b=a.maxBy(i.template.sections,function(a){return a.weight})+1,c={uuid:"newEntity",name:"Untitled section",description:"Section added from portal",validation_instructions:"valid instructions",weight:b,lineItems:[]};i.template.sections.push(c)}},i.deleteLineItem=function(b){a.remove(i.selectedSection.lineItems,function(a){return b===a}),l()},i.isSaveInvalid=function(){var b=!1;return i.template&&(b=void 0!=a.find(i.template.sections,function(a){return 0===a.lineItems.length})),b};var k=function(){b.$watch("vm.template.name",function(a,b){d.templateName=a},!0)},l=function(){i.selectedSection=i.template.sections&&i.template.sections.length>0?i.template.sections[0]:void 0,i.selectedLineItem=i.selectedSection?i.selectedSection.lineItems[0]:void 0,angular.element("#line-item-extended").css("margin-top","")},m=function(){i.template&&(i.template.sections=a.orderBy(i.template.sections,"weight"),a.forEach(i.template.sections,function(b){b.lineItems=a.orderBy(b.lineItems,"weight")}))};j()}angular.module("ice.main.admin").controller("checklistTemplateController",["_","$scope","checklistService","$stateParams","toastService","$uibModal","$log",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g,h,i){var j=this,k=function(){a.timeGapLocal=moment().format("z"),a.ampm=moment().format("A"),a.mom=moment().tz(moment.tz.guess()).format("z"),j.is_aic_edit_mode=!1,j.is_ecomp_edit_mode=!1,j.aic_loaded=!1,j.ecomp_loaded=!1,void 0!=b.engagement&&(j.engagement=b.engagement),void 0!=j.engagement&&(j.me=e.getUserData(),g.getSingleEngagement(j.me.uuid,j.engagement.uuid).then(function(b){if(a.ice.loader.show=!1,200===b.status&&b.data&&""!==b.data){var c=b.data;j.engagement_manual_id=c.engagement.engagement_manual_id,j.vf_name=c.name,j.vf_version=c.version,j.vf_uuid=c.uuid,j.ecomp_release=c.ecomp_release,j.target_lab=new Date(c.target_lab_entry_date),j.dtversion=c.deployment_target,j.selected_dt_uuid=j.dtversion.uuid,j.selected_ecomp_uuid=j.ecomp_release.uuid,j.me=e.getUserData(),j.name=j.engagement.name,j.isEngagementEL=e.isEngagementEL(c.engagement.engagement_team),j.isAdmin=e.isAdmin(j.me),l(),m()}})["catch"](function(b){a.ice.loader.show=!1,h.error(b)}))};j.addVfc=function(){var a=f.open({templateUrl:"main/modals/detailed-view/vfc/detailed-view-vfc-modal.html",controller:"detailedViewVFCModalController",controllerAs:"vm",resolve:{vf_uuid:function(){return j.vf_uuid}}});a.result.then(function(a){a&&m()})},this.personArray=[j.dtversion,j.vf_uuid],j.editValidationDetails=function(){var a=f.open({templateUrl:"main/modals/validation-details/detailed-view-validation-details-modal.html",controller:"validationDetailsModalController",controllerAs:"vm",resolve:{vf_uuid:function(){return j.vf_uuid}}});a.result.then(function(a){a&&k()})},j.addDTS=function(){if(j.isEngagementEL||j.isAdmin){var a=f.open({templateUrl:"main/modals/detailed-view/dtsite/detailed-view-dtsites-modal.html",controller:"detailedViewDtsitesModalController",controllerAs:"vm",resolve:{vf_uuid:function(){return j.vf_uuid}}});a.result.then(function(a){a&&200===a&&l()})}},j.changeTargetLabEntry=function(){var a=f.open({templateUrl:"main/modals/target-lab-entry/change-lab-entry-date.html",controller:"ChangeLabEntryDateModalController",controllerAs:"vm",resolve:{targetLabDate:function(){return j.target_lab},engagementUuid:function(){return j.engagement.uuid}}});a.result.then(function(a){a&&(j.target_lab=new Date(a.target_date),h.debug("data.target_date",a.target_date),h.debug("vm.target_lab",j.target_lab))},function(){h.error("Modal dismissed at: "+new Date)})},j.deleteVfc=function(a){c["delete"](a,j.vf_uuid).then(function(a){204===a.status&&m()})["catch"](function(a){h.error(a)})},j.deleteDTSite=function(a,b){d["delete"](j.vf_uuid,b).then(function(a){204===a.status&&l()})["catch"](function(a){h.error(a)})};var l=function(){(j.isEngagementEL||j.isAdmin)&&(a.ice.loader.show=!0,d.getVFSites(j.vf_uuid).then(function(b){a.ice.loader.show=!1,200===b.status&&(j.dtsites=b.data)})["catch"](function(b){a.ice.loader.show=!1,h.error(b)}))},m=function(){a.ice.loader.show=!0,c.get(j.vf_uuid).then(function(b){a.ice.loader.show=!1,200===b.status&&(j.vfcs=b.data)})["catch"](function(b){a.ice.loader.show=!1,h.error(b)})};k()}angular.module("ice.dashboard.main").controller("detailedViewController",["$rootScope","$stateParams","vfcService","dtsiteService","usersService","$uibModal","vfService","$log","_",a])}(),function(){"use strict";function a(a){a.state("app.documentation",{views:{"navigation@app":{templateUrl:"core/navigation/layouts/documentation-navigation/navigation.html",controller:"documentationNavigationController as vm"},"sidebar@app":{templateUrl:"main/documentation/sidebar/documentation.sidebar.html"}},bodyClass:"documentation",params:{displaySidebar:!0}}).state("app.documentation.page",{url:"/documentation",views:{"content@app":{templateUrl:"main/documentation/documentation.html",controller:"documentationController as vm"}},bodyClass:"documentation",params:{displaySidebar:!0,page_id:void 0}})}angular.module("ice.documentation").config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c){function d(){b.page_id&&a.getPage(b.page_id).then(function(a){a&&a.data&&(e.pageId=b.page_id,e.pageTitle=a.data.title,e.pageContent=a.data.content,e.publishDate=a.data.publish_date)})["catch"](function(a){c.error(a)})}var e=this,f=function(){d()};f()}angular.module("ice.documentation").controller("documentationController",["cmsService","$stateParams","$log",a])}(),function(){"use strict";function a(a,b){var c=this,d=function(){b.getIceUser().then(function(a){c.receiveEmails=a.data.regular_email_updates,c.receiveEmailsEveryTime=a.data.email_updates_on_every_notification,c.receiveDigestEmails=a.data.email_updates_daily_digest,c.receiveNotifications=c.receiveEmailsEveryTime||c.receiveDigestEmails})["catch"](function(b){a.setToast(b.message,"danger"),$log.error(b.message)})};c.submitForm=function(){var d=b.getUserData(),e={};e.regular_email_updates=c.receiveEmails,e.email_updates_on_every_notification=c.receiveEmailsEveryTime,e.email_updates_daily_digest=c.receiveDigestEmails,e.company=d.company.name,e.full_name=d.full_name,e.email=d.email,e.phone_number=d.phone_number,b.updateAccount(d.uuid,e).then(function(b){200===b.status&&a.setToast("User profile settings was updated successfully!","success")})["catch"](function(b){a.setToast(b.message.detail,"danger")})},c.changeReceiveNotifications=function(){c.receiveNotifications||(c.receiveEmailsEveryTime=!1,c.receiveDigestEmails=!1)},d()}angular.module("ice.dashboard.account").controller("accountUserProfileSettingsController",["toastService","usersService",a])}(),angular.module("ice").run(["$templateCache",function(a){"use strict";a.put("main/activation/activate/activateUser.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div></div>'),a.put("main/activation/addVendorContact/addVendorContact.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".addVendorContact-form"></ice-loader> <div class="container"> <div class="row"> <div class="col-md-2"></div> <form name="addVendorContactForm" ng-submit="vm.submitForm()" novalidate class="addVendorContact-form col-md-8"> <div class="form-group" ng-class="{ \'has-error\' : addVendorContactForm.company.$invalid && !addVendorContactForm.company.$pristine }"> <label class="ice-form-label required">Company</label> <select style="width:100%" name="company" ng-model="vm.data.company" ng-options="company.name for company in vm.companies track by company.uuid" class="form-control" required></select> <div class="ice-form-error" data-ng-show="addVendorContactForm.company.$error"> <span ng-show="addVendorContactForm.company.$error.required && !addVendorContactForm.company.$pristine" class="help-block">Please select a company</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : addVendorContactForm.fullName.$invalid && !addVendorContactForm.fullName.$pristine }"> <label class="ice-form-label required">Full Name</label> <input type="text" name="fullname" class="form-control" ng-model="vm.data.full_name" ng-minlength="3" ng-maxlength="50" maxlength="50" required> <div class="ice-form-error" data-ng-show="addVendorContactForm.fullname.$error"> <span ng-show="addVendorContactForm.fullname.$error.required && !addVendorContactForm.fullname.$pristine">Name is a required field.</span> <span ng-show="addVendorContactForm.fullname.$error.minlength">Full Name is too short.</span> <span ng-show="addVendorContactForm.fullname.$error.maxlength">Full Name is too long.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : addVendorContactForm.email.$invalid && !addVendorContactForm.email.$pristine }"> <label class="ice-form-label required">Email</label> <input type="email" name="email" class="form-control" ng-model="vm.data.email" ng-pattern="/^(([^<>()\\[\\]\\\\.,;:\\s@&quot;]+(\\.[^<>()\\[\\]\\\\.,;:\\s@&quot;]+)*)|(&quot;.+&quot;))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/" maxlength="254" required> <div class="ice-form-error" data-ng-show="addVendorContactForm.email.$error"> <span ng-show="addVendorContactForm.email.$error.required && !addVendorContactForm.email.$pristine">Email is a required field.</span> <span ng-show="addVendorContactForm.email.$invalid && !addVendorContactForm.email.$pristine" class="help-block">Enter a valid email.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : addVendorContactForm.phone.$invalid && !addVendorContactForm.phone.$pristine }"> <label class="ice-form-label required">Phone</label> <input type="text" name="phone" class="form-control" ng-pattern="/^[\\+\\-0-9]+$/" ng-model="vm.data.phone_number" ng-minlength="3" ng-maxlength="30" required> <div class="ice-form-error" data-ng-show="addVendorContactForm.phone.$error"> <span ng-show="addVendorContactForm.phone.$error.required && !addVendorContactForm.phone.$pristine">Phone is a required field.</span> <span ng-show="addVendorContactForm.phone.$error.minlength" class="help-block">Phone is too short.</span> <span ng-show="addVendorContactForm.phone.$error.maxlength" class="help-block">Phone is too long.</span> <span ng-show="addVendorContactForm.phone.$error.pattern" class="help-block">Phone must consist of numbers only.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : userForm.password.$invalid && !userForm.password.$pristine }"> <input type="checkbox" ng-model="vm.data.regular_email_updates">&nbsp;I agree to receive regular email updates. </div> <div class="form-group"> <input type="checkbox" ng-model="vm.data.terms" required>&nbsp;I accept the AT&T\'s {{\'program.name\' | i18next}} Terms of Service and Privacy Policy. </div> <div id="frm-field-63-container" class="frm_form_field form-field frm_top_container"> <label class="frm_primary_label">reCAPTCHA <span class="frm_required"></span> </label> <div id="field-7lj3ma" class="g-recaptcha" data-sitekey="6LeMMwYTAAAAACSY-OLibN7rdFHSnY9karY3VXW2"></div> <div id="divre-captcha-err" class="frm_error_hide">reCAPTCHA is invalid.</div> </div> <input type="hidden" name="item_key" value="xxx"> <button type="submit" class="btn btn-primary" data-ng-disabled="!addVendorContactForm.$valid">Sign Up</button> <a ui-sref="app.login" class="login">Already have an account?</a> </form> <div class="col-md-2"></div> </div> </div>'),a.put("main/activation/addVf/addVf.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".addVf-form"></ice-loader> <div class="container"> <div class="row"> <div class="col-md-2"></div> <form name="addVfForm" ng-submit="vm.submitForm()" novalidate class="addVf-form col-md-8"> <div class="table-container-flex"> <div class="table"> <!-- Table body --> <div class="body"> <div data-ng-repeat="choice in vm.choices" class="data-row-wrapper"> <ng-form name="vfItemForm"> <div class="flex-container data-row"> <!-- Text --> <div class="add-vf-wizard text"> Use the form below to add your VF.Try to be as accurate as you can around the information to make sure the validation can accomplished as possible. </div> </div> <div class="flex-container data-row"> <!-- Virtual Function --> <div class="table-col-general flex-item"> <div id="vf-name-title">VF Name</div> <input type="text" name="virtualFunction" class="form-control" ng-model="choice.VirtualFunction" maxlength="32" class="form-control" placeholder="VF Name" required ng-pattern="/^[a-zA-Z0-9-]*$/"> <div class="ice-form-error" data-ng-show="vfItemForm.virtualFunction.$error"> <span ng-show="vfItemForm.virtualFunction.$error.pattern">VF Name can be alphanumeric or/and Hyphen</span> </div> </div> </div> <div class="flex-container data-row"> <h3 id="title-key-metadata">Key Metadata</h3> </div> <div class="flex-container data-row fields_key_metadata"> <!-- ECOMP Release --> <div class="table-col-general flex-item"> <select ng-model="choice.ECOMPRelease" id="ecomp-release" class="form-control" required> <option value="" selected disabled>ECOMP Release</option> <option ng-repeat="dt in vm.ECOMPReleases" value="{{dt.uuid}}"> {{dt.name}} </option> </select> </div> <!-- Target AIC Version --> <div class="table-col-general flex-item"> <select ng-model="choice.TargetAic" id="aic-version" class="form-control" required> <option value="" selected disabled>AIC Version</option> <option ng-repeat="dt in vm.deployTargets" value="{{dt.uuid}}"> {{dt.name}} {{dt.version}} </option> </select> </div> <!-- VF Version --> <div class="table-col-general flex-item"> <input type="text" name="VFversion" id="id-vf-version" class="form-control" ng-model="choice.VFVersion" maxlength="32" class="form-control" placeholder="VF Version" required> </div> <!-- Delete VF --> <div class="table-col-general flex-item" ng-if="vm.choices.length > 1"> <!--\n <div class="reject_large" ng-click=\'vm.removeChoice()\' ng-show="$last"><span class="reject_large"></span>Remove</div>\n --> <div class="remove-button" ng-click="vm.removeChoice($index)"><span class="remove-icon"></span>Remove</div> </div> </div> <div class="flex-container data-row"> <!-- Target Lab Entry --> <div class="table-col-general flex-item"> <div id="vf-name-title">Target Lab Entry Date</div> <md-datepicker id="e2e-lab-entry-date" md-min-date="vm.minDate" ng-click="ctrl.openCalendarPane($event)" ng-model-options="{timezone: \'gmt\'}" class="btn btn-default datepicker_btn" ng-model="choice.TargetLab" md-placeholder="E2E Lab Entry Date"></md-datepicker> <input type="hidden" id="add-vf-hidden-target-lab-date" value="{{choice.TargetLab | date2: \'MMMM doo yyyy\' : timeGapLocal}}"> </div> </div> <div class="add-vf-confirm-checkbox"> <input type="checkbox" name="is_service_provider_internal" ng-model="choice.is_service_provider_internal"> The virtual function is only developed internally inside AT&T. </div> </ng-form> </div> </div> <div class="footer"> <div class="action-row-wrapper"> <a ng-if="!vm.isModal" class="add-button" ng-click="vm.addNewChoice()"> <span class="add-icon"></span> <span class="add-text">Add another VF</span> </a> <button type="submit" class="btn btn-primary" data-ng-disabled="!addVfForm.$valid">Submit your VF</button> <a id="skip-add-vf-singup" ng-if="!vm.isModal" class="" ng-click="vm.skipAddVf()">Skip VF creation</a> </div> </div> </div> </div> </form> </div> </div>'),a.put("main/activation/contactUs/contactUs.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="container"> <div class="row"> <div class="col-md-2"></div> <form name="contactUsForm" ng-submit="vm.submitForm()" novalidate class="contact-us-form col-md-8"> </form> <div class="col-md-2"></div> </div> </div>'),a.put("main/activation/inviteMembers/inviteMembers.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".inviteMembers-form"></ice-loader> <div class="container"> <div class="row"> <div class="col-md-2"></div> <form name="inviteMembersForm" ng-submit="vm.submitForm()" novalidate class="inviteMembers-form col-md-8"> <div> <div style="clear:both"></div> <fieldset data-ng-repeat="choice in choices|limitTo:10"> <div id="containera"> <div style="width:400px;height:50px;line-height:20px;;float:left"> <input type="email" name="email" class="form-control" ng-model="choice.Email" maxlength="50" ng-pattern="/^(([^<>()\\[\\]\\\\.,;:\\s@&quot;]+(\\.[^<>()\\[\\]\\\\.,;:\\s@&quot;]+)*)|(&quot;.+&quot;))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/" class="form-control" required> <div class="ice-form-error" data-ng-show="inviteMembersForm.email.$error"> <span ng-show="inviteMembersForm.email.$error.required && !inviteMembersForm.email.$pristine">Email is a required field.</span> <span ng-show="inviteMembersForm.email.$invalid && !inviteMembersForm.email.$pristine" class="help-block">Enter a valid email.</span> </div> </div> </div> <div style="width:200px;height:50px;line-height:20px; vertical-align:middle;padding-left:10px;float:left"> <a ng-click="removeChoice()" ng-show="$last">Remove</a> </div> </fieldset> </div> <a ng-if="choices.length < 10" class="add-button" ng-click="vm.addNewChoice()">Invite another team member</a> <button type="submit" class="btn btn-primary" data-ng-disabled="!inviteMembersForm.$valid">Send invitations</button> </form> </div> </div>'),a.put("main/activation/login/login.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".login-form"></ice-loader> <div class="container"> <div class="row"> <div class="col-md-2"></div> <form name="loginForm" ng-submit="vm.submitForm()" novalidate class="login-form col-md-8"> <div class="form-group" ng-class="{ \'has-error\' : loginForm.email.$invalid && !loginForm.email.$pristine }"> <label class="ice-form-label required">Email</label> <input type="email" name="email" class="form-control" ng-model="vm.data.email" maxlength="254" required ng-pattern="/^(([^<>()\\[\\]\\\\.,;:\\s@&quot;]+(\\.[^<>()\\[\\]\\\\.,;:\\s@&quot;]+)*)|(&quot;.+&quot;))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/"> <div class="ice-form-error" data-ng-show="loginForm.email.$error"> <span ng-show="loginForm.email.$error.required && !loginForm.email.$pristine">Email is a required field.</span> <span ng-show="loginForm.email.$error.pattern">Enter a valid email.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : loginForm.password.$invalid && !loginForm.password.$pristine }"> <label class="ice-form-label required">Password</label> <input type="password" name="password" class="form-control" ng-model="vm.data.password" ng-maxlength="32" maxlength="32" required> <div class="ice-form-error" data-ng-show="loginForm.password.$error"> <span ng-show="loginForm.password.$error.required && !loginForm.password.$pristine">Password is a required field.</span> <span ng-show="loginForm.password.$error.minlength">Password is too short.</span> <span ng-show="loginForm.password.$error.maxlength">Password is too long.</span> </div> </div> <button type="submit" class="btn btn-primary" data-ng-disabled="!loginForm.$valid">Login</button> <div class="leftLink"> <a ui-sref="app.resetPassword">Reset your password?</a> </div> <div class="rightLink"> <a id="id-dont-have-an-account" ui-sref="app.register">Don\'t have an account?</a> </div> </form> <div class="col-md-2"></div> </div> </div>'),
-a.put("main/activation/register/register.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".register-form"></ice-loader> <div class="container"> <script type="text/javascript" src="https://www.google.com/recaptcha/api.js?ver=1"></script> <div class="row"> <div class="col-md-2"></div> <form name="registerForm" ng-submit="vm.submitForm()" novalidate class="register-form col-md-8"> <div class="form-group" ng-class="{ \'has-error\' : registerForm.company.$invalid && !registerForm.company.$pristine }"> <label class="ice-form-label required">Company</label> <select ng-model="vm.data.company" name="company" class="form-control" required> <option value="">Please select a company</option> <option ng-repeat="vendor in vm.vendors" value="{{vendor.name}}" ng-selected="vendor.name===vm.data.company"> {{vendor.name}} </option> </select> <div class="ice-form-error" data-ng-show="registerForm.company.$error"> <span ng-show="registerForm.company.$error.required && !registerForm.company.$pristine" class="help-block">Please select a company</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : registerForm.fullName.$invalid && !registerForm.fullName.$pristine }"> <label class="ice-form-label required">Full Name</label> <input type="text" name="fullname" class="form-control" ng-model="vm.data.full_name" ng-minlength="3" ng-maxlength="50" maxlength="50" required ng-pattern="/^[a-zA-Z0-9 ]*$/"> <div class="ice-form-error" data-ng-show="registerForm.fullname.$error"> <span ng-show="registerForm.fullname.$error.required && !registerForm.fullname.$pristine">Name is a required field.</span> <span ng-show="registerForm.fullname.$error.minlength">Full Name is too short.</span> <span ng-show="registerForm.fullname.$error.maxlength">Full Name is too long.</span> <span ng-show="registerForm.fullname.$error.pattern">Full Name must be alphanumeric</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : registerForm.email.$invalid && !registerForm.email.$pristine }"> <label class="ice-form-label required">Email</label> <input type="email" name="email" class="form-control" ng-model="vm.data.email" maxlength="254" ng-pattern="/^(([^<>()\\[\\]\\\\.,;:\\s@&quot;]+(\\.[^<>()\\[\\]\\\\.,;:\\s@&quot;]+)*)|(&quot;.+&quot;))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/" required> <div class="ice-form-error" data-ng-show="registerForm.email.$error"> <span ng-show="registerForm.email.$error.required && !registerForm.email.$pristine">Email is a required field.</span> <span ng-show="registerForm.email.$invalid && !registerForm.email.$error.required && !registerForm.email.$pristine">Enter a valid email.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : registerForm.phone.$invalid && !registerForm.phone.$pristine }"> <label class="ice-form-label required">Phone</label> <input type="text" name="phone" class="form-control phone-place-holder" ng-intl-tel-input ng-model="vm.data.phone_number" required ng-minlength="6" ng-maxlength="30"> <div class="ice-form-error" data-ng-show="registerForm.phone.$error"> <span ng-show="registerForm.phone.$error.required && !registerForm.phone.$pristine">Phone is a required field.</span> <span ng-show="registerForm.phone.$error.minlength" class="help-block">Phone is too short.</span> <span ng-show="registerForm.phone.$error.maxlength" class="help-block">Phone is too long.</span> <span ng-show="registerForm.phone.$dirty && registerForm.phone.$invalid" class="help-block">Phone format invalid</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : registerForm.password.$invalid && !registerForm.password.$pristine }"> <label class="ice-form-label required">Password</label> <input type="password" name="password" class="form-control" ng-model="vm.data.password" ng-minlength="4" ng-maxlength="32" maxlength="32" required autocomplete="new-password"> <div class="ice-form-error" data-ng-show="registerForm.password.$error"> <span ng-show="registerForm.password.$error.required && !registerForm.password.$pristine">Password is a required field.</span> <span ng-show="registerForm.password.$error.minlength" class="help-block">Password is too short.</span> <span ng-show="registerForm.password.$error.maxlength" class="help-block">Password is too long.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : userForm.password.$invalid && !userForm.password.$pristine }"> <input type="checkbox" ng-model="vm.data.regular_email_updates">&nbsp;I agree to receive regular email updates from AT&T {{\'program.name\' | i18next}}. </div> <div class="form-group"> <input type="checkbox" ng-model="vm.data.terms" required>&nbsp;I accept the <a href="" ui-sref="app.terms" title="AT&T\'s {{\'program.name\' | i18next}} Terms of Service and Privacy Policy" target="_blank">AT&T\'s {{\'program.name\' | i18next}} Terms of Service and Privacy Policy</a>. </div> <div id="frm-field-63-container" class="form-group frm_form_field form-field frm_top_container"> <!--\n <label class="ice-form-label required">\n <span class="frm_required"></span>\n </label>\n --> <div id="field-7lj3ma" class="g-recaptcha" data-sitekey="6LeMMwYTAAAAACSY-OLibN7rdFHSnY9karY3VXW2"></div> </div> <input type="hidden" name="item_key" value="xxx"> <span>{{PleaseFill}} </span> <button type="submit" class="btn btn-primary" data-ng-disabled="!registerForm.$valid">Sign Up</button> <a ui-sref="app.login" class="login">Already have an account?</a> </form> <div class="col-md-2"></div> </div> </div>'),a.put("main/activation/resendActivation/resendActivation.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".active-form"></ice-loader> <div class="container"> <div class="row"> <div class="col-md-2"></div> <form name="resendActivationForm" ng-submit="vm.submitForm()" novalidate class="active-form col-md-8"> <p> You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your email address. <br><br> Please note that sometimes activation emails end up in users spam/junk folders, so please check there. <br><br> If you have not received it, please click the resend the Activation Email button below. </p> <button type="submit" class="btn btn-primary">Resend Activation Email</button> <div class="leftLink"> Still having problems? Please contact us at <a href="mailto:sp@exspcom">sp@exspcom</a> </div> </form> <div class="col-md-2"></div> </div> </div>'),a.put("main/activation/resetPassword/resetPassword.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".resetPassword-form"></ice-loader> <div class="container"> <div class="row"> <div class="col-md-2"></div> <form name="resetPasswordForm" ng-submit="vm.submitForm()" novalidate class="resetPassword-form col-md-8"> <div class="form-group" ng-class="{ \'has-error\' : resetPasswordForm.email.$invalid && !resetPasswordForm.email.$pristine }"> <label class="ice-form-label required">Email</label> <input type="email" name="email" class="form-control" ng-model="vm.data.email" maxlength="254" required> <div class="ice-form-error" data-ng-show="resetPasswordForm.email.$error"> <span ng-show="resetPasswordForm.email.$error.required && !resetPasswordForm.email.$pristine && ngReq">Email is a required field.</span> <span ng-show="resetPasswordForm.email.$invalid && !resetPasswordForm.email.$error.required && !resetPasswordForm.email.$pristine">Enter a valid email.</span> </div> </div> <button type="submit" class="btn btn-primary" data-ng-disabled="!resetPasswordForm.$valid">Send Instructions</button> <div class="leftLink"> Still having problems? Please contact <a ng-click="vm.sendMail()">sp@exspcom</a> </div> </form> <div class="col-md-2"></div> </div> </div>'),a.put("main/activation/terms/terms.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\n'+"ECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class=\"container\"> <div class=\"row\"> <div class=\"col-md-2\"></div> <form name=\"termsForm\" class=\"terms-form col-md-8\"> <p>The {{'serviceProvider.name' | i18next}} Domain 2 ICE ({{'program.name' | i18next}}) are maintained by {{'serviceProvider.name' | i18next}} Foundry (“{{'serviceProvider.name' | i18next}}”) for use by any one interested in incubating or validating their Virtual Function (VF) against our Domain 2.0 architecture. When you or any other person, employee or representative authorized by you (collectively referred to as “You” or “Your”) use the {{'serviceProvider.name' | i18next}} Domain 2.0 ICE, You accept the Terms and Conditions stated below (the “Terms and Conditions”).  Do not use the {{'program.name' | i18next}} if You do not agree with these Terms and Conditions.</p> <ol> <li><p><strong>Content Ownership.</strong> The {{'serviceProvider.name' | i18next}} Domain 2.0 ICE (“{{'program.name' | i18next}}”) provide You access to technical resources, such as product, service, and network information, and community forums and contain trademarks, service marks, logos, copyrights, other intellectual property, including, without limitation, text, data, graphics, audio, video, and product, service, network, process, and technical descriptions and information (collectively, the \"Content\") owned by, licensed to, and/or supplied to {{'serviceProvider.name' | i18next}}. As between You, {{'serviceProvider.name' | i18next}} its third party Content licensors and suppliers, {{'serviceProvider.name' | i18next}} or such third party Content licensors and suppliers are the sole owners of all Content on the {{'program.name' | i18next}}, including, without limitation, all copyrights, trademarks, service marks, patent, trade secret, and other intellectual property rights thereto. {{'serviceProvider.name' | i18next}} is the sole owner of the {{'program.name' | i18next}}. The {{'program.name' | i18next}} may contain links and references to third-party websites, which are provided for the convenience.  {{'serviceProvider.name' | i18next}} is not responsible for the content or information contained on such third party websites</p></li> <li><p><strong>Account Registration.</strong> In order to use certain features of the {{'program.name' | i18next}}, You will be asked to create a user Account and password (an \"Account\") and provide certain information (\"Registration Data\"). You agree: (i) that the Registration Data You provide will be true, accurate, current and complete at the time You provide it; (ii) to maintain and update such Registration Data to keep it true, accurate, current and complete; and (iii) that {{'serviceProvider.name' | i18next}} may contact You and require You to confirm some or all of Your Registration Data before using certain features of the {{'program.name' | i18next}}. You are responsible for maintaining the confidentiality of Your Account credentials and for all activities, charges and/or liabilities that occur from Your Account, whether or not authorized by You. You must immediately notify {{'serviceProvider.name' | i18next}} of any unauthorized use of Your Account credentials or any other breach of security of which You become aware. We will not be liable for any loss or damage arising from Your failure to comply with this section.</p></li> <li><p><strong>Limited License.</strong> Subject to Your compliance with these Terms and Conditions, and in consideration of Your promises reflected herein, {{'serviceProvider.name' | i18next}} grants to You a limited, non-exclusive, revocable, non-transferable license to access, view and use the {{'program.name' | i18next}}, including the Content contained therein, subject to any access restrictions or fees {{'serviceProvider.name' | i18next}} may establish from time to time. You may download, view, copy and print the Content solely for Your own use; provided that, without the express prior written permission of {{'serviceProvider.name' | i18next}}, such Content may not be adapted, modified, published, displayed, transmitted, transferred, shared with or disseminated to anyone for any purpose which is inconsistent with the business purpose of these {{'program.name' | i18next}}, facilitates unfair competition with these {{'program.name' | i18next}}, or exploits these {{'program.name' | i18next}} in any way or which is inappropriate under applicable US or international law. You are not permitted to distribute, assign, transfer or sublicense any right to use the {{'program.name' | i18next}}, either in whole or in part, to any third party. </p></li> <li><p><strong>Use Restrictions.</strong> Notwithstanding the foregoing license grant, You may not resell, redistribute, broadcast or transfer the Content or use the Content in a searchable, machine-readable database or file except through the authorized access to these {{'program.name' | i18next}}. Unless separately and specifically authorized in writing by {{'serviceProvider.name' | i18next}}, You may not rent, lease, sublicense, distribute, transfer, copy, reproduce, publicly display, publish, adapt, modify, create derivative works, mine, harvest, collect, store or time-share these {{'program.name' | i18next}}, any part thereof, or any of the Content received or accessed therefrom to or through any person or entity.  Access to any restricted area of the {{'program.name' | i18next}} without the authorization of {{'serviceProvider.name' | i18next}} is prohibited. You agree to use these {{'program.name' | i18next}}, including, without limitation, any restricted area, and the Content contained herein for lawful purposes only. You may not utilize logos, marks, or other distinctive graphics, video, or audio material in Your links, without {{'serviceProvider.name' | i18next}}’s express written permission, which {{'serviceProvider.name' | i18next}} may withhold in its discretion. You may not link in any manner reasonably likely to (i) imply affiliation with or endorsement or sponsorship by {{'serviceProvider.name' | i18next}}, (ii) cause confusion, mistake, or deception, (iii) dilute {{'serviceProvider.name' | i18next}}'s trademarks or service marks, or (iv) otherwise violate state or federal law. In addition, You may only link to the home page of the {{'serviceProvider.name' | i18next}} {{'program.name' | i18next}} unless {{'serviceProvider.name' | i18next}} authorizes You to do otherwise. You may not use spiders, robots, data mining techniques or other automated devices or programs to catalog, download or programs to catalog, download or otherwise reproduce, store or distribute Content available on the {{'serviceProvider.name' | i18next}} {{'program.name' | i18next}}.  You may not use any such automated means to manipulate the {{'serviceProvider.name' | i18next}} {{'program.name' | i18next}} or attempt to exceed the limited authorization and access granted to You under these Terms and Conditions.  You may not resell use of, or access to, the {{'serviceProvider.name' | i18next}} {{'program.name' | i18next}} to any third party. <li><p><strong>Forums.</strong> {{'serviceProvider.name' | i18next}} may make forums available within the {{'serviceProvider.name' | i18next}} {{'program.name' | i18next}} to help developers request and provide development help and share tips.  By submitting comments, posts, content, information, or messages (“Posts”) to such forums, You represent and warrant that: (i) You own and control all rights to the content in Your Posts, that You transmit or otherwise make available, or You have the lawful right to distribute, reproduce, and provide such content; (ii) the Posts are accurate and not misleading; and (iii) providing such Posts does not: (a) violate this Agreement or (b) violate the rights of, or cause any injury to, any person or entity. Further, You grant us a royalty-free, perpetual, irrevocable license to use such Posts.  Also, You understand and agree that {{'serviceProvider.name' | i18next}} retains the right to reformat, excerpt or translate any Posts submitted by You. You understand and agree that {{'serviceProvider.name' | i18next}} will not be liable for any Posts publicly posted or privately transmitted on these Web Sites. You understand and agree that we cannot guarantee the identity, statements or representations of any other users with whom You may interact in the course of using these Web Sites. Additionally, we cannot guarantee that any Posts obtained from our users or otherwise, is accurate, complete, authentic, current or reliable. Your use of the forums, if any, will further be governed by the {{'serviceProvider.name' | i18next}} Community Rules available for review within the forums.  Those rules are incorporated into these Terms and Conditions by this reference.  Users should be aware that forums and discussion groups are public and not private communications. Further, users acknowledge that Postings by other users are not endorsed by {{'serviceProvider.name' | i18next}}, and that such Posts shall not be considered as having been reviewed, screened or approved by {{'serviceProvider.name' | i18next}}.</p> <p>You agree not to submit or transmit any Post that (a) is libelous, defamatory, vulgar or obscene, pornographic, sexually offensive or explicit, harmful or harassing, threatening, hateful, racially, culturally, ethnically or otherwise objectionable or offensive, discriminatory or abusive; (b) violates any law or regulation or the rights of others; (c) infringes any copyright, trademark or other intellectual property right, or any proprietary or personal rights or confidentiality obligations of others; or (d)  is a solicitation for funding, advertising or solicitation for goods or services; or (e) (iv) which is used to unlawfully collude against another person in restraint of trade and competition.  You are solely responsible and liable for any such activity, behavior, use and conduct.  This means that You, and not {{'serviceProvider.name' | i18next}} or its, suppliers, or licensors, are entirely responsible for all Posts You submit or transmit.  {{'serviceProvider.name' | i18next}} reserves the right to filter, edit, or control all Your Posts and does not guarantee the accuracy, integrity or quality of Your Post.  Under no circumstances will {{'serviceProvider.name' | i18next}} or its suppliers, or licensors be liable in any way to You for any Posts, including, but not limited to, any errors or omissions in any content, information, or messages, or any loss or damage of any kind incurred as a result of the use of any such content, information or messages posted, emailed, transmitted.  You shall be solely liable for any damages resulting from any infringement of copyright, trademark or other proprietary right, or any other harm resulting from Your Post to a forum.  {{'serviceProvider.name' | i18next}} does not and cannot review every Post by You on forums and is not responsible for any Post.  {{'serviceProvider.name' | i18next}} reserves the right to delete, move or edit, at its sole discretion, any Post that does not comply with this paragraph. You acknowledge that any Post may be edited, removed, modified, published, transmitted and displayed by {{'serviceProvider.name' | i18next}}.   {{'serviceProvider.name' | i18next}} is under no obligation to use any Post you transmit or submit. You agree that {{'serviceProvider.name' | i18next}} is not under any obligation of confidentiality, express or implied, with respect to Your Post. </p><p> </p><p>Any Post, comments, content, information or materials sent to us, including, but not limited to, data,  ideas, answers, questions, comments, suggestions, feedback or the like,  (collectively, \"Feedback\"), is non-confidential and shall become our sole property. We shall have no obligation to You of any kind, monetary or non-monetary, with respect to such Feedback and shall be free to reproduce, use, disclose, exhibit, display, transform, create derivative works from and distribute the Feedback to others without limitation or obligation.  You acknowledge that {{'serviceProvider.name' | i18next}} has absolutely no liability for alleged infringement or misappropriation in connection with such information/Post. The submission of such information/Post to {{'serviceProvider.name' | i18next}} will in no way prevent, or require, the purchase, manufacture or use of any products, services, plans or ideas by {{'serviceProvider.name' | i18next}} for any purpose whatsoever.</p></li> <li><p><strong>Consent to Monitoring and Disclosure.</strong> You acknowledge that {{'serviceProvider.name' | i18next}} reserves the right, and may from time to time, monitor Your access and use of the {{'program.name' | i18next}} and Your Posts. {{'serviceProvider.name' | i18next}}, at its sole discretion and without further notice to You, may (but is not obligated to) review, censor or prohibit the transmission or receipt of any Post which {{'serviceProvider.name' | i18next}} deems inappropriate or that violates these Terms or Conditions or any {{'serviceProvider.name' | i18next}} Policy. During monitoring, Posts may be examined, recorded, copied, and used for authorized purposes. Your use of the {{'program.name' | i18next}}, authorized or unauthorized, constitutes consent to such monitoring. </p></li> <li><p><strong>Copyright Complaints.</strong> {{'serviceProvider.name' | i18next}} respects the intellectual property rights of others. If You believe that Your work has been copied and has been posted, stored or transmitted by or through the {{'program.name' | i18next}} in a way that constitutes copyright infringement, please submit a notification pursuant to the Digital Millennium Copyright Act (\"DMCA\") in accordance with the process detailed at http://www.att.net/general-info/claims.html and directed to:  Designated Agent: Manager of Security & Copyright Infringement, 1800 Perimeter Park Drive, Suite 100, Morrisville, NC 27560, Phone: (919) 319-5737, Fax: (919) 319-8154, E-mail: copyright@exspcom.</p></li> <li><p><strong>Privacy.</strong> It is the policy of {{'serviceProvider.name' | i18next}} to respect the privacy of its customers and any persons who visit its web sites.  For this reason, {{'serviceProvider.name' | i18next}} has established a Privacy Policy, the terms of which are available for Your review at:  www.att.com/privacy.  Subject to these Terms and Conditions, the relevant provisions of said Privacy Policy are incorporated by this reference.</p></li> <li><p><strong>Subject to Change.</strong> {{'serviceProvider.name' | i18next}} reserves the right to modify these Terms and Conditions, the Privacy Statement, and the business policies and practices associated with the use of these {{'program.name' | i18next}}. Such modifications may include, without limitation, implementation of user priorities, implementation of rules for use by You, and discontinuance of functional aspects of the {{'program.name' | i18next}}, and changes in prices. {{'serviceProvider.name' | i18next}} may also add, withdraw or modify any Content contained within these {{'program.name' | i18next}} at any time in its sole discretion.  Your use of these {{'program.name' | i18next}} is Your agreement to be bound by such changes.</p></li> <li><p><strong>Term.</strong> The period during which You are entitled to use the {{'serviceProvider.name' | i18next}} {{'program.name' | i18next}} (“Term”) begins on the date upon which You agree to these Terms and Conditions. {{'serviceProvider.name' | i18next}} may revoke or terminate the License granted in its sole discretion at any time. Without limiting the generality of the foregoing, we may revoke or terminate the License if You: (i) breach any obligation in these Terms and Conditions or in any other agreement between You and us, (ii) violate any policy or guideline applicable to the {{'program.name' | i18next}}, Content, or any other {{'serviceProvider.name' | i18next}} service, or (iii) use these {{'program.name' | i18next}} or Content specifically authorized in these Terms and Conditions, without our prior written permission.   Additionally, either You or {{'serviceProvider.name' | i18next}} may terminate this License at any time without cause, but termination of this License will not relieve You of the obligations under these Terms and Conditions that You assumed by using these {{'program.name' | i18next}}.</p></li> <li><p><strong>Termination of {{'serviceProvider.name' | i18next}} Web Site and Service.</strong> {{'serviceProvider.name' | i18next}} may discontinue, terminate, suspend or shut down the {{'serviceProvider.name' | i18next}} Web Site, {{'program.name' | i18next}}, particular {{'program.name' | i18next}}, and/or remove Content at any time and for any or no reason. We are not obligated to give notice of such discontinuation, termination, suspension, removal or shut-down.  Your License shall automatically terminate, if {{'serviceProvider.name' | i18next}} discontinues, terminates, suspends or shut downs the {{'serviceProvider.name' | i18next}} Web Site.</p></li> <li><p><strong>Application Agreement(s).</strong>  These Terms and Conditions relate solely to Your access to, and use of, the {{'program.name' | i18next}} and Content.  No commitments, obligations, terms or restrictions are imposed upon either party with respect to any Application(s) by virtue of these Terms and Conditions.  Any agreements between You and {{'serviceProvider.name' | i18next}} regarding Applications will be governed by a separate agreement(s).</p></li> <li><p><strong>Trademarks. </strong>The {{'serviceProvider.name' | i18next}} name, trade names, trademarks and logo, as well as all related product and service names, design marks and slogans, are the property of {{'serviceProvider.name' | i18next}}, and may not be used by You for any purpose unless specifically authorized in writing, and in advance, by {{'serviceProvider.name' | i18next}}.  All other names, marks and logos are the names, marks and logos of their respective owners.  All right, title and interest, including, without limitation, all copyrights, trademarks and other intellectual property rights, in the {{'program.name' | i18next}} and Content belong to {{'serviceProvider.name' | i18next}}, its licensors, or suppliers.</p></li> <li><p><strong>Connectivity; Delay in Service.</strong> You are responsible for all costs and expenses associated with establishing and maintaining Your connection to these {{'program.name' | i18next}}. Neither {{'serviceProvider.name' | i18next}}, nor any of its licensors or suppliers (including its and their officers, directors, managers, employees, affiliates, agents, or representatives) shall be liable for any loss or liability resulting, directly or indirectly, from delays or interruptions due to electric or mechanic equipment failures,  interconnection problems, defects, weather, strikes, walkouts, fire, acts of nature, riots, armed conflicts, acts of war or other like causes. {{'serviceProvider.name' | i18next}} shall have no responsibility to provide You access to these {{'program.name' | i18next}} during any such interruption.</p></li> <li><p><strong>Limitation of Liability.</strong> YOU ASSUME FULL RESPONSIBILITY FOR IMPLEMENTING SUFFICIENT PROCEDURES AND CHECKS TO SATISFY YOUR REQUIREMENTS FOR ACCURACY AND SUITABILITY OF THESE {{'program.name' | i18next}} AND THE CONTENT, AND FOR MAINTAINING ANY MEANS WHICH YOU MAY REQUIRE FOR THE RECONSTRUCTION OF LOST DATA OR SUBSEQUENT MANIPULATIONS OR ANALYSES OF THE CONTENT PROVIDED UNDER THIS AGREEMENT. YOU ACKNOWLEDGE AND AGREE THAT {{'serviceProvider.name' | i18next}}, ITS AFFILIATES, LICENSORS, AND SUPPLIERS (INCLUDING ITS OR THEIR OFFICERS, DIRECTORS, MANAGERS, EMPLOYEES, AFFILIATES, AGENTS,  AND REPRESENTATIVES (“LIMITED LIABILITY PARTIES” FOR THE REMAINDER OF THIS PARAGRAPH) WILL NOT BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM AN INABILITY TO ACCESS OR USE THE {{'program.name' | i18next}} AND/OR CONTENT AVAILABLE ON OR ACCESSIBLE THROUGH THE {{'program.name' | i18next}}. THESE LIMITATIONS ON THE LIABILITY OF THE LIMITED LIABILITY PARTIES APPLY WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE, STRICT LIABILITY OR OTHER TORTIOUS ACTION ARISING OUT OF OR IN CONNECTION WITH THE CONTENT AVAILABLE ON OR ACCESSIBLE THROUGH THE {{'program.name' | i18next}} AND THE LIMITATIONS APPLY EVEN IF LIMITED LIABILITY PARTIES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.  YOU AGREE AND ACKNOWLEDGE THAT THESE LIMITATIONS ON THE LIABILITY OF LIMITED LIABILITY PARTIES REFLECT A REASONABLE ALLOCATION OF RISK AND THAT SUCH ALLOCATION OF RISK IS A SIGNIFICANT INDUCMENT FOR {{'serviceProvider.name' | i18next}} TO ALLOW YOU TO ACCESS AND USE THE {{'program.name' | i18next}}.  IN NO EVENT WILL THE AGGREGATE, TOTAL LIABILITY OF THE LIMITED LIABILITY PARTIES FOR DAMAGES, INJURY, LOSSES AND CAUSES OF ACTION, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM OR RELATING TO ACCESS OR USE OF THE {{'program.name' | i18next}} EXCEED TEN DOLLARS ($10.00). BECAUSE SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES, SOME OF THE ABOVE LIMITATIONS MAY NOT APPLY IN THOSE JURISDICTIONS. IN SUCH JURISDICTIONS, THE LIMITED LIABILITY PARTIES¿ LIABILITY IS LIMITED TO THE GREATEST EXTENT PERMITTED BY LAW.</p></li> <li><p><strong>Disclaimer of Warranties.</strong> BROWSING AND USE OF THE {{'program.name' | i18next}} AND CONTENT IS AT YOUR OWN RISK. YOU ACKNOWLEDGE THAT INACCURACIES MAY OCCUR, AND THAT {{'serviceProvider.name' | i18next}} AND ITS LICENSORS AND SUPPLIERS DO NOT WARRANT THE ACCURACY OR SUITABILITY OF THE {{'program.name' | i18next}} AND CONTENT FOR ANY PURPOSE. FURTHERMORE, THE {{'program.name' | i18next}} AND CONTENT MAY CONTAIN LINKS TO THIRD PARTY WEBSITES NOT UNDER THE CONTROL OR OPERATION OF {{'serviceProvider.name' | i18next}}. {{'serviceProvider.name' | i18next}} PROVIDES ANY SUCH LINKS ONLY AS A CONVENIENCE FOR YOU AND IS NOT RESPONSIBLE FOR ANY SUCH LINKED SITES, THE CONTENT ON ANY SUCH LINKED SITES OR A SITE LINKED TO OR FROM ANY SUCH LINKED SITES. YOU ASSUME ALL RESPONSIBILITY AND RISK FOR USE OF THE {{'program.name' | i18next}}, THE CONTENT AND THE INTERNET GENERALLY. ACCESS TO AND/OR USE OF THE {{'program.name' | i18next}} AND CONTENT PROVIDED ON OR AVAILABLE THROUGH THE {{'program.name' | i18next}} ARE PROVIDED OR MADE AVAILABLE ON AN ¿AS IS¿ AND ¿AS AVAILABLE¿ BASIS WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF TITLE, NON-INFRINGEMENT OR IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. NO ADVICE OR INFORMATION GIVEN BY {{'serviceProvider.name' | i18next}}, ITS AFFILIATES OR IT LICENSORS, OR SUPPLIERS WILL CREATE ANY WARRANTY. FURTHER, NEITHER {{'serviceProvider.name' | i18next}} NOR ITS AFFILIATES, LICENSORS, OR SUPPLIERS WARRANT THAT CONTENT PROVIDED ON OR AVAILABLE THROUGH THE {{'program.name' | i18next}} WILL BE UN-INTERRUPTABLE, ACCURATE, COMPLETE, USEFUL, FUNCTIONAL OR ERROR FREE, OR THAT CONTENT OR MATERIAL PROVIDED ON OR AVAILABLE THROUGH THE {{'program.name' | i18next}} IS FREE OF VIRUSES OR OTHER HARMFUL COMPONENTS. ANY CONTENT AVAILABLE ON OR ACCESSIBLE THROUGH THE {{'program.name' | i18next}} MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS.</p></li> <li><p><strong>Indemnification.</strong> You agree to release, indemnify, defend and hold {{'serviceProvider.name' | i18next}}, its affiliates and/or its licensors, and suppliers and their affiliates, officers, directors, managers, employees, agents and representatives  harmless from losses, damages, claims, demands, suits, liabilities, fines, penalties, and expenses, including reasonable attorneys’ fees, made by any third party due to or arising out of Your access to or use of the {{'serviceProvider.name' | i18next}} {{'program.name' | i18next}} or the Content, the violation by You of these Terms and Conditions, the infringement by You of any intellectual property or other right of any person or entity, and/or any Posts You submit or transmit to any Forums. <li><p><strong>Severability.</strong> If any of these Terms and Conditions are held to be invalid or unenforceable with respect to a party, the remainder of these Terms and Conditions, or the application of such provision to persons other than those to whom it is held invalid or unenforceable shall not be affected and each remaining provision of these Terms and Conditions shall be valid and enforceable to the fullest extent permitted by law.</p></li> <li><p><strong>Publicity.</strong> Nothing contained in these Terms and Conditions will be construed as granting to You any right to use or refer to in advertising, publicity, promotion, marketing or other activities, any name, trade name, trade or service mark or any other designation of {{'serviceProvider.name' | i18next}}, its licensors, or suppliers, including any contraction, abbreviation or simulation of any kind of the foregoing, unless specifically authorized in writing, and in advance, by {{'serviceProvider.name' | i18next}}, its licensors, or suppliers.</p></li> <li><p><strong>International Use.</strong> {{'serviceProvider.name' | i18next}} controls and operates these {{'program.name' | i18next}} from its offices in the United States of America. {{'serviceProvider.name' | i18next}} does not represent that Content accessible via the {{'program.name' | i18next}} is appropriate or available for use in all geographic locations, especially some locations outside the United States, and accessing such from certain locations may be illegal and prohibited.  If You access or use such Content from such locations, You are acting on Your own initiative, and {{'serviceProvider.name' | i18next}} is not responsible for Your compliance with local laws or other applicable legal or regulatory restrictions.  You agree that You will not access or use the {{'program.name' | i18next}} or Content where prohibited by applicable law, rule or regulation.  You represent and warrant that You are not (a) located in any country that is subject to a U.S. Government embargo, or that has been designated by the U.S. Government as a “terrorist supporting” country, or (b) listed on any U.S. Government list of prohibited or restricted parties including the Treasury Department’s list of Specially Designated Nationals or the U.S. Department of Commerce Denied Persons List or Entity List. You also agree that You will not use the {{'program.name' | i18next}} or Content for any purposes prohibited by United States law.</p></li> <li><p><strong>Governing Law.</strong> The laws of the State of Texas, excluding its conflicts-of-law rules, shall govern this Agreement and Your use of these {{'program.name' | i18next}} and Content. You agree that any claim or dispute with {{'serviceProvider.name' | i18next}} relating in any way to Your use of the {{'program.name' | i18next}} or Content shall be commenced and heard in the state or federal courts of the State of Texas, County of Dallas, and You agree and expressly consent to the exercise of personal jurisdiction in the courts of the State of Texas, in connection with any such dispute.  You and {{'serviceProvider.name' | i18next}} agree that any cause of action arising out of or related to or use of the {{'program.name' | i18next}} or Content  must commence within one (1) year after the cause of action arises.  Otherwise, such cause of action is permanently barred.  Because some jurisdictions do not permit such time bars, this limitation may not apply in all situations.</p></li> <li><p><strong>Miscellaneous.</strong> {{'serviceProvider.name' | i18next}}’s failure to exercise or enforce any right or provision of these Terms and Conditions will not constitute a waiver of such right or provision unless acknowledged and agreed to by {{'serviceProvider.name' | i18next}} in writing.  Neither the course of conduct between the parties nor trade practice will act to modify any provision of these Terms and Conditions. </p></li> </p></li></p></li></ol> </form> <div class=\"col-md-2\"></div> </div> </div>"),
-a.put("main/activation/updatePassword/updatePassword.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".updatePassword-form"></ice-loader> <div class="container"> <div class="row"> <div class="col-md-2"></div> <form name="updatePasswordForm" ng-submit="vm.submitForm()" novalidate class="updatePassword-form col-md-8"> <div class="form-group" ng-class="{ \'has-error\' : updatePasswordForm.password.$invalid && !updatePasswordForm.password.$pristine }"> <label class="ice-form-label">Password</label> <input type="password" name="password" class="form-control" ng-model="vm.data.password" maxlength="32" ng-minlength="4" required> <div class="ice-form-error" data-ng-show="updatePasswordForm.password.$error"> <span ng-show="updatePasswordForm.password.$error.required && !updatePasswordForm.password.$pristine && ngReq">Password is required field.</span> <span ng-show="updatePasswordForm.password.$error.minlength && ngReq">Password is too short.</span> <span ng-show="updatePasswordForm.password.$error.maxlength">Password is too long.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : updatePasswordForm.confirm_password.$invalid && !updatePasswordForm.confirm_password.$pristine }"> <label class="ice-form-label">Confirm password</label> <input type="password" name="confirm_password" class="form-control" ng-model="vm.data.confirm_password" maxlength="32" required> <div class="ice-form-error" data-ng-show="updatePasswordForm.confirm_password.$error"> <span ng-show="updatePasswordForm.confirm_password.$error.required && !updatePasswordForm.confirm_password.$pristine && ngReq">Confirm password is required field.</span> <span ng-show="!updatePasswordForm.confirm_password.$error.required && updatePasswordForm.confirm_password.$error.noMatch && updatePasswordForm.password.$dirty">Passwords do not match.</span> </div> </div> <button type="submit" class="btn btn-primary" data-ng-disabled="!updatePasswordForm.$valid">Update Password</button> <div class="leftLink"> Still having problems? Please contact <a ng-click="vm.sendMail()">sp@exspcom</a> </div> </form> <div class="col-md-2"></div> </div> </div>'),a.put("main/admin/checklist-template/checklist-template.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <form name="checklistTemplateForm" class="checklist-template" ng-show="vm.template"> <div id="cl-header" class="row"> <div class="col-sm-8 checklist-template-topic"> <h1 id="cl-title"> <span id="edit-template-btn" class="sprite edit-medium edit-checklist" ng-click="vm.switchElementInlineEditing(\'templateName\')"></span> <span class="template-topic">Master Checklist Template:</span> <span ng-if="!vm.inlineEditingElements[\'templateName\']" name="{{vm.template.name}}" class="template-name">{{vm.template.name}}</span> <span class="form-group" ng-class="{ \'has-error\' : checklistTemplateForm.editTemplateName.$invalid && checklistTemplateForm.editTemplateName.$dirty }"> <input ng-show="vm.inlineEditingElements[\'templateName\']" class="checklist-template-edit-item edit-template-name" type="text" name="editTemplateName" ng-blur="vm.switchElementInlineEditing(\'templateName\')" ng-model="vm.template.name" required ng-minlength="1" ng-maxlength="24"> <div class="ice-form-error" data-ng-show="checklistTemplateForm.editTemplateName.$error"> <span ng-show="checklistTemplateForm.editTemplateName.$error.required && checklistTemplateForm.editTemplateName.$dirty">Template name is a required field.</span> <span ng-show="checklistTemplateForm.editTemplateName.$error.minlength" class="help-block">Template name is too short.</span> <span ng-show="checklistTemplateForm.editTemplateName.$error.maxlength" class="help-block">Template name is too long.</span> </div> </span> </h1> <div class="topic-description"> Editing a master checklist template will affect all checklists currently created of that type and will also restart the validation for all active engagements. </div> </div> <span class="col-sm-4 cl-action-buttons-frame"> <div id="state-actions" class="row"> <div class="save-button col-md-6"><button class="btn btn-gradient-success" ng-click="vm.save() " data-ng-disabled="checklistTemplateForm.$invalid || vm.isSaveInvalid()" id="save-button">Save</button></div> <div class="col-md-6"><button id="state-actions-btn-reject" class="btn btn-gradient-danger" ng-click="vm.cancel()" id="cancel-button">Cancel</button></div> </div> </span> </div> <article class="row" ng-class="blocked-area" id="checklist-main-section"> <ul class="col-md-6" id="line-item-list"> <li data-ng-repeat="section in vm.template.sections"> <h2> <span class="section-topic">Section {{$index+1}}: </span><span ng-show="!vm.inlineEditingElements[section.$$hashKey]">{{section.name}}</span> <span class="form-group" ng-class="{ \'has-error\' : checklistTemplateForm.editSectionName{{$index}}.$invalid && checklistTemplateForm.editSectionName{{$index}}.$dirty }"> <input ng-show="vm.inlineEditingElements[section.$$hashKey]" id="edit-section-input-{{$index}}" class="checklist-template-edit-item edit-section-name" type="text" name="editSectionName{{$index}}" ng-blur="vm.switchElementInlineEditing(section.$$hashKey)" ng-model="section.name" required ng-minlength="1" ng-maxlength="64"> <span class="edit-checklist template-edit-item" id="edit-section-btn-{{$index}}" ng-click="vm.switchElementInlineEditing(section.$$hashKey)"></span> <span class="remove-item" ng-click="vm.deleteSection(section)"></span> <div class="ice-form-error" data-ng-show="checklistTemplateForm.editSectionName{{$index}}.$error"> <span ng-show="checklistTemplateForm.editSectionName{{$index}}.$error.required && checklistTemplateForm.editSectionName{{$index}}.$dirty">Section name is a required field.</span> <span ng-show="checklistTemplateForm.editSectionName{{$index}}.$error.minlength" class="help-block">Section name is too short.</span> <span ng-show="checklistTemplateForm.editSectionName{{$index}}.$error.maxlength" class="help-block">Section name is too long.</span> </div> </span> </h2> <ul> <li data-ng-repeat="lineItem in section.lineItems" class="line-item-row" ng-class="{\'selected-line\' : lineItem === vm.selectedLineItem}" id="select-lineitem-btn-{{$parent.$index}}.{{$index}}" ng-click="vm.selectLineItem(lineItem, section, $event)"> <span class="col-sm-2 col-xs-2 col-md-2"> <span class="lineitem-changed-icon" ng-show="vm.inlineEditingElements[lineItem.uuid] != undefined"></span> <span ng-class="vm.inlineEditingElements[lineItem.uuid] != undefined ? \'\' : \'lineitem-index\'"></span>{{$parent.$index+1}}.{{$index+1}} </span> <span class="col-sm-9 col-xs-9 col-md-9">{{lineItem.name}}</span> <div class="col-sm-1 col-xs-1 col-md-1">&nbsp;</div> <span class="selected-line-connector"></span> </li> <li class="cl-add-item-line"> <span class="add-button" ng-click="vm.addLineItem(section);" id="add-lineitem-btn"></span> <span>Add Another line item</span> </li> </ul> </li> </ul> <aside class="col-md-6" id="line-item-extended"> <header class="row"> <h2 ng-show="vm.selectedSection" class="col-sm-11 col-xs-11 col-md-11"><span class="bold">{{vm.selectedSection.name}} -</span> <span ng-show="!vm.inlineEditingElements[vm.selectedLineItem.uuid]">{{vm.selectedLineItem.name}}</span> <span class="form-group" ng-class="{ \'has-error\' : checklistTemplateForm.editLineItemName.$invalid && checklistTemplateForm.editLineItemName.$dirty }"> <input ng-show="vm.inlineEditingElements[vm.selectedLineItem.uuid]" class="checklist-template-edit-item edit-lineitem-name" type="text" name="editLineItemName" ng-model="vm.selectedLineItem.name" required ng-minlength="1" ng-maxlength="64" id="edit-line-item-name-input"> <div class="ice-form-error" data-ng-show="checklistTemplateForm.editLineItemName.$error"> <span ng-show="checklistTemplateForm.editLineItemName.$error.required && checklistTemplateForm.editLineItemName.$dirty">Line item name is a required field.</span> <span ng-show="checklistTemplateForm.editLineItemName.$error.minlength" class="help-block">Line item name is too short.</span> <span ng-show="checklistTemplateForm.editLineItemName.$error.maxlength" class="help-block">Line item name is too long.</span> </div> </span> </h2> <span ng-class="!vm.inlineEditingElements[vm.selectedLineItem.uuid] ? \'edit-checklist template-edit-item\' : \'glyphicon glyphicon-ok edit-checklist glyphicon-cursor-approve-changes\'" ng-show="!checklistTemplateForm.$invalid" ng-click="vm.switchElementInlineEditing(vm.selectedLineItem.uuid)" id="edit-lineitem-btn"></span> <span ng-show="vm.selectedLineItem" class="remove-item" ng-click="vm.deleteLineItem(vm.selectedLineItem)" id="delete-lineitem-btn"></span> </header> <section ng-show="!vm.inlineEditingElements[vm.selectedLineItem.uuid]" id="line-item-description" ng-bind-html="vm.selectedLineItem.description | htmlspecialchars | htmlstylespan"></section> <span class="form-group" ng-class="{ \'has-error\' : checklistTemplateForm.editLineitemDescription.$invalid && checklistTemplateForm.editLineitemDescription.$dirty }"> <wysiwyg textarea-id="edit-lineitem-description" ng-show="vm.inlineEditingElements[vm.selectedLineItem.uuid]" textarea-class="form-control" textarea-name="editLineitemDescriptionTextArea" name="editLineitemDescription" textarea-height="160px" ng-model="vm.selectedLineItem.description" class="ice-wysiwyg checklist-template-edit-item edit-lineitem-description" enable-bootstrap-title="true" textarea-menu="vm.wysiwyg_menu" required textarea-required="True" ng-minlength="1" id="edit-lineitem-description-input"> </wysiwyg> <div class="ice-form-error" data-ng-show="checklistTemplateForm.editLineitemDescription.$error"> <span ng-show="checklistTemplateForm.editLineitemDescription.$error.required && checklistTemplateForm.editLineitemDescription.$dirty">Line item description is a required field.</span> <span ng-show="checklistTemplateForm.editLineitemDescription.$error.minlength" class="help-block">Line item description is too short.</span> <span ng-show="checklistTemplateForm.editLineitemDescription.$error.maxlength" class="help-block">Line item description is too long.</span> </div> </span> <section ng-show="vm.selectedLineItem" id="line-item-validation-instructions"> <h3>Validation Instructions</h3> <p ng-if="!vm.inlineEditingElements[vm.selectedLineItem.uuid]" ng-bind-html="vm.selectedLineItem.validation_instructions | htmlspecialchars | htmlstylespan"></p> <span class="form-group" ng-class="{ \'has-error\' : checklistTemplateForm.validationInstruction.$invalid && checklistTemplateForm.validationInstruction.$dirty }"> <wysiwyg textarea-id="validation-instruction" ng-show="vm.inlineEditingElements[vm.selectedLineItem.uuid]" textarea-class="form-control" textarea-name="validationInstructionTextArea" name="validationInstruction" textarea-height="160px" ng-model="vm.selectedLineItem.validation_instructions" class="ice-wysiwyg" enable-bootstrap-title="true" textarea-menu="vm.wysiwyg_menu" required textarea-required="True" ng-minlength="1"> </wysiwyg> <div class="ice-form-error" data-ng-show="checklistTemplateForm.validationInstruction.$error"> <span ng-show="checklistTemplateForm.validationInstruction.$error.required && checklistTemplateForm.validationInstruction.$dirty">Validation Instructions is a required field.</span> </div> </span> </section> <header class="row" ng-show="!vm.selectedLineItem"> <h2 class="col-sm-8 col-xs-8 col-md-8"><span class="bold">There is no line item to display</span> </h2> </header> </aside> </article> </form> <div class="another-section" ng-show="vm.template"> <span class="add-another-section" ng-click="vm.addSection()"></span> <span>Add Another Section</span> </div>'),a.put("main/dashboard/account/account.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".account-form"></ice-loader> <h2>Account</h2> <div data-ng-if="vm.stage!==vm.stages.intake"> <progress-directive progress="{{vm.progress}}" callback="vm.updateProgress" enable-edit="vm.isEngagementEL()" engagement-uuid="{{vm.uuid}}"></progress-directive> </div> <!--div class="row main-section" --> <div class="row main-section"> <get-started-modal></get-started-modal> <div class="col-md-8 steps"> <form name="accountForm" ng-submit="vm.submitForm()" novalidate class="account-form col-md-8"> <!--\n <div class="form-group">\n <h2>Account</h2>\n </div>\n --> <div class="form-group" ng-class="{ \'has-error\' : registerForm.company.$invalid && !registerForm.company.$pristine }"> <label class="ice-form-label required">Company</label> <select ng-model="vm.data.company" name="company" class="form-control" required> <option value>Please Select</option> <option ng-repeat="company in vm.companies" value="{{company.name}}" ng-selected="company.name===vm.data.company"> {{company.name}} </option> </select> <div class="ice-form-error" data-ng-show="accountForm.company.$error"> <span ng-show="accountForm.company.$error.required && !accountForm.company.$pristine" class="help-block">Please select company</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : accountForm.fullName.$invalid && !accountForm.fullName.$pristine }"> <label class="ice-form-label required">Full Name</label> <input type="text" name="fullname" class="form-control" ng-model="vm.data.full_name" ng-minlength="3" ng-maxlength="50" maxlength="50" required> <div class="ice-form-error" data-ng-show="accountForm.fullname.$error"> <span ng-show="accountForm.fullname.$error.required && !accountForm.fullname.$pristine">Full Name is a required field.</span> <span ng-show="accountForm.fullname.$error.minlength">Full Name is too short.</span> <span ng-show="accountForm.fullname.$error.maxlength">Full Name is too long.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : accountForm.email.$invalid && !accountForm.email.$pristine }"> <label class="ice-form-label">Email</label> <input id="{{vm.data.email}}" type="email" name="email" class="form-control" ng-model="vm.data.email" maxlength="254" ng-pattern="/^(([^<>()\\[\\]\\\\.,;:\\s@&quot;]+(\\.[^<>()\\[\\]\\\\.,;:\\s@&quot;]+)*)|(&quot;.+&quot;))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/" disabled> <div class="ice-form-error" data-ng-show="accountForm.email.$error"> <span ng-show="accountForm.email.$error.required && !accountForm.email.$pristine">Email is a required field.</span> <span ng-show="accountForm.email.$invalid && !accountForm.email.$pristine" class="help-block">Enter a valid email.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : accountForm.phone.$invalid && !accountForm.phone.$pristine }"> <label class="ice-form-label required">Phone</label> <input type="text" name="phone" class="form-control" ng-intl-tel-input ng-model="vm.data.phone_number" required ng-minlength="6" ng-maxlength="30"> <div class="has-error ice-form-error" data-ng-show="accountForm.phone.$error"> <span ng-show="accountForm.phone.$error.required && !accountForm.phone.$pristine">Phone is a required field.</span> <span ng-show="accountForm.phone.$error.minlength" class="help-block">Phone is too short.</span> <span ng-show="accountForm.phone.$error.maxlength" class="help-block">Phone is too long.</span> <span ng-show="accountForm.phone.$invalid" class="help-block">Phone format invalid</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : accountForm.password.$invalid && !accountForm.password.$pristine }"> <label class="ice-form-label">Password</label> <input type="password" name="password" class="form-control" ng-model="vm.data.password" ng-minlength="4" ng-maxlength="32" maxlength="32"> <div class="ice-form-error" data-ng-show="accountForm.password.$error"> <span ng-show="accountForm.password.$error.required && !accountForm.password.$pristine">Password is a required field.</span> <span ng-show="accountForm.password.$error.required && accountForm.$submitted ">Password is required.</span> <span ng-show="accountForm.password.$error.minlength" class="help-block">Password is too short.</span> <span ng-show="accountForm.password.$error.maxlength" class="help-block">Password is too long.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : accountForm.confirm_password.$invalid && !accountForm.confirm_password.$pristine }"> <label class="ice-form-label">Confirm password</label> <input type="password" name="confirm_password" class="form-control" ng-model="vm.data.confirm_password" ng-minlength="4" ng-maxlength="32" maxlength="32"> <div class="ice-form-error" data-ng-show="accountForm.confirm_password.$error"> <span ng-show="accountForm.confirm_password.$error.required && !accountForm.confirm_password.$pristine">Confirm password is required field.</span> <span ng-show="!accountForm.confirm_password.$error.required && accountForm.confirm_password.$error.noMatch && accountForm.password.$dirty">Passwords do not match.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : accountForm.password.$invalid && !accountForm.password.$pristine }"> <label class="ice-form-label">SSH Key</label> <textarea name="ssh_key" class="form-control" ng-model="vm.data.ssh_key" ng-focus="clearMsg()"></textarea> <div class="ice-form-error" data-ng-show="accountForm.password.$error"> </div> </div> <button type="submit" id="upate-account" class="btn btn-primary" data-ng-disabled="!accountForm.$valid">Update</button> </form> </div> <div class="col-md-4 right-panel"> <div class="personImage"></div> <div class="line-separator col-md-12"></div> <h3 id="storage-credentials">Your Storage Credentials</h3> <div class="storage-credentials"> <div id="access-key-title">Access Key: <div class="access-key" id="access-key-value">{{vm.data.access_key}}</div> </div> <div id="access-secret-title">Access Secret (<span class="show-secret" ng-click="vm.getAccessSecret()" role="button" id="show-access-secret">Show</span>) <div class="access-secret" id="access-secret-value" type="password">{{vm.data.access_secret}}</div> </div> </div> </div> </div> '),a.put("main/dashboard/account/notifications/notifications.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".account-form"></ice-loader> <div class="row"> <div class="col-md-12" id="notifications"> <h2>Notifications</h2> </div> <div class="col-md-12"> <form name="notificationsForm" novalidate class="notifications-form"> <content class="row col-md-12" id="notifications-results"> <div class="row hoverCyan" dir-paginate="notification in vm.notifications_display_list | itemsPerPage: vm.pagination_num_of_objects" total-items="vm.num_of_returned_items" current-page="vm.page_num" ng-class="{lineColor: ($index % 2 == 0),boldFont: !notification.is_read}" track by notification.uuid> <div class="electricity col-md-1"></div> <div class="col-md-10" id="table-col-{{notification.uuid}}"><notifications activity="notification.activity"></notifications></div> <div class="col-md-1"><span class="delete" id="del-notification-{{notification.uuid}}" ng-click="vm.delNotification(notification.uuid)"></span></div> </div> </content></form></div> <dir-pagination-controls on-page-change="vm.getNotifications(false)" class="col-md-12" id="notifications-pagination"></dir-pagination-controls> </div> '),a.put("main/dashboard/account/user-profile-settings/user-profile-settings.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".user-profile-settings-form"></ice-loader> <h2 id="user-profile-settings-title">Settings</h2> <form name="userProfileSettingsForm" ng-submit="vm.submitForm()" novalidate class="user-profile-settings-form col-md-6"> <div class="form-check"> <label class="form-check-label"> <input class="form-check-input" id="receive-emails" ng-model="vm.receiveEmails" type="checkbox"> I want to receive regular email updates and information from {{\'program.name\' | i18next}} </label> </div> <hr> <div class="form-check"> <label class="form-check-label"> <input class="form-check-input" id="receive-notifications" ng-model="vm.receiveNotifications" ng-click="vm.changeReceiveNotifications()" type="checkbox"> I want to receive email notifications when something happens on {{\'program.name\' | i18next}} </label> <div class="receive-email-options"> <div class="form-check"> <label class="form-check-label"> <input class="form-check-input" id="receive-emails-every-time" ng-model="vm.receiveEmailsEveryTime" ng-disabled="!vm.receiveNotifications" type="checkbox"> I want to receive an email every time </label> </div> <div class="form-check"> <label class="form-check-label"> <input class="form-check-input" id="receive-digest-emails" ng-model="vm.receiveDigestEmails" ng-disabled="!vm.receiveNotifications" type="checkbox"> I want to receive a daily digest email </label> </div> </div> </div> <button type="submit" id="update-account-user-profile-settings" class="btn btn-primary" data-ng-disabled="userProfileSettingsForm.$invalid">Update</button> </form>'),a.put("main/dashboard/checklist/checklist.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="checkList" ng-disabled="true" ng-if="vm.data != false"> <section id="state-bar" class="row"> <ul class="nav nav-justified col-md-12"> <li ng-attr-id="{{ vm.data.checklist.state.replace(\'_\',\' \') == state ? \'state\'+\'_\'+vm.data.checklist.name : \'\'}}" ng-class="{\'active\' : vm.data.checklist.state.replace(\'_\',\' \') == state}" data-ng-repeat="state in vm.data.states"> <span class="state-icon sprite {{state.replace(\' \',\'_\')}}-state"></span>{{$index + 1}}. {{state}} </li> </ul> </section> <header class="row" id="cl-header"> <!-- start of header --> <h1 class="col-sm-12 col-xs-12 col-md-6" id="cl-title"> <!-- start of title --> <span id="edit-checklist" class="sprite edit-medium" ng-if="vm.data.checklist.state != \'closed\' && !vm.is_peer_reviewer" ng-click="vm.editChecklist()"></span> <span class="bold">Checklist:</span> <span id="cl-name-id">{{vm.data.checklist.name}}</span> </h1> <!-- end of title --> <div class="cl-action-buttons-frame col-sm-12 col-xs-12 col-md-6"> <div ng-if="vm.data.checklist.state != \'closed\'" id="state-actions" class=""> <button class="btn btn-gradient-success" ng-if="vm.data.checklist.state != \'pending\' && vm.data.checklist.state != \'automation\' && (vm.data.checklist.state == \'pending\' || vm.is_able_to_approve)" ng-click="vm.stateAction(\'approve\')"> {{vm.data.checklist.state == \'pending\' ? \'Automate\' : vm.data.checklist.state == \'handoff\' ? \'Handoff complete?\' : \'Approve\'}} </button> <button id="state-actions-btn-reject" class="btn btn-gradient-danger" ng-if="vm.has_files && vm.data.checklist.state != \'handoff\' && vm.data.checklist.state != \'pending\' && vm.data.checklist.state != \'automation\'" ng-click="vm.stateAction(\'reject\')">Reject</button> <button id="state-actions-btn-add-next-steps" class="btn btn-gradient-primary" ng-if="vm.data.checklist.state != \'handoff\' && vm.data.checklist.state != \'pending\'" ng-click="vm.stateAction(\'next_step\')">Add Next Steps</button> </div> <ul class="" id="cl-side-actions"> <!-- start of side actions --> <li><span id="audit-log" ng-click="vm.auditLog()">Audit Log ({{vm.data.checklistAuditLogs.length}})</span></li> <li><span id="jenkins-log" ng-click="vm.openJenkinsLogModal()">Jenkins Log</span></li> </ul> </div> </header> <article class="row" ng-class="{\'blocked-area\' : vm.data.checklist.state == \'pending\' || vm.data.checklist.state == \'automation\' }" id="checklist-main-section"> <ul class="col-md-6" id="line-item-list"> <!-- start of line item list --> <li data-ng-repeat="section in vm.data.checklistDecisions | toArray:false"><h2><span class="bold">Section {{section.counter}}:</span> {{section.section.name}}</h2> <!-- start of section --> <ul> <li data-ng-repeat="decision in section.decisions | toArray:false" class="line-item-row" ng-class="{\'selected-line\' : decision.selected }" ng-click="vm.selectDecision(decision,$event)"> <!-- start if line item row --> <span class="col-sm-2 col-xs-2 col-md-2 value-icon"><span ng-class="decision.view_value_css" id="{{decision.uuid}}_{{decision.view_value}}"></span>{{decision.counter}}</span> <span class="col-sm-9 col-xs-9 col-md-9" ng-class="decision.lineitem.line_type" name="{{decision.lineitem.name}}">{{decision.lineitem.name}}</span> <span class="col-sm-1 col-xs-1 col-md-1 auto-icon"><span ng-class="decision.auto_icon_css"></span></span> <span class="selected-line-connector"></span> </li> <!-- end of line item row --> </ul> </li> <!-- end of section --> </ul> <!-- end of line item list --> <aside class="col-md-6" id="line-item-extended"> <!-- start of line item extended view --> <header class="row"> <!-- start of line-item extended header --> <h2 class="col-sm-8 col-xs-8 col-md-8"><span class="bold">{{vm.selected_decision.counter}} -</span> {{vm.selected_decision.lineitem.name}}</h2> <ul class="col-sm-4 col-xs-4 col-md-4" ng-if="(vm.data.checklist.state == \'review\' || vm.data.checklist.state == \'peer_review\' ) &&\n vm.selected_decision.lineitem.line_type == \'manual\'" ng-class="{\'active\' : vm.selected_decision.lineitem.line_type == \'manual\'}" id="decision-actions"> <li class="not-relevant-btn" ng-class="{\'active\' : vm.selected_decision[\'selected-value\'] == \'not_relevant\'}" ng-click="vm.selected_decision.lineitem.line_type == \'manual\' && vm.setDecision(vm.selected_decision,\'not_relevant\')"></li> <li class="denied-cl-btn" ng-class="{\'active\' : vm.selected_decision[\'selected-value\'] == \'denied\'}" ng-click="vm.selected_decision.lineitem.line_type == \'manual\' && vm.setDecision(vm.selected_decision,\'denied\')"></li> <li class="approved-cl-btn" ng-class="{\'active\' : vm.selected_decision[\'selected-value\'] == \'approved\'}" ng-click="vm.selected_decision.lineitem.line_type == \'manual\' && vm.setDecision(vm.selected_decision,\'approved\')"></li> </ul> </header> <!-- end of line-item extended header --> <section id="line-item-description" ng-bind-html="vm.selected_decision.lineitem.description | htmlspecialchars | htmlstylespan"></section> <section id="line-item-validation-instructions"> <h3>Validation Instructions</h3> <p ng-bind-html="vm.selected_decision.lineitem.validation_instructions | htmlspecialchars"></p> </section> <section id="line-item-audit-logs" class="row"> <!-- start of line item audit logs --> <h3 class="col-md-12">audit logs</h3> <ul id="audit-log-list" class="col-md-12"> <!-- start of audit log list- --> <li class="row" ng-repeat="auditlog in vm.data.decisionAuditLogs[vm.selected_decision.uuid] | orderBy:\'create_time\'"> <h4 class="col-md-6 audit-creator">{{auditlog.creator.full_name}}</h4><span class="col-md-6 audit-date">{{vm.formatDate(auditlog.create_time)}}</span> <p id="line-item-audit-log-{{$index}}" class="col-md-12 audit-text">{{auditlog.description}}</p> </li> </ul> <!-- end of audit log list --> <form name="checklistAuditLog" id="new-audit-log-from" ng-submit="vm.submitDecisionAuditLog()" novalidate class="row col-md-12"> <!-- start of new audit log form --> <textarea name="TextBox" class="col-sm-12 col-xs-12 col-md-12" ng-model="vm.selected_decision.new_audit_log_description" id="new-audit-log-text" ng-trim="false" required></textarea> <div data-ng-show="checklistAuditLog.TextBox.$error" class="ice-form-error"> <span ng-show="checklistAuditLog.TextBox.$error.pattern">Inserted text should not include any special chars such as: \\%_* ."</span> </div> <button type="submit" class="col-sm-12 col-xs-12 col-md-12 btn btn-gradient-primary" id="submit-new-audit-lop-text">Add Log Entry</button> </form> <!-- end of new audit log form --> </section> <!-- end of line item audit logs --> </aside> <!-- end of line item extended view --> </article> <!-- end of line item --> </div>'),
-a.put("main/dashboard/dashboard/dashboard.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="dashboard-view row"> <div class="col-md-8" id="dashboard-main-panel"> <header class="row col-md-12" id="dashboard-header"> <h1 class="col-md-4" id="dashboard-title">Statuses</h1> <span class="col-md-8 search-filters"> Stage <select id="search-filter-stage" class="form-control search-filter-stage" ng-model="vm.search_stage" ng-change="vm.onStageChange()" ng-options="stage for stage in vm.stages "> <option value="all" selected>All</option> <option value="Intake">Intake</option> <option value="Active">Active</option> <option value="3">3</option> </select> <input type="text" id="search-filter-keyword" ng-model="vm.search_keyword" ng-model-options="{ debounce: 150 }" placeholder="Search by EID, VF or VFC" class="form-control" ng-change="vm.onKeywordChange()"> </span> </header> <content class="row col-md-12" id="search-results"> <div class="col-md-12 progress-bar-row" dir-paginate="engagement in vm.vf_display_list | itemsPerPage: vm.pagination_num_of_objects" total-items="vm.num_of_returned_items" current-page="vm.page_num" track by engagement.engagement__uuid> <progress-directive progress="{{engagement.engagement__progress}}" enable-edit="false" data="engagement.progress_needed_data" statuses="true" enable-refresh="false"> </progress-directive> </div> <span class="col-md-12" id="export-to-csv" ng-click="vm.exportEngagementCSV()">Export to Excel >></span> <dir-pagination-controls on-page-change="vm.searchEngagements()" class="col-md-12" id="engagements-pagination"></dir-pagination-controls> </content> </div> <aside class="col-md-4" id="dashboard-side-panel"> <div class="col-md-12" id="assgined-nextsteps"> <div id="next-steps-header">Assigned To You ({{vm.userNextStepsCount}})</div> <ul id="next-steps-list"> <h4 class="engagement-title" ng-if="vm.userNextSteps.length == 0">No next steps are assigned to you.</h4> <li data-ng-repeat="step in vm.userNextSteps | orderBy: \'due_date\'" class="next-step-details"> <div class="next-step-details-header row"> <h2 class="engagement-title col-md-8" name="{{step.engagement_manual_id}}" ng-click="vm.goToEngagement(step.engagement_uuid)">Engagement - <span class="engagement-name">{{step.engagement_manual_id}}: {{step.vf_name}}</span></h2> <span class="due-date col-md-4"> <i class="fa fa-clock-o"></i> <span class="due-date-icon" name="duedate-{{step.due_date}}"></span>{{step.due_date | date2: \'EEEE MMMM doo yyyy\'}} </span> </div> <p class="next-step-description" name="description-{{step.engagement_manual_id}}" ng-bind-html="step.description | htmlspecialchars"></p> <span class="next-step-creation" name="creator-full-name-{{step.creator_full_name}}">Added at {{step.create_time | date2: \'EEEE MMMM doo yyyy\'}} by {{step.creator_full_name}}</span> </li> </ul> </div> <div class="line-seperator col-md-12" data-ng-if="vm.isEngagmentEL || vm.isAdmin || vm.isAdminRo"></div> <div class="col-md-12" data-ng-if="vm.isEngagmentEL || vm.isAdmin || vm.isAdminRo" id="statistics"> <div id="statistics-header" class="row"> <h2 class="col-md-4">Statistics</h2> <span class="col-md-8 search-filters"> Stage <select class="search-filter-stage" ng-model="vm.statistic_stage_filter" ng-change="vm.request_statistics_data()" ng-options="stage for stage in vm.stages "></select> </span> </div> <div id="statistics-list" class="row"> <span class="col-md-8 statistic-name">Validations</span><span class="col-md-4 statistic-count" id="id-validations-num">{{vm.vfc_num}}</span> <span class="col-md-8 statistic-name">Engagements</span><span class="col-md-4 statistic-count" id="id-engagements-num">{{vm.eng_num}}</span> </div> </div> <div class="line-seperator col-md-12"></div> <ice-news-and-announcement limit="5" show-description="true"></ice-news-and-announcement> </aside> </div>'),a.put("main/dashboard/detailed-view/detailed-view.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div id="detailed-view"> <div class="row"> <h1><span class="bold">{{vm.engagement_manual_id + \': \'}}</span>{{vm.vf_name}} </h1> </div> <div class="vfc-main-section row"> <div class="col-xs-4 col-md-4 vfc-steps"> <div id="validation-details"> <div id="validation-details-header"> <span id="vd-title">Validation Details</span><span class="add-vdetails"></span> <i class="edit-target-completion fa fa-pencil-square-o" id="update-validation-details" ng-click="vm.editValidationDetails()" class="add-vdetails"></i> </div> <div id="validation-details-content"> <div> <div class="line ecomp_release_field" ng-if="!vm.is_ecomp_edit_mode"><span id="ecomp-release-headline">ECOMP Release:</span> <span id="ecomp_version_{{vm.ecomp_release.name}}">{{vm.ecomp_release.name}}</span></div> </div> <div> <div class="line dtversion_field" ng-if="vm.is_aic_edit_mode === false"><span id="target-aic-version-headline">Target AIC Version:</span><span id="aic_version_{{vm.dtversion.version}}">{{vm.dtversion.version}}</span></div> </div> <div> <div class="line dtversion_field" ng-if="vm.is_aic_edit_mode === false"><span id="vf-version-headline">VF Version: </span> <span id="vf_version_{{vm.vf_version}}">{{vm.vf_version}}</span></div> </div> </div> </div> <div id="target-lab-entry"> <div id="target-lab-entry-header"> <span>Target Lab Entry</span> <i class="edit-target-completion fa fa-pencil-square-o" id="change-lab-entry-date" data-ng-click="vm.changeTargetLabEntry()" aria-hidden="true"></i> </div> <div id="target-lab-entry-content"> <h4 class="target-lab-entry-content">{{vm.target_lab | date:\'shortDate\'}}</h4> </div> </div> <div id="deployment-targets"> <div id="deployment-targets-header"> <span>Deployment Targets </span><span ng-click="vm.addDTS()" class="add-vfc"></span> <i class="edit-target-completion fa fa-pencil-square-o" id="add-dt" ng-show="vm.isEngagementEL || vm.isAdmin" ng-click="vm.addDTS()" class="add-vfc" aria-hidden="true"></i> </div> <div id="deployment-targets-content"> <ul> <li class="step row" data-ng-repeat="dts in vm.dtsites track by dts.uuid" ng-mouseover="hoverEdit = true" ng-mouseleave="hoverEdit = false"> <span id="visible-dts-{{dts.name}}" class="col-md-10">{{dts.name}}</span> <span class="remove-button col-md-2" ng-if="vm.dtsites.length > 0" ng-click="vm.deleteDTSite(vm.vf.uuid, dts.uuid)"> <span ng-show="hoverEdit"><span id="remove-dts-{{dts.uuid}}" class="remove-icon"></span></span> </span> </li> </ul> </div> </div> </div> <div class="col-xs-4 col-md-4 vfc-column"> <div id="virtual-function-components" ng-if="vm.isEngagementEL || vm.isAdmin"> <div id="virtual-function-header"> <span>Virtual Function Components </span><span id="virtual-vfc" ng-click="vm.addVfc()" class="add-vfc"></span> <i class="edit-target-completion fa fa-pencil-square-o" ng-show="vm.isEngagementEL || vm.isAdmin" id="add-vfc" ng-if="vm.isEngagementEL || vm.isAdmin" ng-click="vm.addVfc()" class="add-vfc"></i> </div> <div id="virtual-function-content"> <ul> <li class="step row" data-ng-repeat="vfc in vm.vfcs track by vfc.uuid" ng-mouseover="hoverEdit = true" ng-mouseleave="hoverEdit = false"> <span id="visible-dts-{{vfc.name}}" class="col-md-10"> {{vfc.name +\' (\' + vfc.external_ref_id + \')\'}} </span> <span class="remove-button col-md-2" ng-if="vm.vfcs.length > 0 && (vm.isEngagementEL || vm.isAdmin)" ng-click="vm.deleteVfc(vfc.uuid)"> <span ng-show="hoverEdit"><span id="remove-vfc-{{vfc.uuid}}" class="remove-icon"></span></span> </span> </li> </ul> </div> </div> </div> </div> </div>'),a.put("main/dashboard/get-started-modal/get-started-modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.-->'),a.put("main/dashboard/get-started-modal/wizard/wizard-container.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-toast is-modal="true"></ice-toast> <div class="getting-started-wizard"> <ice-loader selector=".modal-content"></ice-loader> <div class="modal-header"> <h2 name="{{wizard.title}}" class="modal-title">{{wizard.title}}</h2> <ul class="step-indication" ng-if="wizard.steps.length > 1"> <li ng-repeat="step in wizard.steps" ng-class="{selected: step.completed}">{{$index + 1}}</li> </ul> <button id="close-wizard-button" type="button" ng-click="wizard.closeWizard()" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">&times;</span></button> </div> <div class="modal-body"> <div ng-switch="wizard.getCurrentStep()" class="slide-frame"> <div ng-switch-when="addVF"> <add-vf is-modal="true"></add-vf> </div> <div ng-switch-when="addContact"> <div> Please take a couple of moments to provide some additional details around your virtual function to get the process started. Do note that you can exit this wizard at any time to complete these items. </div> <form name="addContactForm" ng-submit="wizard.onAddContactSubmit()" novalidate class="addVendorContact-form col-md-12"> <div class="form-group" ng-if="wizard.currentStep.mode === \'vendor\'" ng-class="{ \'has-error\' : addContactForm.company.$invalid && !addContactForm.company.$pristine }"> <label class="ice-form-label required">Company</label> <select style="width:100%" name="company" ng-model="wizard.data.addContact.company" ng-options="company.uuid as company.name for company in wizard.companies track by company.uuid" class="form-control" ng-required="wizard.currentStep.mode === \'vendor\'"></select> <div class="ice-form-error" data-ng-show="addContactForm.company.$error"> <span ng-show="addContactForm.company.$error.required && !addContactForm.company.$pristine" class="help-block">Please select a company</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : addContactForm.fullName.$invalid && !addContactForm.fullName.$pristine }"> <label class="ice-form-label required">Full Name</label> <input type="text" name="fullname" class="form-control" ng-model="wizard.data.addContact.full_name" ng-minlength="3" ng-maxlength="50" maxlength="50" required> <div class="ice-form-error" data-ng-show="addContactForm.fullname.$error"> <span ng-show="addContactForm.fullname.$error.required && !addContactForm.fullname.$pristine">Full Name is a required field.</span> <span ng-show="addContactForm.fullname.$error.minlength">Full Name is too short.</span> <span ng-show="addContactForm.fullname.$error.maxlength">Full Name is too long.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : addContactForm.email.$invalid && !addContactForm.email.$pristine }"> <label class="ice-form-label required">Email</label> <input type="email" name="email" class="form-control" ng-model="wizard.data.addContact.email" ng-pattern="/^(([^<>()\\[\\]\\\\.,;:\\s@&quot;]+(\\.[^<>()\\[\\]\\\\.,;:\\s@&quot;]+)*)|(&quot;.+&quot;))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/" maxlength="254" required> <div class="ice-form-error" data-ng-show="addContactForm.email.$error"> <span ng-show="addContactForm.email.$error.required && !addContactForm.email.$pristine">Email is a required field.</span> <span ng-show="addContactForm.email.$invalid && !addContactForm.email.$pristine" class="help-block">Enter a valid email.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : addContactForm.phone.$invalid && !addContactForm.phone.$pristine }"> <label class="ice-form-label required">Phone</label> <input type="text" name="phone" class="form-control" ng-intl-tel-input ng-model="wizard.data.addContact.phone_number" required ng-minlength="6" ng-maxlength="30"> <div class="ice-form-error" data-ng-show="addContactForm.phone.$error"> <span ng-show="addContactForm.phone.$error.required && !addContactForm.phone.$pristine">Phone is a required field.</span> <span ng-show="addContactForm.phone.$error.minlength" class="help-block">Phone is too short.</span> <span ng-show="addContactForm.phone.$error.maxlength" class="help-block">Phone is too long.</span> <span ng-show="addContactForm.phone.$error.pattern" class="help-block">Phone must consist of numbers only.</span> <span ng-show="addContactForm.phone.$invalid" class="help-block">Phone format invalid</span> </div> </div> <button class="btn btn-primary" type="submit" data-ng-disabled="!addContactForm.$valid"> {{wizard.currentStep.submitButton}} </button> </form> </div> <div ng-switch-when="inviteMembers"> <div> You can invite up to 10 team members at a time to collaborate around your virtual function as you would like. Please do remember that <em>anyone</em> who is invited to collaborate around the virtual function will have equal access. </div> <form name="inviteMembersForm" ng-submit="wizard.onInviteSubmit()" novalidate class="inviteMembers-form col-md-12"> <div> <fieldset data-ng-repeat="choice in wizard.inviteMembers.choices|limitTo:10"> <div id="containera" class="input-wrapper"><input type="email" name="email" class="form-control" ng-model="choice.email" maxlength="50" class="form-control" ng-pattern="/^(([^<>()\\[\\]\\\\.,;:\\s@&quot;]+(\\.[^<>()\\[\\]\\\\.,;:\\s@&quot;]+)*)|(&quot;.+&quot;))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/" required></div> <div class="ice-form-error" data-ng-show="inviteMembersForm.email.$error"> <span ng-show="inviteMembersForm.email.$error.required && !inviteMembersForm.email.$pristine">Email is a required field.</span> <span ng-show="inviteMembersForm.email.$invalid && !inviteMembersForm.email.$pristine" class="help-block">Enter a valid email.</span> </div> <div class="remove-button" ng-click="wizard.removeChoice()" ng-show="$last"><span class="remove-icon"></span>Remove</div> </fieldset> </div> <a ng-if="wizard.inviteMembers.choices.length < 10" class="add-button" ng-click="wizard.addNewChoice()"> <span class="add-icon"></span> <span class="add-text">Invite another team member</span> </a> <button type="submit" class="btn btn-primary" data-ng-disabled="!inviteMembersForm.$valid">Send invitations </button> </form> </div> <div ng-switch-when="addSSH"> <div> It looks like you have not yet added your SSH key to your profile. You can add one now. Please do remember that only team members who have added SSH keys to their profile can add files. </div> <form name="addSSHForm" ng-submit="wizard.onAddSSHSubmit()" novalidate class="addSsh-form col-md-12"> <div class="form-group" ng-class="{ \'has-error\' : addSSHForm.key.$invalid && !addSSHForm.key.$pristine }"> <label class="ice-form-label required">SSH Key</label> <textarea type="text" name="key" class="form-control" ng-model="wizard.data.addSSH.ssh_key" ng-minlength="3" ng-maxlength="2048" required></textarea> <div class="ice-form-error" data-ng-show="addSSHForm.key.$error"> <span ng-show="addSSHForm.key.$error.required && !addSSHForm.key.$pristine" class="help-block">Please enter your SSH key</span> </div> </div> <button class="btn btn-primary" data-ng-disabled="!addSSHForm.$valid" type="submit">Add SSH Key</button> </form> </div> </div> </div> <div class="modal-footer"> </div> </div>'),a.put("main/dashboard/main/main.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="row main-wrapper"> <ice-loader selector=".steps"></ice-loader> <ice-loader selector=".activity-log"></ice-loader> <div class="row"> <div class="col-md-8"> <span id="star-engagement-action_{{vm.name}}" class="sprite starred" ng-class="vm.starred == true ? \'is_starred\' : \'not_starred\'" ng-click="vm.starEngagement()"></span> <h1>{{vm.name}}</h1> </div> <span class="col-md-8 git-repo-url" ng-if="vm.git_repo_url && vm.stage!=vm.stages.intake"><b>GIT:</b>&nbsp;{{vm.git_repo_url}}</span> </div> <step-stages-directive stage="vm.stage" eng-name="{{vm.vf_name}}" reviewer="{{vm.reviewer_uuid}}" stage-num="vm.stage_num" eng-uuid="{{vm.uuid}}"></step-stages-directive> <div data-ng-if="vm.stage!=vm.stages.intake"> <progress-directive progress="{{vm.progress}}" vf="{{vm.vf}}" callback="vm.updateProgress" enable-edit="vm.isEngagementEL || vm.isAdmin" completion-date="{{vm.completion_date}}" engagement-uuid="{{vm.uuid}}"></progress-directive> </div> <div class="row main-section"> <div class="col-md-8 steps"> <div class="row steps-header"> <h2 class="col-md-6">Next Steps<span data-ng-if="vm.isEngagementEL || vm.isAdmin" id="add-next-step-button" class="add-step" data-ng-click="vm.addStep()"></span></h2> <span class="col-md-6 filter-wrapper row"> <span>Files<multiselect id="selected-file-filter-dropdown" class="state-filter" ng-model="vm.chosen_files_filter" options="item for item in vm.files_filter_options" data-multiple="true" scroll-after-rows="5" filter-after-rows="5" ng-change="vm.is_all_files()" ms-header="Select files" tabindex="-1"> </multiselect></span> <span>States<multiselect class="state-filter" ng-model="vm.selected_state_filter" options="item for item in vm.states_select" id="selected-state-filter-dropdown" data-multiple="true" scroll-after-rows="5" filter-after-rows="5" ng-change="vm.update_next_steps_choice()" ms-header="Select states" tabindex="-1"> </multiselect></span> </span> </div> <ul class="step-indication"> <li class="step" data-ng-repeat="step in vm.steps | orderBy: \'due_date\' as filtered_result track by step.uuid" ng-if="vm.is_match_both_filters(step)"> <div class="step-wrapper row" id="step-{{step.uuid}}" data-ng-class="{\'completed\': vm.states.completed==step.state && !vm.isEngagementEL, \'confirmed\': vm.states.confirmed==step.state}"> <aside class="next-step-actions" data-ng-if="vm.isEngagementEL || vm.isAdmin"> <span class="moveto-confirmed" data-ng-if="vm.states.confirmed != step.state && vm.states.completed==step.state" title="Confirm" data-ng-click="vm.updateStep(step.uuid,vm.states.confirmed)" id="confirmed_{{step.uuid}}"></span> <span class="moveto-todo" data-ng-if="vm.states.confirmed!=step.state && vm.states.todo!=step.state" title="Deny" data-ng-click="vm.updateStep(step.uuid,vm.states.todo)" id="todo_{{step.uuid}}"></span> <span class="moveto-delete" title="Delete" data-ng-if="vm.states.confirmed != step.state" data-ng-click="vm.deleteStep(step.uuid)" id="delete-{{step.uuid}}"></span> </aside> <div class="description col-xs-8 col-sm-8 col-md-8"> <div class="last-action-details"> <span class="name" id="{{step.last_updater.full_name}}_{{step.last_update_type}}"> {{step.last_updater && step.last_updater.full_name || step.creator.full_name}} &nbsp;{{step.last_update_type}}:&nbsp; </span> <span class="time">{{(step.last_update_time) | date2: \'EEEE MMMM doo yyyy\'}} at {{(step.last_update_time) | date: \'hh:mm\' : timeGapLocal }} {{ampm}} {{mom}}</span> </div> <div id="{{step.uuid}}" class="step-state {{step.state | lowercase}}" data-ng-click="(step.state==vm.states.todo || step.state==vm.states.completed) && vm.toggleCompleted(step.uuid)"></div> <div class="step-text" ng-bind-html="step.description | htmlspecialchars"></div> </div> <div class="details col-xs-4 col-sm-4 col-md-4"> <span class="next-step-due-date" ng-if="step[\'due_date\'].length >0"><span class="icon"></span>{{(step[\'due_date\']) | date2: \'EEEE MMMM doo yyyy\'}}</span> <span ng-if="step.engagement != null" class="edit-next-step glyphicon glyphicon-pencil" ng-click="vm.editStep(step)"></span> <ul class="next-step-team-mates"> <li data-ng-repeat="member in step[\'assignees\'] track by member.uuid" data-ng-class="{\'me\': member.uuid == vm.me.uuid}" title="{{member.full_name}} ({{member.email}})"> </li> </ul> <span uib-popover-template="\'myPopoverTemplate.html\'" popover-title="Associated Files" popover-trigger="mouseenter" popover-html="true" popover-placement="left" class="" ng-if="step.files.length > 0">Associated Files ({{step.files.length}})</span> <script type="text/ng-template" id="myPopoverTemplate.html"><ul>\n <li ng-repeat="file in step[\'files\'] track by $index">- {{file}}</li>\n </ul></script> </div> </div> </li> </ul> </div> <div class="col-md-4 team-and-logs"> <div id="engagement-status"> <h2>Current Status<span ng-if="vm.isEngagementEL || vm.isAdmin" ng-click="vm.addStatus()" id="add-status"></span><span ng-if="(vm.isEngagementEL || vm.isAdmin) && vm.status" ng-click="vm.editStatus()" id="edit-status"></span></h2> <span id="status-update-details" ng-if="vm.status"> Last updated {{(vm.status.update_time) | date2: \'EEEE MMMM doo yyyy\'}} at {{(vm.status.update_time) | date: \'hh:mm\' : timeGapLocal }} {{ampm}} {{mom}} by {{vm.status.creator.full_name}} </span> <p id="status-description">{{vm.status.description == undefined && \'No status update has been provided yet.\' || vm.status.description }}</p> </div> <div class="team"> <h2><span>Team Members</span><span id="team-members-plus-button-id" ng-click="vm.addPeople()" class="add-people" ng-if="vm.name.length > 0"></span></h2> <ul class="team-avatars"> <li id="c-l-te-am-me-mb-er-s-po-po-ve-r" data-ng-repeat="member in vm.team track by member.uuid" data-ng-class="{\'me\': member.uuid == vm.me.uuid}" uib-popover-template="\'myClTeamMembersPopoverTemplate.html\'" popover-trigger="mouseenter" popover-html="true" popover-placement="bottom"> <script type="text/ng-template" id="myClTeamMembersPopoverTemplate.html"><span class="row">\n <span class="popover-title-name col-md-12">{{member.full_name}} -<span class="popover-title-company">{{member.company.name}}</span></span>\n <span class="popover-role-title col-md-12"> {{member.role.name == \'el\' ? \'Engagement Lead\' : \'\' }} {{member.role.name == \'el\' && vm.reviewer_uuid == member.uuid ? \' - \' : \'\'}} {{vm.reviewer_uuid == member.uuid ? \'Reviewer\' : \'\'}}</span>\n <span class="popover-details">\n <span class="popover-details-topic col-md-4">Email:</span><span class="popover-details-detail col-md-8">{{member.email}}</span>\n <span class="popover-details-topic col-md-4">Phone:</span><span class="popover-details-detail col-md-8">{{member.phone_number}}</span>\n </span>\n </span></script> </li> </ul> </div> <div class="activity-log"> <h2>Activity Log</h2> <ul class="activity-log-details"> <li data-ng-repeat="activity in vm.activities track by activity.uuid"> <notifications activity="activity"></notifications> </li> </ul> </div> </div> </div> </div>'),a.put("main/dashboard/overview/overview.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="no-display-text" ng-if="vm.engagement == undefined"></div> <div ng-class="vm.engagement == undefined ? \'no-display\' : \'overview main-wrapper\'"> <ice-loader selector=".steps"></ice-loader> <ice-loader selector=".activity-log"></ice-loader> <div class="row"> <div class="col-md-6"> <span id="star-engagement-action" class="sprite starred" ng-class="vm.starred == true ? \'is_starred\' : \'not_starred\'" ng-click="vm.starEngagement()"></span> <h1 id="engagement-title"> <span class="manual-id" id="title-id-{{vm.manual_id}}: {{vm.name}}">{{vm.manual_id}}: </span>{{vm.name}} </h1> <span ng-show="vm.isEngagementEL || vm.isAdmin" uib-dropdown uib-dropdown-toggle on-toggle="toggled(open)" id="admin-actions-dropdown" class="admin-actions-dropdown sprite"> <ul class="dropdown-menu" uib-dropdown-menu role="menu"> <li role="menuitem" ng-show="vm.isAdmin"><a data-ng-click="vm.archiveEngagement()">Archive</a></li> <li class="divider" ng-show="vm.isAdmin"></li> <li role="menuitem" ng-show="vm.isAdmin"><a data-ng-click="vm.changeReviewer()">Change Reviewer</a></li> <li class="divider" ng-show="vm.isAdmin"></li> <li role="menuitem" ng-show="vm.isAdmin"><a data-ng-click="vm.changePeerReviewer()">Change Peer Reviewer</a></li> <li class="divider" ng-show="vm.isAdmin"></li> <li role="menuitem" ng-show="vm.isEngagementEL || vm.isAdmin"><a data-ng-click="vm.updateEngagementStatus()">Update Status</a></li> </ul> </span> </div> <div class="col-md-6 row"> <span class="col-md-12 git-repo-url" ng-if="vm.git_repo_url && vm.stage!=vm.stages.intake" id="git-url"><b>GIT:</b>&nbsp;{{vm.git_repo_url}}</span> <span class="col-md-11 line-separator" ng-if="vm.git_repo_url && vm.stage!=vm.stages.intake"></span> <span class="col-md-12 storage-bucket-url" ng-if="vm.stage!=vm.stages.intake" id="bucket-url"><b>STORAGE BUCKET:</b>&nbsp;{{vm.storage_bucket_url}}</span> </div> </div> <step-stages-directive stage="vm.stage" eng-name="{{vm.vf_name}}" team="vm.team" stage-num="vm.stage_num" eng-uuid="{{vm.uuid}}"></step-stages-directive> <div data-ng-if="vm.stage!=vm.stages.intake"> <progress-directive progress="{{vm.progress}}" callback="vm.updateProgress" data="vm.progress_needed_data"> </progress-directive> </div> <div class="row main-section"> <div class="col-md-8 steps"> <div class="row steps-header"> <h2 class="col-md-6">Next Steps<span data-ng-if="vm.isEngagementEL || vm.isAdmin" id="add-next-step-button" class="add-step fa fa-plus-circle" data-ng-click="vm.addStep()"></span></h2> <span class="col-md-6 filter-wrapper row"> <span>Files<multiselect id="selected-file-filter-dropdown" class="state-filter" ng-model="vm.chosen_files_filter" options="item for item in vm.files_filter_options" data-multiple="true" scroll-after-rows="5" filter-after-rows="5" ng-change="vm.is_all_files()" ms-header="Select files" tabindex="-1"> </multiselect></span> <span>States<multiselect class="state-filter" ng-model="vm.selected_state_filter" options="item for item in vm.states_select" id="selected-state-filter-dropdown" data-multiple="true" scroll-after-rows="5" filter-after-rows="5" ng-change="vm.update_next_steps_choice()" ms-header="Select states" tabindex="-1"> </multiselect></span> </span> </div> <ul class="step-indication" ui-sortable="vm.sortableOptions" ng-model="vm.steps"> <li class="step" data-ng-repeat="step in sorted_results=( vm.steps | filter:is_match_both_filters()) track by step.uuid"> <!-- ng-if="vm.is_match_both_filters(step)" --> <div class="step-wrapper row" id="step-{{step.uuid}}" data-ng-class="{\'completed\': vm.states.completed==step.state && !vm.isEngagementEL, \'confirmed\': vm.states.confirmed==step.state}"> <aside class="next-step-actions" data-ng-show="vm.isEngagementEL || vm.isAdmin"> <span class="order-nextstep fa fa-bars"></span> <span ng-show="step.engagement" class="edit-next-step fa fa-pencil-square-o" ng-click="vm.editStep(step)"></span> <span class="moveto-delete fa fa-minus-circle" title="Delete" data-ng-if="vm.states.confirmed != step.state" data-ng-click="vm.deleteStep(step.uuid)" id="delete-{{step.uuid}}"></span> </aside> <div class="description col-xs-8 col-sm-8 col-md-8"> <div class="last-action-details"> <span class="name" id="{{step.last_updater.full_name}}_{{step.last_update_type}}"> <!--When the nex step is not related to engagement that\'s means it ssh key next step and we will display \'System Next Step\' as tha last updater--> {{step.engagement ? (step.last_updater && step.last_updater.full_name || step.creator.full_name) : "System Next Step"}} &nbsp;{{step.last_update_type}}:&nbsp; </span> <span class="time">{{(step.last_update_time) | date2: \'EEEE MMMM doo yyyy\'}} at {{(step.last_update_time) | date: \'hh:mm\' : timeGapLocal }} {{ampm}} {{mom}}</span> </div> <div id="{{step.uuid}}" class="step-state {{step.state | lowercase}} fa" ng-class="{\'fa-check-circle\': step.state == \'Completed\', \'fa-check-circle-o\': step.state == \'Incomplete\'}" data-ng-click="(step.state==vm.states.incomplete || step.state==vm.states.completed) && vm.toggleCompleted(step.uuid)"></div> <div id="step-description-{{$index}}" class="step-text" ng-bind-html="step.description | htmlspecialchars"></div> </div> <div class="details col-xs-4 col-sm-4 col-md-4"> <span class="next-step-due-date" ng-if="step[\'due_date\'].length >0"><span class="icon fa fa-clock-o"></span>{{(step[\'due_date\']) | date2: \'EEEE MMMM doo yyyy\'}}</span> <ul class="next-step-team-mates"> <li data-ng-repeat="member in step[\'assignees\'] track by member.uuid" data-ng-class="{\'me\': member.uuid == vm.me.uuid}" class="fa fa-user-circle-o" title="{{member.full_name}} ({{member.email}})"> </li> </ul> <span uib-popover-template="\'myPopoverTemplate.html\'" popover-title="Associated Files" popover-trigger="outsideClick" popover-html="true" popover-placement="bottom" class="associated-files" id="associated-files">Associated Files <span class="fa fa-caret-square-o-down"></span></span> <script type="text/ng-template" id="myPopoverTemplate.html"><span id="associated-files-empty-msg" ng-if="!step.files || step.files.length === 0">There are no files for this next step</span>\n <ul>\n <li id="file{{$index}}" ng-repeat="file in step.files track by $index">- {{file}}</li>\n </ul></script> </div> </div> </li> <h4 ng-show="!sorted_results || sorted_results.length === 0">No next steps matching filtered results.</h4> </ul> </div> <div class="col-md-4 team-and-logs"> <div id="engagement-target-completion"> <div id="target-completion-header"> <span>Target Completion</span> <i class="edit-target-completion fa fa-pencil-square-o" ng-show="vm.isEngagementEL || vm.isAdmin" data-ng-click="vm.changeTargetCompletion()" aria-hidden="true"></i> </div> <div id="target-completion-content"> <h4 class="target-completion-content">{{vm.completion_date | date:\'shortDate\'}}</h4> </div> </div> <div id="engagement-status"> <div id="engagement-status-header"> <span>Current Status</span> <i class="add-engagement-status fa fa-plus-circle" ng-show="vm.isEngagementEL || vm.isAdmin" ng-click="vm.addStatus()" aria-hidden="true"></i> </div> <div id="engagement-status-content"> <h4 class="engagement-status-content"> <i class="edit-engagement-status fa fa-pencil-square-o pull-right" ng-show="(vm.isEngagementEL || vm.isAdmin) && vm.status" ng-click="vm.editStatus()" aria-hidden="true"></i> <span id="status-update-details" ng-if="vm.status"> Last updated {{(vm.status.update_time) | date2: \'EEEE MMMM doo yyyy\'}} at {{(vm.status.update_time) | date: \'hh:mm\' : timeGapLocal }} {{ampm}} {{mom}} by {{vm.status.creator.full_name}} </span> <p id="status-description">{{vm.status.description == undefined && \'No status update has been provided yet.\' || vm.status.description }}</p> </h4> </div> </div> <div id="engagement-team"> <div id="engagement-team-header"> <span>Team Members</span> <i class="add-team-member fa fa-plus-circle" id="team-members-plus-button-id" ng-show="vm.name.length > 0" data-ng-click="vm.addPeople()" aria-hidden="true"></i> </div> <div class="engagement-team-content"> <ul class="team-avatars"> <li id="team-member-{{member.full_name}}" data-ng-repeat="member in vm.team track by member.uuid" data-ng-class="{\'me\': member.uuid == vm.me.uuid}" uib-popover-template="\'myClTeamMembersPopoverTemplate.html\'" popover-trigger="outsideClick" popover-html="true" class="team-member-avatar fa fa-user-circle-o" popover-placement="bottom"> <script type="text/ng-template" id="myClTeamMembersPopoverTemplate.html"><span class="row">\n <span id="team-member-title" class="popover-title-name col-md-12">\n {{member.full_name}}\n <span ng-show="member.company && member.company.name" class="popover-title-company"> - {{member.company.name}}</span>\n <span class="popover-role-title ">{{vm.engagement.reviewer_uuid == member.uuid ? \'Reviewer\' : \'\'}}{{vm.engagement.peer_reviewer_uuid == member.uuid ? \'Peer Reviewer\' : \'\'}}</span>\n </span>\n <span class="popover-details">\n <span class="popover-details-topic col-md-4">Email:</span><span id="team-member-email" class="popover-details-detail col-md-8">{{member.email}}</span>\n <span ng-show="member.phone_number" class="popover-details-topic col-md-4">Phone:</span><span id="team-member-phone" class="popover-details-detail col-md-8">{{member.phone_number}}</span>\n </span>\n <span id="remove-member" ng-if="vm.is_able_to_delete(member)" class="remove-user-from-eng" ng-click="vm.remove_user_from_eng(member)">\n <span>Remove</span><span class="remove-icon"></span>\n </span>\n </span></script> </li> </ul> </div> </div> <div class="activity-log"> <div id="activity-log-header">Activity Log</div> <ul class="activity-log-details"> <li data-ng-repeat="activity in vm.activities track by activity.uuid"> <notifications id="activity-log-{{$index}}" activity="activity"></notifications> </li> </ul> </div> </div> </div> </div>'),
-a.put("main/documentation/documentation.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".documentation-content"></ice-loader> <div class="row documentation-container"> <div class="col-md-12"> <h1 class="page-title" id="center-{{vm.pageTitle}}">{{vm.pageTitle}}</h1> <span ng-show="vm.publishDate" class="page-publish">Updated at {{vm.publishDate | date2: \'EEEE MMMM doo yyyy\'}}</span> <div class="page-content" id="{{vm.pageId}}" ng-bind-html="vm.pageContent"></div> </div> </div>'),a.put("main/documentation/sidebar/documentation.sidebar.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <aside id="documentation-side-panel" class="col-md-12"> <ice-news-and-announcement limit="5" show-description="false"></ice-news-and-announcement> </aside>'),a.put("main/errors/404.html",'<!--\n============LICENSE_START==========================================\norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--><!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Page Not Found :(</title> <style>::-moz-selection {\n background: #b3d4fc;\n text-shadow: none;\n }\n\n ::selection {\n background: #b3d4fc;\n text-shadow: none;\n }\n\n html {\n padding: 30px 10px;\n font-size: 20px;\n line-height: 1.4;\n color: #737373;\n background: #f0f0f0;\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n }\n\n html,\n input {\n font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n }\n\n body {\n max-width: 500px;\n padding: 30px 20px 50px;\n border: 1px solid #b3b3b3;\n border-radius: 4px;\n margin: 0 auto;\n box-shadow: 0 1px 10px #a7a7a7, inset 0 1px 0 #fff;\n background: #fcfcfc;\n }\n\n h1 {\n margin: 0 10px;\n font-size: 50px;\n text-align: center;\n }\n\n h1 span {\n color: #bbb;\n }\n\n h3 {\n margin: 1.5em 0 0.5em;\n }\n\n p {\n margin: 1em 0;\n }\n\n ul {\n padding: 0 0 0 40px;\n margin: 1em 0;\n }\n\n .container {\n max-width: 380px;\n margin: 0 auto;\n }\n\n /* google search */\n\n #goog-fixurl ul {\n list-style: none;\n padding: 0;\n margin: 0;\n }\n\n #goog-fixurl form {\n margin: 0;\n }\n\n #goog-wm-qt,\n #goog-wm-sb {\n border: 1px solid #bbb;\n font-size: 16px;\n line-height: normal;\n vertical-align: top;\n color: #444;\n border-radius: 2px;\n }\n\n #goog-wm-qt {\n width: 220px;\n height: 20px;\n padding: 5px;\n margin: 5px 10px 0 0;\n box-shadow: inset 0 1px 1px #ccc;\n }\n\n #goog-wm-sb {\n display: inline-block;\n height: 32px;\n padding: 0 10px;\n margin: 5px 0 0;\n white-space: nowrap;\n cursor: pointer;\n background-color: #f5f5f5;\n background-image: -webkit-linear-gradient(rgba(255,255,255,0), #f1f1f1);\n background-image: -moz-linear-gradient(rgba(255,255,255,0), #f1f1f1);\n background-image: -ms-linear-gradient(rgba(255,255,255,0), #f1f1f1);\n background-image: -o-linear-gradient(rgba(255,255,255,0), #f1f1f1);\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n }\n\n #goog-wm-sb:hover,\n #goog-wm-sb:focus {\n border-color: #aaa;\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);\n background-color: #f8f8f8;\n }\n\n #goog-wm-qt:hover,\n #goog-wm-qt:focus {\n border-color: #105cb6;\n outline: 0;\n color: #222;\n }\n\n input::-moz-focus-inner {\n padding: 0;\n border: 0;\n }</style> </head> <body> <div class="container"> <h1>Not found <span>:(</span></h1> <p>Sorry, but the page you were trying to view does not exist.</p> <p>It looks like this was the result of either:</p> <ul> <li>a mistyped address</li> <li>an out-of-date link</li> </ul> <script>var GOOG_FIXURL_LANG = (navigator.language || \'\').slice(0,2),GOOG_FIXURL_SITE = location.host;</script> <script src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script> </div> </body> </html>'),a.put("main/modals/archive-engagement-modal/archive-engagement-modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="archive-engagement-modal"> <div class="modal-header row"> <button type="button" ng-click="vm.closeModal()" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <div id="archive-engagement-title" class="archive-engagement-title"><span>Archive Engagement</span></div> <span class="archive-engagement-reason">Please provide a short reason for why you are archiving this engagement.</span> </div> <div class="modal-body row"> <form name="archiveEngagementForm" ng-submit="vm.archiveEngagement()" novalidate class=""> <div class="form-group" ng-class="{ \'has-error\' : archiveEngagementForm.reason.$invalid && archiveEngagementForm.reason.$dirty }"> <textarea type="text" name="reason" class="form-control" ng-model="vm.reason" required></textarea> <div class="ice-form-error" data-ng-show="archiveEngagementForm.reason.$error"> <span ng-show="archiveEngagementForm.reason.$error.required && archiveEngagementForm.reason.$dirty" class="help-block ng-hide" aria-hidden="true">Please enter a reason</span> </div> </div> <button id="submit-modal" class="btn btn-primary col-md-12" data-ng-disabled="archiveEngagementForm.$invalid" type="submit">Submit</button> </form> </div> </div>'),a.put("main/modals/audit-log/audit-log.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".checkList-form"></ice-loader> <div class="modal-header checkList"> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <ice-toast is-modal="true"></ice-toast> <div id="modal-title" class="row"> <div class="dash col-md-12 col-md-12"> <span class="font_header">Checklist: </span> <span class="font_header_chk_name margin_btm italic">{{vm.name}}</span> </div> </div> </div> <div class="modal-body checkList auditlog"> <form name="AuditLogForm" ng-submit="vm.submitForm()" novalidate class="checkList-form"> <div class="margin_top"> <h2>Audit Log</h2> </div> <div class="audit-log-items" id="audit-log-lines" data-ng-repeat="auditLog in vm.checklistAuditLogs"> <div class="row"> <span class="col-md-6 font_user_name"> {{auditLog.name}} </span> <span class="col-md-6 text-right font_date"> {{auditLog.dt}} </span> <div class="col-md-12 font_desc margin_btm5" ng-bind-html="auditLog.desc"></div> </div> </div> <textarea name="inputBox" rows="3" class="form-control col-md-12 margin_top textarea-checklist-audit" ng-model="vm.description" ng-trim="false" ng-pattern="/^[a-zA-Z0-9\\&\\,\\.\\ ]*$/" required></textarea> <div data-ng-show="AuditLogForm.inputBox.$error" class="ice-form-error"> <span ng-show="AuditLogForm.inputBox.$error.required && !AuditLogForm.inputBox.$pristine">Please add a Description.</span> <span ng-show="AuditLogForm.inputBox.$error.pattern">Inserted text should not include any special chars such as: \\%_*."</span> </div> <button type="submit" class="btn btn-primary margin_top" data-ng-disabled="!AuditLogForm.$valid">Add Log Entry</button> </form> </div>'),a.put("main/modals/change-date/change-date.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <form name="updateProgressForm" ng-submit="vm.submitForm()" novalidate class="update-progress-form"> <div class="modal-header"> <h3 class="modal-title" id="modal-title">Target Completion Date</h3> <button type="button" ng-click="vm.closeModal()" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> </div> <div class="modal-body"> <div class="form-group" ng-class="{ \'has-error\' : updateProgressForm.date.$invalid && !updateProgressForm.date.$pristine }"> <!--<input type="text" name="date" class="form-control" ng-model="vm.completionDate" ng-minlength="1" ng-maxlength="2" maxlength="2" required>--> <div>{{vm.completionDate | date:\'fullDate\' }}</div> <div class="ice-form-error" data-ng-show="updateProgressForm.date.$error"> <span ng-show="updateProgressForm.date.$error.required && !updateProgressForm.date.$pristine">Date is required field!</span> </div> </div> <uib-datepicker ng-model="vm.completionDate" class="well well-sm" datepicker-options="vm.dateOptions"></uib-datepicker> </div> <div class="modal-footer"> <button type="submit" class="btn btn-primary" data-ng-disabled="!updateProgressForm.$valid">Save</button> </div> </form>'),a.put("main/modals/change-progress/change-progress.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <form name="updateProgressForm" ng-submit="vm.submitForm()" novalidate class="update-progress-form"> <div class="modal-header"> <h3 class="modal-title" id="modal-title">Specify Progress in %</h3> <button type="button" ng-click="vm.closeModal()" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> </div> <div class="modal-body"> <div class="form-group" ng-class="{ \'has-error\' : updateProgressForm.progress.$invalid && !updateProgressForm.progress.$pristine }"> <input type="text" name="progress" class="form-control" ng-model="vm.progress" ng-minlength="1" ng-maxlength="3" maxlength="3" ng-pattern="/^[1-9][0-9]?$|^100|^0$/" required> <div class="ice-form-error" data-ng-show="updateProgressForm.progress.$error"> <span ng-show="updateProgressForm.progress.$error.required && !updateProgressForm.progress.$pristine">Progress is a required field!</span> <span ng-show="updateProgressForm.progress.$error.pattern && !updateProgressForm.progress.$pristine">Progress value is not valid!</span> </div> </div> </div> <div class="modal-footer"> <button type="submit" class="btn btn-primary" id="engagement-progress-submit" data-ng-disabled="!updateProgressForm.$valid">Save</button> </div> </form>'),a.put("main/modals/checklist/checklist.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-toast is-modal="true"></ice-toast> <ice-loader selector=".checkList-form"></ice-loader> <div class="modal-header checkList"> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <div class="row margin_btm"> <h2 id="modal-header-checklist-15">{{vm.createUpadeTitle}} Checklist</h2> </div> </div> <div class="modal-body checkList"> <form name="checkListForm" ng-submit="vm.submitForm()" novalidate class="checkList-form"> <div class="row margin_btm" ng-show="vm.create" id="checklist-subject"> Use the form below to create checklist. Please do note that if a file is already associated with another checklist you will need to remove it from that checklist first to be able to associate it. </div> <div class="row margin_btm" ng-show="vm.update" id="checklist-subject-update"> Use the form below to update the checklist. Please do note that if a file is already associated with another checklist you will need to remove it from that checklist first to be able to associate it. </div> <div class="row margin_btm"> <div class="col-md-8 row"> <h3 id="checklist-name-title" class="col-md-12">Name</h3> <div class="col-md-12"><input type="text" placeholder="Checklist Name" name="checkListName" class="form-control" ng-model="vm.checkListName" maxlength="32" ng-trim="false" ng-pattern="/^[a-zA-Z0-9\\&\\ ]*$/" required></div> </div> <div class="col-md-4 row"> <h3 id="checklist-template-title" class="col-md-12">Checklist Template</h3> <div class="col-md-12"> <select id="please-select" ng-model="vm.selectedTemplateUuid" class="form-control" ng-if="vm.modalType === \'create\'" required> <option value>Please Select</option> <option id="{{dt.name}}" ng-repeat="dt in vm.checkListTemplates" value="{{dt.uuid}}" ng-selected="{{dt.Selected == true}}"> {{dt.name}} </option> </select> </div> <div ng-if="vm.modalType != \'create\'" class="col-md-12"> <span class="fnt"> <input type="text" ng-model="vm.selectedTemplateName" class="form-control" disabled> </span> </div> </div> </div> <div class="row margin_btm"> <h3 id="associated-files-title" class="col-md-12 col-no-top">Associate Files</h3> <multiselect ng-model="vm.selectedCheckListAssociatedFiles" options="file.File for file in vm.checkListAssociatedFiles" data-multiple="true" scroll-after-rows="5" filter-after-rows="5" class="col-md-12 checklist-modal-multi-select" ms-header="Select all associated files for the checklist" ms-selected="{{vm.selectedCheckListAssociatedFiles.length > 1 ? vm.selectedCheckListAssociatedFiles.length + \' Associated files\' : vm.selectedCheckListAssociatedFiles.length + \' Associated file\'}} selected" id="select-associated-files" tabindex="-1"> </multiselect> </div> <div data-ng-show="checkListForm.checkListName.$error" class="ice-form-error"> <span ng-show="checkListForm.checkListName.$error.required && !checkListForm.checkListName.$pristine">Name is a required field.</span> <span ng-show="checkListForm.checkListName.$error.maxlength">Provided name is too long.</span> <span ng-show="checkListForm.checkListName.$error.pattern">Name should not include any special chars such as: ,\\%_*."</span> </div> <div class="row margin_btm"> <div class="col-md-12"> <button id="btn-create-checklist" type="submit" class="btn btn-primary" data-ng-disabled="!checkListForm.$valid || vm.isDisabled">{{vm.modalTitle}} Checklist</button> </div> </div> </form> </div>'),a.put("main/modals/checklist/state-approve-or-reject/state-approve-or-reject.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <form name="approveOrRejectState" id="approve-or-reject-state" novalidate> <div class="row modal-header"> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <span class="state-title"><span class="bold">Checklist:</span> {{vm.checklist_name}}</span> <div class="state-title-border"></div> </div> <div class="row decision-modal-body"> <div class="modal-title" id="modal-title">{{vm.state.replace(\'_\',\' \') | capitalize}}</div> <div class="decision-comment"><div ng-bind-html="vm.modalText"></div></div> <textarea name="entry_comment" rows="3" class="col-md-12 comment-textarea" ng-model="vm.description" ng-trim="false" ng-pattern="/^[a-zA-Z0-9\\&\\,\\.\\ "></textarea> </div> <div data-ng-show="approveOrRejectState.entry_comment.$error" class="ice-form-error"> <span ng-show="approveOrRejectState.entry_comment.$error.pattern">Inserted text should not include any special chars such as: \\%_*."</span> </div> <div class="row modal_buttons"> <button id="approve-state" type="submit" class="col-md-12 btn btn-gradient-success" ng-if="vm.action == \'approve\'" ng-click="vm.submitForm(true)">{{vm.state == \'pending\' ? \'Automate\' : \'Approve\'}}</button> <button id="reject-state" type="submit" class="col-md-12 btn btn-gradient-danger" ng-if="vm.action == \'reject\'" ng-click="vm.submitForm(false)">Reject</button> </div> </form>'),a.put("main/modals/cms-post-modal/cms-post-modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="toast-read-more-container"> <div class="modal-header row"> <span class="toast-read-more-title" id="toast-title-id">{{vm.post.title}}</span> <p class="toast-read-more-creation ng-binding">Posted at {{vm.post.publish_date | date2: \'EEEE MMMM doo yyyy\'}} by {{vm.post.user.username}}</p> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> </div> <div class="modal-body row toast-read-more-content" id="toast-description" ng-bind-html="vm.post.content"></div> <div class="recent-cms-posts-container row"> <div class="line-separator col-md-12"></div> <span class="recent-cms-posts-title">Most recent news & announcements</span> <ul class="recent-cms-posts"> <li class="row" data-ng-repeat="post in vm.recentPosts track by post.id" ng-class="{\'selected\': (post.id === vm.post.id)}" ng-click="vm.loadSelectedPostData(post)"> <span class="col-md-7">{{post.title}}</span><span class="col-md-5 post-creation">Posted at {{post.publish_date | date2: \'EEEE MMMM doo yyyy\'}} by {{post.user.username}}</span> </li> </ul> </div> </div>'),
-a.put("main/modals/detailed-view/dtsite/detailed-view-dtsites-modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <form name="addDTSite" ng-submit="vm.submitForm()" novalidate class="update-progress-form"> <div class="modal-header"> <h3 class="modal-title" id="modal-title">Add Deployment Target</h3> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> </div> <div class="modal-body"> <div class="table-col-general flex-item"> <select ng-model="vm.json" class="form-control" required> <option value>Please Select</option> <option ng-repeat="site in vm.dtsites" value="{{site.name}}"> {{site.name}} </option> </select> </div> <br> </div> <div class="modal-footer"> <button type="submit" id="add-dt-save-button" class="btn btn-primary" data-ng-disabled="!addDTSite.$valid">Add Deployment Target</button> </div> </form>'),a.put("main/modals/detailed-view/vfc/detailed-view-vfc-modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="modal-header"> <h3 class="modal-title" id="modal-title">Add Virtual Function Components (VFCs)</h3> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> </div> <div class="modal-body"> <div class="vfc-explain">Please use the from below to associate the various VFCs to the virtual function and engagement. You can either choose a company or create a new company if it is not listed.</div> <form name="addVfcForm" ng-submit="vm.submitForm()"> <div data-ng-repeat="vfc in vm.vfcs" class="row"> <!--<div class="flex-container data-row">--> <ng-form name="vfcItemForm"> <div class="col-md-6"> <input type="text" name="name" placeholder="Name" class="form-control" ng-model="vfc.name" ng-trim="false" ng-pattern="/^[a-zA-Z0-9\\&\\ \\-\\_]*$/" maxlength="32" required> </div> <div class="col-md-6"> <input type="text" name="extRefID" placeholder="Ext. Ref ID" class="form-control" ng-model="vfc.external_ref_id" ng-pattern="/^[a-zA-Z0-9]*$/" maxlength="20" required><br> </div> <!-- Virtual Function Component\'s external ref id--> <div class="col-md-6 flex-item"> <select ng-model="vfc.company" id="add-vfc-choose-company" class="form-control" required> <option value>Please Select</option> <option ng-repeat="company in vm.companies" value="{{company.name}}"> {{company.name}} </option> </select> </div> <div class="col-md-6 flex-item"> <input type="text" name="newCompany" placeholder="or create a new company" id="add-vfc-manually-enter-company" class="form-control" ng-model="vfc.company" maxlength="32" ng-trim="false" ng-pattern="/^[a-zA-Z0-9\\&\\ \\-\\_]*$/" required> </div> <div class="head flex-container"> <div id="add-vfc-remove-obj-from-list" class="vfc-remove-button" ng-if="vm.vfcs.length > 1" ng-click="vm.removeChoice($index)"> <div class="remove-icon"></div> </div> </div> <div class="ice-form-error col-md-12" ng-show="(vfcItemForm.name.$error || vfcItemForm.vfc_extRefID.$error || vfcItemForm.newCompany.$error)"> <div ng-show="(vfcItemForm.name.$error.required && !vfcItemForm.name.$pristine) || (vfcItemForm.extRefID.$error.required && !(vfcItemForm.extRefID.$pristine)) || (vfcItemForm.newCompany.$error.required && !(vfcItemForm.newCompany.$pristine))">Please make sure to type a name and Ext. Ref ID for the VFC.</div> <div ng-show="vfcItemForm.name.$error.maxlength || vfcItemForm.extRefID.$error.maxlength || vfcItemForm.newCompany.$error.maxlength"> Name / Ext. Ref ID / new company name is too long.</div> <div ng-show="vfcItemForm.name.$error.pattern || vfcItemForm.extRefID.$error.pattern || vfcItemForm.newCompany.$error.pattern"> Name / Ext. Ref ID / new company name should not include any special chars such as: .,\\%" </div> </div> </ng-form> </div> <div data-ng-disabled="!addVfcForm.$valid"> <a ng-if="!vm.isModal" id="add-vfc-modal" class="modal-add-vfc" ng-click="vm.addNewChoice()"> <span class="add-icon"></span><span class="add-text">Add VFC</span> </a> </div> <div class="modal-footer"> <button type="submit" id="add-vfc-save-button" class="btn btn-primary" data-ng-disabled="!addVfcForm.$valid">Add VFCs</button> </div> </form> </div>'),a.put("main/modals/feedback/feedback.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="modal-header"> <h3 class="modal-title">{{ \'Add\' }} Feedback</h3> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> </div> <div class="modal-body feedback-modal-body"> <span>Use the form below to {{\'add\' }} the current feedback.</span> <form name="feedbackForm" ng-submit="vm.submitForm()" novalidate class="feedback-modal-form"> <textarea class="col-sm-12 col-xs-12 col-md-12 feedback-modal-description" name="description" required ng-model="vm.feedback_modal_description"></textarea> <div class="ice-form-error" data-ng-show="feedbackForm.description.$error"> <span ng-show="feedbackForm.description.$error.required && !feedbackForm.description.$pristine">Description is a required field.</span> </div> <div class="modal-footer"> <button type="submit" id="add-feedback-save-button" class="btn btn-primary" data-ng-disabled="!feedbackForm.$valid">{{\'Add\'}} feedback</button> </div> </form> </div>'),a.put("main/modals/general-log-modal/general-log-modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="general-log-containter"> <div class="modal-header row general-log-subtitle"> <span class="general-log-modal-title" id="general-log-modal-title-id">{{vm.headline}}</span> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> </div> <pre class="modal-body row general-log-body" id="general-log-modal-body-id" ng-bind-html="vm.body"></pre> </div>'),a.put("main/modals/general-prompt-modal/general-prompt-modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="modal-header"> <button ng-if="vm.is_close_modal_button" type="button" ng-click="vm.closeModal()" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <div ng-if="vm.upper_headline" class="general-prompt-upper-dash"> <div id="general-prompt-upper-headline" class="general-prompt-upper-headline">{{vm.upper_headline}}<span ng-if="vm.upper_headline" class="upper-headline-value">{{vm.upper_headline_value}}</span></div> </div> <div class="general-prompt-title"><span class="bold" id="general-prompt-title">{{vm.headline}}</span></div> </div> <div class="modal-body row general-prompt-body"> <div ng-if="vm.is_message" class="general-prompt-text-details" ng-bind-html="vm.message"></div> <div ng-if="!vm.is_message">&nbsp;</div> <button id="general-prompt-approve-btn" type="submit" class="col-md-5 btn btn-gradient-success" ng-click="vm.closeModal(true)">{{vm.approveText}}</button> <span class="col-md-2"></span> <button id="general-prompt-cancel-btn" type="submit" class="col-md-5 btn btn-gradient-danger" ng-click="vm.closeModal(false)">{{vm.cancelText}}</button> </div>'),a.put("main/modals/next-steps/next-steps.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-toast is-modal="true"></ice-toast> <div class="modal-header next-steps"> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <div class="data-row-wrapper col-md-12 checklist-name"> <span class="font_header"> {{vm.checklist.uuid == undefined && \'Engagement\' || \'Checklist\' }}: </span> <span class="font_header_chk_name margin_btm"> {{vm.title}} </span> </div> </div> <div class="modal-body next-steps"> <form name="nextStepsForm" ng-submit="vm.submitForm()" novalidate class="checkList-form" style="position:relative"> <div class="data-row-wrapper addNextSteps"> <div class="row"> <div class="col-md-12"> <span class="font_header_add_next"> <h2>{{vm.edit ? \'Edit\' : \'Add\'}} Next Steps</h2> </span> </div> </div> <div class="row"> <div class="col-md-12"> <span class="m_18_r">Use the form below to {{vm.edit ? \'edit next step\' : \'add next steps\'}}. You will need to specify assignees, which files it applies to and the due date.</span> </div> </div> </div> <div data-ng-repeat="nextStep in vm.nextSteps" ng-class="{lineColor: ($index % 2 != 0)}" class="data-row-wrapper repeaterNextStep"> <div class="form-group row posRelative"> <span class="remove-icon posAbsDelBtn" ng-if="vm.nextSteps.length > 1" ng-click="vm.removeStep($index)"></span> <div class="col-md-12"> <wysiwyg textarea-id="description" textarea-class="form-control" textarea-name="description" name="description" textarea-height="160px" ng-required="true" ng-model="nextStep.description" class="ice-wysiwyg" enable-bootstrap-title="true" textarea-menu="vm.wysiwyg_menu" required> </wysiwyg> </div> <div class="col-md-12 padTop4"> <multiselect ng-model="nextStep.files" options="c.File for c in vm.associated_files" name="{{vm.associated_files}}" data-multiple="true" scroll-after-rows="5" filter-after-rows="5" ng-required="vm.checklist.uuid != undefined" ms-selected="{{nextStep.files.length > 1 ? vm.get_chosen_files_num(nextStep) + \' files\' : nextStep.files.length + \' file\'}} selected" class="ms" ms-header="Select all associated files to this next step" id="associated-files-list" tabindex="-1" change="vm.verify_files_choice(nextStep)"> </multiselect> </div> <div class="col-md-6 padTop10"> <multiselect ng-model="nextStep.assigneesUuids" options="c.name for c in vm.assigness" data-multiple="true" scroll-after-rows="5" filter-after-rows="5" ng-required="vm.checklist.uuid != undefined" ms-header="Select assignees" ms-selected="{{nextStep.assigneesUuidss.length > 1 ? nextStep.assigneesUuidss.length + \' assignees\' : nextStep.assigneesUuidss.length + \' assignee\'}} selected" id="select-assigness" tabindex="-1"> </multiselect> </div> <div class="col-md-6 padTop10"> <div flex-gt-xs> <md-datepicker ng-model-options="{timezone: \'gmt\'}" md-min-date="vm.minDate" class="btn btn-default" ng-model="nextStep.duedate" md-placeholder="Add a Due Date" data-ng-required="true"></md-datepicker> </div> </div> </div> </div> <div class="data-row-wrapper" ng-if="!vm.edit"> <div class="col-md-12 padLeft0"> <a class="add-button" ng-click="vm.addNewStep()"> <span class="add-icon"></span> <span class="add-text">Add Another Next Step</span> </a> </div> </div> <div class="data-row-wrapper"> <button type="submit" id="btn-submit" class="btn btn-primary" data-ng-disabled="!nextStepsForm.$valid">Submit Next Steps</button> </div> <div class="data-row-wrapper text-right font-deco" ng-click="vm.closeModal()"> Skip for now </div> </form> </div>'),a.put("main/modals/select-el-modal/select-el-modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="select-engagement-lead-modal"> <div class="modal-header row"> <button type="button" ng-click="vm.closeModal()" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <div id="archive-engagement-title" class="select-engagement-lead-title"><span>Select Engagement Lead</span></div> <span class="select-engagement-lead-description">Please select engagement lead from the list below.</span> </div> <div class="modal-body row"> <div class="form-group"> <select style="width:100%" name="selected-user" ng-model="vm.selectedUserUuid" ng-change="vm.onUserSelect()" ng-options="el.uuid as el.full_name for el in vm.engagementLeads track by el.uuid" class="form-control"> </select> </div> <div class="modal-body"> Engagement lead cannot be both reviewer and peer reviewer.<br> If you assign the same user to two roles, we will automatically switch the other users\' role. </div> </div> </div>'),a.put("main/modals/set-eng-stage/set_eng_stage_modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <form name="approveOrRejectStage" id="approve-or-reject-stage" novalidate> <div class="row modal-header"> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <span class="state-title bold"><span class="bold">Engagement:</span> {{vm.engagement_name}}</span> <div class="state-title-border"></div> </div> <div class="row decision-modal-body"> <div class="modal-title">Current stage: {{vm.stage.replace(\'_\',\' \') | capitalize}}</div> <div class="decision-comment" id="stage-{{vm.stage}}"><div ng-bind-html="vm.modalText"></div></div> </div> <div class="row modal_buttons"> <button type="submit" class="col-md-5 btn btn-gradient-success" ng-click="vm.closeModal(true)">Approve</button> <span class="col-md-2"></span> <button type="submit" class="col-md-5 btn btn-gradient-danger" ng-click="vm.closeModal(false)">Reject</button> </div> </form>'),a.put("main/modals/set-eng-stage/set-eng-stage-modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="modal-header row"> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <div class="set-stage-title"><span class="bold">Engagement:</span> {{vm.eng_name}}</div> </div> <div class="modal-body row"> <span class="set-stage-title"><span class="bold">Current stage:</span> {{vm.current_stage.replace(\'_\',\' \') | capitalize}}</span> <div class="set-stage-modal-text-details" id="modal-message-{{vm.stage}}" ng-bind-html="vm.modalText"></div> <button type="submit" class="col-md-5 btn btn-gradient-success" ng-click="vm.closeModal(true)">Approve</button> <span class="col-md-2"></span> <button type="submit" class="col-md-5 btn btn-gradient-danger" ng-click="vm.closeModal(false)">Cancel</button> </div>'),a.put("main/modals/status/status.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="modal-header"> <h3 class="modal-title" id="modal-title">{{vm.action == \'edit\' && \'Current\' || \'Add\' }} Status</h3> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> </div> <div class="modal-body status-modal-body"> <span>Use the form below to {{vm.action == \'edit\' && \'update\' || \'add\' }} the current status of the engagement.</span> <form name="statusForm" ng-submit="vm.submitForm()" novalidate class="status-modal-form"> <textarea class="col-sm-12 col-xs-12 col-md-12 status-modal-description" name="description" ng-maxlength="256" required ng-model="vm.status_modal_description" ng-pattern="/^[a-zA-Z0-9\\&\\,\\.\\ ]*$/"></textarea> <div class="ice-form-error" data-ng-show="statusForm.description.$error"> <span ng-show="statusForm.description.$error.required && !statusForm.description.$pristine">Description is a required field.</span> <span ng-show="statusForm.description.$error.maxlength">Description is too long.</span> <span ng-show="statusForm.description.$error.pattern">Description should not include any special chars such as: *^-\\%_"</span> </div> <div class="modal-footer"> <button type="submit" id="add-vfc-save-button" class="btn btn-primary" data-ng-disabled="!statusForm.$valid">{{vm.action == \'edit\' && \'Update current\' || \'Add\' }} status</button> </div> </form> </div>'),
-a.put("main/modals/target-lab-entry/change-lab-entry-date.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <form name="updateTargetLabDate" ng-submit="vm.submitForm()" novalidate class="update-target-lab-form"> <div class="modal-header"> <h3 class="modal-title" id="modal-title">Target Lab Entry</h3> <button type="button" ng-click="vm.closeModal()" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> </div> <div class="modal-body"> <div class="form-group" ng-class="{ \'has-error\' : updateTargetLabDate.date.$invalid && !updateTargetLabDate.date.$pristine }"> <md-datepicker id="lab-entry-date" md-min-date="vm.minDate" ng-click="ctrl.openCalendarPane($event)" ng-model-options="{timezone: \'gmt\'}" class="btn btn-default datepicker_btn edit-target-lab-date-modal" ng-model="vm.targetLabDate" md-placeholder="Choose Lab Entry Date"></md-datepicker> <input type="hidden" id="input-lab-entry-date" value="{{vm.targetLabDate }}"> <span ng-show="updateTargetLabDate.date.$error.required && !updateTargetLabDate.date.$pristine">Date is required field!</span> </div> </div> <div class="modal-footer"> <button type="submit" class="btn btn-primary" data-ng-disabled="!updateTargetLabDate.$valid">Save</button> </div> </form>'),a.put("main/modals/update-engagement-status-modal/update-engagement-status-modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="update-engagement-status-modal"> <div class="modal-header row"> <button type="button" ng-click="vm.closeModal()" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <div id="update-engagement-status-title" class="update-engagement-status-title"><span>Update Status</span></div> <span class="update-engagement-status-description">Use the form below to update status details of the engagement.</span> </div> <div class="modal-body row"> <form name="updateEngagementStatusForm" ng-submit="vm.updateEngagement()" novalidate class=""> <div class="form-group" ng-class="{ \'has-error\' : updateEngagementStatusForm.progress.$invalid && updateEngagementStatusForm.progress.$dirty }"> <span class="form-field-title">Progress in %</span> <input type="number" name="progress" class="form-control" ng-model="vm.engagement.progress" required min="0" max="100"> <div class="ice-form-error" data-ng-show="updateEngagementStatusForm.progress.$error"> <span ng-show="updateEngagementStatusForm.progress.$error.required && updateEngagementStatusForm.progress.$dirty" class="help-block ng-hide" aria-hidden="true">Please enter progress</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : updateEngagementStatusForm.targetCompletion.$invalid && updateEngagementStatusForm.targetCompletion.$dirty }"> <span class="form-field-title">Target Completion Date</span> <md-datepicker ng-click="ctrl.openCalendarPane($event)" class="btn btn-default" ng-model="vm.engagement.target_completion_date"></md-datepicker> <input type="hidden" name="targetCompletion" class="form-control" ng-model="vm.engagement.target_completion_date" required> <div class="ice-form-error" data-ng-show="updateEngagementStatusForm.targetCompletion.$error"> <span ng-show="updateEngagementStatusForm.targetCompletion.$error.date && updateEngagementStatusForm.targetCompletion.$dirty" class="help-block ng-hide" aria-hidden="true">Please enter target completion date</span> </div> </div> <div class="panel panel-default"> <div class="panel-heading">Validation Criteria</div> <div class="panel-body"> <div class="form-group"> <span class="form-field-title">HEAT Validated</span> <md-datepicker ng-click="ctrl.openCalendarPane($event)" class="btn btn-default" ng-model="vm.engagement.heat_validated_time"></md-datepicker> <input type="hidden" name="heatValidated" class="form-control" ng-model="vm.engagement.heat_validated_time"> </div> <div class="form-group"> <span class="form-field-title">Image Scan</span> <md-datepicker ng-click="ctrl.openCalendarPane($event)" class="btn btn-default" ng-model="vm.engagement.image_scan_time"></md-datepicker> <input type="hidden" name="imageScan" class="form-control" ng-model="vm.engagement.image_scan_time"> </div> <div class="form-group"> <span class="form-field-title">AIC Instantiation</span> <md-datepicker ng-click="ctrl.openCalendarPane($event)" class="btn btn-default" ng-model="vm.engagement.aic_instantiation_time"></md-datepicker> <input type="hidden" name="aicInstantiation" class="form-control" ng-model="vm.engagement.aic_instantiation_time"> </div> <div class="form-group"> <span class="form-field-title">ASDC Onboarding</span> <md-datepicker ng-click="ctrl.openCalendarPane($event)" class="btn btn-default" ng-model="vm.engagement.asdc_onboarding_time"></md-datepicker> <input type="hidden" name="asdcOnboarding" class="form-control" ng-model="vm.engagement.asdc_onboarding_time"> </div> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : updateEngagementStatusForm.status.$invalid && updateEngagementStatusForm.status.$dirty }"> <span class="form-field-title">Status</span> <textarea type="text" name="status" class="form-control" ng-model="vm.status" required></textarea> <div class="ice-form-error" data-ng-show="updateEngagementStatusForm.status.$error"> <span ng-show="updateEngagementStatusForm.status.$error.required && updateEngagementStatusForm.status.$dirty" class="help-block ng-hide" aria-hidden="true">Please enter status</span> </div> </div> <button class="btn btn-primary col-md-12" data-ng-disabled="updateEngagementStatusForm.$invalid" type="submit">Submit</button> </form> </div> </div>'),a.put("main/modals/validation-details/detailed-view-validation-details-modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="modal-header"> <h3 class="modal-title" id="modal-title">Validation Details (ECOMP, AIC, VF Version)</h3> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> </div> <div class="modal-body"> <form name="ValidationDetailsForm" id="validation-details-form" ng-submit="vm.submitForm()"> <ng-form name="vfcItemForm"> <div class="row"> <div class="col-md-12 field-title" id="vf-version">VF Version</div> <div class="col-md-12"> <input type="text" name="VFversion" id="id-vf-version" ng-model="vm.VFVersion" maxlength="32" class="form-control"> </div> <div class="ice-form-error" data-ng-show="vfItemForm.VFVersion.$error"> <span ng-show="vfItemForm.VFVersion.$error.pattern">VF Version can be alphanumeric or/and Hyphen</span> </div> </div> <div class="row"> <div class="col-md-12 field-title" id="target-aic-version-headline">Target AIC Version</div> <div class="col-md-12"> <select id="aic-version-select" ng-model="vm.TargetAic" class="form-control"> <option value="" selected disabled>AIC Version</option> <option meta-order="{{$index}}" ng-repeat="dt in vm.deployTargets" id="aic_select_options_{{dt.version}}" value="{{dt.uuid}}" ng-disabled="dt.disabled">{{dt.name}} {{dt.version}} {{dt.disabled ? "- Deprecated" : ""}}</option> </select> </div> </div> <div class="row"> <div class="field-title col-md-12">ECOMP Release</div> <div class="col-md-12"> <select id="ecomp-release-select" ng-model="vm.ECOMPRelease" class="form-control"> <option value="" selected disabled>ECOMP Release</option> <option meta-order="{{$index}}" ng-repeat="dt in vm.ECOMPReleases" id="ecomp-select-options-{{dt.name}}" value="{{dt.uuid}}" ng-disabled="dt.disabled">{{dt.name}} {{dt.disabled ? "- Deprecated" : ""}}</option> </select> </div> </div> </ng-form> <div class="modal-footer"> <button type="submit" id="edit-validation-setails-save-button" class="btn btn-primary" data-ng-disabled="!ValidationDetailsForm.$valid">Save Validation Details</button> </div> </form> </div>'),a.put("core/layouts/dashboard/dashboard.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="dashboard"> <div id="toolbar" class="toolbar navbar-fixed-top" ui-view="toolbar"></div> <div id="content-container" class="content-container"> <div id="navigation" class="navigation col-md-2" ui-view="navigation"></div> <div id="content" class="content" ng-class="state.current.params.displaySidebar ? \'col-md-7\' : \'col-md-10\'"> <ice-announcement class="col-md-12"></ice-announcement> <ice-toast is-modal="false" class="col-md-12"></ice-toast> <div ui-view="content"></div> </div> <div ng-if="state.current.params.displaySidebar" id="sidebar" ui-view="sidebar" class="col-md-3"></div> </div> </div>'),a.put("core/layouts/full-page-with-header/full-page-with-header.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <nav id="main-nav" class="welcome-navbar navbar"> <div class="container-fluid"> <div class="navbar-header welcome-nav-link"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse-1"> <span class="sr-only">Toggle navigation</span> Menu <i class="fa fa-bars"></i> </button> <a class="welcome-logo navbar-brand page-scroll" href="#/"> <img class="logo-trans logo-reg" id="logo" src="/styles/images/d2sandbox_logos-150x30.png" height="30" width="150" alt="AT&amp;T | {{\'program.name\' | i18next}}"> </a> </div> <div class="collapse navbar-collapse" id="navbar-collapse-1"> <ul class="nav navbar-nav navbar-right"> <li> <a class="welcome-nav-link page-scroll" ui-sref="app.login">Login</a> </li> <li> <a class="welcome-nav-link page-scroll" ui-sref="app.register">Sign Up</a> </li> </ul> </div> </div> </nav> <div id="full-page-with-header" class="template-layout"> <div id="header-title"> <h1 ng-bind-html="headerTitle"></h1> <h2 ng-bind-html="headerSubTitle"></h2> </div> <div id="content-container" class="content-container"> <div id="content" class="content col-md-12"> <div class="container"> <div class="row"> <div class="col-md-2"></div> <ice-toast is-modal="false" class="col-md-8"></ice-toast> <div class="col-md-2"></div> </div> </div> <div ui-view="content"></div> </div> </div> </div>'),a.put("core/navigation/layouts/account-navigation/navigation.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="dashboard-navigation"> <ice-loader selector=".engagments-list"></ice-loader> <h1 class="caption profile">Profile</h1> <ul class="actions-list"> <li id="app.account-not-selected" ng-class="{\'selected\': vm.selectedPage == \'app.account\'}" ng-click="vm.loadPageContent(\'app.account\')">Account<span class="selected" ng-show="vm.selectedPage == \'app.account\'">&raquo;</span></li> <li id="user-profile-settings" ng-class="{\'selected\': vm.selectedPage == \'app.account.userProfile\'}" ng-click="vm.loadPageContent(\'app.account.userProfile\')">Settings<span class="selected" ng-show="vm.selectedPage == \'app.account.userProfile\'">&raquo;</span></li> <li id="app.notifications-not-selected" ng-class="{\'selected\': vm.selectedPage == \'app.account.notifications\'}" ng-click="vm.loadPageContent(\'app.account.notifications\')">Notifications<span class="selected" ng-show="vm.selectedPage == \'app.account.notifications\'">&raquo;</span></li> </ul> </div>'),a.put("core/navigation/layouts/admin-navigation/navigation.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="admin-navigation"> <ice-loader selector=".engagments-list"></ice-loader> <h1 class="caption" id="left-navigation-title">Admin</h1> <div class="navbar-collapse collapse admin-navbar"> <section class="menu-engagements-category"> <ul class="engagements-list"> <li> <span class="selected clickable sub-category" id="master-checklist-templates">Master Checklist Templates</span> <ul class="engagement-details"> <li data-ng-repeat="template in vm.checkListTemplates" class="clickable"> <span class="engagement_detail_menu_name" ng-class="{\'template-selected\': vm.selectedTemplate.uuid === template.uuid}"> <span ng-click="vm.selectTemplate(template);" name="{{template.name}}">{{template.name}}</span> <span ng-show="vm.selectedTemplate.name == template.name">&raquo;</span> </span> </li> </ul> </li> </ul> </section> </div> </div>'),a.put("core/navigation/layouts/documentation-navigation/navigation.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="documentation"> <ice-loader selector=".documentation-nav"></ice-loader> <span id="mobile-collapse" class="pull-right glyphicon glyphicon-align-justify" data-toggle="collapse" data-target=".navbar-collapse"></span> <h1 class="caption">Documentation</h1> <!-- start of search bar --> <aside id="documentation-search"> <input type="text" id="search-doc" typeahead-template-url="documentationPageSearchTemplate" ng-model="vm.selectedSearchedPage" ng-model-options="{debounce: 300}" uib-typeahead="page for page in vm.documentationPage.children | customDocumentationPageSearch:$viewValue | limitTo:100" typeahead-no-results="noResults" placeholder="Search by page name" class="form-control" typeahead-on-select="vm.loadPageContent($item.id)"> <script type="text/ng-template" id="documentation-page-search-template"><a><span class="search-documentation-name" id="search-{{match.model.title}}">{{match.model.title}}</span>\n </a></script> <div ng-show="noResults" id="search-no-results"> <i class="glyphicon glyphicon-remove"></i> No Match Found </div> </aside> <!-- end of search bar --> <div id="nav-bar-wrapper" class="navbar-collapse collapse"> <ul class="actions-list"> <ul class="pages-list" id="pages-list"> <li ng-class="{\'selected\': vm.documentationPage.id == vm.pageId}" class="page"><span ng-click="vm.loadPageContent(vm.documentationPage.id)">Home</span></li> <li data-ng-repeat="page in vm.documentationPage.children | orderBy: \'_order\'" ng-class="{\'selected\': page.id == vm.pageId}" class="page"> <span ng-click="vm.loadPageContent(page.id)" id="{{page.title}}"> {{page.title}} <span ng-show="page.children && page.children.length > 0" class="fa" ng-class="{\'fa-caret-right\': vm.isPageCollapsed(page), \'fa-caret-down\': !vm.isPageCollapsed(page)}"></span> </span> <ul class="page-childs" ng-class="{\'collapse\': vm.isPageCollapsed(page)}" data-ng-if="page.children && page.children.length > 0"> <li data-ng-repeat="child in page.children | orderBy: \'_order\'" ng-class="{\'selected\': child.id == vm.pageId}" class="sub-page" role="button" tabindex="0"> <span ng-click="vm.loadPageContent(child.id)" id="{{child.title}}" class="child">{{child.title}}</span> <ul class="page-childs" ng-class="{\'collapse\': vm.isPageCollapsed(page)}" data-ng-if="child.children && child.children.length > 0"> <li data-ng-repeat="grandChild in child.children | orderBy: \'_order\'" ng-class="{\'selected\': grandChild.id == vm.pageId}" class="sub-page" role="button" tabindex="0"> <span ng-click="vm.loadPageContent(grandChild.id)" id="{{grandChild.title}}" class="child">{{grandChild.title}}</span> </li> </ul> </li> </ul> </li> </ul> </ul> </div></div>'),a.put("core/navigation/layouts/horizontal-navigation/navigation.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="dashboard-navigation"> <ice-loader selector=".engagements-list"></ice-loader> <get-started-modal></get-started-modal> <h1 class="caption">Engagements<span id="add-engagement" ng-click="vm.openGettingStartedWizard()" class="add-engagement fa fa-plus-circle"></span></h1> <!-- start of search bar --> <span id="mobile-collapse" class="pull-right glyphicon glyphicon-align-justify" data-toggle="collapse" data-target=".navbar-collapse"></span> <aside id="engagement-search"> <input type="text" typeahead-template-url="engagementSelectTemplate" id="search-eng" ng-model="vm.selected_search_engagement" uib-typeahead="engagement for enagement in enagements_search_list | customVFSearchFilter:$viewValue | limitTo:100" popover-trigger="outsideClick" popover-placement="right" uib-popover="For example search by User Email" typeahead-no-results="noResults" placeholder="Eng. ID, VF, VFC, User" class="form-control" typeahead-on-select="vm.searchSelectEngagement($item.engagement__uuid)"> <script type="text/ng-template" id="engagementSelectTemplate"><a>\n <span class="search-engagement-name" id="search-{{match.model.vf__name}}">{{match.model.engagement__engagement_manual_id}}: {{match.model.vf__name}}</span>\n </a></script> <div ng-show="noResults" id="search-no-results"> <i class="glyphicon glyphicon-remove"></i> No Match Found </div> </aside> <div id="nav-bar-wrapper" class="navbar-collapse collapse"> <!-- end of search bar --> <section id="menu-starred" class="menu-engagements-category"> <h2 class="menu-engagement-category-title">Starred</h2> <ul class="engagements-list"> <li data-ng-repeat="engagement in vm.starred_engagements | toArray | orderBy:\'engagement_manual_id\'" ng-class="{\'selected\': engagement.selected===true && vm.view_type != \'dashboard\'}" id="{{engagement.engagement_manual_id}}"> <span ng-if="engagement.red_dot" class="red_dot sprite" alt="{{engagement.red_dot | capitalize}}" title="{{engagement.red_dot | capitalize}}" popover-trigger="mouseenter" popover-html="true" popover-placement="right" uib-popover="{{engagement.red_dot | capitalize}}"> </span> <span id="clickable-{{engagement.name}}" class="clickable" ng-click="vm.selectEngagement(engagement.uuid,\'overview\');">{{engagement.name}}</span> <ul class="engagement-details" data-ng-if="engagement.selected===true && vm.view_type != \'dashboard\'"> <li id="overview-{{engagement.name}}" ng-click="vm.selectEngagement(engagement.uuid,\'overview\');" ng-class="{\'selected\': engagement.page == \'overview\'}" class="clickable"> <span class="engagement_detail_menu_name">Overview</span> <span class="engagement_detail_menu_raquo" ng-if="engagment.page == \'overview\'">&raquo;</span> </li> <li id="detailed-view-{{engagement.name}}" ng-click="vm.selectEngagement(engagement.uuid,\'detailedview\');" ng-class="{\'selected\': engagement.page == \'detailedview\'}" class="clickable"> <span class="engagement_detail_menu_name">Detailed View</span> <span class="engagement_detail_menu_raquo" ng-if="engagment.page == \'detailedview\'">&raquo;</span> </li> <li class="engagement-details-sub-catgeory" ng-if="(vm.isEngagementEL || vm.isAdmin)"> <span class="sub-category-title">Checklist <span data-ng-if="(vm.isReviewer || vm.isAdmin)" id="checklist-plus-{{vm.engagement.uuid}}" class="clickable add-checklist fa fa-plus-circle" data-ng-click="vm.addChecklist(vm.engagement.uuid)" class="clickable"></span> </span> <ul class="engagement-checklist" data-ng-if="engagement.selected===true"> <li data-ng-repeat="checklist in engagement.checklists" id="checklist-{{checklist.uuid}}" ng-class="{\n \'clickable\' : vm.user.uuid == checklist.owner__uuid || vm.isAdmin,\n \'disabled\' : vm.user.uuid != checklist.owner__uuid && !vm.isAdmin || (checklist.state == \'closed\' && !vm.isAdmin),\n \'selected\': engagement.sub_id == checklist.uuid\n }" alt="{{checklist.state | capitalize }}" ng-click="( (checklist.state != \'closed\' && ((vm.me.uuid == checklist.owner__uuid)|| vm.isAdmin)) || ((checklist.state == \'closed\') && vm.isAdmin) ) && vm.selectEngagement(engagement.uuid,\'checklist\',checklist.uuid); "> <span popover-trigger="mouseenter" popover-html="true" popover-placement="right" uib-popover="{{checklist.state | capitalize}}" class="checklist-icon sprite {{checklist.state}}-state"></span>{{checklist.name}} </li> </ul> </li> </ul> </li> </ul> </section> <section id="menu-recent" class="menu-engagements-category"> <h2 class="menu-engagement-category-title">Recent</h2> <ul class="engagements-list"> <li data-ng-repeat="engagement in vm.recent_engagements | toArray | orderBy:\'-last_update\'" ng-class="{\'selected\': engagement.selected===true && vm.view_type != \'dashboard\'}" id="{{engagement.engagement_manual_id}}"> <span ng-if="engagement.red_dot" class="red_dot sprite" alt="{{engagement.red_dot | capitalize}}" title="{{engagement.red_dot | capitalize}}" popover-trigger="mouseenter" popover-html="true" popover-placement="right" uib-popover="{{engagement.red_dot | capitalize}}"> </span> <span id="clickable-{{engagement.name}}" class="clickable" ng-click="vm.selectEngagement(engagement.uuid,\'overview\');"> {{engagement.name}}</span> <ul class="engagement-details" data-ng-if="engagement.selected===true && vm.view_type != \'dashboard\'"> <li id="overview-{{engagement.name}}" ng-click="vm.selectEngagement(engagement.uuid,\'overview\');" ng-class="{\'selected\': engagement.page == \'overview\'}" class="clickable"> <span class="engagement_detail_menu_name">Overview</span> <span class="engagement_detail_menu_raquo" ng-if="engagment.page == \'overview\'">&raquo;</span> </li> <li id="detailed-view-{{engagement.name}}" ng-click="vm.selectEngagement(engagement.uuid,\'detailedview\');" ng-class="{\'selected\': engagement.page == \'detailedview\'}" class="clickable"> <span class="engagement_detail_menu_name">Detailed View</span> <span class="engagement_detail_menu_raquo" ng-if="engagment.page == \'detailedview\'">&raquo;</span> </li> <li class="engagement-details-sub-catgeory" ng-if="vm.isEngagementEL || vm.isAdmin"> <span class="sub-category-title">Checklist <span data-ng-if="vm.isReviewer || vm.isAdmin" id="checklist-plus-{{vm.engagement.uuid}}" class="clickable add-checklist fa fa-plus-circle" data-ng-click="vm.addChecklist(vm.engagement.uuid)" class="clickable"></span> </span> <ul class="engagement-checklist" data-ng-if="engagement.selected===true"> <li data-ng-repeat="checklist in engagement.checklists" id="checklist-{{checklist.uuid}}" ng-class="{\n \'clickable\' : vm.user.uuid == checklist.owner__uuid || vm.isAdmin,\n \'disabled\' : ((vm.user.uuid != checklist.owner__uuid) && !vm.isAdmin) || (checklist.state == \'closed\' && !vm.isAdmin),\n \'selected\': engagement.sub_id == checklist.uuid\n }" alt="{{checklist.state | capitalize }}" ng-click=" ( (checklist.state != \'closed\' && (vm.user.uuid == checklist.owner__uuid || vm.isAdmin)) || ((checklist.state == \'closed\') && vm.isAdmin) ) && vm.selectEngagement(engagement.uuid,\'checklist\',checklist.uuid);"><span popover-trigger="mouseenter" popover-html="true" popover-placement="right" uib-popover="{{checklist.state | capitalize}}" class="checklist-icon sprite {{checklist.state}}-state"></span>{{checklist.name}} </li> </ul> </li> </ul> </li> </ul> </section> <ice-tool-tip></ice-tool-tip> </div></div>'),
-a.put("core/toolbar/layouts/horizontal-navigation/toolbar.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="col-xs-2 col-sm-2 col-md-2"> <a ui-sref="app.dashboard.dashboard"><div class="header-logo" id="logo"></div></a> </div> <div class="col-xs-8 col-sm-8 col-md-8"> <ul class="header-top-menu"> <li><a ui-sref="app.dashboard.dashboard" id="dashboard">Dashboard</a></li> <li><a ui-sref="app.documentation" id="documentation">Documentation</a></li> </ul> </div> <div class="col-xs-2 col-sm-2 col-md-2 header-right"> <!--<div class="header-chat"></div>--> <span uib-dropdown on-toggle="toggled(open)" dropdown-append-to="toolbar"> <div class="header-avatar" id="avatar" uib-dropdown-toggle> <span ng-if="vm.notifications>0" class="notifications"><span id="notifications-count" class="count">{{vm.notifications}}</span> </span></div> <ul class="dropdown-menu" uib-dropdown-menu role="menu"> <li role="menuitem"><a ui-sref="app.account">Account</a></li> <li class="divider"></li> <li role="menuitem"><a href data-ng-click="vm.addFeedback()" id="feedback-toolbar-link">Feedback</a></li> <li class="divider"></li> <li role="menuitem"><a ui-sref="app.account.notifications">Notifications</a></li> <li class="divider"></li> <li role="menuitem" ng-if="vm.isAdmin"><a ui-sref="app.admin" class="dashboard-admin-link" id="admin-toolbar-link">Admin</a></li> <li class="divider" ng-if="vm.isAdmin"></li> <li role="menuitem"><a href data-ng-click="vm.logout()" class="logout">Logout</a></li> </ul> </span> <!--<i class="fa fa-user"></i>\n <i class="fa fa-sign-out"></i>--> </div>'),a.put("directives/ice-announcement/ice-announcement.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="ice-toast" ng-if="toast.show" ng-show="toast.displayFor==\'all\' || (toast.displayFor==\'modal\' && isModal)"> <uib-alert type="{{toast.type}}" close="closeAlert()"> <span id="announcement-successfully-message" ng-bind-html="toast.message"></span> <a ng-if="toast.readMore" id="read-more-button" ng-click="toast.readMore()"><u> Read more >></u></a> </uib-alert> </div>'),a.put("directives/ice-loader/ice-loader.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="ice-loader" ng-if="loader.show===true"></div>'),a.put("directives/ice-news-and-announcement/ice-news-and-announcement.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="col-md-12" id="news-and-announcements"> <div id="news-and-announcements-header">News & Announcements</div> <ul id="news-and-announcements-list"> <h4 class="news-and-announcements-details-title" ng-if="!cmsPosts || cmsPosts.length === 0">There are no posts.</h4> <li data-ng-repeat="post in cmsPosts" class="news-and-announcements-details"> <div class="news-and-announcements-details-header row"> <h2 class="news-and-announcements-details-title" id="{{post.title}}" ng-click="openCMSReadMoreModal(post)">{{post.title}}</h2> </div> <span class="news-and-announcements-creation">Posted at {{post.publish_date | date2: \'EEEE MMMM doo yyyy\'}} by {{post.user.username}}</span> <p ng-show="showDescription" class="news-and-announcements-description" id="{{post.description}}" ng-bind-html="post.description | htmlspecialchars"></p> </li> </ul> </div>'),a.put("directives/ice-toast/ice-toast.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="ice-toast" ng-if="toast.show" ng-show="toast.displayFor==\'all\' || (toast.displayFor==\'modal\' && isModal)"> <uib-alert type="{{toast.type}}" close="closeAlert()"> <span id="toast-successfully-message" ng-bind-html="toast.message"></span> <a ng-if="toast.readMore" id="read-more-button" ng-click="toast.readMore()"><u> Read more >></u></a> </uib-alert> </div>'),a.put("directives/ice-tooltip/ice-tooltip.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div ng-show="tipContent && tipContent.excerpt" class="col-md-12 tooltip-container"> <div class="tooltip-title ng-binding" id="tooltip-title">Did you know?</div> <div class="tooltip-content"> <h4 id="tooltip-description">{{tipContent.excerpt}}</h4> </div> </div>'),a.put("directives/progress/progress.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="steps-progress-wrapper"> <div class="row progress-body-content"> <span id="progress_bar_{{data.manual_id}}" class="progress-left-content col-md-8"> <div class="description"> <span ng-if="!statuses" class="progress-title"><span class="manual-id">Progress</span> <span uib-popover="This is where you can see the current progress in the validation.\n You will also see the projected days left before the {{\'program.name\' | i18next}} team has completed\n the validation." popover-title="Progress" popover-trigger="click" popover-html="true" popover-placement="right" class="progress-question-mark fa fa-question-circle-o"> <span ng-mouseover="" ng-mouseleave="" class="" data-ng-click="vm"></span> </span> </span> <span ng-if="statuses" class="progress-title"> <span id="starred-{{data.manual_id}}" class="star-engagement-action fa" ng-class="data.starred ? \'fa-star\' : \'fa-star-o\'" ng-click="starEngagement()"></span> <span ng-click="goToEngagement(data.engagement_uuid)" class="progress-click"><span class="manual-id" id="eng-{{data.manual_id}}: {{data.name}}">{{data.manual_id}}: </span>{{data.name}}</span> </span> </div> <div class="steps-progress-bar"> <div class="progress-filled" ng-style="{\'flex-grow\': progress}"></div> <div class="progress-empty" data-ng-class="{\'right\': progress<=50, \'full\' : progress==100}" ng-style="{\'flex-grow\': 100-progress}"> <span id="progress-percentage" class="percents">{{progress}}&nbsp;%</span> <span id="edit-change-progress" class="edit fa fa-pencil-square-o" data-ng-if="data.enable_edit" data-ng-click="changeProgress()"></span> </div> </div> <div class="progress-version-release row"> <span class="col-md-4">Target AIC Version: {{data.aic_version}}</span> <span class="col-md-4"> ECOMP Release: {{data.ecomp_release}}</span> <span class="col-md-4"> VNF Version: <span class="vnf_version_value" ng-bind="data.vnf_version ? data.vnf_version : \'-\'"></span></span> </div> </span> <span class="progress-side-info col-md-4"> <div class="row"> <div><span class="progress-side-info-row progress-side-info-first-row col-md-7">Heat Validated:</span><span id="heat-validated-time" class="value col-md-5">{{data.heat_validated_time | date:\'shortDate\'}}</span></div> <div><span class="progress-side-info-row col-md-7">Image Scan:</span><span id="image-scan-time" class="value col-md-5">{{data.image_scan_time | date:\'shortDate\'}}</span></div> <div><span class="progress-side-info-row col-md-7">AIC Instantiation:</span><span id="aic-instantiation-time" class="value col-md-5">{{data.aic_instantiation_time | date:\'shortDate\'}}</span></div> <div><span class="progress-side-info-row progress-side-info-last-row col-md-7">ASDC Onboarding:</span><span id="asdc-onboarding-time" class="value col-md-5">{{data.asdc_onboarding_time | date:\'shortDate\'}}</span></div> </div> </span> </div></div>'),a.put("directives/step-stages/step-stages.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="steps-stages-wrapper"> <div id="set-stage-{{const.intake}}" ng-click="set_stage(\'Intake\')" class="steps-stage" ng-mouseover="hover_actions(true,1)" ng-mouseleave="hover_actions(false,0)" data-ng-class="{\'selected\': stage_num == 1, \'previous-stage\': stage_num > 1, \'hover-selected\': (priviliged == true) && (hover == true && temp_num == 1), \'hover-previous-stage\': (priviliged == true) &&(hover == true && temp_num > 1)}"><span class="circle"></span><span class="line"></span><span class="text">{{const.intake}}</span></div> <div id="set-stage-{{const.active}}" ng-click="set_stage(\'Active\')" class="steps-stage" ng-mouseover="hover_actions(true,2)" ng-mouseleave="hover_actions(false,0)" data-ng-class="{\'selected\': stage_num == 2, \'previous-stage\': stage_num > 2, \'hover-selected\': (priviliged == true) && (hover == true && temp_num == 2), \'hover-previous-stage\': (priviliged == true) &&(hover == true && temp_num > 2)}"><span class="circle"></span><span class="line"></span><span class="text">{{const.active}}</span></div> <div id="set-stage-{{const.validated}}" ng-click="set_stage(\'Validated\')" class="steps-stage" ng-mouseover="hover_actions(true,3)" ng-mouseleave="hover_actions(false,0)" data-ng-class="{\'selected\': stage_num == 3, \'previous-stage\': stage_num > 3, \'hover-selected\': (priviliged == true) && (hover == true && temp_num == 3), \'hover-previous-stage\': (priviliged == true) &&(hover == true && temp_num > 3)}"><span class="circle"></span><span class="line"></span><span class="text">{{const.validated}}</span></div> <div id="set-stage-{{const.completed}}" ng-click="set_stage(\'Completed\')" class="steps-stage" ng-mouseover="hover_actions(true,4)" ng-mouseleave="hover_actions(false,0)" data-ng-class="{\'selected\': stage_num == 4, \'hover-selected\': (priviliged == true) && (hover == true && temp_num == 4), }"><span class="circle"></span><span class="line"></span><span class="text">{{const.completed}}</span></div> </div>')}]);
diff --git a/vvp/dist/scripts/scripts.d8a9fb59.js b/vvp/dist/scripts/scripts.d8a9fb59.js
new file mode 100644
index 00000000..5c5887db
--- /dev/null
+++ b/vvp/dist/scripts/scripts.d8a9fb59.js
@@ -0,0 +1,12 @@
+!function(){"use strict";angular.module("ice",["ngSanitize","ngAnimate","wysiwyg.module","ui.router","ice.env","ice.modals","angularUtils.directives.dirPagination","ui.select","ui.multiselect","ui.bootstrap","ui.bootstrap.datetimepicker","ngMaterial","ngMessages","angular-toArrayFilter","ngIntlTelInput","ui.sortable","jm.i18next","ice.toolbar","ice.navigation","ice.main","ice.contactUs","ice.dashboard.main","ice.dashboard.overview","ice.dashboard.dashboard","ice.activation.login","ice.activation.register","ice.activation.addVf","ice.activation.addVendorContact","ice.activation.resendActivation","ice.activation.terms","ice.activation.activateUser","ice.dashboard.account","ice.documentation","ice.activation.resetPassword","ice.activation.updatePassword","ice.dashboard.checklist","ice.welcome","ice.main.admin","ice.services.cacheService","ice.services.users","ice.services.localStorage","ice.services.vf","ice.services.steps","ice.services.vfc","ice.services.dtsite","ice.services.checklist","ice.services.status","ice.services.feedback","ice.services.toast","ice.services.cms","ice.services.sessionStorage","ice.directives","ice.filters","ice.interceptors.http"])}(),angular.module("ice.env",[]).constant("ENV",{name:"production",apiBase:"/vvp/v1/engmgr/"}),function(){"use strict";angular.module("ice").constant("_",window._).constant("iceConstants",{states:{incomplete:"Incomplete",completed:"Completed"},stages:{intake:"Intake",active:"Active",validated:"Validated",completed:"Completed"},roles:{standard:"standard_user",el:"el",admin:"admin",admin_ro:"admin_ro"},checklist_states:["automation","review","peer review","approval","handoff","closed"]})}(),function(){"use strict";function a(a){a.defaults.useXDomain=!0,delete a.defaults.headers.common["X-Requested-With"],a.interceptors.push("httpRequestInterceptor"),a.interceptors.push("httpResponseInterceptor"),a.interceptors.push("httpRequestErrorInterceptor"),a.interceptors.push("httpResponseErrorInterceptor")}angular.module("ice").config(a).config(["ngIntlTelInputProvider",function(a){a.set({initialCountry:"us"})}]),a.$inject=["$httpProvider"]}(),function(){"use strict";function a(a,b,c){c.hashPrefix(""),b.otherwise("/login"),b.when("/dashboard","/dashbaord/overview");var d="horizontalNavigation",e={horizontalNavigation:{main:"core/layouts/dashboard/dashboard.html",toolbar:"core/toolbar/layouts/horizontal-navigation/toolbar.html",navigation:"core/navigation/layouts/horizontal-navigation/navigation.html"},contentOnly:{main:"core/layouts/content-only.html",toolbar:"",navigation:""},contentWithToolbar:{main:"core/layouts/content-with-toolbar.html",toolbar:"toolbar/layouts/content-with-toolbar/toolbar.html",navigation:""}};a.state("app",{"abstract":!0,views:{"main@":{templateUrl:e[d].main,controller:"MainController as vm"},"toolbar@app":{templateUrl:e[d].toolbar,controller:"ToolbarController as vm"},"navigation@app":{templateUrl:e[d].navigation,controller:"NavigationController as vm"}}})}angular.module("ice").config(a),a.$inject=["$stateProvider","$urlRouterProvider","$locationProvider"]}(),function(){"use strict";function a(a,b,c,d){var e=!1;if(-1!=navigator.userAgent.indexOf("Safari")&&-1==navigator.userAgent.indexOf("Chrome"))d.debug("Smooth Scroll Off (Safari).");else try{e=$("#content-israel").niceScroll({zindex:2e4,scrollspeed:60,mousescrollstep:60,cursorborderradius:"10px",cursorborder:"1px solid rgba(255, 255, 255, 0.4)",cursorcolor:"rgba(0, 0, 0, 0.6)",cursorwidth:"10px"})}catch(f){d.debug("Smooth Scroll Off.")}}angular.module("ice").controller("AppController",["$state","$timeout","$rootScope","$log",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g,h){var i="LastDocumentationPageId",j=function(){a.user={},a.ice={},a.ice.loader={},a.state=d,a.baseURL=f.apiBase,m();var b=a.$on("$stateChangeStart",function(a,b,c,d,e){k(),l(b)}),c=a.$on("$stateChangeSuccess",function(){});a.$on("$destroy",function(){b(),c()}),e.set("configuration",{urls:{auth:{login:a.baseURL+"login/@t",register:a.baseURL+"signup",addVfs:a.baseURL+"vf/",getCompanies:a.baseURL+"vendors",resendActivationMail:a.baseURL+"users/activation-mail/@user_uuid",addVendorContact:a.baseURL+"add-contact",single_engagement:a.baseURL+"single-engagement/@engagementUuid",engagements:a.baseURL+"engagement",inviteMembers:a.baseURL+"invite-team-members",activities:a.baseURL+"engagement/@engagementUuid/activities/",updateDaysLeft:a.baseURL+"engagements/@engagementUuid/target_date",updateLabEntryDaysLeft:a.baseURL+"engagements/@engagementUuid/target_lab_date",setSSHKey:a.baseURL+"users/ssh",getIceUser:a.baseURL+"users",getRGWASecret:a.baseURL+"users/account/rgwa/",account:a.baseURL+"users/account",updatePassword:a.baseURL+"users/pwd/",sendResetPwdInstructions:a.baseURL+"users/pwd/reset-instructions/"},notifications:{getNotifications:a.baseURL+"notifications/num",resetNotificationNum:a.baseURL+"notifications/reset",notificationsDelete:a.baseURL+"notifications/@uuid",getNotificationsDescription:a.baseURL+"notifications/@userUuid/@offset/@limit"},steps:{get:a.baseURL+"engagements/@engagement/nextsteps/@progress",add:a.baseURL+"engagements/@engagement/nextsteps",edit:a.baseURL+"nextsteps/@stepUuid/engagement/@engUuid",order_next_steps:a.baseURL+"engagements/@engUuid/nextsteps/order_next_steps",update:a.baseURL+"nextsteps/@stepUuid/state","delete":a.baseURL+"nextsteps/@stepUuid",createChecklistNextStep:a.baseURL+"engagement/@engUuid/checklist/@checkListUuid/nextstep/",createNextStep:a.baseURL+"eng/@engUuid/nextstep/",getByUser:a.baseURL+"engagements/user/nextsteps/"},vf:{updateVfs:{put:a.baseURL+"vf/@vf_uuid/validation-details/"},deployment_target:{getDeployTargets:a.baseURL+"deployment-targets",updateDeployTargets:a.baseURL+"engagement/@engagementUuid//deployment-targets/@deployment_target_uuid"},ecomp:{getECOMPReleases:a.baseURL+"ecomp-releases",updateECOMPReleases:a.baseURL+"engagement/@engagementUuid/ecomp-releases/@ecomp_uuid"},version:{getVFVersion:a.baseURL+"vf/@vfUuid/vf-version/"}},vfcs:{add:a.baseURL+"vfcs/",get:a.baseURL+"vf/@vfUuid/vfcs/","delete":a.baseURL+"vf/@vfUuid/vfcs/@vfcUuid"},status:{get:a.baseURL+"engagements/@engagement/status",add:a.baseURL+"engagements/@engagement/status",update:a.baseURL+"engagements/@engagement/status"},feedback:{add:a.baseURL+"add-feedback"},dtsite:{get:a.baseURL+"dtsites/",getVFSites:a.baseURL+"vf/@vfUuid/dtsites/",add:a.baseURL+"dtsites/","delete":a.baseURL+"vf/@vfUuid/dtsites/@dtsUuid"},checklist:{state:{put:a.baseURL+"checklist/@cl_uuid/state/"},createChecklist:a.baseURL+"engagement/@engUuid/checklist/new/",getDataForChecklist:a.baseURL+"engagement/@engUuid/checklist/new/",getChecklist:a.baseURL+"checklist/@checklistUuid",putDataForChecklist:a.baseURL+"checklist/@checklist_uuid",checklistDecision:a.baseURL+"checklist/decision/@decisionUuid",createAuditlogChecklist:a.baseURL+"checklist/@checklist_uuid/auditlog/",createAuditlogDecisionChecklist:a.baseURL+"checklist/decision/@decision_uuid/auditlog/",getChecklistTemplates:a.baseURL+"checklist/templates/",getChecklistTemplate:a.baseURL+"checklist/template/@templateUuid",saveChecklistTemplate:a.baseURL+"checklist/template/"},engagement:{put:a.baseURL+"engagements/@engagementUuid/",updateProgress:a.baseURL+"engagements/@engagementUuid/progress",setStage:a.baseURL+"single-engagement/@engagementUuid/stage/@stage",starred_engagement:{put:a.baseURL+"engagements/starred_eng/",get:a.baseURL+"engagements/starred_eng/"},recent_engagement:{get:a.baseURL+"engagements/recent_eng/"},engagement_team:{put:a.baseURL+"engagements/engagement-team/"},engagementsExpanded:a.baseURL+"engagement/expanded/",exportEngagementsCSV:a.baseURL+"engagement/export/?stage=@stage&keyword=@keyword",reviewer:{put:a.baseURL+"engagements/@engagementUuid/reviewer/"},peerreviewer:{put:a.baseURL+"engagements/@engagementUuid/peerreviewer/"},switchReviewers:{put:a.baseURL+"engagements/@engagementUuid/switch-reviewers/"},archive:{put:a.baseURL+"engagements/@engagementUuid/archive/"}},welcome:{welcome:a.baseURL+"welcome/"},cms:{posts:{get:a.baseURL+"cms/posts/?limit=@limit&offset=@offset&fromLastDays=@fromLastDays&category=@category"},pages:{get:a.baseURL+"cms/pages/?title=@title",getById:a.baseURL+"cms/pages/@id/",search:a.baseURL+"cms/pages/search/?keyword=@keyword"}},users:{engagementleads:{get:a.baseURL+"users/engagementleads/"},activate:a.baseURL+"users/activate/@userid/@token"}}})},k=function(){var a=b.getToast();a&&!a.sticky&&b.clearToast()},l=function(a){a&&a.name&&"app.documentation.page"!==a.name&&"app.documentation"!==a.name&&c["delete"](i)},m=function(){g.i18next&&(g.i18next.use(g.i18nextXHRBackend),g.i18next.init({debug:!1,lng:"en",fallbackLng:"en",backend:{loadPath:"locales/{{lng}}/{{ns}}.json"},useCookie:!1,useLocalStorage:!1},function(a,b){a&&h.error(a)}))};j()}angular.module("ice").run(a),a.$inject=["$rootScope","toastService","sessionStorageService","$state","cacheService","ENV","$window","$log"]}(),angular.module("ice.interceptors.http",[]).factory("httpRequestInterceptor",["$injector","$rootScope",function(a,b){return{request:function(c){if(-1!==c.url.indexOf(b.baseURL)){c.headers=c.headers||{};var d=a.get("usersService").getUserData(function(){});d&&!c.skipAuth&&(c.headers.Authorization="token "+d.jwtToken)}return c}}}]).factory("httpResponseInterceptor",["$rootScope",function(a){return{response:function(a){return a}}}]).factory("httpRequestErrorInterceptor",["$q",function(a){return{requestError:function(a){return a}}}]).factory("httpResponseErrorInterceptor",["$q","$rootScope","$injector","toastService",function(a,b,c,d){return{responseError:function(b){var e=c.get("$state"),f=b.status;switch(f){case 401:d.setToast(b.statusText,"danger");break;case 403:e.go("app.login");break;case 404:}return a.reject(b)}}}]),function(){"use strict";angular.module("ice.services.cacheService",[]).service("cacheService",function(){var a={};this.get=function(b){return a[b]},this["delete"]=function(b){return a[b]=void 0},this.deleteAll=function(){return a={}},this.set=function(b,c){void 0===a[b]?a[b]=c:a[b]=$.extend({},c,a[b])},this.toString=function(){return a}}).factory("pageService",function(){var a="";return{getPage:function(){return a},setPage:function(b){a=b}}})}(),function(){"use strict";function a(a,b,c,d,e,f,g,h,i){var j=c.get("configuration").urls,k="user",l=g.getJson(k);this.isEngagementEL=function(a){var b=h.find(a,{uuid:l.uuid});return void 0==b?!1:l&&l.role.name===d.roles.el?!0:!1},this.isUserInRole=function(a){return l&&l.role&&l.role.name===a},this.isReviewer=function(a,b){return a&&b&&a.uuid==b},this.isPeerReviewer=function(a,b){return a&&b&&a.uuid==b},this.isAdmin=function(a){return a&&a.role&&a.role.name===d.roles.admin},this.updatePassword=function(c,d){var e=b.defer();return a.put(j.auth.updatePassword,d).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.sendResetPwdInstructions=function(c){var d=b.defer();return a.post(j.auth.sendResetPwdInstructions,c).success(function(a,b,c,e){d.resolve({data:a,status:b})}).error(function(a,b,c,e){d.reject({message:a,status:b})}),d.promise},this.login=function(c,d){var e=b.defer();return a.post(j.auth.login.replace("/@t",d),c).success(function(a,b,c,d){l=a,delete l.password,l.jwtToken=a.token,g.setJson(k,l),e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.register=function(c){var d=b.defer();return a.post(j.auth.register,c).success(function(a,b,c,e){l=a,l.jwtToken=a.token,g.setJson(k,l),d.resolve({data:a,status:b})}).error(function(a,b,c,e){d.reject({message:a,status:b})}),d.promise},this.addVendorContact=function(c){var d=b.defer();return a.post(j.auth.addVendorContact,c).success(function(a,b,c,e){d.resolve({data:a,status:b})}).error(function(a,b,c,e){d.reject({message:a,status:b})}),d.promise},this.resendActivationMail=function(c){var d=b.defer();return a.get(j.auth.resendActivationMail.replace("@user_uuid",c),{skipAuth:!0}).success(function(a,b,c,e){d.resolve({data:a,status:b})}).error(function(a,b,c,e){d.reject({message:a,status:b})}),d.promise},this.getNotifications=function(c){var d=b.defer();return a.get(j.notifications.getNotifications).success(function(a,b,c,e){d.resolve({data:a,status:b})}).error(function(a,b,c,e){d.reject({message:a,status:b})}),d.promise},this.resetNotificationNum=function(c){var d=b.defer();return a.put(j.notifications.resetNotificationNum).success(function(a,b,c,e){d.resolve({data:a,status:b})}).error(function(a,b,c,e){d.reject({message:a,status:b})}),d.promise},this.notificationsDelete=function(c){var d=b.defer();return a["delete"](j.notifications.notificationsDelete.replace("@uuid",c)).success(function(a,b,c,e){d.resolve({data:a,status:b})}).error(function(a,b,c,e){d.reject({message:a,status:b})}),d.promise},this.getNotificationsDescription=function(c,d,e){var f=b.defer();return a.get(j.notifications.getNotificationsDescription.replace("@userUuid",c).replace("@offset",d).replace("@limit",e)).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.getIceUser=function(){var c=b.defer();return a.get(j.auth.getIceUser).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}),c.promise},this.updateAccount=function(c,d){var e=b.defer();return a.put(j.auth.account,d).success(function(a,b,c,d){var f=l.jwtToken;l=a,l.jwtToken=f,g.setJson(k,l),e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.setSSHKey=function(c,d){var e=b.defer();return a.post(j.auth.setSSHKey,d).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.getUserData=function(a){return l||(a?(i.debug("There is no user data, will invoke callback pass as argument."),a()):(i.debug("There is no user data, will be redirected into /login page."),f.go("app.login"))),l},this.resetUserData=function(){i.debug("Clearing user from cache..."),l=void 0,g["delete"](k),e.setJson("ice.settings.view_type",void 0),e.setJson("ice.settings.eng_uuid",void 0),e.setJson("ice.settings.sub_id",void 0)},this.setUserActivationSuccess=function(a){l&&(l.activationSuccess=a,g.setJson(k,l))},this.getEngagementLeads=function(){var c=b.defer(),d=this.getUserData();return this.isAdmin(d)?a.get(j.users.engagementleads.get).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}):c.reject("Just admin allowed to get engagement leads list."),c.promise},this.activateUser=function(c,d){var e=b.defer();return a.get(j.users.activate.replace("@userid",c).replace("@token",d),{skipAuth:!0}).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.getRGWASecret=function(){var c=b.defer();return a.get(j.auth.getRGWASecret).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}),c.promise}}angular.module("ice.services.users",[]).service("usersService",["$http","$q","cacheService","iceConstants","localStorageService","$state","sessionStorageService","_","$log",a])}(),function(){"use strict";angular.module("ice.services.vf",[]).service("vfService",["$http","$q","cacheService",function(a,b,c){var d=c.get("configuration").urls;this.addVfs=function(c){var e=b.defer();return a.post(d.auth.addVfs,c).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.updateVfs=function(c,e){var f=b.defer();return a.put(d.vf.updateVfs.put.replace("@vf_uuid",e),c).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.inviteMembers=function(c){var e=b.defer();return a.post(d.auth.inviteMembers,c).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.getCompanies=function(){var c=b.defer();return a.get(d.auth.getCompanies).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}),c.promise},this.getDeployTargets=function(){var c=b.defer();return a.get(d.vf.deployment_target.getDeployTargets).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}),c.promise},this.getECOMPReleases=function(){var c=b.defer();return a.get(d.vf.ecomp.getECOMPReleases).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}),c.promise},this.getVFVersion=function(c){var e=b.defer();return a.get(d.vf.version.getVFVersion.replace("@vfUuid",c)).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.getEngagements=function(c){var e=b.defer();return a.get(d.auth.engagements).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.getExpandedEngagements=function(c){var e=b.defer();return a.post(d.engagement.engagementsExpanded,c).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.getSingleEngagement=function(c,e){var f=b.defer();return a.get(d.auth.single_engagement.replace("@engagementUuid",e)).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.getStarredEngagements=function(){var c=b.defer();return a.get(d.engagement.starred_engagement.get).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}),c.promise},this.putStarredEngagements=function(c){var e=b.defer(),f={};return f.engagement_uuid=c,a.put(d.engagement.starred_engagement.put,f).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.getRecentEngagements=function(){var c=b.defer();return a.get(d.engagement.recent_engagement.get).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}),c.promise},this.getActivities=function(c){var e=b.defer();return a.get(d.auth.activities.replace("@engagementUuid",c)).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.updateProgress=function(c,e){var f=b.defer();return a.put(d.engagement.updateProgress.replace("@engagementUuid",c),e).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.updateDeployTargets=function(c,e){var f=b.defer();return a.put(d.vf.deployment_target.updateDeployTargets.replace("@engagementUuid",c).replace("@deployment_target_uuid",e)).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.updateECOMPReleases=function(c,e){var f=b.defer();return a.put(d.vf.ecomp.updateECOMPReleases.replace("@engagementUuid",c).replace("@ecomp_uuid",e)).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.updateDaysLeft=function(c,e){var f=b.defer();return a.post(d.auth.updateDaysLeft.replace("@engagementUuid",c),e).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.updateLabEntryDaysLeft=function(c,e){var f=b.defer();return a.post(d.auth.updateLabEntryDaysLeft.replace("@engagementUuid",c),e).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.set_engagement_stage=function(c,e){var f=b.defer();return a.put(d.engagement.setStage.replace("@engagementUuid",c).replace("@stage",e)).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.exportEngagementsCSV=function(c,e){var f=b.defer();return null==c||null==e?f.reject("Invalid arguments on engagements export csv."):a({method:"GET",url:d.engagement.exportEngagementsCSV.replace("@stage",c).replace("@keyword",e),headers:{"Content-Type":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},responseType:"arraybuffer"}).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.archiveEngagement=function(c,e){var f=b.defer(),g={reason:e};return a.put(d.engagement.archive.put.replace("@engagementUuid",c),g).success(function(a,b,c,d){f.resolve()}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.updateEngagementReviewer=function(c,e){var f=b.defer(),g={reviewer:e};return a.put(d.engagement.reviewer.put.replace("@engagementUuid",c),g).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.updateEngagementPeerReviewer=function(c,e){var f=b.defer(),g={peerreviewer:e};return a.put(d.engagement.peerreviewer.put.replace("@engagementUuid",c),g).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.switchEngagementReviewers=function(c,e,f){var g=b.defer(),h={reviewer:e,peerreviewer:f};return a.put(d.engagement.switchReviewers.put.replace("@engagementUuid",c),h).success(function(a,b,c,d){g.resolve({data:a,status:b})}).error(function(a,b,c,d){g.reject({message:a,status:b})}),g.promise},this.updateEngagement=function(c,e){var f=b.defer(),g={engagement:c,status:e};return a.put(d.engagement.put.replace("@engagementUuid",c.uuid),g).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.remove_user_from_eng=function(c){var e=b.defer();return null==c?e.reject("Invalid arguments on remove_user_from_eng."):a.put(d.engagement.engagement_team.put,c).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise}}])}(),function(){"use strict";angular.module("ice.services.vfc",[]).service("vfcService",["$http","$q","cacheService",function(a,b,c){var d=c.get("configuration").urls;this.get=function(c){var e=b.defer();return a.get(d.vfcs.get.replace("@vfUuid",c)).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this["delete"]=function(c,e){var f=b.defer();return a["delete"](d.vfcs["delete"].replace("@vfUuid",e).replace("@vfcUuid",c)).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.add=function(c){var e=b.defer();return a.post(d.vfcs.add,c).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.getCompanies=function(){var c=b.defer();return a.get(d.auth.getCompanies).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}),c.promise}}])}(),angular.module("ice.services.localStorage",[]).service("localStorageService",["$window",function(a){this.setJson=function(b,c){return a.localStorage&&a.localStorage.setItem(b,JSON.stringify(c)),this},this.getJson=function(b){var c,d=a.localStorage&&a.localStorage.getItem(b);try{c=d?JSON.parse(d):void 0}catch(e){}return c},this["delete"]=function(b){return a.localStorage&&a.localStorage.removeItem(b)}}]),function(){"use strict";angular.module("ice.services.steps",[]).service("stepsService",["$http","$q","cacheService",function(a,b,c){var d=c.get("configuration").urls;this.getByUser=function(){var c=b.defer();return a.get(d.steps.getByUser).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}),c.promise},this.get=function(c,e){var f=b.defer();return a.get(d.steps.get.replace("@engagement",c).replace("@progress",e)).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.update=function(c,e){var f=b.defer();return a.put(d.steps.update.replace("@stepUuid",c),e).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this["delete"]=function(c){var e=b.defer();return a["delete"](d.steps["delete"].replace("@stepUuid",c)).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.add=function(c,e){var f=b.defer();return a.post(d.steps.add.replace("@engagement",c),e).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.edit=function(c,e,f){var g=b.defer();return a.put(d.steps.edit.replace("@stepUuid",e).replace("@engUuid",c),f).success(function(a,b,c,d){g.resolve({data:a,status:b})}).error(function(a,b,c,d){g.reject({message:a,status:b})}),g.promise},this.order_next_steps=function(c,e){var f=b.defer();return a.put(d.steps.order_next_steps.replace("@engUuid",c),e).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.createNextStep=function(c,e,f){var g=b.defer();return a.post(d.steps.createNextStep.replace("@engUuid",e),f).success(function(a,b,c,d){g.resolve({data:a,status:b})}).error(function(a,b,c,d){g.reject({message:a,status:b})}),g.promise},this.createChecklistNextStep=function(c,e,f){var g=b.defer();return a.post(d.steps.createChecklistNextStep.replace("@checkListUuid",c).replace("@engUuid",e),f).success(function(a,b,c,d){g.resolve({data:a,status:b})}).error(function(a,b,c,d){g.reject({message:a,status:b})}),g.promise}}])}(),function(){"use strict";angular.module("ice.services.dtsite",[]).service("dtsiteService",["$http","$q","cacheService",function(a,b,c){var d=c.get("configuration").urls;this.getVFSites=function(c){var e=b.defer();return a.get(d.dtsite.getVFSites.replace("@vfUuid",c)).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.get=function(){var c=b.defer();return a.get(d.dtsite.get).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}),c.promise},this["delete"]=function(c,e){var f=b.defer();return a["delete"](d.dtsite["delete"].replace("@vfUuid",c).replace("@dtsUuid",e)).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.add=function(c){var e=b.defer();return a.post(d.dtsite.add,c).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise}}])}(),function(){"use strict";var a;angular.module("ice.services.checklist",[]).factory("checklistService",["$rootScope","$http","$q","cacheService","$log",function(b,c,d,e,f){var g=e.get("configuration").urls;return this.setState=function(a,b){var e=d.defer();return c.put(g.checklist.state.put.replace("@cl_uuid",a),b).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.createChecklist=function(a,b){var e=d.defer();return c.post(g.checklist.createChecklist.replace("@engUuid",a),b).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.getDataForCreateChecklist=function(a){var b=d.defer();return c.get(g.checklist.getDataForChecklist.replace("@engUuid",a)).success(function(a,c,d,e){b.resolve({data:a,status:c})}).error(function(a,c,d,e){b.reject({message:a,status:c})}),b.promise},this.getChecklist=function(a){var b=d.defer();return c.get(g.checklist.getChecklist.replace("@checklistUuid",a)).success(function(a,c,d,e){b.resolve({data:a,status:c})}).error(function(a,c,d,e){b.reject({message:a,status:c})}),b.promise},this.putDataForChecklist=function(a,b){var e=d.defer();return c.put(g.checklist.putDataForChecklist.replace("@checklist_uuid",a),b).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.putChecklistDecision=function(a,b){var e=d.defer();return c.put(g.checklist.checklistDecision.replace("@decisionUuid",a),b).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.createAuditlogChecklist=function(a,b){var e=d.defer();return c.post(g.checklist.createAuditlogChecklist.replace("@checklist_uuid",a),b).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.createAuditlogDecisionChecklist=function(a,b){var e=d.defer();return c.post(g.checklist.createAuditlogDecisionChecklist.replace("@decision_uuid",a),b).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.setChecklistExitEntity=function(b){a=b,f.debug("set checklist")},this.callChecklistExit=function(b){if(void 0!=a&&"checklist"==b){var c="set_state";angular.forEach(a.data.checklistDecisions,function(a,b){angular.forEach(a.decisions,function(a,b){("approved"!=a.view_value&&"not_relevant"!=a.view_value||""==a.view_value)&&(c="next_step")})}),"next_step"==c?this.openNextSteps():"set_state"==c&&this.openSetState()}},this.getChecklistTemplates=function(){var a=d.defer();return c.get(g.checklist.getChecklistTemplates).success(function(b,c,d,e){a.resolve({data:b,status:c})}).error(function(b,c,d,e){a.reject({message:b,status:c})}),a.promise},this.getChecklistTemplate=function(a){var b=d.defer();return c.get(g.checklist.getChecklistTemplate.replace("@templateUuid",a)).success(function(a,c,d,e){b.resolve({data:a,status:c})}).error(function(a,c,d,e){b.reject({message:a,status:c})}),b.promise},this.saveChecklistTemplate=function(a){var b=d.defer();return c.put(g.checklist.saveChecklistTemplate,a).success(function(a,c,d,e){b.resolve({data:a,status:c})}).error(function(a,c,d,e){b.reject({message:a,status:c})}),b.promise},this}])}(),function(){"use strict";angular.module("ice.services.status",[]).service("statusService",["$http","$q","cacheService",function(a,b,c){var d=c.get("configuration").urls;this.get=function(c){var e=b.defer();return a.get(d.status.get.replace("@engagement",c)).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise},this.update=function(c,e){var f=b.defer();return a.put(d.status.update.replace("@engagement",c),e).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.add=function(c,e){var f=b.defer();return a.post(d.status.update.replace("@engagement",c),e).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise}}])}(),function(){"use strict";angular.module("ice.services.feedback",[]).service("feedbackService",["$http","$q","cacheService",function(a,b,c){var d=c.get("configuration").urls;this.add=function(c){var e=b.defer();return a.post(d.feedback.add.replace(),c).success(function(a,b,c,d){e.resolve({data:a,status:b})}).error(function(a,b,c,d){e.reject({message:a,status:b})}),e.promise}}])}(),function(){"use strict";angular.module("ice.services.toast",[]).service("toastService",["$rootScope",function(a){var b,c,d,e,f=!1,g="all",h=function(h,i,j){if(h&&void 0!=h.detail&&(h=h.detail),!h||!i)throw"You must provide both message an type in order to set new message toast";b=h,c=i,d=j&&j.sticky?j.sticky:!1,e=j&&j.readMoreCallback?j.readMoreCallback:void 0,g=j&&j.displayFor?j.displayFor:"all",
+f=!0,a.showToast=!0},i=function(){b=void 0,c=void 0,f=!1,g="all",a.showToast=!1},j=function(){return{message:b,type:c,show:f,sticky:d,readMore:e,displayFor:g}};return{setToast:h,clearToast:i,getToast:j}}])}(),function(){"use strict";function a(a,b,c,d,e,f,g){var h,i=c.get("configuration").urls,j="lastAnnouncement";this.getPosts=function(c,d,e){var f=b.defer(),g=e&&e instanceof Array?e.join():"";return a.get(i.cms.posts.get.replace("@limit",c).replace("@offset",0).replace("@fromLastDays",d).replace("@category",g)).success(function(a,b,c,d){f.resolve({data:a,status:b})}).error(function(a,b,c,d){f.reject({message:a,status:b})}),f.promise},this.getLastAnnouncementPost=function(){var c=b.defer(),d=1;return a.get(i.cms.posts.get.replace("@limit",d).replace("@offset",0).replace("@fromLastDays","").replace("@category","Announcement")).success(function(a,b,d,e){c.resolve({data:a,status:b})}).error(function(a,b,d,e){c.reject({message:a,status:b})}),c.promise},this.setAnnouncementToast=function(){var a=function(){e.open({templateUrl:"main/modals/cms-post-modal/cms-post-modal.html",controller:"cmsPostModalController",controllerAs:"vm",size:"cms-post-read-more",resolve:{post:function(){return void 0}}})};this.getLastAnnouncementPost().then(function(b){if(b&&b.data&&1===b.data.length){var c=d.getJson(j);if(!c||c.id!=b.data[0].id||!c.closed){d.setJson(j,{id:b.data[0].id,closed:!1});var e="<b>Important announcement</b>: <i>"+b.data[0].title+".</i>";h={message:e,readMore:a,type:"warning",show:!0,displayFor:"all",publishDate:b.data[0].publish_date},f.showAnnouncement=!f.showAnnouncement}}})["catch"](function(a){g.error(a)})},this.getAnnouncement=function(){return h},this.getPages=function(c){var d=b.defer();return c||(c=""),a.get(i.cms.pages.get.replace("@title",c)).success(function(a,b,c,e){d.resolve({data:a,status:b})}).error(function(a,b,c,e){d.reject({message:a,status:b})}),d.promise},this.getPage=function(c){var d=b.defer();return a.get(i.cms.pages.getById.replace("@id",c)).success(function(a,b,c,e){d.resolve({data:a,status:b})}).error(function(a,b,c,e){d.reject({message:a,status:b})}),d.promise},this.searchPages=function(c){var d=b.defer();return a.get(i.cms.pages.search.replace("@keyword",c)).success(function(a,b,c,e){d.resolve({data:a,status:b})}).error(function(a,b,c,e){d.reject({message:a,status:b})}),d.promise}}angular.module("ice.services.cms",[]).service("cmsService",["$http","$q","cacheService","localStorageService","$uibModal","$rootScope","$log",a])}(),function(){"use strict";function a(a){this.setJson=function(b,c){return a.sessionStorage&&a.sessionStorage.setItem(b,JSON.stringify(c)),this},this.getJson=function(b){var c,d=a.sessionStorage&&a.sessionStorage.getItem(b);try{c=d?JSON.parse(d):void 0}catch(e){}return c},this["delete"]=function(b){return a.sessionStorage&&a.sessionStorage.removeItem(b)}}angular.module("ice.services.sessionStorage",[]).service("sessionStorageService",["$window",a])}(),function(){"use strict";function a(a,b,c,d,e){var f={};return f.restrict="E",f.templateUrl="directives/step-stages/step-stages.html",f.scope={stage:"=stage",stage_num:"=stageNum",eng_uuid:"@engUuid",team:"=team",eng_name:"@engName",initactivitylogs:"&"},f.controller=["$scope","vfService","$log",function(b,c,d){b.set_engagement_stage=function(f,g){var h=e.open({templateUrl:"main/modals/set-eng-stage/set-eng-stage-modal.html",controller:"setEngStageModalController",controllerAs:"vm",resolve:{stage:function(){return g},eng_name:function(){return b.eng_name},current_stage:function(){return b.stage}}});h.result.then(function(e){e&&c.set_engagement_stage(f.eng_uuid,g).then(function(c){if(202!==c.status)return!1;switch(f.stage=g,g){case"Intake":f.stage_num=1;break;case"Active":f.stage_num=2;break;case"Validated":f.stage_num=3;break;case"Completed":f.stage_num=4}a.$broadcast("onUpdateNextSteps",{stage:f.stage,eng_uuid:f.eng_uuid}),b.initactivitylogs()})["catch"](function(a){d.error(a)})})},b.hover_design=function(a,c){b.temp_num=c,b.hover=a}}],f.link=function(a,c,e){a.hover=!1,a.temp_num=0,a.priviliged=!1,a["const"]=b.stages,a.loaded=!1,a.user=d.getUserData(),a.$watchGroup(["user","team"],function(a,b,c){a[0]&&a[1]&&(c.loaded||((d.isEngagementEL(c.team)||d.isAdmin(c.user))&&(c.priviliged=!0),c.loaded=!0))}),a.hover_actions=function(b,c){a.priviliged&&a.hover_design(b,c)},a.set_stage=function(b){if(a.priviliged){if(a.stage===b)return void $log.debug("Same stage was chosen, request ignored.");a.set_engagement_stage(a,b)}}},f}angular.module("ice.directives",[]).directive("stepStagesDirective",a),a.$inject=["$rootScope","iceConstants","localStorageService","usersService","$uibModal"]}(),function(){"use strict";function a(a,b,c,d){var e={};return e.restrict="E",e.templateUrl="directives/progress/progress.html",e.scope={progress:"@progress",data:"=data",callback:"=callback",statuses:"@statuses",enable_refresh:"@enableRefresh"},e.link=function(e,f,g){var h=function(){e.statuses||(e.statuses=!1),i(),j()},i=function(){var a=moment(),b=moment(e.data.completion_date),c=Math.ceil(b.diff(a,"days",!0));0>c&&(c=0),e.daysLeft=c},j=function(){e.$watch("data.completion_date",function(a,b){a!==b&&i()}),e.$watch("data.heat_validated_time",function(a,b){a!==b&&k()}),e.$watch("data.vnf_version",function(a,b){a!==b&&k()}),e.$watch("data.image_scan_time",function(a,b){a!==b&&k()}),e.$watch("data.aic_instantiation_time",function(a,b){a!==b&&k()}),e.$watch("data.asdc_onboarding_time",function(a,b){a!==b&&k()})},k=function(){e.data&&(e.data.ecomp_release||(e.data.ecomp_release="-"),e.data.aic_version||(e.data.aic_version="-"),e.data.aic_instantiation_time||(e.data.aic_instantiation_time="-"),e.data.vnf_version||(e.data.vnf_version="-"),e.data.asdc_onboarding_time||(e.data.asdc_onboarding_time="-"),e.data.heat_validated_time||(e.data.heat_validated_time="-"),e.data.image_scan_time||(e.data.image_scan_time="-"))};e.starEngagement=function(){d.putStarredEngagements(e.data.engagement_uuid).then(function(a){b.ice.loader.show=!1,200===a.status&&a.data&&""!==a.data&&(b.$broadcast("onUpdateEngagements",{select:{uuid:e.data.engagement_uuid,page_type:"dashboard",sub_id:void 0,enable_refresh:e.enable_refresh}}),0==e.data.starred?e.data.starred=!0:e.data.starred=!1)})["catch"](function(a){b.ice.loader.show=!1,c.error(a)})},e.goToEngagement=function(a){b.$broadcast("searchSelectEngagement",a)},e.changeProgress=function(){var b=a.open({templateUrl:"main/modals/change-progress/change-progress.html",controller:"ChangeProgressModalController",controllerAs:"vm",resolve:{progress:function(){return e.progress},engagementUuid:function(){return e.data.engagement_uuid}}});b.result.then(function(a){a&&(e.progress=a.progress||e.progress,a.progress&&e.callback(a))},function(){c.debug("Modal dismissed at: "+new Date)})},h()},e}angular.module("ice.directives").directive("progressDirective",["$uibModal","$rootScope","$log","vfService",a])}(),function(){"use strict";function a(a,b,c,d,e){var f={};return f.restrict="E",f.template="<div></div>",f.scope={activity:"="},f.controller=["$scope",function(a){a.addDateStamp=function(a){var c="",d=moment().format("z"),e=moment().format("A"),f=moment().tz(moment.tz.guess()).format("z");return c=-1==a.description.indexOf(" at ")?"."==a.description.substr(a.description.length-1)?a.description.substr(0,a.description.length-1):a.description:a.description.substring(0,a.description.indexOf(" at ")),a.description=c+" at "+b("date")(a.create_time,"yyyy-MM-dd hh:mm:ss",d)+" "+e+" "+f,a},a.addPopover=function(a,b,c,d){var e="<span popover-trigger='mouseenter' popover-html='true' popover-placement='top' uib-popover='"+d+"' class='' >"+c+"</span>";a.description=a.description.replaceAll(b,e)},a.addSelectEngagement=function(a,b,c,d){var e="<span ng-click=\"goToEngagement('"+d+"')\" class='engagement_link' >"+c+"</span>";a.description=a.description.replaceAll(b,e)},a.goToEngagement=function(a){e.setJson("ice.settings.eng_uuid",a),d.path("/dashboard/overview"),d.replace(),c.$broadcast("onUpdateEngagements",{select:{uuid:a,page_type:"overview",sub_id:void 0}})}}],f.link=function(b,c,d,e){var f=b.activity;f.meta_data=JSON.parse(f.metadata),b.addDateStamp(f),angular.forEach(f.meta_data.macros,function(a,c){switch(a.type){case"popover":b.addPopover(f,c,a["short"],a["long"]);break;case"select_engagement":b.addSelectEngagement(f,c,a["short"],a.eng_uuid)}});var g="<span>"+b.activity.description+"</span>";c.html(g).show(),a(c.contents())(b)},f}angular.module("ice.directives").directive("notifications",a),String.prototype.replaceAll=function(a,b,c){return this.replace(new RegExp(a.replace(/([\/\,\!\\\^\$\{\}\[\]\(\)\.\*\+\?\|\<\>\-\&])/g,"\\$&"),c?"gi":"g"),"string"==typeof b?b.replace(/\$/g,"$$$$"):b)},a.$inject=["$compile","$filter","$rootScope","$location","localStorageService"]}(),function(){"use strict";function a(a){var b={};return b.restrict="E",b.transclude=!1,b.scope={selector:"@selector"},b.link=function(b,c,d){a.$watch("ice.loader.show",function(a,c){if(a===!0){var d=$(b.selector),f=e(),g=$('<div class="ice-loader" id="'+f+'"></div>');$("body").append(g),d.addClass("ice-loader-overlay");var h=d.offset();h&&g.css({top:h.top+d.height()/2,left:h.left+d.width()/2,position:"fixed"})}else if(a===!1){var d=$(b.selector);d.removeClass("ice-loader-overlay");var f=e(),g=$("#"+f);g.remove()}},!0);var e=function(){var a="ice-loader-",c=b.selector;return c=c.replace(".",""),c=c.replace("#",""),a+c}},b}angular.module("ice.directives").directive("iceLoader",a),a.$inject=["$rootScope"]}(),function(){"use strict";function a(a,b){var c={};return c.restrict="E",c.templateUrl="directives/ice-toast/ice-toast.html",c.scope={isModal:"=isModal"},c.link=function(c,d,e){var f=function(){var a=b.getToast();a&&(c.toast=a)};c.closeAlert=function(){b.clearToast()},f(),a.$watch("showToast",function(a,b){f()},!0)},c}angular.module("ice.directives").directive("iceToast",["$rootScope","toastService",a])}(),function(){"use strict";function a(a,b,c){var d={};return d.restrict="E",d.templateUrl="directives/ice-announcement/ice-announcement.html",d.link=function(d,e,f){function g(a){var b=c.getJson(h)||{};b.closed=a,c.setJson(h,b)}var h="lastAnnouncement",i=function(){var a=b.getAnnouncement();if(a){d.toast=a;var c=new Date;c.setDate(c.getDate()-2);var e=new Date(d.toast.publishDate);c>e&&d.closeAlert()}};d.closeAlert=function(){d.toast.show=!1,g(!0)},i(),a.$watch("showAnnouncement",function(a,b){i()},!0)},d}angular.module("ice.directives").directive("iceAnnouncement",["$rootScope","cmsService","localStorageService",a])}(),function(){"use strict";function a(a,b){var c={};return c.restrict="E",c.templateUrl="directives/ice-tooltip/ice-tooltip.html",c.link=function(c,d,e){var f=5;a.getPosts(f,"",["FAQ"]).then(function(a){if(a.data&&a.data.length>0){var b=a.data.length,d=Math.floor(Math.random()*b);c.tipContent=a.data[d]}})["catch"](function(a){b.error(a)})},c}angular.module("ice.directives").directive("iceToolTip",["cmsService","$log",a])}(),function(){"use strict";function a(a,b,c){var d={};return d.restrict="E",d.templateUrl="directives/ice-news-and-announcement/ice-news-and-announcement.html",d.scope={limit:"=limit",fromLastDays:"=fromLastDays",showDescription:"=showDescription"},d.link=function(d,e,f){var g=d.limit||5,h=d.fromLastDays||"",i=function(){a.getPosts(g,h,["Announcement","News"]).then(function(a){d.cmsPosts=a.data})["catch"](function(a){c.error(a)})};d.openCMSReadMoreModal=function(a){a?b.open({templateUrl:"main/modals/cms-post-modal/cms-post-modal.html",controller:"cmsPostModalController",controllerAs:"vm",size:"cms-post-read-more",resolve:{post:function(){return a}}}):c.debug("Cannot open cms post.")},i()},d}angular.module("ice.directives").directive("iceNewsAndAnnouncement",["cmsService","$uibModal","$log",a])}(),function(){"use strict";function a(a){return function(b){return a.trustAsHtml(b)}}angular.module("ice.filters",[]).filter("trusted",["$sce",a])}(),function(){"use strict";function a(a,b,c){return function(a,b){return a.toLowerCase().includes(b.toLowerCase())}}angular.module("ice.filters").filter("doesExists",["$sce","$injector","$log",a])}(),function(){"use strict";function a(){return function(a){return a?a.charAt(0).toUpperCase()+a.substr(1).toLowerCase():""}}angular.module("ice.filters").filter("capitalize",[a])}(),function(){"use strict";function a(a,b){return function(c,d){var e={stage:"All",keyword:d,offset:0,limit:20};return a.getExpandedEngagements(e).then(function(a){return 200===a.status&&a.data&&""!==a.data?a.data.array:void 0})["catch"](function(a){$rootScope.ice.loader.show=!1,b.error(a)})}}angular.module("ice.filters").filter("customVFSearchFilter",["vfService","$log",a])}(),function(){"use strict";function a(a){var b=["th","st","nd","rd"];return function(c,d){if(c){var e=a("date")(c,d),f=parseInt(a("date")(c,"dd")),g=30>f?f%20:f%30,h=3>=g?b[g]:b[0];return e.replace("oo",h)}return c}}angular.module("ice.filters").filter("date2",["$filter",a])}(),function(){"use strict";function a(a,b){return function(b){return b=a.replace(b,/\&amp\;/g,"&"),b=a.replace(b,/\&lt\;/g,"<"),b=a.replace(b,/\&gt\;/g,">"),b=a.replace(b,/\&quot\;/g,'"'),b=a.replace(b,/\&#03\;/g,"'"),b=a.replace(b,/<(\s)*script/g,"_script")}}angular.module("ice.filters").filter("htmlspecialchars",["_","$filter",a])}(),function(){"use strict";function a(a,b){return function(b){return b=a.replace(b,/style=\"font-weight: bold;\"/g,'class="bold"'),b=a.replace(b,/style=\"font-style: italic;\"/g,'class="italic"'),b=a.replace(b,/style=\"text-decoration-line: line-through;\"/g,'class="line-through"'),b=a.replace(b,/style=\"text-decoration-line: underline;\"/g,'class="underline"')}}angular.module("ice.filters").filter("htmlstylespan",["_","$filter",a])}(),function(){"use strict";function a(a){return function(b,c){return a.searchPages(c).then(function(a){return a.data})["catch"](function(a){$log.error(a)})}}angular.module("ice.filters").filter("customDocumentationPageSearch",["cmsService",a])}(),function(){"use strict";function a(){}angular.module("ice.toolbar",[]).config(a)}(),function(){"use strict";function a(a,b,c,d,e,f){var g=this;g.notifications=0;var h=c.getUserData();h&&(g.isAdmin=c.isAdmin(h),c.getNotifications(h.uuid).then(function(a){200===a.status&&(g.notifications=a.data.notifications_number?a.data.notifications_number:0)})["catch"](function(a){e.error(a)})),g.logout=function(){c.resetUserData(),b.setJson("ice.settings.eng_uuid",void 0),d.go("app.login")},g.addFeedback=function(){f.open({templateUrl:"main/modals/feedback/feedback.html",controller:"FeedbackModalController",controllerAs:"vm",size:"lg",resolve:{action:function(){return"add"}}})},a.$on("eventClearNotifications",function(a,b){g.notifications=0})}angular.module("ice.toolbar").controller("ToolbarController",["$rootScope","localStorageService","usersService","$state","$log","$uibModal",a])}(),function(){"use strict";function a(){}angular.module("ice.navigation",[]).config(a)}(),function(){"use strict";function a(a,b,c,d,e,f,g,h,i,j,k,l,m,n){var o=this;k.selected=void 0,k.states=["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Dakota","North Carolina","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"],o.formatted_engagements={},o.starred_engagements={},o.recent_engagements={},o.showOpenWizardButton=!1;var p=i.getUserData();void 0!=p&&1==p.activationSuccess&&(o.activation_success=!0),o.selectEngagement=function(a,c,e,f){var j=angular.element(l);void 0!=c&&j.width()<992&&$(".navbar-collapse").collapse("hide"),null!=h.params.messagePass&&(m.setToast(h.params.messagePass,"success"),null==h.params.messagePass),void 0==a&&void 0!=g.getJson("ice.settings.eng_uuid")?a=g.getJson("ice.settings.eng_uuid"):h.go("app.dashboard.dashboard");var n=b.defer();return void 0!=c?o.view_type=c:""!=d.getPage()?o.view_type=d.getPage():void 0!=g.getJson("ice.settings.view_type")?o.view_type=g.getJson("ice.settings.view_type"):o.view_type="overview",void 0!=e?e=e:void 0!=g.getJson("ice.settings.sub_id")&&(e=g.getJson("ice.settings.sub_id")),g.setJson("ice.settings.view_type",o.view_type),g.setJson("ice.settings.sub_id",e),d.setPage(o.view_type),k.$watch(function(){return d.getPage()},function(a,b){a!==b&&(o.view_type=a)}),o.engagement=void 0,angular.forEach(o.recent_engagements,function(b,c){b.uuid===a?(o.engagement=b,o.engagement.selected=!0,o.engagement.page=o.view_type,o.engagement.sub_id=e,o.engagement.view_type=o.view_type):b.selected=void 0;o.recent_engagements[c]=b}),angular.forEach(o.starred_engagements,function(b,c){b.uuid===a?(o.engagement=b,o.engagement.selected=!0,o.engagement.page=o.view_type,o.engagement.sub_id=e,o.engagement.view_type=o.view_type):b.selected=void 0;o.starred_engagements[c]=b}),o.engagement?(g.setJson("ice.settings.eng_uuid",a),o.showOpenWizardButton=!0,(void 0===f||f===!0)&&(o.activation_success?h.go("app.dashboard."+o.view_type,{engagement_uuid:a,engagement:o.engagement,sub_id:e,messagePass:"You have successfully activated your account!"}):h.go("app.dashboard."+o.view_type,{engagement_uuid:a,engagement:o.engagement,sub_id:e,messagePass:null}))):1!=o.last_not_found_engagement?(g.setJson("ice.settings.eng_uuid",void 0),r()):r(!0),o.isReviewer=i.isReviewer(o.me,o.engagement.reviewer_uuid),o.isPeerReviewer=i.isPeerReviewer(o.me,o.engagement.peer_reviewer_uuid),n.resolve(a),n.promise},o.searchSelectEngagement=function(b){f.getSingleEngagement(o.me.uuid,b).then(function(c){a.ice.loader.show=!1,200===c.status&&c.data&&""!==c.data&&r(!1,{uuid:b,page_type:"overview",sub_id:void 0})})["catch"](function(b){a.ice.loader.show=!1,n.error(b)})};var q=function(){return o.me=o.user=i.getUserData(),o.isAdmin=i.isAdmin(o.me),o.isEngagementEL=i.isUserInRole(c.roles.el),o.vfc_num=0,o.user&&o.user.is_active===!1?void h.go("app.resend_activation",{message:"Please activate your account first"}):void 0===o.user?void h.go("app.login",{message:"Please login first"}):(r(!1),void a.$on("onUpdateEngagements",function(a,b){void 0!=b&&void 0!=b.select?r(!1,b.select):r(!0)}))},r=function(b,c){a.ice.loader.show=!0,o.starred_engagements={},o.recent_engagements={},o.formatted_engagements={},f.getStarredEngagements().then(function(d){a.ice.loader.show=!1,200===d.status&&d.data&&""!==d.data?s(d.data,!0,!1):204===d.status?n.error("no starred VFs were found for you."):n.error("getStarredEngagements Failed."),f.getRecentEngagements().then(function(d){a.ice.loader.show=!1,200===d.status&&d.data&&""!==d.data?d.data.length>0?s(d.data,!1,!0,b,c):h.go("app.dashboard.overview",{engagement_uuid:void 0,engagement:void 0,sub_id:void 0}):204===d.status?(n.error("no recent VFs were found for you."),t(b)):n.error("getRecentEngagements Failed.")})["catch"](function(b){a.ice.loader.show=!1,n.error(b)})})["catch"](function(b){a.ice.loader.show=!1,n.error(b)})};a.$on("searchSelectEngagement",function(a,b){o.searchSelectEngagement(b)});var s=function(a,b,c,d,e){var f=void 0;for(f=0;f<a.length;f++){var g={};b===!0?(g.creator=a[f].engagement__creator__uuid,g.is_service_provider_internal=a[f].is_service_provider_internal,g.name=a[f].engagement__engagement_manual_id+": "+a[f].name,g.engagement_manual_id=a[f].engagement__engagement_manual_id,g.reviewer_uuid=a[f].engagement__reviewer__uuid,g.uuid=a[f].engagement__uuid,g.peer_reviewer_uuid=a[f].engagement__peer_reviewer__uuid):(g.creator=a[f].vf__engagement__creator__uuid,g.is_service_provider_internal=a[f].vf__is_service_provider_internal,g.name=a[f].vf__engagement__engagement_manual_id+": "+a[f].vf__name,g.engagement_manual_id=a[f].vf__engagement__engagement_manual_id,g.uuid=a[f].vf__engagement__uuid,g.last_update=a[f].last_update,g.reviewer_uuid=a[f].vf__engagement__reviewer__uuid,g.peer_reviewer_uuid=a[f].vf__engagement__peer_reviewer__uuid),"NAVIGATED_INTO_ENGAGEMENT"!=a[f].action_type?g.red_dot=a[f].action_type.split("_").join(" "):g.red_dot=!1,g.checklists=a[f].checklists,g.page="overview",o.formatted_engagements[g.engagement_manual_id]=g,b===!0?o.starred_engagements[g.engagement_manual_id]=g:c===!0&&void 0==o.starred_engagements[g.engagement_manual_id]&&(o.recent_engagements[g.engagement_manual_id]=g)}return void 0!=e?e.view_type?o.selectEngagement(e.uuid,e.view_type,e.sub_id,e.enable_refresh):o.selectEngagement(e.uuid,e.page_type,e.sub_id,e.enable_refresh):void 0!=d&&t(d),new Promise(function(a,b){a(o.formatted_engagements)})},t=function(a){var b=!1,c=g.getJson("ice.settings.eng_uuid"),d=i.getUserData(),f=Object.keys(o.formatted_engagements);if(f.length>0){if(1==a?b=o.formatted_engagements[Object.keys(o.formatted_engagements)[0]].uuid:e.search().eng_uuid?b=e.search().eng_uuid:null!=c?b=c:void 0!=h.params.engagement_uuid&&(b=h.params.engagement_uuid),0!=b){o.selectEngagement(b)}else h.go("app.dashboard.dashboard"),null!=h.params.messagePass&&(m.setToast(h.params.messagePass,"success"),null==h.params.messagePass);0==b&&(b=o.formatted_engagements[Object.keys(o.formatted_engagements)[0]].uuid,o.engagement=o.formatted_engagements[Object.keys(o.formatted_engagements)[0]]),void 0!=o.engagement&&null!=o.engagement.creator&&d.uuid==o.engagement.creator&&1==o.activation_success&&o.openGettingStartedWizard(b)}else 1==d.activationSuccess?(o.openGettingStartedWizard(),h.go("app.dashboard.dashboard")):h.go("app.dashboard.dashboard");o.activation_success=!1,i.setUserActivationSuccess(void 0)};q(),o.openGettingStartedWizard=function(b){var c=o.engagement&&b?o.engagement.is_service_provider_internal:!1;b=b||"";var d={user:o.user,eng_uuid:b,is_service_provider_internal:c,showActivationMessage:o.activation_success};a.$broadcast("openGettingStartedWizard",d),o.activation_success=!1},o.addChecklist=function(a){var b=j.open({templateUrl:"main/modals/checklist/checklist.html",controller:"ChecklistModalController",controllerAs:"vm",size:"lg",resolve:{engagementUuid:function(){return a},modal_type:function(){return"create"},wizardData:function(){return!1}}});b.result.then(function(b){var c=void 0;void 0!=b&&(c=b.uuid,r(!1,{uuid:a,page_type:"checklist",sub_id:c}),b.progress&&o.callback(b))},function(){n.debug("Modal dismissed at: "+new Date)})}}angular.module("ice.navigation",["ui.bootstrap"]).controller("NavigationController",["$rootScope","$q","iceConstants","pageService","$location","vfService","localStorageService","$state","usersService","$uibModal","$scope","$window","toastService","$log",a])}(),function(){"use strict";function a(a,b,c,d,e){var f=this,g=function(){f.checkListTemplates=null,i(),h()},h=function(){a.$watch(function(){return e.params.templateName},function(a,b){a!==b&&f.selectedTemplate&&(f.selectedTemplate.name=a)})},i=function(){c.getChecklistTemplates().then(function(a){d.ice.loader.show=!1,200===a.status&&a.data&&""!==a.data?f.checkListTemplates=a.data.checkListTemplates:b.debug("getChecklistTemplates Failed. response.status="+a.status)})["catch"](function(a){d.ice.loader.show=!1,b.error(a)})};f.selectTemplate=function(a){a!==f.selectedTemplate&&(f.selectedTemplate=a,e.go("app.admin.checklisttemplate",{template_uuid:a.uuid}))},g()}angular.module("ice.main.admin",["ice.services.users"]).controller("adminNavigationController",["$scope","$log","checklistService","$rootScope","$state",a])}(),function(){"use strict";function a(a,b,c,d,e){var f=this,g="LastDocumentationPageId",h=function(){c.getPages("Documentation").then(function(a){if(a&&a.data&&1===a.data.length){f.documentationPage=a.data[0];var b=d.getJson(g);b?f.loadPageContent(b):f.loadPageContent(f.documentationPage.id)}})["catch"](function(a){e.error(a)})};f.loadPageContent=function(a){f.selectedSearchedPage&&delete f.selectedSearchedPage,f.pageId=a,d.setJson(g,a),b.go("app.documentation.page",{page_id:a})},f.isPageCollapsed=function(b){var c=!0;if(b&&b.children&&b.children.length>0){var d=a.flatMap(b.children,function(b){return a.concat(b.children,b)});c=b.id!=f.pageId&&!a.some(d,["id",f.pageId])}return c},h()}angular.module("ice.documentation",[]).controller("documentationNavigationController",["_","$state","cmsService","sessionStorageService","$log",a])}(),function(){"use strict";function a(a){var b=this,c=function(){b.selectedPage=a.$current.name||"app.account"};b.loadPageContent=function(c){b.selectedPage=c,a.go(c)},c()}angular.module("ice.dashboard.account",[]).controller("accountNavigationController",["$state",a])}(),function(){"use strict";function a(a,b,c,d,e,f){var g=this;g.progress=b,g.closeModal=function(){a.close()},g.submitForm=function(){var b={progress:g.progress};d.updateProgress(c,b).then(function(c){202===c.status&&a.close(b)})["catch"](function(a){e.error(a),f.setToast(a.status+": Error changing progress!","danger")})}}angular.module("ice.modals",[]).controller("ChangeProgressModalController",["$uibModalInstance","progress","engagementUuid","vfService","$log","toastService",a])}(),function(){"use strict";function a(a,b,c,d,e,f){var g=this;g.completionDate=b,g.dateOptions={minDate:new Date,showWeeks:!0},g.closeModal=function(){a.close()},g.submitForm=function(){var b={target_date:moment(g.completionDate).format("YYYY-MM-DD")};d.updateDaysLeft(c,b).then(function(c){200===c.status&&a.close(b)})["catch"](function(a){f.setToast(a.status+": Error changing completion date!","danger")})}}angular.module("ice.modals").controller("ChangeDateModalController",["$uibModalInstance","completionDate","engagementUuid","vfService","$rootScope","toastService",a])}(),function(){"use strict";function a(a,b,c,d,e,f){var g=this;g.targetLabDate=b,g.dateOptions={minDate:new Date,showWeeks:!0},g.closeModal=function(){a.close()},g.myDate=new Date,g.minDate=moment(g.myDate).format("YYYY-MM-DD"),g.maxDate=moment(g.myDate).add(2,"years").format("YYYY-MM-DD"),g.submitForm=function(){var b={target_date:moment(g.targetLabDate).format("YYYY-MM-DD")};d.updateLabEntryDaysLeft(c,b).then(function(c){200===c.status&&a.close(b)})["catch"](function(a){f.setToast(a.status+": Error changing completion date!","danger")})}}angular.module("ice.modals").controller("ChangeLabEntryDateModalController",["$uibModalInstance","targetLabDate","engagementUuid","vfService","$rootScope","toastService",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g,h,i,j,k){var l=this;l.nextSteps=[{assigneesUuids:"",description:"",files:"",duedate:""}];var m=function(){l.myDate=new Date,l.minDate=new Date(l.myDate.getFullYear(),l.myDate.getMonth(),l.myDate.getDate()),l.maxDate=new Date(l.myDate.getFullYear()+2,l.myDate.getMonth(),l.myDate.getDate()),l.onlyWeekendsPredicate=function(a){var b=a.getDay();return 0===b||6===b},l.wysiwyg_menu=[["bold","italic","strikethrough","underline"],["unordered-list","ordered-list","outdent","indent"]],l.select_str={File:"Select All"},l.select_all_flag=!1,l.associated_files=[],l.associated_files.push(l.select_str),l.assigness=[],l.title=e,void 0==h?(l.checklist={},l.checklist.uuid=void 0):l.checklist=h;var a=[];if(angular.forEach(f,function(b,c){-1==a.indexOf(b)&&(a.push(b),l.associated_files.push({File:b}))}),angular.forEach(d,function(a,b){l.assigness.push({name:a.full_name,id:a.uuid})}),l.edit=!1,void 0!=i){l.edit=!0;var b={};b.description=i.description,b.files=[],b.duedate=new Date(i.due_date);var a=[];angular.forEach(i.files,function(c,d){-1==a.indexOf(value)&&(a.push(value),b.files.push({File:c}))}),b.assigneesUuids=[],angular.forEach(i.assignees,function(a,c){b.assigneesUuids.push({name:a.full_name,id:a.uuid})}),l.nextSteps=[b]}};m(),l.get_chosen_files_num=function(a){return a.files.length==f.length+1?a.files.length-1:a.files.length},l.add_all_associated_files=function(a,b){1==b?(a.files=[],a.files.push({File:"Select All"}),_.forEach(f,function(b,c){a.files.push({File:b})})):(l.select_all_flag=!1,a.files=[])},l.pull_select_all_from_list=function(a){var b=[];_.forEach(a.files,function(a){_.isEqual(a,l.select_str)||b.push(a)}),a.files=b},l.verify_files_choice=function(a){_.forEach(a.files,function(b){a.files.length==f.length&&l.select_all_flag?b===l.select_str?(l.select_all_flag=!1,l.pull_select_all_from_list(a)):l.add_all_associated_files(a,!1):a.files.length!=f.length||l.select_all_flag?b===l.select_str&&(l.select_all_flag=!0,l.add_all_associated_files(a,!0)):(a.files.push({File:"Select All"}),l.select_all_flag=!0)})},l.addNewStep=function(){var a=l.nextSteps.length+1;l.nextSteps.push({id:a})},l.removeStep=function(a){l.nextSteps.splice(a,1)},l.closeModal=function(){a.ice.loader.show=!1,j.clearToast(),b.close()},l.submitForm=function(){var d,e=[];angular.forEach(l.nextSteps,function(a,b){var c={};c.files=[],a.files.length>f.length&&l.pull_select_all_from_list(a),angular.forEach(a.files,function(a,b){c.files.push(a.File)}),c.assigneesUuids=[],angular.forEach(a.assigneesUuids,function(a,b){c.assigneesUuids.push(a.id)}),d=new Date(Date.parse(a.duedate+moment().format("z"))),c.duedate=d.getFullYear()+"-"+n(d.getMonth()+1)+"-"+n(d.getDate()),c.description=a.description,e.push(c)});var h=l.checklist.uuid,m=g;l.edit?c.edit(g,i.uuid,e[0]).then(function(a){202===a.status&&b.close(a.data)})["catch"](function(a){k.error(a),j.setToast(a.status+": Error adding next step!","danger",{displayFor:"modal"})}):void 0==l.checklist.uuid?c.add(g,e).then(function(a){200===a.status&&b.close(a.data)})["catch"](function(a){k.error(a),j.setToast(a.status+": Error adding next step!","danger",{displayFor:"modal"})}):c.createChecklistNextStep(h,m,e).then(function(c){200===c.status?(b.close(c.status),l.closeModal()):(j.setToast(error.message,"danger",{displayFor:"modal"}),a.ice.loader.show=!1,k.error(error))})["catch"](function(b){j.setToast(b.message,"danger",{displayFor:"modal"}),a.ice.loader.show=!1,k.error(b)})};var n=function(a){return 10>a?"0"+a:a}}angular.module("ice.modals").controller("NextStepsModalController",["$rootScope","$uibModalInstance","stepsService","engagement_team","title","associated_files","engagement_uuid","checklist","nextstep","toastService","$log",a])}(),function(){"use strict";function a(a,b,c,d,e){var f=this,g=function(){f.stage=c,f.current_stage=e,f.modalText="Are you sure you want to set the Engagement's stage to "+f.stage+"?",f.eng_name=d};f.closeModal=function(a){b.close(a)},g()}angular.module("ice.modals").controller("setEngStageModalController",["$rootScope","$uibModalInstance","stage","eng_name","current_stage",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g,h){var i=this;i.checkListAssociatedFiles=[],i.selectedCheckListAssociatedFiles=[],i.isDisabled=!1;var j=function(){switch(f){case"create":i.create=!0,i.createUpadeTitle="Create",i.modalType="create",i.modalTitle="Create",d.getDataForCreateChecklist(e).then(function(a){200===a.status&&(i.checkListTemplatesLists=[],i.checkListTemplates=a.data.checkListTemplates,angular.forEach(a.data.checkListAssociatedFiles,function(a,b){i.checkListAssociatedFiles.push({File:a})}),b.ice.loader.show=!1)})["catch"](function(c){a.setToast(c.message,"danger",{displayFor:"modal"}),b.ice.loader.show=!1,h.error(c.message)});break;case"update":i.update=!0,i.createUpadeTitle="Update",i.modalType="udpate",i.modalTitle="Update",i.checklistUuid=g.uuid,i.checkListName=g.name,d.getDataForCreateChecklist(e).then(function(a){200===a.status&&(i.checkListAssociatedFiles=[],angular.forEach(a.data.checkListAssociatedFiles,function(a,b){i.checkListAssociatedFiles.push({File:a})}),b.ice.loader.show=!1,i.selectedCheckListAssociatedFiles=[],angular.forEach(g.associatedFiles,function(a,b){i.selectedCheckListAssociatedFiles.push({File:a})}))})["catch"](function(c){a.setToast(c.message,"danger",{displayFor:"modal"}),b.ice.loader.show=!1,h.error(c.message)}),i.selectedTemplateUuid=g.selectedTemplateUuid,i.selectedTemplateName=g.selectedTemplateName}};j(),i.addFile=function(){var a=i.selectedCheckListAssociatedFiles.length+1;
+i.selectedCheckListAssociatedFiles.push({id:a})},i.removeFile=function(a){i.selectedCheckListAssociatedFiles.splice(a,1)},i.closeModal=function(){a.clearToast(),b.$emit("onChecklistUpdate"),c.close(i.checkListName),c.close()},i.submitForm=function(){i.isDisabled=!0;var j=[];switch(f){case"create":angular.forEach(i.selectedCheckListAssociatedFiles,function(a,b){j.push(a.File)});var k={checkListAssociatedFiles:j,checkListName:i.checkListName,checkListTemplateUuid:i.selectedTemplateUuid};d.createChecklist(e,k).then(function(a){200===a.status&&(c.close(a.data),b.ice.loader.show=!1,i.closeModal())})["catch"](function(c){a.setToast(c.message||"Error creating check list.","danger",{displayFor:"modal"}),b.ice.loader.show=!1,i.isDisabled=!1,h.error(c.message)});break;case"update":var l=[];angular.forEach(i.selectedCheckListAssociatedFiles,function(a,b){l.push(a.File)}),h.debug("update",l);var m={checklistUuid:i.checklistUuid,checkListAssociatedFiles:l,checkListName:i.checkListName,checkListTemplateUuid:i.selectedTemplateUuid};d.putDataForChecklist(i.checklistUuid,m).then(function(f){if(200===f.status){b.$broadcast("onUpdateEngagements",{select:{uuid:e,view_type:"checklist",sub_id:i.checklistUuid}}),b.ice.loader.show=!1;var j={};j.checklist_name=i.checkListName,j.associated_files=l;var k=i.checkListAssociatedFiles.sort(),m=l.sort(),n=k.length==m.length&&k.every(function(a,b){return a===m[b]});if(!n&&"pending"!=g.state){var o={};o.description="Rejected due to file list change",o.decline="True",d.setState(i.checklistUuid,o).then(function(c){return 200!==c.status?(a.setToast(c.error,"danger",{displayFor:"modal"}),b.ice.loader.show=!1,void(i.isDisabled=!1)):void b.$broadcast("onUpdateEngagements")})["catch"](function(b){h.error(b),a.setToast(b.status+": Error changing progress!","danger"),i.isDisabled=!1})}c.close(j),i.closeModal()}})["catch"](function(c){a.setToast(c.message,"danger",{displayFor:"modal"}),b.ice.loader.show=!1,h.error(c.message),i.isDisabled=!1});break;default:h.debug("no submit action found"),i.isDisabled=!1}}}angular.module("ice.modals").controller("ChecklistModalController",["toastService","$rootScope","$uibModalInstance","checklistService","engagementUuid","modal_type","wizardData","$log",a])}(),function(){"use strict";function a(a,b,c,d,e,f){var g=this,h=function(){var a=[],b=moment().tz(moment.tz.guess()).format("z"),c="";g.name=d.name,g.checklistAuditLogs=d.checklistAuditLogs,g.checklistAuditLogs.forEach(function(d){c=moment(d.create_time).local().format("YYYY-MM-DD hh:mm:ss A")+" "+b,a.push({name:d.creator.full_name,dt:c,desc:d.description})}),g.checklistAuditLogs=a};h(),g.submitForm=function(){var h={description:g.description};c.createAuditlogChecklist(d.uuid,h).then(function(c){200===c.status?(b.close(c.data),g.closeModal()):(e.setToast(c.error,"danger",{displayFor:"modal"}),a.ice.loader.show=!1)})["catch"](function(a){e.setToast(a.message,"danger",{displayFor:"modal"}),f.error(a.message)})},g.closeModal=function(){e.clearToast(),b.close()}}angular.module("ice.modals").controller("AuditLogModalController",["$rootScope","$uibModalInstance","checklistService","wizardData","toastService","$log",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g){var h=this,i=function(){h.me=f.getUserData(),j()};h.vfcs=[{name:"",external_ref_id:"",company:""}],h.companies=[],h.closeModal=function(){b.close()},h.addNewChoice=function(){var a=h.vfcs.length+1;h.vfcs.push({id:a})},h.removeChoice=function(a){h.vfcs.splice(a,1)},h.submitForm=function(){var a=[];angular.forEach(h.vfcs,function(b,c){h.item=[];var d=new Object;d.name=b.name,d.external_ref_id=b.external_ref_id,d.company=b.company,a.push(d)});var f={vfcs:a,vf_uuid:e,creator:h.me};c.add(f).then(function(a){200===a.status&&b.close(a.status)})["catch"](function(a){g.error(a),d.setToast(a.status+": Error changing progress!","danger")})};var j=function(){a.ice.loader.show=!0,c.getCompanies().then(function(b){a.ice.loader.show=!1,200===b.status&&(h.companies=b.data,0===h.companies.length&&console.warn("No vendors pulled, request was successfull"))})["catch"](function(b){a.ice.loader.show=!1,g.error(b)})};i()}angular.module("ice.modals").controller("detailedViewVFCModalController",["$rootScope","$uibModalInstance","vfcService","toastService","vf_uuid","usersService","$log",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g,h,i,j){function k(){d.getDeployTargets().then(function(b){a.ice.loader.show=!1,200===b.status&&(n.deployTargets=b.data,0===j.filter(n.deployTargets,{uuid:n.dtversion.uuid}).length&&(n.dtversion.disabled=!0,n.deployTargets.push(n.dtversion)))})["catch"](function(b){a.ice.loader.show=!1,i.error(b)})}function l(){d.getECOMPReleases().then(function(a){200===a.status&&(n.ECOMPReleases=a.data,0===j.filter(n.ECOMPReleases,{uuid:n.ecomp_release.uuid}).length&&(n.ecomp_release.disabled=!0,n.ECOMPReleases.push(n.ecomp_release)))})["catch"](function(b){a.ice.loader.show=!1,i.error(b)})}function m(){d.getVFVersion(g).then(function(b){a.ice.loader.show=!1,200===b.status&&(n.VFVersion=b.data)})["catch"](function(b){a.ice.loader.show=!1,i.debug(b)})}var n=this,o=function(){e.engagement&&(n.engagement=e.engagement),n.me=h.getUserData(),d.getSingleEngagement(n.me.uuid,n.engagement.uuid).then(function(b){if(a.ice.loader.show=!1,200===b.status&&b.data&&""!==b.data){var c=b.data;n.engagement_manual_id=c.engagement.engagement_manual_id,n.vf_name=c.name,n.vf_uuid=c.uuid,n.ecomp_release=c.ecomp_release,n.target_lab=new Date(c.target_lab_entry_date),n.dtversion=c.deployment_target,n.selected_dt_uuid=n.dtversion.uuid,n.selected_ecomp_uuid=n.ecomp_release.uuid,n.me=h.getUserData(),n.name=n.engagement.name,n.isEngagementEL=h.isEngagementEL(c.engagement.engagement_team),n.isAdmin=h.isAdmin(n.me),n.choices=[{TargetLab:"",TargetAic:""}],k(),l(),m()}})["catch"](function(b){a.ice.loader.show=!1,i.error(b)})};n.closeModal=function(){b.close()},n.addNewChoice=function(){var a=n.choices.length+1;n.choices.push({id:a})},n.removeChoice=function(a){n.choices.splice(a,1)},n.submitForm=function(){var a={vf_uuid:n.vf_uuid,version:n.VFVersion,target_aic_uuid:n.TargetAic,ecomp_release:n.ECOMPRelease};d.updateVfs(a,n.vf_uuid).then(function(a){200===a.status&&b.close(a.status)})["catch"](function(a){i.error(a),f.setToast(a.status+": Error changing progress!","danger")})},n.update_deployment_target=function(){n.dtversion.uuid!=n.selected_dt_uuid&&(angular.forEach(n.dt_AIC_versions,function(a,b){a.uuid===n.selected_dt_uuid&&(n.dtversion=a)}),d.updateDeployTargets(n.engagement.uuid,n.selected_dt_uuid).then(function(b){a.ice.loader.show=!1})["catch"](function(b){a.ice.loader.show=!1,i.error(b)}),n.set_edit_mode("aic"))},n.update_ECOMP_release=function(){n.ecomp_release.uuid!=n.selected_ecomp_uuid&&(j.each(n.ECOMPReleases,function(a,b){a.uuid===n.selected_ecomp_uuid&&(n.ecomp_release=a)}),d.updateECOMPReleases(n.engagement.uuid,n.selected_ecomp_uuid).then(function(b){a.ice.loader.show=!1})["catch"](function(b){a.ice.loader.show=!1,i.error(b)}),n.set_edit_mode("ecomp"))},o()}angular.module("ice.modals").controller("validationDetailsModalController",["$rootScope","$uibModalInstance","vfcService","vfService","$stateParams","toastService","vf_uuid","usersService","$log","_",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g){var h=this,i=function(){void 0!=c.engagement&&(h.vf=c.engagement.vf),j()};h.closeModal=function(){b.close()},h.json="",h.submitForm=function(){var a={name:h.json,vf_uuid:f};d.add(a).then(function(a){b.close(a.status)})["catch"](function(a){g.error(a),e.setToast(a.status+": Error changing progress!","danger")})};var j=function(){a.ice.loader.show=!0,d.get().then(function(b){a.ice.loader.show=!1,200===b.status&&(h.dtsites=b.data)})["catch"](function(b){a.ice.loader.show=!1,g.error(b)})};i()}angular.module("ice.modals").controller("detailedViewDtsitesModalController",["$rootScope","$uibModalInstance","$stateParams","dtsiteService","toastService","vf_uuid","$log",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g){var h=this,i=function(){h.description=null,h.checklist_name=f.name,h.state=f.state,h.action=e,h.modalText="pending"==h.state?"Are you sure you want to move the checklist state to Automation?":"Please use the button below to either approve or reject the checklist.<br>You can also add a log entry comment."};h.submitForm=function(e){var i={};null!=h.description?i.description=h.description:i.description="",e===!0?i.decline="False":i.decline="True",c.setState(f.uuid,i).then(function(c){200===c.status?(b.close(c.data),h.closeModal()):(d.setToast(c.error,"danger"),a.ice.loader.show=!1)})["catch"](function(a){g.error(a),d.setToast(a.status+": Error changing progress!","danger")})},h.closeModal=function(){b.close()},i()}angular.module("ice.modals").controller("stateDecisionModalController",["$rootScope","$uibModalInstance","checklistService","toastService","action","checklist","$log",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g){var h=this,i=function(){h.engagement_uuid=d,h.action=e,"edit"==e?c.get(d).then(function(a){200===a.status?(h.status=a.data,h.status_modal_description=h.status.description,h.eng_status_uuid=h.status.uuid):g.error(a)})["catch"](function(a){h.status=!1,g.error(a.message)}):h.status_modal_description=""};i(),h.submitForm=function(){var d={description:h.status_modal_description};"edit"==e?(d.eng_status_uuid=h.eng_status_uuid,c.update(h.engagement_uuid,d).then(function(c){200===c.status?(b.close(c.data),h.closeModal()):(f.setToast(c.error,"danger"),a.ice.loader.show=!1)})["catch"](function(a){f.setToast(a.message,"danger"),g.error(a.message)})):c.add(h.engagement_uuid,d).then(function(c){200===c.status?(b.close(c.data),h.closeModal()):(f.setToast(c.error,"danger"),a.ice.loader.show=!1)})["catch"](function(a){f.setToast(a.message,"danger"),g.error(a.message)})},h.closeModal=function(){b.close()}}angular.module("ice.modals").controller("StatusModalController",["$rootScope","$uibModalInstance","statusService","engagement_uuid","action","toastService","$log",a])}(),function(){"use strict";function a(a,b,c,d,e,f){var g=this,h=function(){g.action=d,g.feedback_modal_description=""};h(),g.submitForm=function(){var h={description:g.feedback_modal_description};"add"==d&&c.add(h).then(function(c){200===c.status?(b.close(c.data),e.setToast("Feedback was sent successfully.","success")):(e.setToast(c.error,"danger"),a.ice.loader.show=!1)})["catch"](function(a){e.setToast(a.message,"danger"),f.error(a.message)})},g.closeModal=function(){b.close()}}angular.module("ice.modals").controller("FeedbackModalController",["$rootScope","$uibModalInstance","feedbackService","action","toastService","$log",a])}(),function(){"use strict";function a(a,b){var c=this,d=function(){b&&(c.upper_headline=b.upper_headline,c.upper_headline_value=b.upper_headline_value,c.headline=b.headline||"serviceprovider",c.message=b.message||"Are you sure?",c.closeCallback=b.closeCallback,c.approveText=b.approve||"Approve",c.cancelText=b.cancel||"Cancel",c.is_close_modal_button=b.is_close_modal_button,c.is_message=b.is_message)};c.closeModal=function(b){c.closeCallback&&c.closeCallback(b),a.close(b)},d()}angular.module("ice.modals").controller("generalPromptModalController",["$uibModalInstance","modalDetails",a])}(),function(){"use strict";function a(a,b){var c=this,d=function(){b&&(c.headline=b.headline||"General log modal",c.body=b.body||"There is no body")};d(),c.closeModal=function(){a.close()}}angular.module("ice.modals").controller("GeneralLogModalController",["$uibModalInstance","modalDetails",a])}(),function(){"use strict";function a(a,b,c,d){function e(){var a=5,c="";b.getPosts(a,c,["Announcement","News"]).then(function(a){f.recentPosts=a.data})["catch"](function(a){d.error(a)})}var f=this,g=function(){c?f.post=c:b.getLastAnnouncementPost().then(function(a){a&&a.data&&1===a.data.length&&(f.post=a.data[0])})["catch"](function(a){d.error(a)}),e()};f.closeModal=function(b){a.close(b)},f.loadSelectedPostData=function(a){a&&(f.post=a)},g()}angular.module("ice.modals").controller("cmsPostModalController",["$uibModalInstance","cmsService","post","$log",a])}(),function(){"use strict";function a(a,b){var c=this,d=function(){b&&(c.engagement=b)};c.closeModal=function(){a.dismiss()},c.archiveEngagement=function(){a.close(c.reason)},d()}angular.module("ice.modals").controller("archiveEngagementModalController",["$uibModalInstance","engagementDetails",a])}(),function(){"use strict";function a(a,b,c,d,e,f){var g=this;g.show_warning=!1;var h=function(){d.getEngagementLeads().then(function(a){g.engagementLeads=e.filter(a.data,function(a){return a.uuid}),g.selectedUserUuid=e.find(g.engagementLeads,["uuid",c])})["catch"](function(a){f.error(a),g.closeModal()})};g.closeModal=function(){a.dismiss()},g.onUserSelect=function(){g.selectedUserUuid&&a.close(g.selectedUserUuid)},h()}angular.module("ice.modals").controller("selectELModalController",["$uibModalInstance","excludeUuids","selectedOption","usersService","_","$log",a])}(),function(){"use strict";function a(a,b){var c=this,d=function(){c.engagement=b,e()};c.closeModal=function(){a.dismiss()},c.updateEngagement=function(){e(),a.close({engagement:c.engagement,status:c.status})};var e=function(){c.engagement.target_completion_date&&(c.engagement.target_completion_date=new Date(c.engagement.target_completion_date)),c.engagement.heat_validated_time&&(c.engagement.heat_validated_time=new Date(c.engagement.heat_validated_time)),c.engagement.image_scan_time&&(c.engagement.image_scan_time=new Date(c.engagement.image_scan_time)),c.engagement.aic_instantiation_time&&(c.engagement.aic_instantiation_time=new Date(c.engagement.aic_instantiation_time)),c.engagement.asdc_onboarding_time&&(c.engagement.asdc_onboarding_time=new Date(c.engagement.asdc_onboarding_time))};d()}angular.module("ice.modals").controller("updateEngagementStatusModalController",["$uibModalInstance","engagement",a])}(),function(){"use strict";function a(a,b){}angular.module("ice.main",[]).controller("MainController",a).config(["$mdDateLocaleProvider",function(a){a.formatDate=function(a){return a?moment(a).format("MMMM Do YYYY"):""},a.parseDate=function(a){var b=moment(a,"YYYY-MM-DD",!0);return b.isValid()?b.toDate():new Date(NaN)}}]),a.$inject=["$scope","$rootScope"]}(),function(){"use strict";function a(a){a.state("app.dashboard",{"abstract":!0,views:{"navigation@app":{templateUrl:"core/navigation/layouts/horizontal-navigation/navigation.html",controller:"NavigationController as vm"}},bodyClass:"dashboard"}).state("app.dashboard.dashboard",{url:"/dashboard/dashboard",views:{"content@app":{templateUrl:"main/dashboard/dashboard/dashboard.html",controller:"DashboardMainController as vm"}},params:{engagement_uuid:null,engagement:null,messagePass:null},bodyClass:"dashboard"}).state("app.dashboard.overview",{url:"/dashboard/overview",views:{"content@app":{templateUrl:"main/dashboard/overview/overview.html",controller:"OverviewMainController as vm"}},params:{engagement_uuid:null,engagement:null,messagePass:null},bodyClass:"dashboard"}).state("app.dashboard.detailedview",{url:"/dashboard/detailedview",views:{"content@app":{templateUrl:"main/dashboard/detailed-view/detailed-view.html",controller:"detailedViewController as vm"}},params:{engagement_uuid:null,engagement:null},bodyClass:"dashboard"}).state("app.dashboard.checklist",{url:"/dashboard/checklist",views:{"content@app":{templateUrl:"main/dashboard/checklist/checklist.html",controller:"DashboardChecklistController as vm"}},params:{engagement_uuid:null,sub_id:null,engagement:null},bodyClass:"dashboard"})}angular.module("ice.dashboard.main",["ice.dashboard.get-started-modal"]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c,d,e,f,g,h,i,j,k,l,m,n){var o=this;o.sortableOptions={handle:" .order-nextstep",axis:"y",update:function(a,b){f.order_next_steps(o.engagement.uuid,o.steps).then(function(a){200===a.status&&n.debug("updated")})["catch"](function(a){n.error(a)})}};var p=function(){k.setAnnouncementToast(),b.timeGapLocal=moment().format("z"),b.ampm=moment().format("A"),b.mom=moment().tz(moment.tz.guess()).format("z"),o.engagement=d.engagement,void 0!=o.engagement&&(o.me=h.getUserData(),g.getSingleEngagement(o.me.uuid,o.engagement.uuid).then(function(a){b.ice.loader.show=!1,200===a.status&&a.data&&""!==a.data&&(o.vf=a.data,o.is_service_provider_internal=o.vf.is_service_provider_internal,o.name=o.vf.name,o.manual_id=o.vf.engagement.engagement_manual_id,o.vf.git_repo_url&&-1!=o.vf.git_repo_url?o.git_repo_url=o.vf.git_repo_url:o.git_repo_url=!1,o.storage_bucket_url=o.manual_id+"_"+o.name.toLowerCase(),o.team=o.vf.engagement.engagement_team,o.me=h.getUserData(),o.stages=i.stages,o.stage=o.vf.engagement.engagement_stage,o.stage_num=0,o.set_stage_num(o.stage),o.in_overview_page=!0,o.uuid=o.engagement.uuid,o.progress=o.vf.engagement.progress,o.completion_date=o.vf.engagement.target_completion_date,o.starred=!1,o.isEngagmentLead=h.isUserInRole("el"),o.isEngagementEL=h.isEngagementEL(o.team),o.isAdmin=h.isAdmin(o.me),o.does_user_role_allow_action_array=[o.isAdmin,o.isEngagementEL],o.unremoveable_users_from_eng_team_array=[o.vf.engagement.reviewer.uuid,o.vf.engagement.peer_reviewer.uuid,o.vf.engagement.creator.uuid],null!=o.vf.engagement.contact_user&&o.unremoveable_users_from_eng_team_array.push(o.vf.engagement.contact_user.uuid),o.states=i.states,o.states_select=s(i.states),o.selected_state_filter=t(),o.steps=[],o.vf_name=o.vf.name,o.vf.engagement.starred_engagement.forEach(function(a){o.me.uuid==a.uuid&&(o.starred=!0)}),o.all_states=!1,o.all_files=!0,q(),o.initActivityLogs(),o.files=o.vf.files,o.files_filter_options=[],o.files_filter_options=o.files_filter_options.concat(o.files),o.files_filter_options.push("Any file"),o.chosen_files_filter=["Any file"],o.show_step=!0,o.status=!1,e.get(o.uuid).then(function(a){200===a.status?o.status=a.data:n.error(a)})["catch"](function(a){o.status=!1,n.error(a.message)}),o.progress_needed_data=u())})["catch"](function(a){b.ice.loader.show=!1,n.error(a)}))};o.set_stage_num=function(a){switch(a){case"Intake":o.stage_num=1;break;case"Active":o.stage_num=2;break;case"Validated":o.stage_num=3;break;case"Completed":o.stage_num=4}},o.checkIfAdmin=function(a){return h.isAdmin(a)},o.is_user_allowed=function(){return 1==c.includes(o.does_user_role_allow_action_array,!0)?!0:!1},o.is_able_to_delete=function(a){return!o.is_user_allowed()||c.includes(o.unremoveable_users_from_eng_team_array,a.uuid)||o.checkIfAdmin(a)?!1:!0},o.remove_user_from_eng=function(a){if(!o.is_able_to_delete(a))return l.setToast("Action is not allowed.","danger"),void(b.ice.loader.show=!1);var c=j.open({templateUrl:"main/modals/general-prompt-modal/general-prompt-modal.html",controller:"generalPromptModalController",controllerAs:"vm",resolve:{modalDetails:function(){return{upper_headline:"Remove user from engagement team: ",upper_headline_value:a.full_name,headline:"Are you sure you would like to remove the user out of the team members?",is_message:!1,message:"",approve:"Yes",cancelText:"No",is_close_modal_button:!0}}}});angular.element("body").click(),c.result.then(function(c){if(c){var d={eng_uuid:o.vf.engagement.uuid,user_uuid:a.uuid};g.remove_user_from_eng(d).then(function(a){b.ice.loader.show=!1,204===a.status&&b.$broadcast("onUpdateEngagements",{select:{uuid:o.engagement.uuid,page_type:"overview",sub_id:void 0}})})["catch"](function(a){b.ice.loader.show=!1,n.error(a)})}})},a.is_match_both_filters=function(){return function(a){var b=!1;return o.all_files&&o.all_states?b=!0:o.all_states&&o.is_contain_files(a)?b=!0:o.all_files&&o.is_same_state(a.state)?b=!0:o.is_contain_files(a)&&o.is_same_state(a.state)&&(b=!0),b?a:!1}},o.is_all_files=function(){o.all_files=-1!==o.chosen_files_filter.indexOf("Any file")},o.is_contain_files=function(a){if(a.files)for(var b=0;b<a.files.length;b++)if(-1!==o.chosen_files_filter.indexOf(a.files[b]))return!0;return!1},o.is_same_state=function(a){return-1!==o.selected_state_filter.indexOf(a)},o.update_next_steps_choice=function(){-1!==o.selected_state_filter.indexOf("All")?o.all_states=!0:o.all_states=!1},o.editStatus=function(){var a=j.open({templateUrl:"main/modals/status/status.html",controller:"StatusModalController",controllerAs:"vm",size:"lg",resolve:{engagement_uuid:function(){return o.engagement.uuid},action:function(){return"edit"}}});a.result.then(function(a){a&&(o.status=a)},function(){n.debug("Modal dismissed at: "+new Date)})},o.addStatus=function(){var a=j.open({templateUrl:"main/modals/status/status.html",controller:"StatusModalController",controllerAs:"vm",size:"lg",resolve:{engagement_uuid:function(){return o.engagement.uuid},action:function(){return"add"}}});a.result.then(function(a){a&&(o.status=a)},function(){n.debug("Modal dismissed at: "+new Date)})},o.deleteStep=function(a){var b=j.open({templateUrl:"main/modals/general-prompt-modal/general-prompt-modal.html",controller:"generalPromptModalController",controllerAs:"vm",resolve:{modalDetails:function(){return{headline:"Delete Step",is_message:!0,message:"Are you sure you want to delete this step?",approve:"Delete Step",is_close_modal_button:!0}}}});b.result.then(function(b){b&&f["delete"](a).then(function(a){204===a.status&&(q(),initActivityLogs())})["catch"](function(a){n.error(a)})})},o.editStep=function(a){var b=j.open({templateUrl:"main/modals/next-steps/next-steps.html",controller:"NextStepsModalController",controllerAs:"vm",size:"lg",resolve:{engagement_team:function(){return o.team},title:function(){return o.engagement.name},associated_files:function(){return o.files},engagement_uuid:function(){return o.engagement.uuid},checklist:function(){return void 0},nextstep:function(){return a}}});b.result.then(function(a){a&&q()},function(){n.debug("Modal dismissed at: "+new Date)})},o.addStep=function(){var a=j.open({templateUrl:"main/modals/next-steps/next-steps.html",controller:"NextStepsModalController",controllerAs:"vm",size:"lg",resolve:{engagement_team:function(){return o.team},title:function(){return o.engagement.name},associated_files:function(){return o.files},engagement_uuid:function(){return o.engagement.uuid},checklist:function(){return void 0},nextstep:function(){return void 0}}});a.result.then(function(a){a&&(a.forEach(function(a){a.creator=o.me,o.steps.push(a)}),q())},function(){n.debug("Modal dismissed at: "+new Date)})},b.$on("onUpdateNextSteps",function(a,b){return b.eng_uuid&&b.stage?(o.uuid=b.eng_uuid,o.stage=b.stage,void q()):void n.error("onUpdateNextStep expecting args")}),o.starEngagement=function(){g.putStarredEngagements(o.engagement.uuid).then(function(a){b.ice.loader.show=!1,200===a.status&&a.data&&""!==a.data&&(1==o.starred?o.starred=!1:o.starred=!0,b.$broadcast("onUpdateEngagements",{select:{uuid:o.engagement.uuid,page_type:"overview",sub_id:void 0}}))})["catch"](function(a){b.ice.loader.show=!1,n.error(a)})},o.updateStep=function(a,b){var c={state:b};f.update(a,c).then(function(b){if(200===b.status){var c=r(a);c&&(q(),o.initActivityLogs())}})["catch"](function(a){n.error(a)})},o.toggleCompleted=function(a){var b=r(a);b&&(b.state==o.states.incomplete?o.updateStep(a,i.states.completed):b.state==o.states.completed&&o.updateStep(a,i.states.incomplete))},o.updateProgress=function(a){a&&a.progress?o.progress=a.progress:a&&a.target_date&&(o.completion_date=a.target_date,o.target_completion_date=a.target_date)},o.addPeople=function(){var a={user:o.me,eng_uuid:o.engagement.uuid,is_service_provider_internal:o.is_service_provider_internal,requiredStep:"inviteMembers"};b.$broadcast("openGettingStartedWizard",a)};var q=function(){b.ice.loader.show=!0,f.get(o.uuid,o.stage).then(function(a){b.ice.loader.show=!1,200===a.status&&(o.steps=[],a.data.forEach(function(a){o.steps.push(a)}))})["catch"](function(a){b.ice.loader.show=!1,n.error(a)})};o.initActivityLogs=function(){b.ice.loader.show=!0,g.getActivities(o.uuid).then(function(a){b.ice.loader.show=!1,200===a.status&&(o.activities=a.data)})["catch"](function(a){b.ice.loader.show=!1,n.error(a)})};var r=function(a){var b;return o.steps&&o.steps.forEach(function(c){c.uuid===a&&(b=c)}),b},s=function(a){var b=[];for(var c in a)b.push(a[c]);return b},t=function(){var a=[];return a.push("Incomplete"),a},u=function(){var a={enable_edit:(o.isEngagementEL||o.isAdmin)&&o.in_overview_page,completion_date:o.vf.engagement.target_completion_date,ecomp_release:o.vf.ecomp_release.name,vnf_version:o.vf.version,aic_version:o.vf.deployment_target.version,aic_instantiation_time:o.vf.engagement.aic_instantiation_time,asdc_onboarding_time:o.vf.engagement.asdc_onboarding_time,heat_validated_time:o.vf.engagement.heat_validated_time,image_scan_time:o.vf.engagement.image_scan_time,engagement_uuid:o.uuid,manual_id:o.manual_id};return a};o.archiveEngagement=function(){var a=j.open({templateUrl:"main/modals/archive-engagement-modal/archive-engagement-modal.html",controller:"archiveEngagementModalController",controllerAs:"vm",resolve:{engagementDetails:function(){return{manual_id:o.manual_id,name:o.name,engagement:o.engagement}}}});a.result.then(function(a){a&&o.engagement&&o.engagement.uuid?g.archiveEngagement(o.engagement.uuid,a).then(function(){m.go("app.dashboard.dashboard"),l.setToast("Engagement '"+o.engagement.name+"' archived successfully.","success")})["catch"](function(a){l.setToast("Server failed archiving engagement.","danger"),b.ice.loader.show=!1,n.error(a)}):l.setToast("No reason was supplied, therefor engagement cannot be archived.","danger")})},o.changeReviewer=function(){var a=j.open({templateUrl:"main/modals/select-el-modal/select-el-modal.html",controller:"selectELModalController",controllerAs:"vm",resolve:{excludeUuids:function(){return[o.engagement.peer_reviewer_uuid]},selectedOption:function(){return o.engagement.reviewer_uuid}}});a.result.then(function(a){o.engagement&&o.engagement.uuid?a==o.engagement.peer_reviewer_uuid?g.switchEngagementReviewers(o.engagement.uuid,a,o.engagement.reviewer_uuid).then(function(a){o.engagement.reviewer_uuid=a.data.reviewer,o.engagement.peer_reviewer_uuid=a.data.peerreviewer,l.setToast("Reviewer and peer reviewer updated successfully.","success")})["catch"](function(a){l.setToast("Server failed to update engagement reviewers.","danger"),b.ice.loader.show=!1,n.error(a)}):g.updateEngagementReviewer(o.engagement.uuid,a).then(function(a){c.remove(o.team,function(a){return a.uuid===o.engagement.reviewer_uuid}),o.team.push(a.data),o.engagement.reviewer_uuid=a.data.uuid,l.setToast("Reviewer updated successfully.","success")})["catch"](function(a){l.setToast("Server failed to update engagement reviewer.","danger"),b.ice.loader.show=!1,n.error(a)}):l.setToast("Problem occurred while updating reviewer - missing engagement uuid.","danger")})},o.changePeerReviewer=function(){var a=j.open({templateUrl:"main/modals/select-el-modal/select-el-modal.html",controller:"selectELModalController",controllerAs:"vm",resolve:{excludeUuids:function(){return[o.engagement.reviewer_uuid]},selectedOption:function(){return o.engagement.peer_reviewer_uuid}}});a.result.then(function(a){o.engagement&&o.engagement.uuid?a==o.engagement.reviewer_uuid?g.switchEngagementReviewers(o.engagement.uuid,o.engagement.peer_reviewer_uuid,a).then(function(a){o.engagement.reviewer_uuid=a.data.reviewer,o.engagement.peer_reviewer_uuid=a.data.peerreviewer,l.setToast("Peer reviewer and reviewer updated successfully.","success")})["catch"](function(a){l.setToast("Server failed to update engagement reviewers.","danger"),b.ice.loader.show=!1,n.error(a)}):g.updateEngagementPeerReviewer(o.engagement.uuid,a).then(function(a){n.debug("vm.team",o.team),c.remove(o.team,function(a){return a.uuid===o.engagement.peer_reviewer_uuid}),o.team.push(a.data),o.engagement.peer_reviewer_uuid=a.data.uuid,l.setToast("Peer reviewer updated successfully.","success")})["catch"](function(a){l.setToast("Server failed to update engagement peer reviewer.","danger"),b.ice.loader.show=!1,n.error(a)}):l.setToast("Problem occurred while updating peer reviewer - missing engagement uuid.","danger")})},o.updateEngagementStatus=function(){o.vf.engagement.progress=parseInt(o.progress);var a=j.open({templateUrl:"main/modals/update-engagement-status-modal/update-engagement-status-modal.html",controller:"updateEngagementStatusModalController",controllerAs:"vm",resolve:{engagement:function(){return angular.copy(o.vf.engagement)}}});a.result.then(function(a){g.updateEngagement(a.engagement,a.status).then(function(b){o.vf.engagement=a.engagement,o.progress=o.vf.engagement.progress,o.progress_needed_data=u(),o.status=b.data,l.setToast("Engagement status updated successfully.","success")})["catch"](function(a){l.setToast("Server failed to update engagement status.","danger"),b.ice.loader.show=!1,n.error(a)})})},o.changeTargetCompletion=function(){var a=j.open({templateUrl:"main/modals/change-date/change-date.html",controller:"ChangeDateModalController",controllerAs:"vm",resolve:{completionDate:function(){return o.vf.engagement.target_completion_date},engagementUuid:function(){return o.engagement.uuid}}});a.result.then(function(a){a&&(o.completion_date=a.target_date||o.vf.engagement.target_completion_date,o.vf.engagement.target_completion_date=o.completion_date)},function(){n.debug("Modal dismissed at: "+new Date)})},p()}angular.module("ice.dashboard.overview",[]).controller("OverviewMainController",["$scope","$rootScope","_","$stateParams","statusService","stepsService","vfService","usersService","iceConstants","$uibModal","cmsService","toastService","$state","$log",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g,h,i,j,k,l){function m(){o.userNextSteps=[],c.getByUser().then(function(a){o.userNextSteps=a.data.data,o.userNextStepsCount=a.data.count})["catch"](function(a){l.error(a)})}function n(){angular.element(document).ready(function(){var a=angular.element(document.querySelector("#dashboard-title"));a&&1===a.length&&a.attr("list-loaded","true")})}var o=this,p=function(){b.setPage("dashboard"),j.setAnnouncementToast(),g.setJson("ice.settings.eng_uuid",void 0),o.stages=f.stages,o.stages.all="All",o.search_keyword="",o.search_stage="All",o.statistic_stage_filter="All",o.current_starting_offset="0",o.num_of_returned_items=0,o.pagination_num_of_objects=8,o.me=o.user=e.getUserData(),o.isAdminRo=e.isUserInRole(f.roles.admin_ro),o.isEngagmentEL=e.isUserInRole(f.roles.el),o.isEngagmentLead=e.isEngagementEL(o.team),o.isAdmin=e.isAdmin(o.me),o.page_num=1,o.searchEngagements(1),o.request_statistics_data(),m()};o.request_statistics_data=function(){d.getEngagements(o.me.uuid).then(function(a){if(200===a.status&&a.data&&""!==a.data){o.enagements_search_list=a.data;var b=void 0,c=0,d=0;o.enagements_search_list.forEach(function(a){"All"==o.statistic_stage_filter?(d++,("Validated"==a.engagement_stage||"Completed"==a.engagement_stage)&&a.vfc.length>1&&(b=a.vfc.split(", ").length,c+=b)):a.engagement_stage==o.statistic_stage_filter&&(d++,a.vfc.length>1&&("Validated"==a.engagement_stage||"Completed"==a.engagement_stage)&&(b=a.vfc.split(", ").length,c+=b))}),o.vfc_num=c,o.eng_num=d}})["catch"](function(b){a.ice.loader.show=!1,l.error(b)})},o.onStageChange=function(){o.page_num=1,o.searchEngagements()},o.onKeywordChange=function(){o.page_num=1,o.searchEngagements()},o.searchEngagements=function(){o.current_starting_offset=(o.page_num-1)*o.pagination_num_of_objects,o.postData={stage:o.search_stage,keyword:o.search_keyword,offset:o.current_starting_offset,limit:o.pagination_num_of_objects},d.getExpandedEngagements(o.postData).then(function(a){200===a.status&&a.data&&""!==a.data&&(o.vf_search_list=a.data.array,o.num_of_returned_items=a.data.num_of_objects,o.vf_search_list.forEach(function(a){var b={enable_edit:!1,completion_date:a.engagement__target_completion_date,ecomp_release:a.ecomp_release__name,vnf_version:a.version,aic_version:a.deployment_target__version,aic_instantiation_time:a.engagement__aic_instantiation_time,asdc_onboarding_time:a.engagement__asdc_onboarding_time,heat_validated_time:a.engagement__heat_validated_time,
+image_scan_time:a.engagement__image_scan_time,engagement_uuid:a.engagement__uuid,manual_id:a.engagement__engagement_manual_id,name:a.vf__name,starred:!1};a.progress_needed_data=b,a.starred_users.forEach(function(b){o.me.uuid==b&&(a.progress_needed_data.starred=!0)})}),o.vf_display_list=o.vf_search_list,n())})["catch"](function(b){a.ice.loader.show=!1,l.error(b)})},o.goToEngagement=function(b){a.$broadcast("searchSelectEngagement",b)},o.exportEngagementCSV=function(){var b=o.search_stage||"",c=o.search_keyword||"";a.ice.loader.show=!0,d.exportEngagementsCSV(b,c).then(function(b){if(b&&b.data){var c=new i([b.data],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"});h.saveAs(c,"serviceprovider.xlsx"),a.ice.loader.show=!1}})["catch"](function(b){a.ice.loader.show=!1,l.error(b)})},o.openCMSReadMoreModal=function(a){a?k.open({templateUrl:"main/modals/cms-post-modal/cms-post-modal.html",controller:"cmsPostModalController",controllerAs:"vm",size:"cms-post-read-more",resolve:{post:function(){return a}}}):l.warn("Cannot open cms post.")},p()}angular.module("ice.dashboard.dashboard",["angularUtils.directives.dirPagination","ngFileSaver"]).controller("DashboardMainController",["$rootScope","pageService","stepsService","vfService","usersService","iceConstants","localStorageService","FileSaver","Blob","cmsService","$uibModal","$log",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g,h,i){var j=this;j.data={};var k=b.engagement_uuid;j.checklistUuid=b.sub_id,j.selected_decision=!1;var l=function(){null!=j.checklistUuid&&d.getChecklist(j.checklistUuid).then(function(a){200===a.status&&(j.data=a.data,j.data.states=e.checklist_states,j.me=f.getUserData(),j.is_peer_reviewer=f.isPeerReviewer(j.me,a.data.checklist.engagement.peer_reviewer.uuid),j.data.checklist.associated_files?j.has_files=!0:j.has_files=!1,j.formatDecisions())})["catch"](function(a){return 410!==a.status?(i.error(a.message),!1):void c.$broadcast("onUpdateEngagements",{select:{uuid:b.engagement_uuid,view_type:"overview",sub_id:void 0}})})};j.formatDecisions=function(){var a=0;j.data.checklistDecisions=_.orderBy(j.data.checklistDecisions,"weight"),angular.forEach(j.data.checklistDecisions,function(b,c){a++,b.counter=a;var d=0;b.decisions=_.orderBy(b.decisions,"weight"),angular.forEach(b.decisions,function(b,e){d++,b.counter=a+"."+d,0==j.selected_decision&&(j.selected_decision=b,j.selectDecision(b));var f;switch(j.data.checklist.state){case"peer_review":f=b.peer_review_value;break;case"review":case"approval":case"handoff":case"closed":f=b.review_value}var g;switch(f){case"approved":g="sprite approved-cl";break;case"denied":g="sprite denied-cl";break;case"not_relevant":g="sprite not-relevant-cl"}var h;switch(b.lineitem.line_type){case"auto":h="sprite automation-state"}j.data.checklistDecisions[c].decisions[e]["selected-value"]=f,j.data.checklistDecisions[c].decisions[e].view_value=f,j.data.checklistDecisions[c].decisions[e].view_value_css=g,j.data.checklistDecisions[c].decisions[e].auto_icon_css=h})}),j.refreshStateOptions()},j.setDecision=function(a,b){d.putChecklistDecision(a.uuid,{value:b}).then(function(c){if(200===c.status){switch(j.data.checklist.state){case"peer_review":a.peer_review_value=b;break;case"review":a.review_value=b}j.formatDecisions()}})},j.refreshStateOptions=function(){var a=!1;j.is_able_to_approve=!0,angular.forEach(j.data.checklistDecisions,function(b,c){a||angular.forEach(b.decisions,function(b,c){a||"approved"!=b.view_value&&"not_relevant"!=b.view_value&&(j.is_able_to_approve=!1,a=!0)})})},j.stateAction=function(a){switch(a){case"approve":var b={};b.description="",b.decline="False",d.setState(j.data.checklist.uuid,b).then(function(a){200===a.status?c.$broadcast("onUpdateEngagements",{select:{uuid:k,page_type:"overview",sub_id:j.data.checklist.uuid}}):(h.setToast(a.error,"danger"),c.ice.loader.show=!1)})["catch"](function(a){i.error(a),h.setToast(a.status+": Error changing progress!","danger")});break;case"reject":j.openSetState(a,j.data.checklist);break;case"next_step":j.openNextSteps(j.data.checklist)}},j.formatDate=function(a){var b=moment().tz(moment.tz.guess()).format("z"),c="";return c=moment(a).local().format("YYYY-MM-DD hh:mm:ss A")+" "+b},j.submitDecisionAuditLog=function(){var a={description:j.selected_decision.new_audit_log_description};d.createAuditlogDecisionChecklist(j.selected_decision.uuid,a).then(function(a){200===a.status?(void 0==j.data.decisionAuditLogs[j.selected_decision.uuid]&&(j.data.decisionAuditLogs[j.selected_decision.uuid]=[]),j.data.decisionAuditLogs[j.selected_decision.uuid].push(a.data),j.selected_decision.new_audit_log_description=""):(h.setToast(a.error,"danger"),c.ice.loader.show=!1)})["catch"](function(a){h.setToast(a.message,"danger"),i.error(a.message)})},j.selectDecision=function(b,c){(j.selected_decision!=b||void 0===j.selected_decision.selected)&&(j.selected_decision.selected=!1,j.selected_decision=b,j.selected_decision.selected=!0,a.$$postDigest(function(){if(void 0!=c){var a=angular.element(c.target).prop("offsetHeight")+angular.element(c.target).prop("offsetTop"),b=angular.element("#line-item-extended").prop("offsetHeight"),d=a-b;d>0?angular.element("#line-item-extended").css("margin-top",20+d+"px"):angular.element("#line-item-extended").css("margin-top","")}}))},j.openNextSteps=function(a){var b=g.open({templateUrl:"main/modals/next-steps/next-steps.html",controller:"NextStepsModalController",controllerAs:"vm",size:"lg",resolve:{engagement_team:function(){return a.engagement.engagement_team},title:function(){return a.name},associated_files:function(){return a.repo_associated_files},engagement_uuid:function(){return a.engagement.uuid},checklist:function(){return a},nextstep:function(){return void 0}}});b.result.then(function(b){200===b&&c.$broadcast("onUpdateEngagements",{select:{uuid:k,page_type:"overview",sub_id:a.uuid}})},function(){})},j.openSetState=function(a,b){var d=g.open({templateUrl:"main/modals/checklist/state-approve-or-reject/state-approve-or-reject.html",controller:"stateDecisionModalController",controllerAs:"vm",resolve:{checklist:function(){return b},action:function(){return a}}});d.result.then(function(a){a&&c.$broadcast("onUpdateEngagements",{select:{uuid:k,page_type:"overview",sub_id:b.uuid}})},function(){})},j.openJenkinsLogModal=function(){g.open({templateUrl:"main/modals/general-log-modal/general-log-modal.html",controller:"GeneralLogModalController",controllerAs:"vm",size:"general-log-modal",resolve:{modalDetails:function(){return{headline:"Jenkins log",body:j.data.checklist.jenkins_log}}}})},j.auditLog=function(){var a={name:j.data.checklist.name,uuid:j.data.checklist.uuid,checklistAuditLogs:j.data.checklistAuditLogs},b=g.open({templateUrl:"main/modals/audit-log/audit-log.html",controller:"AuditLogModalController",controllerAs:"vm",size:"lg",resolve:{wizardData:function(){return a}}});b.result.then(function(a){a&&j.data.checklistAuditLogs.push(a)},function(){i.debug("Modal dismissed at: "+new Date)})},j.editChecklist=function(){var a={uuid:j.data.checklist.uuid,name:j.data.checklist.name,templates:j.data.checklist.templates,selectedTemplateUuid:j.data.checklist.template.uuid,selectedTemplateName:j.data.checklist.template.name,associatedFiles:j.data.checklist.associated_files,state:j.data.checklist.state},b=g.open({templateUrl:"main/modals/checklist/checklist.html",controller:"ChecklistModalController",controllerAs:"vm",size:"lg",resolve:{wizardData:function(){return a},engagementUuid:function(){return k},modal_type:function(){return"update"}}});b.result.then(function(a){a&&(j.data.checklist.name=a.checklist_name,j.data.checklist.associated_files=a.associated_files)})},l()}angular.module("ice.dashboard.checklist",[]).controller("DashboardChecklistController",["$scope","$stateParams","$rootScope","checklistService","iceConstants","usersService","$uibModal","toastService","$log",a])}(),function(){"use strict";angular.module("ice.dashboard.get-started-modal",["ngAnimate","ui.bootstrap","ice.activation.addVf"])}(),function(){"use strict";angular.module("ice.dashboard.get-started-modal").directive("getStartedModal",function(){return{restrict:"AEC",scope:{},link:function(a,b,c){a.$emit("openGettingStartedWizardLoaded")},controller:["$rootScope","$scope","$uibModal","toastService","$log",function(a,b,c,d,e){var f=this;f.data={},f.openModal=function(){d.clearToast();c.open({templateUrl:"main/dashboard/get-started-modal/wizard/wizard-container.html",controller:"ModalCtrl",controllerAs:"wizard",resolve:{wizardData:function(){return f.wizardData}},backdrop:"static"})},b.$on("openGettingStartedWizard",function(a,b){f.wizardData=b,f.openModal()})}],controllerAs:"gm"}}).controller("ModalCtrl",["$rootScope","$scope","$uibModalInstance","vfService","usersService","localStorageService","wizardData","toastService","$log","$i18next",function(a,b,c,d,e,f,g,h,i,j){function k(){if(a.ice.loader.show=!0,g.showActivationMessage&&h.setToast("You have successfully activated your account!","success",{displayFor:"modal"}),m.stepIndex=0,m.requiredStep)return m.steps.push(o[m.requiredStep]),m.setStep(m.steps[m.stepIndex]),void(a.ice.loader.show=!1);m.eng_uuid&&""!==m.eng_uuid||m.steps.push(o.addVF),m.user.is_service_provider_contact!==!0||m.is_service_provider_internal?m.user.is_service_provider_contact||m.steps.push(o.addSponsor):m.steps.push(o.addVendor),l(),m.steps.push(o.inviteMembers);var b=e.getUserData()||{},c=b.ssh_public_key;""!==m.user.ssh_public_key&&null!==m.user.ssh_public_key||""!==c&&null!==c||m.steps.push(o.addSSH),a.ice.loader.show=!1,m.setStep(m.steps[m.stepIndex])}function l(){d.getCompanies().then(function(a){if(200===a.status&&(m.companies=a.data,void 0!=m.companies))for(var b=0;b<m.companies.length;b++)if("ServiceProvider"==m.companies[b].name){m.data.attCompanyUuid=m.companies[b].uuid;break}})["catch"](function(a){i.error(a)})}var m=this;m.steps=[],m.data={},m.user=g.user,m.is_service_provider_internal=g.is_service_provider_internal,m.eng_uuid=g.eng_uuid,m.requiredStep=g.requiredStep;var n=j.t("serviceProvider.name"),o={addVF:{name:"addVF",title:"Add a VF"},addSponsor:{name:"addContact",title:"Add "+n+" Sponsor",mode:"sponsor",submitButton:"Add "+n+" Sponsor"},addVendor:{name:"addContact",title:"Add Vendor Contact",mode:"vendor",submitButton:"Add Vendor Cotact"},inviteMembers:{name:"inviteMembers",title:"Invite Team Members"},addSSH:{name:"addSSH",title:"Add SSH Key"}};m.setStep=function(a){m.currentStep=a,m.title=a.title,a.completed=!0},k(),m.getCurrentStep=function(){return m.currentStep.name},m.nextStep=function(){return m.clearMessage(),m.stepIndex++,m.stepIndex===m.steps.length?void m.closeWizard():void m.setStep(m.steps[m.stepIndex])},m.closeWizard=function(){m.clearMessage(),c.close()},m.clearMessage=function(){h.clearToast()},m.onAddContactSubmit=function(){a.ice.loader.show=!0,m.data.addContact.eng_uuid=m.eng_uuid,m.user.is_main_vendor_contact!==!0||m.is_service_provider_internal?m.user.is_main_vendor_contact||(m.data.addContact.company=m.data.attCompanyUuid):m.data.addContact.company=m.data.addContact.company,e.addVendorContact(m.data.addContact).then(function(b){200===b.status&&(a.ice.loader.show=!1,m.nextStep())},function(b){h.setToast(b.message,"danger",{displayFor:"modal"}),i.error(b.message),a.ice.loader.show=!1})["catch"](function(b){m.Msg=b.status+" : "+b.statusText,m.bgColor="#FFEBEB",i.error(b),a.ice.loader.show=!1})},m.onInviteSubmit=function(){a.ice.loader.show=!0;var b=[];angular.forEach(m.inviteMembers.choices,function(a,c){m.item=[];var d=new Object;d.email=a.email,d.eng_uuid=m.eng_uuid,b.push(d)}),d.inviteMembers(JSON.stringify(b)).then(function(b){200===b.status&&m.nextStep(),a.ice.loader.show=!1})["catch"](function(b){h.setToast(b.message.detail,"danger",{displayFor:"modal"}),a.ice.loader.show=!1,i.error(b.message)})},m.inviteMembers={choices:[{email:"",eng_uuid:""}]},m.addNewChoice=function(){var a=m.inviteMembers.choices.length+1;m.inviteMembers.choices.push({id:a})},m.removeChoice=function(){var a=m.inviteMembers.choices.length-1;m.inviteMembers.choices.splice(a)},m.onAddSSHSubmit=function(){a.ice.loader.show=!0,e.setSSHKey(m.user.uuid,m.data.addSSH).then(function(c){200===c.status&&(e.getIceUser().then(function(c){200===c.status&&c.data&&""!==c.data&&(m.user=c.data,a.ice.loader.show=!1,b.$emit("onUpdateEngagements"))}),m.nextStep())})["catch"](function(b){h.setToast(b.message.detail,"danger",{displayFor:"modal"}),a.ice.loader.show=!1,i.error(b.message.detail)})},b.$on("moveWizardNextStep",function(a,b){m.is_service_provider_internal=b.is_service_provider_internal,m.eng_uuid=b.engagement.uuid,m.nextStep()})}])}(),function(){"use strict";function a(a){a.state("app.welcome",{url:"/",views:{"main@":{templateUrl:"welcome/welcome.html",controller:"WelcomeController as vm"}},params:{},bodyClass:"welcome-body"})}angular.module("ice.welcome",[]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c){var d=function(){};d()}angular.module("ice.welcome").controller("WelcomeController",["$state","$location","localStorageService",a])}(),function(){"use strict";function a(a){a.state("app.login",{url:"/login{engagement_uuid: (?:/[^/]+)?}",views:{"main@":{templateUrl:"core/layouts/full-page-with-header/full-page-with-header.html",controller:"MainController as vm"},"content@app.login":{templateUrl:"main/activation/login/login.html",controller:"LoginController as vm"}},params:{message:null,activation_success:void 0},bodyClass:"login"})}angular.module("ice.activation.login",[]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c,d,e,f,g){var h=this;h.data={},d.headerTitle="Login",d.headerSubTitle="Please use the form below to login",b.resetUserData();var i="";a.params.message&&(f.setToast(a.params.message,"danger"),c.warn(a.params.message)),void 0!=e.search().t&&(i="token"+e.search().t),h.data.invitation=e.search().invitation,h.submitForm=function(){d.ice.loader.show=!0,b.login(JSON.stringify(h.data),i).then(function(c){if(200===c.status)if(d.ice.loader.show=!1,b.setUserActivationSuccess(a.params.activation_success),void 0!=c.data.isResetPwdFlow&&1==c.data.isResetPwdFlow)a.go("app.updatePassword");else{var e=a.params.engagement_uuid;void 0!=c.data.eng_uuid&&(e=c.data.eng_uuid),e?(e=e.replace("/",""),a.go("app.dashboard.overview",{engagement_uuid:e})):a.go("app.dashboard.dashboard")}})["catch"](function(b){b&&b.message&&b.message.detail?f.setToast(b.message.detail,"danger"):f.setToast(b.message,"danger"),d.ice.loader.show=!1,c.error(b.message),403===b.status&&(c.error("User is not active, redirecting to resend_activation page"),a.go("app.resend_activation",{message:"Please activate your account first"})),302===b.status&&(c.error("Temporary password has expired, redirecting to reset_password page"),a.go("app.resetPassword",{message:"Your temporary password has expired, please generate a new one"}))})}}angular.module("ice.activation.login").controller("LoginController",["$state","usersService","$log","$rootScope","$location","toastService","$stateParams",a])}(),function(){"use strict";function a(a){a.state("app.activateUser",{url:"/activate/:userID/:token",views:{"main@":{templateUrl:"main/activation/activate/activateUser.html",controller:"ActivateUserController as vm"}},params:{}})}angular.module("ice.activation.activateUser",[]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c,d){var e=function(){b.activateUser(d.userID,d.token).then(function(b){a.go("app.login",{activation_success:b.data.activation_success,engagement_uuid:b.data.engagement_uuid})})["catch"](function(b){c.error(b),a.go("app.login",{message:b.message.detail})})};e()}angular.module("ice.activation.activateUser").controller("ActivateUserController",["$state","usersService","$log","$stateParams",a])}(),function(){"use strict";function a(a){a.state("app.register",{url:"/signUp",views:{"main@":{templateUrl:"core/layouts/full-page-with-header/full-page-with-header.html",controller:"MainController as vm"},"content@app.register":{templateUrl:"main/activation/register/register.html",controller:"RegisterController as vm"}},bodyClass:"register"})}angular.module("ice.activation.register",[]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c,d,e,f,g,h){var i=this;i.data={};var j=h.t("program.name"),k=function(){e.headerTitle="Sign Up",e.headerSubTitle="Please use the form to Sign Up to "+j,a.resetUserData();var b=c.search().company;i.data.full_name=c.search().full_name,i.data.email=c.search().email,i.data.phone_number=c.search().phone_number,e.ice.loader.show=!0,d.getCompanies().then(function(a){e.ice.loader.show=!1,200===a.status&&(i.vendors=a.data,void 0!=b&&angular.forEach(i.vendors,function(a,c){a.uuid===b&&(i.data.company=a.name)}))})["catch"](function(a){e.ice.loader.show=!1,g.error(a)})};i.submitForm=function(){0!=grecaptcha.getResponse().length?(e.ice.loader.show=!0,1!=i.data.regular_email_updates&&(i.data.regular_email_updates=!1),i.data.inviter_uuid=c.search().inviter_uuid,i.data.eng_uuid=c.search().eng_uuid,i.data.invitation=c.search().invitation,i.data.is_contact_user="true"===c.search().is_contact_user,i.email=c.search().email,a.register(i.data).then(function(a){e.ice.loader.show=!1,200===a.status&&b.go("app.resend_activation")})["catch"](function(a){f.setToast(a.message,"danger"),e.ice.loader.show=!1,g.error(a.message)}),e.PleaseFill=""):(f.setToast("Please fill CAPTCHA!","danger"),g.warn("Please fill CAPTCHA!"))},k()}angular.module("ice.activation.register").controller("RegisterController",["usersService","$state","$location","vfService","$rootScope","toastService","$log","$i18next",a])}(),function(){"use strict";function a(a){a.state("app.resetPassword",{url:"/resetPassword",views:{"main@":{templateUrl:"core/layouts/full-page-with-header/full-page-with-header.html",controller:"MainController as vm"},"content@app.resetPassword":{templateUrl:"main/activation/resetPassword/resetPassword.html",controller:"ResetPasswordController as vm"}},params:{message:null},bodyClass:"resetPassword"})}angular.module("ice.activation.resetPassword",[]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c,d,e,f){var g=this;g.data={};var h=!0;d.headerTitle="Reset Your Password",d.headerSubTitle="Please follow the instructions below to reset your password",void 0!=a.params.message&&""!=a.params.message&&(c.setToast(a.params.message,"danger"),d.ice.loader.show=!1,f.warn(a.params.message)),g.submitForm=function(){d.ice.loader.show=!0;var a={email:g.data.email};c.clearToast(),b.sendResetPwdInstructions(a).then(function(a){200===a.status?(c.setToast("An email with detailed instructions on how to reset your password was sent to your Email.","success"),h=!1,g.data.email="",d.ice.loader.show=!1):(c.setToast("Error sending reset password instructions email.","danger"),d.ice.loader.show=!1)})["catch"](function(a){c.setToast(a.message,"danger"),d.ice.loader.show=!1,f.error(a.message)})},g.sendMail=function(){e.open("mailto:example@example.com","_self")}}angular.module("ice.activation.resetPassword").controller("ResetPasswordController",["$state","usersService","toastService","$rootScope","$window","$log",a])}(),function(){"use strict";function a(a){a.state("app.updatePassword",{url:"/updatePassword{engagement_uuid: (?:/[^/]+)?}",views:{"main@":{templateUrl:"core/layouts/full-page-with-header/full-page-with-header.html",controller:"MainController as vm"},"content@app.updatePassword":{templateUrl:"main/activation/updatePassword/updatePassword.html",controller:"UpdatePasswordController as vm"}},params:{message:null,messagePass:null},bodyClass:"updatePassword"})}angular.module("ice.activation.updatePassword",[]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c,d,e,f){var g=this;g.data={};var h=!0;d.headerTitle="Update Your Password",d.headerSubTitle="Please follow the instructions below to update your password",g.submitForm=function(){d.ice.loader.show=!0;var c={password:g.data.password,confirm_password:g.data.confirm_password};b.updatePassword(b.getUserData().uuid,c).then(function(b){200===b.status?(e.setToast("Password was updated Successfully!","success"),h=!1,g.data.password="",g.data.confirm_password="",d.ice.loader.show=!1,a.go("app.dashboard.dashboard",{messagePass:"Password was updated Successfully!"})):(e.setToast("Error updating your password.","danger"),d.ice.loader.show=!1)})["catch"](function(a){e.setToast(a.message,"danger"),d.ice.loader.show=!1})},g.sendMail=function(){f.open("mailto:example@example.com","_self")}}angular.module("ice.activation.updatePassword").controller("UpdatePasswordController",["$state","usersService","localStorageService","$rootScope","toastService","$window",a])}(),function(){"use strict";function a(a){a.state("app.addVf",{url:"/addVf",views:{"main@":{templateUrl:"core/layouts/full-page-with-header/full-page-with-header.html",controller:"MainController as vm"},"content@app.addVf":{templateUrl:"main/activation/addVf/addVf.html",controller:"AddVfController as vm"}},bodyClass:"add-vf"})}angular.module("ice.activation.addVf",[]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,c,d,f,g,h,i,j,k){var l=this;l.data=[],l.isModal=a.isModal,l.user=j.getUserData(),void 0==l.user&&c.go("app.login"),h.headerTitle="Add Virtual Function",h.headerSubTitle="<center>Please use the form below to submit the virtual functions you would like to engage with.<br/>Please do note that each VF will be tracked separately.</center>",!l.isModal&&g.search().activation_success&&f.setToast("You have successfully activated your account","success",{displayFor:"modal"});l.targetLabDate=b(),h.ice.loader.show=!0,d.getDeployTargets().then(function(a){h.ice.loader.show=!1,200===a.status&&(l.deployTargets=a.data)})["catch"](function(a){h.ice.loader.show=!1,k.error(a)}),d.getECOMPReleases().then(function(a){200===a.status&&(l.ECOMPReleases=a.data)})["catch"](function(a){h.ice.loader.show=!1,k.error(a)}),l.choices=[{VirtualFunction:"",TargetLab:"",TargetAic:"",is_service_provider_internal:""}],l.addNewChoice=function(){var a=l.choices.length+1;l.choices.push({id:a})},l.removeChoice=function(a){l.choices.splice(a,1)},l.submitForm=function(){var b,f=[];angular.forEach(l.choices,function(a,c){b=1==a.is_service_provider_internal?"True":"False",l.item=[];var d=new Object;d.virtual_function=a.VirtualFunction;var g=new Date(Date.parse(a.TargetLab+moment().format("z")));d.target_lab_entry_date=g.getFullYear()+"-"+e(g.getMonth()+1)+"-"+e(g.getDate()),d.version=a.VFVersion,d.target_aic_uuid=a.TargetAic,d.ecomp_release=a.ECOMPRelease,d.is_service_provider_internal="True"===b,f.push(d)}),h.ice.loader.show=!0,d.addVfs(JSON.stringify(f)).then(function(b){h.ice.loader.show=!1,200===b.status&&(i.setJson("vfs",b.data),l.isModal?(a.$emit("onUpdateEngagements",{select:{uuid:b.data[0].engagement.uuid,page_type:"overview",sub_id:void 0}}),a.$emit("moveWizardNextStep",b.data[0])):b.data.is_active?c.go("app.dashboard.overview"):c.go("app.resend_activation"))})["catch"](function(a){h.ice.loader.show=!1,k.error(a)})},l.skipAddVf=function(){!l.isModal&&g.search().activation_success?c.go("app.dashboard.overview"):c.go("app.resend_activation")},l.myDate=new Date,l.minDate=new Date(l.myDate.getFullYear(),l.myDate.getMonth(),l.myDate.getDate()),l.maxDate=new Date(l.myDate.getFullYear()+2,l.myDate.getMonth(),l.myDate.getDate())}angular.module("ice.activation.addVf").controller("AddVfController",["$scope","$state","vfService","toastService","$location","$rootScope","localStorageService","usersService","$log",a]).directive("addVf",function(){return{restrict:"AEC",templateUrl:"main/activation/addVf/addVf.html",link:function(a,b,c){},controller:a,controllerAs:"vm",scope:{isModal:"=isModal"}}}),a.$inject=["$scope","$state","vfService","toastService","$location","$rootScope","localStorageService","usersService","$log"];var b=function(){var a,b=[],e=(new Date).getMonth()+1,f=(new Date).getFullYear();for(a=e;12>=a;a++)b.push({val:c(a)+"-"+f,nam:d(a)+" "+f});for(a=1;e>a;a++)b.push({val:c(a)+"-"+(f+1),nam:d(a)+" "+(f+1)});return b},c=function(a){var b=a;return 10>a&&(b="0"+a),b},d=function(a){var b;switch(a){case 1:b="January";break;case 2:b="February";break;case 3:b="March";break;case 4:b="April";break;case 5:b="May";break;case 6:b="June";break;case 7:b="July";break;case 8:b="August";break;case 9:b="September";break;case 10:b="October";break;case 11:b="November";break;case 12:b="December"}return b},e=function(a){return 10>a?"0"+a:a}}(),function(){"use strict";function a(a){a.state("app.addVendorContact",{url:"/addVendorContact",views:{"main@":{templateUrl:"core/layouts/full-page-with-header/full-page-with-header.html",controller:"MainController as vm"},"content@app.addVendorContact":{templateUrl:"main/activation/addVendorContact/addVendorContact.html",controller:"AddVendorContactController as vm"}},bodyClass:"addVendorContact"})}angular.module("ice.activation.addVendorContact",[]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c,d,e){var f=this;f.data={};var g=function(){e.ice.loader.show=!0,e.headerTitle="",e.headerSubTitle="",f.choices=[{VirtualFunction:"",TargetLab:"",TargetAic:"",is_service_provider_internal:""}],b.getCompanies().then(function(a){e.ice.loader.show=!1,200===a.status&&(f.companies=a.data)})["catch"](function(a){e.ice.loader.show=!1,d.error(a)})};f.submitForm=function(){f.data.company=f.data.company.uuid,e.ice.loader.show=!0,c.addVendorContact(f.data).then(function(b){e.ice.loader.show=!1,200===b.status&&(b.data.is_active?a.go("app.dashboard.overview"):a.go("app.resend_activation"))})["catch"](function(a){e.ice.loader.show=!1,f.Msg=response.status+" : "+response.statusText,f.bgColor="#FFEBEB",d.error(a)})},f.addNewChoice=function(){var a=f.choices.length+1;f.choices.push({id:a})},f.removeChoice=function(){var a=f.choices.length-1;f.choices.splice(a)},g()}angular.module("ice.activation.addVendorContact").controller("AddVendorContactController",["$state","vfService","usersService","$log","$rootScope",a])}(),function(){"use strict";function a(a){a.state("app.resend_activation",{url:"/resendActivation",views:{"main@":{templateUrl:"core/layouts/full-page-with-header/full-page-with-header.html",controller:"MainController as vm"},"content@app.resend_activation":{templateUrl:"main/activation/resendActivation/resendActivation.html",controller:"resendActivationController as vm"}},params:{message:null},bodyClass:"resend-activation"})}angular.module("ice.activation.resendActivation",[]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c,d,e){var f=this;f.data=[];var g=function(){c.headerTitle="Activate Your Account",c.headerSubTitle="Please follow the instructions below to activate your account.",d.params.message&&b.setToast(d.params.message,"danger"),f.activated=!1,f.showHideMsg=!1,f.showHideWait=!1};f.submitForm=function(){c.ice.loader.show=!0,a.resendActivationMail().then(function(a){c.ice.loader.show=!1,200===a.status})["catch"](function(a){c.ice.loader.show=!1,e.error(a)})},g()}angular.module("ice.activation.resendActivation").controller("resendActivationController",["usersService","toastService","$rootScope","$state","$log",a])}(),function(){"use strict";function a(a){a.state("app.terms",{url:"/terms",views:{"main@":{templateUrl:"core/layouts/full-page-with-header/full-page-with-header.html",controller:"MainController as vm"},"content@app.terms":{templateUrl:"main/activation/terms/terms.html",controller:"TermsController as vm"}},params:{message:null},bodyClass:"terms"})}angular.module("ice.activation.terms",[]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a){var b=this;b.data={},a.headerTitle="Terms of Service",a.headerSubTitle="Last updated 2016-06-10"}angular.module("ice.activation.terms").controller("TermsController",["$rootScope",a])}(),function(){"use strict";function a(a){a.state("app.contactus",{url:"/contactUs",views:{"main@":{templateUrl:"core/layouts/full-page-with-header/full-page-with-header.html",controller:"MainController as vm"},"content@app.contactus":{templateUrl:"main/activation/contactUs/contactUs.html",controller:"ContactUsController as vm"}},bodyClass:"contact-us"})}angular.module("ice.contactUs",[]).config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a){a.headerTitle="Contact Us",a.headerSubTitle="Please fill in the details below"}angular.module("ice.contactUs").controller("ContactUsController",["$rootScope",a])}(),function(){"use strict";function a(a){a.state("app.account",{url:"/account",views:{"content@app":{templateUrl:"main/dashboard/account/account.html",controller:"DashboardAccountController as vm"},"navigation@app":{templateUrl:"core/navigation/layouts/account-navigation/navigation.html",controller:"accountNavigationController as vm"}},params:{engagement_uuid:null},bodyClass:"account"}).state("app.account.notifications",{url:"/account/notifications",views:{"content@app":{templateUrl:"main/dashboard/account/notifications/notifications.html",controller:"DashboardNotificationsController as vm"}},bodyClass:"notifications"}).state("app.account.userProfile",{url:"/account/userProfile",views:{"content@app":{templateUrl:"main/dashboard/account/user-profile-settings/user-profile-settings.html",controller:"accountUserProfileSettingsController as vm"}},bodyClass:"account"})}angular.module("ice.dashboard.account").config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c,d,e,f){var g=this;g.data={};var h=function(){if(g.user=b.getUserData(),void 0==g.user)return void a.go("app.login");var h=g.user.uuid;e.ice.loader.show=!0,b.getIceUser(h).then(function(a){200===a.status?(g.data.full_name=a.data.full_name,g.data.email=a.data.email,g.data.phone_number=a.data.phone_number,g.data.password="",g.data.ssh_key=a.data.ssh_public_key,g.data.company=a.data.company.name,g.data.access_key=a.data.rgwa_access_key,g.data.access_secret="•••••••••••••••",e.ice.loader.show=!1):(f.setToast("Error getting account","danger"),d.error("Error getting account: "+uuid),e.ice.loader.show=!1)})["catch"](function(a){f.setToast(a.message,"danger"),d.error(a.message)}),c.getCompanies().then(function(a){200===a.status&&(g.companies=a.data)})["catch"](function(a){d.error(a.message)})};h(),g.getAccessSecret=function(){b.getRGWASecret().then(function(a){200===a.status?g.data.access_secret=a.data.rgwa_secret_key:(f.setToast("Error getting user's access secret","danger"),d.error("Error getting access secret: "+uuid),e.ice.loader.show=!1)})["catch"](function(a){f.setToast(a.message,"danger"),d.error(a.message)})},g.submitForm=function(){var a=b.getUserData();b.updateAccount(a.uuid,g.data).then(function(a){200===a.status&&f.setToast("Account was updated successfully!","success")})["catch"](function(a){f.setToast(a.message.detail,"danger")})}}angular.module("ice.dashboard.account").controller("DashboardAccountController",["$state","usersService","vfService","$log","$rootScope","toastService",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g){var h=this;h.data={};var i=function(){return b.setPage("notification"),e.timeGapLocal=moment().format("z"),e.ampm=moment().format("A"),e.mom=moment().tz(moment.tz.guess()).format("z"),h.pagination_num_of_objects=10,h.current_starting_offset="0",h.page_num=1,h.user=c.getUserData(),void 0==h.user?void a.go("app.login"):void h.getNotifications(!0)};h.getNotifications=function(a){var b=h.user.uuid;e.ice.loader.show=!0,h.current_starting_offset=(h.page_num-1)*h.pagination_num_of_objects,c.getNotificationsDescription(h.user.uuid,h.current_starting_offset,h.pagination_num_of_objects).then(function(i){200===i.status?(h.notifications=i.data.serilizedActivitySet,h.num_of_returned_items=i.data.num_of_objects,h.notifications_display_list=h.notifications,a&&c.resetNotificationNum(b).then(function(a){200===a.status&&f.$emit("eventClearNotifications",0)})["catch"](function(a){d.setToast(a.message,"danger"),
+e.ice.loader.show=!1,g.error(a)}),e.ice.loader.show=!1):(d.setToast(i.error,"danger"),e.ice.loader.show=!1)})["catch"](function(a){d.setToast(a.message,"danger"),e.ice.loader.show=!1,g.error(a)})},h.delNotification=function(a){for(var b=0,f=0;f<h.notifications.length;f++)if(h.notifications[f].uuid==a){b=f;break}c.notificationsDelete(a).then(function(a){400!=a.status&&h.notifications.splice(b,1)})["catch"](function(a){d.setToast(a.message,"danger"),e.ice.loader.show=!1,g.error(a)})},i()}angular.module("ice.dashboard.account").controller("DashboardNotificationsController",["$state","pageService","usersService","toastService","$rootScope","$scope","$log",a])}(),function(){"use strict";function a(a){function b(a,b,c,d){var e=a.isAdmin(a.getUserData());return e===!0?b.when():(c(function(){d.go("app.login")}),b.reject())}a.state("app.admin",{url:"/admin",views:{"navigation@app":{templateUrl:"core/navigation/layouts/admin-navigation/navigation.html",controller:"adminNavigationController as vm"}},bodyClass:"nav-admin",resolve:{authenticate:b}}).state("app.admin.checklisttemplate",{url:"/admin/checklist-template",views:{"content@app":{templateUrl:"main/admin/checklist-template/checklist-template.html",controller:"checklistTemplateController as vm"}},params:{template_uuid:void 0},bodyClass:"checklist-template"}),b.$inject=["usersService","$q","$timeout","$state"]}angular.module("ice.main.admin").config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c,d,e,f,g){var h,i=this,j=function(){d.template_uuid&&(i.inlineEditingElements={},i.wysiwyg_menu=[["bold","italic","strikethrough","underline"],["unordered-list","ordered-list","outdent","indent"]],c.getChecklistTemplate(d.template_uuid).then(function(a){200===a.status&&(i.template=a.data,k(),m(),h=angular.copy(a.data),l())})["catch"](function(a){g.error("got error with getChecklistTemplate")}))};i.switchElementInlineEditing=function(a){i.inlineEditingElements[a]=!i.inlineEditingElements[a]},i.save=function(){var a=f.open({templateUrl:"main/modals/general-prompt-modal/general-prompt-modal.html",controller:"generalPromptModalController",controllerAs:"vm",resolve:{modalDetails:function(){return{upper_headline:"Master Checklist Template: ",upper_headline_value:i.template.name,headline:"Are you done editing?",is_message:!0,message:"Editing a master checklist template will effect all checklists currently created of that type and will also restart the validation for all active engagements",approve:"Yes",cancelText:"No",is_close_modal_button:!1}}}});a.result.then(function(a){a&&c.saveChecklistTemplate(i.template).then(function(a){200===a.status&&(h=angular.copy(i.template),e.setToast("Template was saved successfully.","success"))})["catch"](function(a){e.setToast("Problem occurred while saving template.","danger"),g.error("got error with saveChecklistTemplate")})})},i.cancel=function(){var a=f.open({templateUrl:"main/modals/general-prompt-modal/general-prompt-modal.html",controller:"generalPromptModalController",controllerAs:"vm",resolve:{modalDetails:function(){return{upper_headline:"Master Checklist Template: ",upper_headline_value:i.template.name,headline:"Are you sure you want to revert all changes?",is_message:!1,approve:"Yes",cancelText:"No",is_close_modal_button:!1}}}});a.result.then(function(a){a&&(i.template=angular.copy(h),l(),e.setToast("All changes discarded.","success"))})},i.deleteSection=function(b){a.remove(i.template.sections,function(a){return b===a}),l()},i.selectLineItem=function(a,c,d){i.selectedLineItem!=a&&(i.selectedSection=c,i.selectedLineItem=a,b.$$postDigest(function(){if(void 0!=d){var a=angular.element(d.target).prop("offsetHeight")+angular.element(d.target).prop("offsetTop"),b=angular.element("#line-item-extended").prop("offsetHeight"),c=a-b;c>0?angular.element("#line-item-extended").css("margin-top",20+c+"px"):angular.element("#line-item-extended").css("margin-top","")}}))},i.addLineItem=function(b){if(b){var c=a.maxBy(b.lineItems,function(a){return a.weight})+1,d={uuid:"newEntity",name:"Untitled line item",description:"Please add a description",weight:c,validation_instructions:"Please add validation instructions for the line item."};b.lineItems.push(d)}},i.addSection=function(){if(i.template){var b=a.maxBy(i.template.sections,function(a){return a.weight})+1,c={uuid:"newEntity",name:"Untitled section",description:"Section added from portal",validation_instructions:"valid instructions",weight:b,lineItems:[]};i.template.sections.push(c)}},i.deleteLineItem=function(b){a.remove(i.selectedSection.lineItems,function(a){return b===a}),l()},i.isSaveInvalid=function(){var b=!1;return i.template&&(b=void 0!=a.find(i.template.sections,function(a){return 0===a.lineItems.length})),b};var k=function(){b.$watch("vm.template.name",function(a,b){d.templateName=a},!0)},l=function(){i.selectedSection=i.template.sections&&i.template.sections.length>0?i.template.sections[0]:void 0,i.selectedLineItem=i.selectedSection?i.selectedSection.lineItems[0]:void 0,angular.element("#line-item-extended").css("margin-top","")},m=function(){i.template&&(i.template.sections=a.orderBy(i.template.sections,"weight"),a.forEach(i.template.sections,function(b){b.lineItems=a.orderBy(b.lineItems,"weight")}))};j()}angular.module("ice.main.admin").controller("checklistTemplateController",["_","$scope","checklistService","$stateParams","toastService","$uibModal","$log",a])}(),function(){"use strict";function a(a,b,c,d,e,f,g,h,i){var j=this,k=function(){a.timeGapLocal=moment().format("z"),a.ampm=moment().format("A"),a.mom=moment().tz(moment.tz.guess()).format("z"),j.is_aic_edit_mode=!1,j.is_ecomp_edit_mode=!1,j.aic_loaded=!1,j.ecomp_loaded=!1,void 0!=b.engagement&&(j.engagement=b.engagement),void 0!=j.engagement&&(j.me=e.getUserData(),g.getSingleEngagement(j.me.uuid,j.engagement.uuid).then(function(b){if(a.ice.loader.show=!1,200===b.status&&b.data&&""!==b.data){var c=b.data;j.engagement_manual_id=c.engagement.engagement_manual_id,j.vf_name=c.name,j.vf_version=c.version,j.vf_uuid=c.uuid,j.ecomp_release=c.ecomp_release,j.target_lab=new Date(c.target_lab_entry_date),j.dtversion=c.deployment_target,j.selected_dt_uuid=j.dtversion.uuid,j.selected_ecomp_uuid=j.ecomp_release.uuid,j.me=e.getUserData(),j.name=j.engagement.name,j.isEngagementEL=e.isEngagementEL(c.engagement.engagement_team),j.isAdmin=e.isAdmin(j.me),l(),m()}})["catch"](function(b){a.ice.loader.show=!1,h.error(b)}))};j.addVfc=function(){var a=f.open({templateUrl:"main/modals/detailed-view/vfc/detailed-view-vfc-modal.html",controller:"detailedViewVFCModalController",controllerAs:"vm",resolve:{vf_uuid:function(){return j.vf_uuid}}});a.result.then(function(a){a&&m()})},this.personArray=[j.dtversion,j.vf_uuid],j.editValidationDetails=function(){var a=f.open({templateUrl:"main/modals/validation-details/detailed-view-validation-details-modal.html",controller:"validationDetailsModalController",controllerAs:"vm",resolve:{vf_uuid:function(){return j.vf_uuid}}});a.result.then(function(a){a&&k()})},j.addDTS=function(){if(j.isEngagementEL||j.isAdmin){var a=f.open({templateUrl:"main/modals/detailed-view/dtsite/detailed-view-dtsites-modal.html",controller:"detailedViewDtsitesModalController",controllerAs:"vm",resolve:{vf_uuid:function(){return j.vf_uuid}}});a.result.then(function(a){a&&200===a&&l()})}},j.changeTargetLabEntry=function(){var a=f.open({templateUrl:"main/modals/target-lab-entry/change-lab-entry-date.html",controller:"ChangeLabEntryDateModalController",controllerAs:"vm",resolve:{targetLabDate:function(){return j.target_lab},engagementUuid:function(){return j.engagement.uuid}}});a.result.then(function(a){a&&(j.target_lab=new Date(a.target_date),h.debug("data.target_date",a.target_date),h.debug("vm.target_lab",j.target_lab))},function(){h.error("Modal dismissed at: "+new Date)})},j.deleteVfc=function(a){c["delete"](a,j.vf_uuid).then(function(a){204===a.status&&m()})["catch"](function(a){h.error(a)})},j.deleteDTSite=function(a,b){d["delete"](j.vf_uuid,b).then(function(a){204===a.status&&l()})["catch"](function(a){h.error(a)})};var l=function(){(j.isEngagementEL||j.isAdmin)&&(a.ice.loader.show=!0,d.getVFSites(j.vf_uuid).then(function(b){a.ice.loader.show=!1,200===b.status&&(j.dtsites=b.data)})["catch"](function(b){a.ice.loader.show=!1,h.error(b)}))},m=function(){a.ice.loader.show=!0,c.get(j.vf_uuid).then(function(b){a.ice.loader.show=!1,200===b.status&&(j.vfcs=b.data)})["catch"](function(b){a.ice.loader.show=!1,h.error(b)})};k()}angular.module("ice.dashboard.main").controller("detailedViewController",["$rootScope","$stateParams","vfcService","dtsiteService","usersService","$uibModal","vfService","$log","_",a])}(),function(){"use strict";function a(a){a.state("app.documentation",{views:{"navigation@app":{templateUrl:"core/navigation/layouts/documentation-navigation/navigation.html",controller:"documentationNavigationController as vm"},"sidebar@app":{templateUrl:"main/documentation/sidebar/documentation.sidebar.html"}},bodyClass:"documentation",params:{displaySidebar:!0}}).state("app.documentation.page",{url:"/documentation",views:{"content@app":{templateUrl:"main/documentation/documentation.html",controller:"documentationController as vm"}},bodyClass:"documentation",params:{displaySidebar:!0,page_id:void 0}})}angular.module("ice.documentation").config(a),a.$inject=["$stateProvider"]}(),function(){"use strict";function a(a,b,c){function d(){b.page_id&&a.getPage(b.page_id).then(function(a){a&&a.data&&(e.pageId=b.page_id,e.pageTitle=a.data.title,e.pageContent=a.data.content,e.publishDate=a.data.publish_date)})["catch"](function(a){c.error(a)})}var e=this,f=function(){d()};f()}angular.module("ice.documentation").controller("documentationController",["cmsService","$stateParams","$log",a])}(),function(){"use strict";function a(a,b){var c=this,d=function(){b.getIceUser().then(function(a){c.receiveEmails=a.data.regular_email_updates,c.receiveEmailsEveryTime=a.data.email_updates_on_every_notification,c.receiveDigestEmails=a.data.email_updates_daily_digest,c.receiveNotifications=c.receiveEmailsEveryTime||c.receiveDigestEmails})["catch"](function(b){a.setToast(b.message,"danger"),$log.error(b.message)})};c.submitForm=function(){var d=b.getUserData(),e={};e.regular_email_updates=c.receiveEmails,e.email_updates_on_every_notification=c.receiveEmailsEveryTime,e.email_updates_daily_digest=c.receiveDigestEmails,e.company=d.company.name,e.full_name=d.full_name,e.email=d.email,e.phone_number=d.phone_number,b.updateAccount(d.uuid,e).then(function(b){200===b.status&&a.setToast("User profile settings was updated successfully!","success")})["catch"](function(b){a.setToast(b.message.detail,"danger")})},c.changeReceiveNotifications=function(){c.receiveNotifications||(c.receiveEmailsEveryTime=!1,c.receiveDigestEmails=!1)},d()}angular.module("ice.dashboard.account").controller("accountUserProfileSettingsController",["toastService","usersService",a])}(),angular.module("ice").run(["$templateCache",function(a){"use strict";a.put("main/activation/activate/activateUser.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div></div>'),a.put("main/activation/addVendorContact/addVendorContact.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".addVendorContact-form"></ice-loader> <div class="container"> <div class="row"> <div class="col-md-2"></div> <form name="addVendorContactForm" ng-submit="vm.submitForm()" novalidate class="addVendorContact-form col-md-8"> <div class="form-group" ng-class="{ \'has-error\' : addVendorContactForm.company.$invalid && !addVendorContactForm.company.$pristine }"> <label class="ice-form-label required">Company</label> <select style="width:100%" name="company" ng-model="vm.data.company" ng-options="company.name for company in vm.companies track by company.uuid" class="form-control" required></select> <div class="ice-form-error" data-ng-show="addVendorContactForm.company.$error"> <span ng-show="addVendorContactForm.company.$error.required && !addVendorContactForm.company.$pristine" class="help-block">Please select a company</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : addVendorContactForm.fullName.$invalid && !addVendorContactForm.fullName.$pristine }"> <label class="ice-form-label required">Full Name</label> <input type="text" name="fullname" class="form-control" ng-model="vm.data.full_name" ng-minlength="3" ng-maxlength="50" maxlength="50" required> <div class="ice-form-error" data-ng-show="addVendorContactForm.fullname.$error"> <span ng-show="addVendorContactForm.fullname.$error.required && !addVendorContactForm.fullname.$pristine">Name is a required field.</span> <span ng-show="addVendorContactForm.fullname.$error.minlength">Full Name is too short.</span> <span ng-show="addVendorContactForm.fullname.$error.maxlength">Full Name is too long.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : addVendorContactForm.email.$invalid && !addVendorContactForm.email.$pristine }"> <label class="ice-form-label required">Email</label> <input type="email" name="email" class="form-control" ng-model="vm.data.email" ng-pattern="/^(([^<>()\\[\\]\\\\.,;:\\s@&quot;]+(\\.[^<>()\\[\\]\\\\.,;:\\s@&quot;]+)*)|(&quot;.+&quot;))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/" maxlength="254" required> <div class="ice-form-error" data-ng-show="addVendorContactForm.email.$error"> <span ng-show="addVendorContactForm.email.$error.required && !addVendorContactForm.email.$pristine">Email is a required field.</span> <span ng-show="addVendorContactForm.email.$invalid && !addVendorContactForm.email.$pristine" class="help-block">Enter a valid email.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : addVendorContactForm.phone.$invalid && !addVendorContactForm.phone.$pristine }"> <label class="ice-form-label required">Phone</label> <input type="text" name="phone" class="form-control" ng-pattern="/^[\\+\\-0-9]+$/" ng-model="vm.data.phone_number" ng-minlength="3" ng-maxlength="30" required> <div class="ice-form-error" data-ng-show="addVendorContactForm.phone.$error"> <span ng-show="addVendorContactForm.phone.$error.required && !addVendorContactForm.phone.$pristine">Phone is a required field.</span> <span ng-show="addVendorContactForm.phone.$error.minlength" class="help-block">Phone is too short.</span> <span ng-show="addVendorContactForm.phone.$error.maxlength" class="help-block">Phone is too long.</span> <span ng-show="addVendorContactForm.phone.$error.pattern" class="help-block">Phone must consist of numbers only.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : userForm.password.$invalid && !userForm.password.$pristine }"> <input type="checkbox" ng-model="vm.data.regular_email_updates">&nbsp;I agree to receive regular email updates. </div> <div class="form-group"> <input type="checkbox" ng-model="vm.data.terms" required>&nbsp;I accept the AT&T\'s {{\'program.name\' | i18next}} Terms of Service and Privacy Policy. </div> <div id="frm-field-63-container" class="frm_form_field form-field frm_top_container"> <label class="frm_primary_label">reCAPTCHA <span class="frm_required"></span> </label> <div id="field-7lj3ma" class="g-recaptcha" data-sitekey="6LeMMwYTAAAAACSY-OLibN7rdFHSnY9karY3VXW2"></div> <div id="divre-captcha-err" class="frm_error_hide">reCAPTCHA is invalid.</div> </div> <input type="hidden" name="item_key" value="xxx"> <button type="submit" class="btn btn-primary" data-ng-disabled="!addVendorContactForm.$valid">Sign Up</button> <a ui-sref="app.login" class="login">Already have an account?</a> </form> <div class="col-md-2"></div> </div> </div>'),a.put("main/activation/addVf/addVf.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".addVf-form"></ice-loader> <div class="container"> <div class="row"> <div class="col-md-2"></div> <form name="addVfForm" ng-submit="vm.submitForm()" novalidate class="addVf-form col-md-8"> <div class="table-container-flex"> <div class="table"> <!-- Table body --> <div class="body"> <div data-ng-repeat="choice in vm.choices" class="data-row-wrapper"> <ng-form name="vfItemForm"> <div class="flex-container data-row"> <!-- Text --> <div class="add-vf-wizard text"> Use the form below to add your VF.Try to be as accurate as you can around the information to make sure the validation can accomplished as possible. </div> </div> <div class="flex-container data-row"> <!-- Virtual Function --> <div class="table-col-general flex-item"> <div id="vf-name-title">VF Name</div> <input type="text" name="virtualFunction" class="form-control" ng-model="choice.VirtualFunction" maxlength="32" class="form-control" placeholder="VF Name" required ng-pattern="/^[a-zA-Z0-9-]*$/"> <div class="ice-form-error" data-ng-show="vfItemForm.virtualFunction.$error"> <span ng-show="vfItemForm.virtualFunction.$error.pattern">VF Name can be alphanumeric or/and Hyphen</span> </div> </div> </div> <div class="flex-container data-row"> <h3 id="title-key-metadata">Key Metadata</h3> </div> <div class="flex-container data-row fields_key_metadata"> <!-- ECOMP Release --> <div class="table-col-general flex-item"> <select ng-model="choice.ECOMPRelease" id="ecomp-release" class="form-control" required> <option value="" selected disabled>ECOMP Release</option> <option ng-repeat="dt in vm.ECOMPReleases" value="{{dt.uuid}}"> {{dt.name}} </option> </select> </div> <!-- Target AIC Version --> <div class="table-col-general flex-item"> <select ng-model="choice.TargetAic" id="aic-version" class="form-control" required> <option value="" selected disabled>AIC Version</option> <option ng-repeat="dt in vm.deployTargets" value="{{dt.uuid}}"> {{dt.name}} {{dt.version}} </option> </select> </div> <!-- VF Version --> <div class="table-col-general flex-item"> <input type="text" name="VFversion" id="id-vf-version" class="form-control" ng-model="choice.VFVersion" maxlength="32" class="form-control" placeholder="VF Version" required> </div> <!-- Delete VF --> <div class="table-col-general flex-item" ng-if="vm.choices.length > 1"> <!--\n <div class="reject_large" ng-click=\'vm.removeChoice()\' ng-show="$last"><span class="reject_large"></span>Remove</div>\n --> <div class="remove-button" ng-click="vm.removeChoice($index)"><span class="remove-icon"></span>Remove</div> </div> </div> <div class="flex-container data-row"> <!-- Target Lab Entry --> <div class="table-col-general flex-item"> <div id="vf-name-title">Target Lab Entry Date</div> <md-datepicker id="e2e-lab-entry-date" md-min-date="vm.minDate" ng-click="ctrl.openCalendarPane($event)" ng-model-options="{timezone: \'gmt\'}" class="btn btn-default datepicker_btn" ng-model="choice.TargetLab" md-placeholder="E2E Lab Entry Date"></md-datepicker> <input type="hidden" id="add-vf-hidden-target-lab-date" value="{{choice.TargetLab | date2: \'MMMM doo yyyy\' : timeGapLocal}}"> </div> </div> <div class="add-vf-confirm-checkbox"> <input type="checkbox" name="is_service_provider_internal" ng-model="choice.is_service_provider_internal"> The virtual function is only developed internally inside AT&T. </div> </ng-form> </div> </div> <div class="footer"> <div class="action-row-wrapper"> <a ng-if="!vm.isModal" class="add-button" ng-click="vm.addNewChoice()"> <span class="add-icon"></span> <span class="add-text">Add another VF</span> </a> <button type="submit" class="btn btn-primary" data-ng-disabled="!addVfForm.$valid">Submit your VF</button> <a id="skip-add-vf-singup" ng-if="!vm.isModal" class="" ng-click="vm.skipAddVf()">Skip VF creation</a> </div> </div> </div> </div> </form> </div> </div>'),a.put("main/activation/contactUs/contactUs.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="container"> <div class="row"> <div class="col-md-2"></div> <form name="contactUsForm" ng-submit="vm.submitForm()" novalidate class="contact-us-form col-md-8"> </form> <div class="col-md-2"></div> </div> </div>'),a.put("main/activation/inviteMembers/inviteMembers.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".inviteMembers-form"></ice-loader> <div class="container"> <div class="row"> <div class="col-md-2"></div> <form name="inviteMembersForm" ng-submit="vm.submitForm()" novalidate class="inviteMembers-form col-md-8"> <div> <div style="clear:both"></div> <fieldset data-ng-repeat="choice in choices|limitTo:10"> <div id="containera"> <div style="width:400px;height:50px;line-height:20px;;float:left"> <input type="email" name="email" class="form-control" ng-model="choice.Email" maxlength="50" ng-pattern="/^(([^<>()\\[\\]\\\\.,;:\\s@&quot;]+(\\.[^<>()\\[\\]\\\\.,;:\\s@&quot;]+)*)|(&quot;.+&quot;))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/" class="form-control" required> <div class="ice-form-error" data-ng-show="inviteMembersForm.email.$error"> <span ng-show="inviteMembersForm.email.$error.required && !inviteMembersForm.email.$pristine">Email is a required field.</span> <span ng-show="inviteMembersForm.email.$invalid && !inviteMembersForm.email.$pristine" class="help-block">Enter a valid email.</span> </div> </div> </div> <div style="width:200px;height:50px;line-height:20px; vertical-align:middle;padding-left:10px;float:left"> <a ng-click="removeChoice()" ng-show="$last">Remove</a> </div> </fieldset> </div> <a ng-if="choices.length < 10" class="add-button" ng-click="vm.addNewChoice()">Invite another team member</a> <button type="submit" class="btn btn-primary" data-ng-disabled="!inviteMembersForm.$valid">Send invitations</button> </form> </div> </div>'),a.put("main/activation/login/login.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".login-form"></ice-loader> <div class="container"> <div class="row"> <div class="col-md-2"></div> <form name="loginForm" ng-submit="vm.submitForm()" novalidate class="login-form col-md-8"> <div class="form-group" ng-class="{ \'has-error\' : loginForm.email.$invalid && !loginForm.email.$pristine }"> <label class="ice-form-label required">Email</label> <input type="email" name="email" class="form-control" ng-model="vm.data.email" maxlength="254" required ng-pattern="/^(([^<>()\\[\\]\\\\.,;:\\s@&quot;]+(\\.[^<>()\\[\\]\\\\.,;:\\s@&quot;]+)*)|(&quot;.+&quot;))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/"> <div class="ice-form-error" data-ng-show="loginForm.email.$error"> <span ng-show="loginForm.email.$error.required && !loginForm.email.$pristine">Email is a required field.</span> <span ng-show="loginForm.email.$error.pattern">Enter a valid email.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : loginForm.password.$invalid && !loginForm.password.$pristine }"> <label class="ice-form-label required">Password</label> <input type="password" name="password" class="form-control" ng-model="vm.data.password" ng-maxlength="32" maxlength="32" required> <div class="ice-form-error" data-ng-show="loginForm.password.$error"> <span ng-show="loginForm.password.$error.required && !loginForm.password.$pristine">Password is a required field.</span> <span ng-show="loginForm.password.$error.minlength">Password is too short.</span> <span ng-show="loginForm.password.$error.maxlength">Password is too long.</span> </div> </div> <button type="submit" class="btn btn-primary" data-ng-disabled="!loginForm.$valid">Login</button> <div class="leftLink"> <a ui-sref="app.resetPassword">Reset your password?</a> </div> <div class="rightLink"> <a id="id-dont-have-an-account" ui-sref="app.register">Don\'t have an account?</a> </div> </form> <div class="col-md-2"></div> </div> </div>'),
+a.put("main/activation/register/register.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".register-form"></ice-loader> <div class="container"> <script type="text/javascript" src="https://www.google.com/recaptcha/api.js?ver=1"></script> <div class="row"> <div class="col-md-2"></div> <form name="registerForm" ng-submit="vm.submitForm()" novalidate class="register-form col-md-8"> <div class="form-group" ng-class="{ \'has-error\' : registerForm.company.$invalid && !registerForm.company.$pristine }"> <label class="ice-form-label required">Company</label> <select ng-model="vm.data.company" name="company" class="form-control" required> <option value="">Please select a company</option> <option ng-repeat="vendor in vm.vendors" value="{{vendor.name}}" ng-selected="vendor.name===vm.data.company"> {{vendor.name}} </option> </select> <div class="ice-form-error" data-ng-show="registerForm.company.$error"> <span ng-show="registerForm.company.$error.required && !registerForm.company.$pristine" class="help-block">Please select a company</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : registerForm.fullName.$invalid && !registerForm.fullName.$pristine }"> <label class="ice-form-label required">Full Name</label> <input type="text" name="fullname" class="form-control" ng-model="vm.data.full_name" ng-minlength="3" ng-maxlength="50" maxlength="50" required ng-pattern="/^[a-zA-Z0-9 ]*$/"> <div class="ice-form-error" data-ng-show="registerForm.fullname.$error"> <span ng-show="registerForm.fullname.$error.required && !registerForm.fullname.$pristine">Name is a required field.</span> <span ng-show="registerForm.fullname.$error.minlength">Full Name is too short.</span> <span ng-show="registerForm.fullname.$error.maxlength">Full Name is too long.</span> <span ng-show="registerForm.fullname.$error.pattern">Full Name must be alphanumeric</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : registerForm.email.$invalid && !registerForm.email.$pristine }"> <label class="ice-form-label required">Email</label> <input type="email" name="email" class="form-control" ng-model="vm.data.email" maxlength="254" ng-pattern="/^(([^<>()\\[\\]\\\\.,;:\\s@&quot;]+(\\.[^<>()\\[\\]\\\\.,;:\\s@&quot;]+)*)|(&quot;.+&quot;))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/" required> <div class="ice-form-error" data-ng-show="registerForm.email.$error"> <span ng-show="registerForm.email.$error.required && !registerForm.email.$pristine">Email is a required field.</span> <span ng-show="registerForm.email.$invalid && !registerForm.email.$error.required && !registerForm.email.$pristine">Enter a valid email.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : registerForm.phone.$invalid && !registerForm.phone.$pristine }"> <label class="ice-form-label required">Phone</label> <input type="text" name="phone" class="form-control phone-place-holder" ng-intl-tel-input ng-model="vm.data.phone_number" required ng-minlength="6" ng-maxlength="30"> <div class="ice-form-error" data-ng-show="registerForm.phone.$error"> <span ng-show="registerForm.phone.$error.required && !registerForm.phone.$pristine">Phone is a required field.</span> <span ng-show="registerForm.phone.$error.minlength" class="help-block">Phone is too short.</span> <span ng-show="registerForm.phone.$error.maxlength" class="help-block">Phone is too long.</span> <span ng-show="registerForm.phone.$dirty && registerForm.phone.$invalid" class="help-block">Phone format invalid</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : registerForm.password.$invalid && !registerForm.password.$pristine }"> <label class="ice-form-label required">Password</label> <input type="password" name="password" class="form-control" ng-model="vm.data.password" ng-minlength="4" ng-maxlength="32" maxlength="32" required autocomplete="new-password"> <div class="ice-form-error" data-ng-show="registerForm.password.$error"> <span ng-show="registerForm.password.$error.required && !registerForm.password.$pristine">Password is a required field.</span> <span ng-show="registerForm.password.$error.minlength" class="help-block">Password is too short.</span> <span ng-show="registerForm.password.$error.maxlength" class="help-block">Password is too long.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : userForm.password.$invalid && !userForm.password.$pristine }"> <input type="checkbox" ng-model="vm.data.regular_email_updates">&nbsp;I agree to receive regular email updates from AT&T {{\'program.name\' | i18next}}. </div> <div class="form-group"> <input type="checkbox" ng-model="vm.data.terms" required>&nbsp;I accept the <a href="" ui-sref="app.terms" title="AT&T\'s {{\'program.name\' | i18next}} Terms of Service and Privacy Policy" target="_blank">AT&T\'s {{\'program.name\' | i18next}} Terms of Service and Privacy Policy</a>. </div> <div id="frm-field-63-container" class="form-group frm_form_field form-field frm_top_container"> <!--\n <label class="ice-form-label required">\n <span class="frm_required"></span>\n </label>\n --> <div id="field-7lj3ma" class="g-recaptcha" data-sitekey="6LeMMwYTAAAAACSY-OLibN7rdFHSnY9karY3VXW2"></div> </div> <input type="hidden" name="item_key" value="xxx"> <span>{{PleaseFill}} </span> <button type="submit" class="btn btn-primary" data-ng-disabled="!registerForm.$valid">Sign Up</button> <a ui-sref="app.login" class="login">Already have an account?</a> </form> <div class="col-md-2"></div> </div> </div>'),a.put("main/activation/resendActivation/resendActivation.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".active-form"></ice-loader> <div class="container"> <div class="row"> <div class="col-md-2"></div> <form name="resendActivationForm" ng-submit="vm.submitForm()" novalidate class="active-form col-md-8"> <p> You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your email address. <br><br> Please note that sometimes activation emails end up in users spam/junk folders, so please check there. <br><br> If you have not received it, please click the resend the Activation Email button below. </p> <button type="submit" class="btn btn-primary">Resend Activation Email</button> <div class="leftLink"> Still having problems? Please contact us at <a href="mailto:example@example.com">example@example.com</a> </div> </form> <div class="col-md-2"></div> </div> </div>'),a.put("main/activation/resetPassword/resetPassword.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".resetPassword-form"></ice-loader> <div class="container"> <div class="row"> <div class="col-md-2"></div> <form name="resetPasswordForm" ng-submit="vm.submitForm()" novalidate class="resetPassword-form col-md-8"> <div class="form-group" ng-class="{ \'has-error\' : resetPasswordForm.email.$invalid && !resetPasswordForm.email.$pristine }"> <label class="ice-form-label required">Email</label> <input type="email" name="email" class="form-control" ng-model="vm.data.email" maxlength="254" required> <div class="ice-form-error" data-ng-show="resetPasswordForm.email.$error"> <span ng-show="resetPasswordForm.email.$error.required && !resetPasswordForm.email.$pristine && ngReq">Email is a required field.</span> <span ng-show="resetPasswordForm.email.$invalid && !resetPasswordForm.email.$error.required && !resetPasswordForm.email.$pristine">Enter a valid email.</span> </div> </div> <button type="submit" class="btn btn-primary" data-ng-disabled="!resetPasswordForm.$valid">Send Instructions</button> <div class="leftLink"> Still having problems? Please contact <a ng-click="vm.sendMail()">example@example.com</a> </div> </form> <div class="col-md-2"></div> </div> </div>'),a.put("main/activation/terms/terms.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="container"> <p>SP Terms</p> </div>'),a.put("main/activation/updatePassword/updatePassword.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".updatePassword-form"></ice-loader> <div class="container"> <div class="row"> <div class="col-md-2"></div> <form name="updatePasswordForm" ng-submit="vm.submitForm()" novalidate class="updatePassword-form col-md-8"> <div class="form-group" ng-class="{ \'has-error\' : updatePasswordForm.password.$invalid && !updatePasswordForm.password.$pristine }"> <label class="ice-form-label">Password</label> <input type="password" name="password" class="form-control" ng-model="vm.data.password" maxlength="32" ng-minlength="4" required> <div class="ice-form-error" data-ng-show="updatePasswordForm.password.$error"> <span ng-show="updatePasswordForm.password.$error.required && !updatePasswordForm.password.$pristine && ngReq">Password is required field.</span> <span ng-show="updatePasswordForm.password.$error.minlength && ngReq">Password is too short.</span> <span ng-show="updatePasswordForm.password.$error.maxlength">Password is too long.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : updatePasswordForm.confirm_password.$invalid && !updatePasswordForm.confirm_password.$pristine }"> <label class="ice-form-label">Confirm password</label> <input type="password" name="confirm_password" class="form-control" ng-model="vm.data.confirm_password" maxlength="32" required> <div class="ice-form-error" data-ng-show="updatePasswordForm.confirm_password.$error"> <span ng-show="updatePasswordForm.confirm_password.$error.required && !updatePasswordForm.confirm_password.$pristine && ngReq">Confirm password is required field.</span> <span ng-show="!updatePasswordForm.confirm_password.$error.required && updatePasswordForm.confirm_password.$error.noMatch && updatePasswordForm.password.$dirty">Passwords do not match.</span> </div> </div> <button type="submit" class="btn btn-primary" data-ng-disabled="!updatePasswordForm.$valid">Update Password</button> <div class="leftLink"> Still having problems? Please contact <a ng-click="vm.sendMail()">example@example.com</a> </div> </form> <div class="col-md-2"></div> </div> </div>'),a.put("main/admin/checklist-template/checklist-template.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <form name="checklistTemplateForm" class="checklist-template" ng-show="vm.template"> <div id="cl-header" class="row"> <div class="col-sm-8 checklist-template-topic"> <h1 id="cl-title"> <span id="edit-template-btn" class="sprite edit-medium edit-checklist" ng-click="vm.switchElementInlineEditing(\'templateName\')"></span> <span class="template-topic">Master Checklist Template:</span> <span ng-if="!vm.inlineEditingElements[\'templateName\']" name="{{vm.template.name}}" class="template-name">{{vm.template.name}}</span> <span class="form-group" ng-class="{ \'has-error\' : checklistTemplateForm.editTemplateName.$invalid && checklistTemplateForm.editTemplateName.$dirty }"> <input ng-show="vm.inlineEditingElements[\'templateName\']" class="checklist-template-edit-item edit-template-name" type="text" name="editTemplateName" ng-blur="vm.switchElementInlineEditing(\'templateName\')" ng-model="vm.template.name" required ng-minlength="1" ng-maxlength="24"> <div class="ice-form-error" data-ng-show="checklistTemplateForm.editTemplateName.$error"> <span ng-show="checklistTemplateForm.editTemplateName.$error.required && checklistTemplateForm.editTemplateName.$dirty">Template name is a required field.</span> <span ng-show="checklistTemplateForm.editTemplateName.$error.minlength" class="help-block">Template name is too short.</span> <span ng-show="checklistTemplateForm.editTemplateName.$error.maxlength" class="help-block">Template name is too long.</span> </div> </span> </h1> <div class="topic-description"> Editing a master checklist template will affect all checklists currently created of that type and will also restart the validation for all active engagements. </div> </div> <span class="col-sm-4 cl-action-buttons-frame"> <div id="state-actions" class="row"> <div class="save-button col-md-6"><button class="btn btn-gradient-success" ng-click="vm.save() " data-ng-disabled="checklistTemplateForm.$invalid || vm.isSaveInvalid()" id="save-button">Save</button></div> <div class="col-md-6"><button id="state-actions-btn-reject" class="btn btn-gradient-danger" ng-click="vm.cancel()" id="cancel-button">Cancel</button></div> </div> </span> </div> <article class="row" ng-class="blocked-area" id="checklist-main-section"> <ul class="col-md-6" id="line-item-list"> <li data-ng-repeat="section in vm.template.sections"> <h2> <span class="section-topic">Section {{$index+1}}: </span><span ng-show="!vm.inlineEditingElements[section.$$hashKey]">{{section.name}}</span> <span class="form-group" ng-class="{ \'has-error\' : checklistTemplateForm.editSectionName{{$index}}.$invalid && checklistTemplateForm.editSectionName{{$index}}.$dirty }"> <input ng-show="vm.inlineEditingElements[section.$$hashKey]" id="edit-section-input-{{$index}}" class="checklist-template-edit-item edit-section-name" type="text" name="editSectionName{{$index}}" ng-blur="vm.switchElementInlineEditing(section.$$hashKey)" ng-model="section.name" required ng-minlength="1" ng-maxlength="64"> <span class="edit-checklist template-edit-item" id="edit-section-btn-{{$index}}" ng-click="vm.switchElementInlineEditing(section.$$hashKey)"></span> <span class="remove-item" ng-click="vm.deleteSection(section)"></span> <div class="ice-form-error" data-ng-show="checklistTemplateForm.editSectionName{{$index}}.$error"> <span ng-show="checklistTemplateForm.editSectionName{{$index}}.$error.required && checklistTemplateForm.editSectionName{{$index}}.$dirty">Section name is a required field.</span> <span ng-show="checklistTemplateForm.editSectionName{{$index}}.$error.minlength" class="help-block">Section name is too short.</span> <span ng-show="checklistTemplateForm.editSectionName{{$index}}.$error.maxlength" class="help-block">Section name is too long.</span> </div> </span> </h2> <ul> <li data-ng-repeat="lineItem in section.lineItems" class="line-item-row" ng-class="{\'selected-line\' : lineItem === vm.selectedLineItem}" id="select-lineitem-btn-{{$parent.$index}}.{{$index}}" ng-click="vm.selectLineItem(lineItem, section, $event)"> <span class="col-sm-2 col-xs-2 col-md-2"> <span class="lineitem-changed-icon" ng-show="vm.inlineEditingElements[lineItem.uuid] != undefined"></span> <span ng-class="vm.inlineEditingElements[lineItem.uuid] != undefined ? \'\' : \'lineitem-index\'"></span>{{$parent.$index+1}}.{{$index+1}} </span> <span class="col-sm-9 col-xs-9 col-md-9">{{lineItem.name}}</span> <div class="col-sm-1 col-xs-1 col-md-1">&nbsp;</div> <span class="selected-line-connector"></span> </li> <li class="cl-add-item-line"> <span class="add-button" ng-click="vm.addLineItem(section);" id="add-lineitem-btn"></span> <span>Add Another line item</span> </li> </ul> </li> </ul> <aside class="col-md-6" id="line-item-extended"> <header class="row"> <h2 ng-show="vm.selectedSection" class="col-sm-11 col-xs-11 col-md-11"><span class="bold">{{vm.selectedSection.name}} -</span> <span ng-show="!vm.inlineEditingElements[vm.selectedLineItem.uuid]">{{vm.selectedLineItem.name}}</span> <span class="form-group" ng-class="{ \'has-error\' : checklistTemplateForm.editLineItemName.$invalid && checklistTemplateForm.editLineItemName.$dirty }"> <input ng-show="vm.inlineEditingElements[vm.selectedLineItem.uuid]" class="checklist-template-edit-item edit-lineitem-name" type="text" name="editLineItemName" ng-model="vm.selectedLineItem.name" required ng-minlength="1" ng-maxlength="64" id="edit-line-item-name-input"> <div class="ice-form-error" data-ng-show="checklistTemplateForm.editLineItemName.$error"> <span ng-show="checklistTemplateForm.editLineItemName.$error.required && checklistTemplateForm.editLineItemName.$dirty">Line item name is a required field.</span> <span ng-show="checklistTemplateForm.editLineItemName.$error.minlength" class="help-block">Line item name is too short.</span> <span ng-show="checklistTemplateForm.editLineItemName.$error.maxlength" class="help-block">Line item name is too long.</span> </div> </span> </h2> <span ng-class="!vm.inlineEditingElements[vm.selectedLineItem.uuid] ? \'edit-checklist template-edit-item\' : \'glyphicon glyphicon-ok edit-checklist glyphicon-cursor-approve-changes\'" ng-show="!checklistTemplateForm.$invalid" ng-click="vm.switchElementInlineEditing(vm.selectedLineItem.uuid)" id="edit-lineitem-btn"></span> <span ng-show="vm.selectedLineItem" class="remove-item" ng-click="vm.deleteLineItem(vm.selectedLineItem)" id="delete-lineitem-btn"></span> </header> <section ng-show="!vm.inlineEditingElements[vm.selectedLineItem.uuid]" id="line-item-description" ng-bind-html="vm.selectedLineItem.description | htmlspecialchars | htmlstylespan"></section> <span class="form-group" ng-class="{ \'has-error\' : checklistTemplateForm.editLineitemDescription.$invalid && checklistTemplateForm.editLineitemDescription.$dirty }"> <wysiwyg textarea-id="edit-lineitem-description" ng-show="vm.inlineEditingElements[vm.selectedLineItem.uuid]" textarea-class="form-control" textarea-name="editLineitemDescriptionTextArea" name="editLineitemDescription" textarea-height="160px" ng-model="vm.selectedLineItem.description" class="ice-wysiwyg checklist-template-edit-item edit-lineitem-description" enable-bootstrap-title="true" textarea-menu="vm.wysiwyg_menu" required textarea-required="True" ng-minlength="1" id="edit-lineitem-description-input"> </wysiwyg> <div class="ice-form-error" data-ng-show="checklistTemplateForm.editLineitemDescription.$error"> <span ng-show="checklistTemplateForm.editLineitemDescription.$error.required && checklistTemplateForm.editLineitemDescription.$dirty">Line item description is a required field.</span> <span ng-show="checklistTemplateForm.editLineitemDescription.$error.minlength" class="help-block">Line item description is too short.</span> <span ng-show="checklistTemplateForm.editLineitemDescription.$error.maxlength" class="help-block">Line item description is too long.</span> </div> </span> <section ng-show="vm.selectedLineItem" id="line-item-validation-instructions"> <h3>Validation Instructions</h3> <p ng-if="!vm.inlineEditingElements[vm.selectedLineItem.uuid]" ng-bind-html="vm.selectedLineItem.validation_instructions | htmlspecialchars | htmlstylespan"></p> <span class="form-group" ng-class="{ \'has-error\' : checklistTemplateForm.validationInstruction.$invalid && checklistTemplateForm.validationInstruction.$dirty }"> <wysiwyg textarea-id="validation-instruction" ng-show="vm.inlineEditingElements[vm.selectedLineItem.uuid]" textarea-class="form-control" textarea-name="validationInstructionTextArea" name="validationInstruction" textarea-height="160px" ng-model="vm.selectedLineItem.validation_instructions" class="ice-wysiwyg" enable-bootstrap-title="true" textarea-menu="vm.wysiwyg_menu" required textarea-required="True" ng-minlength="1"> </wysiwyg> <div class="ice-form-error" data-ng-show="checklistTemplateForm.validationInstruction.$error"> <span ng-show="checklistTemplateForm.validationInstruction.$error.required && checklistTemplateForm.validationInstruction.$dirty">Validation Instructions is a required field.</span> </div> </span> </section> <header class="row" ng-show="!vm.selectedLineItem"> <h2 class="col-sm-8 col-xs-8 col-md-8"><span class="bold">There is no line item to display</span> </h2> </header> </aside> </article> </form> <div class="another-section" ng-show="vm.template"> <span class="add-another-section" ng-click="vm.addSection()"></span> <span>Add Another Section</span> </div>'),a.put("main/dashboard/account/account.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".account-form"></ice-loader> <h2>Account</h2> <div data-ng-if="vm.stage!==vm.stages.intake"> <progress-directive progress="{{vm.progress}}" callback="vm.updateProgress" enable-edit="vm.isEngagementEL()" engagement-uuid="{{vm.uuid}}"></progress-directive> </div> <!--div class="row main-section" --> <div class="row main-section"> <get-started-modal></get-started-modal> <div class="col-md-8 steps"> <form name="accountForm" ng-submit="vm.submitForm()" novalidate class="account-form col-md-8"> <!--\n <div class="form-group">\n <h2>Account</h2>\n </div>\n --> <div class="form-group" ng-class="{ \'has-error\' : registerForm.company.$invalid && !registerForm.company.$pristine }"> <label class="ice-form-label required">Company</label> <select ng-model="vm.data.company" name="company" class="form-control" required> <option value>Please Select</option> <option ng-repeat="company in vm.companies" value="{{company.name}}" ng-selected="company.name===vm.data.company"> {{company.name}} </option> </select> <div class="ice-form-error" data-ng-show="accountForm.company.$error"> <span ng-show="accountForm.company.$error.required && !accountForm.company.$pristine" class="help-block">Please select company</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : accountForm.fullName.$invalid && !accountForm.fullName.$pristine }"> <label class="ice-form-label required">Full Name</label> <input type="text" name="fullname" class="form-control" ng-model="vm.data.full_name" ng-minlength="3" ng-maxlength="50" maxlength="50" required> <div class="ice-form-error" data-ng-show="accountForm.fullname.$error"> <span ng-show="accountForm.fullname.$error.required && !accountForm.fullname.$pristine">Full Name is a required field.</span> <span ng-show="accountForm.fullname.$error.minlength">Full Name is too short.</span> <span ng-show="accountForm.fullname.$error.maxlength">Full Name is too long.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : accountForm.email.$invalid && !accountForm.email.$pristine }"> <label class="ice-form-label">Email</label> <input id="{{vm.data.email}}" type="email" name="email" class="form-control" ng-model="vm.data.email" maxlength="254" ng-pattern="/^(([^<>()\\[\\]\\\\.,;:\\s@&quot;]+(\\.[^<>()\\[\\]\\\\.,;:\\s@&quot;]+)*)|(&quot;.+&quot;))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/" disabled> <div class="ice-form-error" data-ng-show="accountForm.email.$error"> <span ng-show="accountForm.email.$error.required && !accountForm.email.$pristine">Email is a required field.</span> <span ng-show="accountForm.email.$invalid && !accountForm.email.$pristine" class="help-block">Enter a valid email.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : accountForm.phone.$invalid && !accountForm.phone.$pristine }"> <label class="ice-form-label required">Phone</label> <input type="text" name="phone" class="form-control" ng-intl-tel-input ng-model="vm.data.phone_number" required ng-minlength="6" ng-maxlength="30"> <div class="has-error ice-form-error" data-ng-show="accountForm.phone.$error"> <span ng-show="accountForm.phone.$error.required && !accountForm.phone.$pristine">Phone is a required field.</span> <span ng-show="accountForm.phone.$error.minlength" class="help-block">Phone is too short.</span> <span ng-show="accountForm.phone.$error.maxlength" class="help-block">Phone is too long.</span> <span ng-show="accountForm.phone.$invalid" class="help-block">Phone format invalid</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : accountForm.password.$invalid && !accountForm.password.$pristine }"> <label class="ice-form-label">Password</label> <input type="password" name="password" class="form-control" ng-model="vm.data.password" ng-minlength="4" ng-maxlength="32" maxlength="32"> <div class="ice-form-error" data-ng-show="accountForm.password.$error"> <span ng-show="accountForm.password.$error.required && !accountForm.password.$pristine">Password is a required field.</span> <span ng-show="accountForm.password.$error.required && accountForm.$submitted ">Password is required.</span> <span ng-show="accountForm.password.$error.minlength" class="help-block">Password is too short.</span> <span ng-show="accountForm.password.$error.maxlength" class="help-block">Password is too long.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : accountForm.confirm_password.$invalid && !accountForm.confirm_password.$pristine }"> <label class="ice-form-label">Confirm password</label> <input type="password" name="confirm_password" class="form-control" ng-model="vm.data.confirm_password" ng-minlength="4" ng-maxlength="32" maxlength="32"> <div class="ice-form-error" data-ng-show="accountForm.confirm_password.$error"> <span ng-show="accountForm.confirm_password.$error.required && !accountForm.confirm_password.$pristine">Confirm password is required field.</span> <span ng-show="!accountForm.confirm_password.$error.required && accountForm.confirm_password.$error.noMatch && accountForm.password.$dirty">Passwords do not match.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : accountForm.password.$invalid && !accountForm.password.$pristine }"> <label class="ice-form-label">SSH Key</label> <textarea name="ssh_key" class="form-control" ng-model="vm.data.ssh_key" ng-focus="clearMsg()"></textarea> <div class="ice-form-error" data-ng-show="accountForm.password.$error"> </div> </div> <button type="submit" id="upate-account" class="btn btn-primary" data-ng-disabled="!accountForm.$valid">Update</button> </form> </div> <div class="col-md-4 right-panel"> <div class="personImage"></div> <div class="line-separator col-md-12"></div> <h3 id="storage-credentials">Your Storage Credentials</h3> <div class="storage-credentials"> <div id="access-key-title">Access Key: <div class="access-key" id="access-key-value">{{vm.data.access_key}}</div> </div> <div id="access-secret-title">Access Secret (<span class="show-secret" ng-click="vm.getAccessSecret()" role="button" id="show-access-secret">Show</span>) <div class="access-secret" id="access-secret-value" type="password">{{vm.data.access_secret}}</div> </div> </div> </div> </div> '),
+a.put("main/dashboard/account/notifications/notifications.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".account-form"></ice-loader> <div class="row"> <div class="col-md-12" id="notifications"> <h2>Notifications</h2> </div> <div class="col-md-12"> <form name="notificationsForm" novalidate class="notifications-form"> <content class="row col-md-12" id="notifications-results"> <div class="row hoverCyan" dir-paginate="notification in vm.notifications_display_list | itemsPerPage: vm.pagination_num_of_objects" total-items="vm.num_of_returned_items" current-page="vm.page_num" ng-class="{lineColor: ($index % 2 == 0),boldFont: !notification.is_read}" track by notification.uuid> <div class="electricity col-md-1"></div> <div class="col-md-10" id="table-col-{{notification.uuid}}"><notifications activity="notification.activity"></notifications></div> <div class="col-md-1"><span class="delete" id="del-notification-{{notification.uuid}}" ng-click="vm.delNotification(notification.uuid)"></span></div> </div> </content></form></div> <dir-pagination-controls on-page-change="vm.getNotifications(false)" class="col-md-12" id="notifications-pagination"></dir-pagination-controls> </div> '),a.put("main/dashboard/account/user-profile-settings/user-profile-settings.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".user-profile-settings-form"></ice-loader> <h2 id="user-profile-settings-title">Settings</h2> <form name="userProfileSettingsForm" ng-submit="vm.submitForm()" novalidate class="user-profile-settings-form col-md-6"> <div class="form-check"> <label class="form-check-label"> <input class="form-check-input" id="receive-emails" ng-model="vm.receiveEmails" type="checkbox"> I want to receive regular email updates and information from {{\'program.name\' | i18next}} </label> </div> <hr> <div class="form-check"> <label class="form-check-label"> <input class="form-check-input" id="receive-notifications" ng-model="vm.receiveNotifications" ng-click="vm.changeReceiveNotifications()" type="checkbox"> I want to receive email notifications when something happens on {{\'program.name\' | i18next}} </label> <div class="receive-email-options"> <div class="form-check"> <label class="form-check-label"> <input class="form-check-input" id="receive-emails-every-time" ng-model="vm.receiveEmailsEveryTime" ng-disabled="!vm.receiveNotifications" type="checkbox"> I want to receive an email every time </label> </div> <div class="form-check"> <label class="form-check-label"> <input class="form-check-input" id="receive-digest-emails" ng-model="vm.receiveDigestEmails" ng-disabled="!vm.receiveNotifications" type="checkbox"> I want to receive a daily digest email </label> </div> </div> </div> <button type="submit" id="update-account-user-profile-settings" class="btn btn-primary" data-ng-disabled="userProfileSettingsForm.$invalid">Update</button> </form>'),a.put("main/dashboard/checklist/checklist.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="checkList" ng-disabled="true" ng-if="vm.data != false"> <section id="state-bar" class="row"> <ul class="nav nav-justified col-md-12"> <li ng-attr-id="{{ vm.data.checklist.state.replace(\'_\',\' \') == state ? \'state\'+\'_\'+vm.data.checklist.name : \'\'}}" ng-class="{\'active\' : vm.data.checklist.state.replace(\'_\',\' \') == state}" data-ng-repeat="state in vm.data.states"> <span class="state-icon sprite {{state.replace(\' \',\'_\')}}-state"></span>{{$index + 1}}. {{state}} </li> </ul> </section> <header class="row" id="cl-header"> <!-- start of header --> <h1 class="col-sm-12 col-xs-12 col-md-6" id="cl-title"> <!-- start of title --> <span id="edit-checklist" class="sprite edit-medium" ng-if="vm.data.checklist.state != \'closed\' && !vm.is_peer_reviewer" ng-click="vm.editChecklist()"></span> <span class="bold">Checklist:</span> <span id="cl-name-id">{{vm.data.checklist.name}}</span> </h1> <!-- end of title --> <div class="cl-action-buttons-frame col-sm-12 col-xs-12 col-md-6"> <div ng-if="vm.data.checklist.state != \'closed\'" id="state-actions" class=""> <button class="btn btn-gradient-success" ng-if="vm.data.checklist.state != \'pending\' && vm.data.checklist.state != \'automation\' && (vm.data.checklist.state == \'pending\' || vm.is_able_to_approve)" ng-click="vm.stateAction(\'approve\')"> {{vm.data.checklist.state == \'pending\' ? \'Automate\' : vm.data.checklist.state == \'handoff\' ? \'Handoff complete?\' : \'Approve\'}} </button> <button id="state-actions-btn-reject" class="btn btn-gradient-danger" ng-if="vm.has_files && vm.data.checklist.state != \'handoff\' && vm.data.checklist.state != \'pending\' && vm.data.checklist.state != \'automation\'" ng-click="vm.stateAction(\'reject\')">Reject</button> <button id="state-actions-btn-add-next-steps" class="btn btn-gradient-primary" ng-if="vm.data.checklist.state != \'handoff\' && vm.data.checklist.state != \'pending\'" ng-click="vm.stateAction(\'next_step\')">Add Next Steps</button> </div> <ul class="" id="cl-side-actions"> <!-- start of side actions --> <li><span id="audit-log" ng-click="vm.auditLog()">Audit Log ({{vm.data.checklistAuditLogs.length}})</span></li> <li><span id="jenkins-log" ng-click="vm.openJenkinsLogModal()">Jenkins Log</span></li> </ul> </div> </header> <article class="row" ng-class="{\'blocked-area\' : vm.data.checklist.state == \'pending\' || vm.data.checklist.state == \'automation\' }" id="checklist-main-section"> <ul class="col-md-6" id="line-item-list"> <!-- start of line item list --> <li data-ng-repeat="section in vm.data.checklistDecisions | toArray:false"><h2><span class="bold">Section {{section.counter}}:</span> {{section.section.name}}</h2> <!-- start of section --> <ul> <li data-ng-repeat="decision in section.decisions | toArray:false" class="line-item-row" ng-class="{\'selected-line\' : decision.selected }" ng-click="vm.selectDecision(decision,$event)"> <!-- start if line item row --> <span class="col-sm-2 col-xs-2 col-md-2 value-icon"><span ng-class="decision.view_value_css" id="{{decision.uuid}}_{{decision.view_value}}"></span>{{decision.counter}}</span> <span class="col-sm-9 col-xs-9 col-md-9" ng-class="decision.lineitem.line_type" name="{{decision.lineitem.name}}">{{decision.lineitem.name}}</span> <span class="col-sm-1 col-xs-1 col-md-1 auto-icon"><span ng-class="decision.auto_icon_css"></span></span> <span class="selected-line-connector"></span> </li> <!-- end of line item row --> </ul> </li> <!-- end of section --> </ul> <!-- end of line item list --> <aside class="col-md-6" id="line-item-extended"> <!-- start of line item extended view --> <header class="row"> <!-- start of line-item extended header --> <h2 class="col-sm-8 col-xs-8 col-md-8"><span class="bold">{{vm.selected_decision.counter}} -</span> {{vm.selected_decision.lineitem.name}}</h2> <ul class="col-sm-4 col-xs-4 col-md-4" ng-if="(vm.data.checklist.state == \'review\' || vm.data.checklist.state == \'peer_review\' ) &&\n vm.selected_decision.lineitem.line_type == \'manual\'" ng-class="{\'active\' : vm.selected_decision.lineitem.line_type == \'manual\'}" id="decision-actions"> <li class="not-relevant-btn" ng-class="{\'active\' : vm.selected_decision[\'selected-value\'] == \'not_relevant\'}" ng-click="vm.selected_decision.lineitem.line_type == \'manual\' && vm.setDecision(vm.selected_decision,\'not_relevant\')"></li> <li class="denied-cl-btn" ng-class="{\'active\' : vm.selected_decision[\'selected-value\'] == \'denied\'}" ng-click="vm.selected_decision.lineitem.line_type == \'manual\' && vm.setDecision(vm.selected_decision,\'denied\')"></li> <li class="approved-cl-btn" ng-class="{\'active\' : vm.selected_decision[\'selected-value\'] == \'approved\'}" ng-click="vm.selected_decision.lineitem.line_type == \'manual\' && vm.setDecision(vm.selected_decision,\'approved\')"></li> </ul> </header> <!-- end of line-item extended header --> <section id="line-item-description" ng-bind-html="vm.selected_decision.lineitem.description | htmlspecialchars | htmlstylespan"></section> <section id="line-item-validation-instructions"> <h3>Validation Instructions</h3> <p ng-bind-html="vm.selected_decision.lineitem.validation_instructions | htmlspecialchars"></p> </section> <section id="line-item-audit-logs" class="row"> <!-- start of line item audit logs --> <h3 class="col-md-12">audit logs</h3> <ul id="audit-log-list" class="col-md-12"> <!-- start of audit log list- --> <li class="row" ng-repeat="auditlog in vm.data.decisionAuditLogs[vm.selected_decision.uuid] | orderBy:\'create_time\'"> <h4 class="col-md-6 audit-creator">{{auditlog.creator.full_name}}</h4><span class="col-md-6 audit-date">{{vm.formatDate(auditlog.create_time)}}</span> <p id="line-item-audit-log-{{$index}}" class="col-md-12 audit-text">{{auditlog.description}}</p> </li> </ul> <!-- end of audit log list --> <form name="checklistAuditLog" id="new-audit-log-from" ng-submit="vm.submitDecisionAuditLog()" novalidate class="row col-md-12"> <!-- start of new audit log form --> <textarea name="TextBox" class="col-sm-12 col-xs-12 col-md-12" ng-model="vm.selected_decision.new_audit_log_description" id="new-audit-log-text" ng-trim="false" required></textarea> <div data-ng-show="checklistAuditLog.TextBox.$error" class="ice-form-error"> <span ng-show="checklistAuditLog.TextBox.$error.pattern">Inserted text should not include any special chars such as: \\%_* ."</span> </div> <button type="submit" class="col-sm-12 col-xs-12 col-md-12 btn btn-gradient-primary" id="submit-new-audit-lop-text">Add Log Entry</button> </form> <!-- end of new audit log form --> </section> <!-- end of line item audit logs --> </aside> <!-- end of line item extended view --> </article> <!-- end of line item --> </div>'),a.put("main/dashboard/dashboard/dashboard.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="dashboard-view row"> <div class="col-md-8" id="dashboard-main-panel"> <header class="row col-md-12" id="dashboard-header"> <h1 class="col-md-4" id="dashboard-title">Statuses</h1> <span class="col-md-8 search-filters"> Stage <select id="search-filter-stage" class="form-control search-filter-stage" ng-model="vm.search_stage" ng-change="vm.onStageChange()" ng-options="stage for stage in vm.stages "> <option value="all" selected>All</option> <option value="Intake">Intake</option> <option value="Active">Active</option> <option value="3">3</option> </select> <input type="text" id="search-filter-keyword" ng-model="vm.search_keyword" ng-model-options="{ debounce: 150 }" placeholder="Search by EID, VF or VFC" class="form-control" ng-change="vm.onKeywordChange()"> </span> </header> <content class="row col-md-12" id="search-results"> <div class="col-md-12 progress-bar-row" dir-paginate="engagement in vm.vf_display_list | itemsPerPage: vm.pagination_num_of_objects" total-items="vm.num_of_returned_items" current-page="vm.page_num" track by engagement.engagement__uuid> <progress-directive progress="{{engagement.engagement__progress}}" enable-edit="false" data="engagement.progress_needed_data" statuses="true" enable-refresh="false"> </progress-directive> </div> <span class="col-md-12" id="export-to-csv" ng-click="vm.exportEngagementCSV()">Export to Excel >></span> <dir-pagination-controls on-page-change="vm.searchEngagements()" class="col-md-12" id="engagements-pagination"></dir-pagination-controls> </content> </div> <aside class="col-md-4" id="dashboard-side-panel"> <div class="col-md-12" id="assgined-nextsteps"> <div id="next-steps-header">Assigned To You ({{vm.userNextStepsCount}})</div> <ul id="next-steps-list"> <h4 class="engagement-title" ng-if="vm.userNextSteps.length == 0">No next steps are assigned to you.</h4> <li data-ng-repeat="step in vm.userNextSteps | orderBy: \'due_date\'" class="next-step-details"> <div class="next-step-details-header row"> <h2 class="engagement-title col-md-8" name="{{step.engagement_manual_id}}" ng-click="vm.goToEngagement(step.engagement_uuid)">Engagement - <span class="engagement-name">{{step.engagement_manual_id}}: {{step.vf_name}}</span></h2> <span class="due-date col-md-4"> <i class="fa fa-clock-o"></i> <span class="due-date-icon" name="duedate-{{step.due_date}}"></span>{{step.due_date | date2: \'EEEE MMMM doo yyyy\'}} </span> </div> <p class="next-step-description" name="description-{{step.engagement_manual_id}}" ng-bind-html="step.description | htmlspecialchars"></p> <span class="next-step-creation" name="creator-full-name-{{step.creator_full_name}}">Added at {{step.create_time | date2: \'EEEE MMMM doo yyyy\'}} by {{step.creator_full_name}}</span> </li> </ul> </div> <div class="line-seperator col-md-12" data-ng-if="vm.isEngagmentEL || vm.isAdmin || vm.isAdminRo"></div> <div class="col-md-12" data-ng-if="vm.isEngagmentEL || vm.isAdmin || vm.isAdminRo" id="statistics"> <div id="statistics-header" class="row"> <h2 class="col-md-4">Statistics</h2> <span class="col-md-8 search-filters"> Stage <select class="search-filter-stage" ng-model="vm.statistic_stage_filter" ng-change="vm.request_statistics_data()" ng-options="stage for stage in vm.stages "></select> </span> </div> <div id="statistics-list" class="row"> <span class="col-md-8 statistic-name">Validations</span><span class="col-md-4 statistic-count" id="id-validations-num">{{vm.vfc_num}}</span> <span class="col-md-8 statistic-name">Engagements</span><span class="col-md-4 statistic-count" id="id-engagements-num">{{vm.eng_num}}</span> </div> </div> <div class="line-seperator col-md-12"></div> <ice-news-and-announcement limit="5" show-description="true"></ice-news-and-announcement> </aside> </div>'),a.put("main/dashboard/detailed-view/detailed-view.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div id="detailed-view"> <div class="row"> <h1><span class="bold">{{vm.engagement_manual_id + \': \'}}</span>{{vm.vf_name}} </h1> </div> <div class="vfc-main-section row"> <div class="col-xs-4 col-md-4 vfc-steps"> <div id="validation-details"> <div id="validation-details-header"> <span id="vd-title">Validation Details</span><span class="add-vdetails"></span> <i class="edit-target-completion fa fa-pencil-square-o" id="update-validation-details" ng-click="vm.editValidationDetails()" class="add-vdetails"></i> </div> <div id="validation-details-content"> <div> <div class="line ecomp_release_field" ng-if="!vm.is_ecomp_edit_mode"><span id="ecomp-release-headline">ECOMP Release:</span> <span id="ecomp_version_{{vm.ecomp_release.name}}">{{vm.ecomp_release.name}}</span></div> </div> <div> <div class="line dtversion_field" ng-if="vm.is_aic_edit_mode === false"><span id="target-aic-version-headline">Target AIC Version:</span><span id="aic_version_{{vm.dtversion.version}}">{{vm.dtversion.version}}</span></div> </div> <div> <div class="line dtversion_field" ng-if="vm.is_aic_edit_mode === false"><span id="vf-version-headline">VF Version: </span> <span id="vf_version_{{vm.vf_version}}">{{vm.vf_version}}</span></div> </div> </div> </div> <div id="target-lab-entry"> <div id="target-lab-entry-header"> <span>Target Lab Entry</span> <i class="edit-target-completion fa fa-pencil-square-o" id="change-lab-entry-date" data-ng-click="vm.changeTargetLabEntry()" aria-hidden="true"></i> </div> <div id="target-lab-entry-content"> <h4 class="target-lab-entry-content">{{vm.target_lab | date:\'shortDate\'}}</h4> </div> </div> <div id="deployment-targets"> <div id="deployment-targets-header"> <span>Deployment Targets </span><span ng-click="vm.addDTS()" class="add-vfc"></span> <i class="edit-target-completion fa fa-pencil-square-o" id="add-dt" ng-show="vm.isEngagementEL || vm.isAdmin" ng-click="vm.addDTS()" class="add-vfc" aria-hidden="true"></i> </div> <div id="deployment-targets-content"> <ul> <li class="step row" data-ng-repeat="dts in vm.dtsites track by dts.uuid" ng-mouseover="hoverEdit = true" ng-mouseleave="hoverEdit = false"> <span id="visible-dts-{{dts.name}}" class="col-md-10">{{dts.name}}</span> <span class="remove-button col-md-2" ng-if="vm.dtsites.length > 0" ng-click="vm.deleteDTSite(vm.vf.uuid, dts.uuid)"> <span ng-show="hoverEdit"><span id="remove-dts-{{dts.uuid}}" class="remove-icon"></span></span> </span> </li> </ul> </div> </div> </div> <div class="col-xs-4 col-md-4 vfc-column"> <div id="virtual-function-components" ng-if="vm.isEngagementEL || vm.isAdmin"> <div id="virtual-function-header"> <span>Virtual Function Components </span><span id="virtual-vfc" ng-click="vm.addVfc()" class="add-vfc"></span> <i class="edit-target-completion fa fa-pencil-square-o" ng-show="vm.isEngagementEL || vm.isAdmin" id="add-vfc" ng-if="vm.isEngagementEL || vm.isAdmin" ng-click="vm.addVfc()" class="add-vfc"></i> </div> <div id="virtual-function-content"> <ul> <li class="step row" data-ng-repeat="vfc in vm.vfcs track by vfc.uuid" ng-mouseover="hoverEdit = true" ng-mouseleave="hoverEdit = false"> <span id="visible-dts-{{vfc.name}}" class="col-md-10"> {{vfc.name +\' (\' + vfc.external_ref_id + \')\'}} </span> <span class="remove-button col-md-2" ng-if="vm.vfcs.length > 0 && (vm.isEngagementEL || vm.isAdmin)" ng-click="vm.deleteVfc(vfc.uuid)"> <span ng-show="hoverEdit"><span id="remove-vfc-{{vfc.uuid}}" class="remove-icon"></span></span> </span> </li> </ul> </div> </div> </div> </div> </div>'),a.put("main/dashboard/get-started-modal/get-started-modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.-->'),a.put("main/dashboard/get-started-modal/wizard/wizard-container.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-toast is-modal="true"></ice-toast> <div class="getting-started-wizard"> <ice-loader selector=".modal-content"></ice-loader> <div class="modal-header"> <h2 name="{{wizard.title}}" class="modal-title">{{wizard.title}}</h2> <ul class="step-indication" ng-if="wizard.steps.length > 1"> <li ng-repeat="step in wizard.steps" ng-class="{selected: step.completed}">{{$index + 1}}</li> </ul> <button id="close-wizard-button" type="button" ng-click="wizard.closeWizard()" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">&times;</span></button> </div> <div class="modal-body"> <div ng-switch="wizard.getCurrentStep()" class="slide-frame"> <div ng-switch-when="addVF"> <add-vf is-modal="true"></add-vf> </div> <div ng-switch-when="addContact"> <div> Please take a couple of moments to provide some additional details around your virtual function to get the process started. Do note that you can exit this wizard at any time to complete these items. </div> <form name="addContactForm" ng-submit="wizard.onAddContactSubmit()" novalidate class="addVendorContact-form col-md-12"> <div class="form-group" ng-if="wizard.currentStep.mode === \'vendor\'" ng-class="{ \'has-error\' : addContactForm.company.$invalid && !addContactForm.company.$pristine }"> <label class="ice-form-label required">Company</label> <select style="width:100%" name="company" ng-model="wizard.data.addContact.company" ng-options="company.uuid as company.name for company in wizard.companies track by company.uuid" class="form-control" ng-required="wizard.currentStep.mode === \'vendor\'"></select> <div class="ice-form-error" data-ng-show="addContactForm.company.$error"> <span ng-show="addContactForm.company.$error.required && !addContactForm.company.$pristine" class="help-block">Please select a company</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : addContactForm.fullName.$invalid && !addContactForm.fullName.$pristine }"> <label class="ice-form-label required">Full Name</label> <input type="text" name="fullname" class="form-control" ng-model="wizard.data.addContact.full_name" ng-minlength="3" ng-maxlength="50" maxlength="50" required> <div class="ice-form-error" data-ng-show="addContactForm.fullname.$error"> <span ng-show="addContactForm.fullname.$error.required && !addContactForm.fullname.$pristine">Full Name is a required field.</span> <span ng-show="addContactForm.fullname.$error.minlength">Full Name is too short.</span> <span ng-show="addContactForm.fullname.$error.maxlength">Full Name is too long.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : addContactForm.email.$invalid && !addContactForm.email.$pristine }"> <label class="ice-form-label required">Email</label> <input type="email" name="email" class="form-control" ng-model="wizard.data.addContact.email" ng-pattern="/^(([^<>()\\[\\]\\\\.,;:\\s@&quot;]+(\\.[^<>()\\[\\]\\\\.,;:\\s@&quot;]+)*)|(&quot;.+&quot;))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/" maxlength="254" required> <div class="ice-form-error" data-ng-show="addContactForm.email.$error"> <span ng-show="addContactForm.email.$error.required && !addContactForm.email.$pristine">Email is a required field.</span> <span ng-show="addContactForm.email.$invalid && !addContactForm.email.$pristine" class="help-block">Enter a valid email.</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : addContactForm.phone.$invalid && !addContactForm.phone.$pristine }"> <label class="ice-form-label required">Phone</label> <input type="text" name="phone" class="form-control" ng-intl-tel-input ng-model="wizard.data.addContact.phone_number" required ng-minlength="6" ng-maxlength="30"> <div class="ice-form-error" data-ng-show="addContactForm.phone.$error"> <span ng-show="addContactForm.phone.$error.required && !addContactForm.phone.$pristine">Phone is a required field.</span> <span ng-show="addContactForm.phone.$error.minlength" class="help-block">Phone is too short.</span> <span ng-show="addContactForm.phone.$error.maxlength" class="help-block">Phone is too long.</span> <span ng-show="addContactForm.phone.$error.pattern" class="help-block">Phone must consist of numbers only.</span> <span ng-show="addContactForm.phone.$invalid" class="help-block">Phone format invalid</span> </div> </div> <button class="btn btn-primary" type="submit" data-ng-disabled="!addContactForm.$valid"> {{wizard.currentStep.submitButton}} </button> </form> </div> <div ng-switch-when="inviteMembers"> <div> You can invite up to 10 team members at a time to collaborate around your virtual function as you would like. Please do remember that <em>anyone</em> who is invited to collaborate around the virtual function will have equal access. </div> <form name="inviteMembersForm" ng-submit="wizard.onInviteSubmit()" novalidate class="inviteMembers-form col-md-12"> <div> <fieldset data-ng-repeat="choice in wizard.inviteMembers.choices|limitTo:10"> <div id="containera" class="input-wrapper"><input type="email" name="email" class="form-control" ng-model="choice.email" maxlength="50" class="form-control" ng-pattern="/^(([^<>()\\[\\]\\\\.,;:\\s@&quot;]+(\\.[^<>()\\[\\]\\\\.,;:\\s@&quot;]+)*)|(&quot;.+&quot;))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/" required></div> <div class="ice-form-error" data-ng-show="inviteMembersForm.email.$error"> <span ng-show="inviteMembersForm.email.$error.required && !inviteMembersForm.email.$pristine">Email is a required field.</span> <span ng-show="inviteMembersForm.email.$invalid && !inviteMembersForm.email.$pristine" class="help-block">Enter a valid email.</span> </div> <div class="remove-button" ng-click="wizard.removeChoice()" ng-show="$last"><span class="remove-icon"></span>Remove</div> </fieldset> </div> <a ng-if="wizard.inviteMembers.choices.length < 10" class="add-button" ng-click="wizard.addNewChoice()"> <span class="add-icon"></span> <span class="add-text">Invite another team member</span> </a> <button type="submit" class="btn btn-primary" data-ng-disabled="!inviteMembersForm.$valid">Send invitations </button> </form> </div> <div ng-switch-when="addSSH"> <div> It looks like you have not yet added your SSH key to your profile. You can add one now. Please do remember that only team members who have added SSH keys to their profile can add files. </div> <form name="addSSHForm" ng-submit="wizard.onAddSSHSubmit()" novalidate class="addSsh-form col-md-12"> <div class="form-group" ng-class="{ \'has-error\' : addSSHForm.key.$invalid && !addSSHForm.key.$pristine }"> <label class="ice-form-label required">SSH Key</label> <textarea type="text" name="key" class="form-control" ng-model="wizard.data.addSSH.ssh_key" ng-minlength="3" ng-maxlength="2048" required></textarea> <div class="ice-form-error" data-ng-show="addSSHForm.key.$error"> <span ng-show="addSSHForm.key.$error.required && !addSSHForm.key.$pristine" class="help-block">Please enter your SSH key</span> </div> </div> <button class="btn btn-primary" data-ng-disabled="!addSSHForm.$valid" type="submit">Add SSH Key</button> </form> </div> </div> </div> <div class="modal-footer"> </div> </div>'),
+a.put("main/dashboard/main/main.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="row main-wrapper"> <ice-loader selector=".steps"></ice-loader> <ice-loader selector=".activity-log"></ice-loader> <div class="row"> <div class="col-md-8"> <span id="star-engagement-action_{{vm.name}}" class="sprite starred" ng-class="vm.starred == true ? \'is_starred\' : \'not_starred\'" ng-click="vm.starEngagement()"></span> <h1>{{vm.name}}</h1> </div> <span class="col-md-8 git-repo-url" ng-if="vm.git_repo_url && vm.stage!=vm.stages.intake"><b>GIT:</b>&nbsp;{{vm.git_repo_url}}</span> </div> <step-stages-directive stage="vm.stage" eng-name="{{vm.vf_name}}" reviewer="{{vm.reviewer_uuid}}" stage-num="vm.stage_num" eng-uuid="{{vm.uuid}}"></step-stages-directive> <div data-ng-if="vm.stage!=vm.stages.intake"> <progress-directive progress="{{vm.progress}}" vf="{{vm.vf}}" callback="vm.updateProgress" enable-edit="vm.isEngagementEL || vm.isAdmin" completion-date="{{vm.completion_date}}" engagement-uuid="{{vm.uuid}}"></progress-directive> </div> <div class="row main-section"> <div class="col-md-8 steps"> <div class="row steps-header"> <h2 class="col-md-6">Next Steps<span data-ng-if="vm.isEngagementEL || vm.isAdmin" id="add-next-step-button" class="add-step" data-ng-click="vm.addStep()"></span></h2> <span class="col-md-6 filter-wrapper row"> <span>Files<multiselect id="selected-file-filter-dropdown" class="state-filter" ng-model="vm.chosen_files_filter" options="item for item in vm.files_filter_options" data-multiple="true" scroll-after-rows="5" filter-after-rows="5" ng-change="vm.is_all_files()" ms-header="Select files" tabindex="-1"> </multiselect></span> <span>States<multiselect class="state-filter" ng-model="vm.selected_state_filter" options="item for item in vm.states_select" id="selected-state-filter-dropdown" data-multiple="true" scroll-after-rows="5" filter-after-rows="5" ng-change="vm.update_next_steps_choice()" ms-header="Select states" tabindex="-1"> </multiselect></span> </span> </div> <ul class="step-indication"> <li class="step" data-ng-repeat="step in vm.steps | orderBy: \'due_date\' as filtered_result track by step.uuid" ng-if="vm.is_match_both_filters(step)"> <div class="step-wrapper row" id="step-{{step.uuid}}" data-ng-class="{\'completed\': vm.states.completed==step.state && !vm.isEngagementEL, \'confirmed\': vm.states.confirmed==step.state}"> <aside class="next-step-actions" data-ng-if="vm.isEngagementEL || vm.isAdmin"> <span class="moveto-confirmed" data-ng-if="vm.states.confirmed != step.state && vm.states.completed==step.state" title="Confirm" data-ng-click="vm.updateStep(step.uuid,vm.states.confirmed)" id="confirmed_{{step.uuid}}"></span> <span class="moveto-todo" data-ng-if="vm.states.confirmed!=step.state && vm.states.todo!=step.state" title="Deny" data-ng-click="vm.updateStep(step.uuid,vm.states.todo)" id="todo_{{step.uuid}}"></span> <span class="moveto-delete" title="Delete" data-ng-if="vm.states.confirmed != step.state" data-ng-click="vm.deleteStep(step.uuid)" id="delete-{{step.uuid}}"></span> </aside> <div class="description col-xs-8 col-sm-8 col-md-8"> <div class="last-action-details"> <span class="name" id="{{step.last_updater.full_name}}_{{step.last_update_type}}"> {{step.last_updater && step.last_updater.full_name || step.creator.full_name}} &nbsp;{{step.last_update_type}}:&nbsp; </span> <span class="time">{{(step.last_update_time) | date2: \'EEEE MMMM doo yyyy\'}} at {{(step.last_update_time) | date: \'hh:mm\' : timeGapLocal }} {{ampm}} {{mom}}</span> </div> <div id="{{step.uuid}}" class="step-state {{step.state | lowercase}}" data-ng-click="(step.state==vm.states.todo || step.state==vm.states.completed) && vm.toggleCompleted(step.uuid)"></div> <div class="step-text" ng-bind-html="step.description | htmlspecialchars"></div> </div> <div class="details col-xs-4 col-sm-4 col-md-4"> <span class="next-step-due-date" ng-if="step[\'due_date\'].length >0"><span class="icon"></span>{{(step[\'due_date\']) | date2: \'EEEE MMMM doo yyyy\'}}</span> <span ng-if="step.engagement != null" class="edit-next-step glyphicon glyphicon-pencil" ng-click="vm.editStep(step)"></span> <ul class="next-step-team-mates"> <li data-ng-repeat="member in step[\'assignees\'] track by member.uuid" data-ng-class="{\'me\': member.uuid == vm.me.uuid}" title="{{member.full_name}} ({{member.email}})"> </li> </ul> <span uib-popover-template="\'myPopoverTemplate.html\'" popover-title="Associated Files" popover-trigger="mouseenter" popover-html="true" popover-placement="left" class="" ng-if="step.files.length > 0">Associated Files ({{step.files.length}})</span> <script type="text/ng-template" id="myPopoverTemplate.html"><ul>\n <li ng-repeat="file in step[\'files\'] track by $index">- {{file}}</li>\n </ul></script> </div> </div> </li> </ul> </div> <div class="col-md-4 team-and-logs"> <div id="engagement-status"> <h2>Current Status<span ng-if="vm.isEngagementEL || vm.isAdmin" ng-click="vm.addStatus()" id="add-status"></span><span ng-if="(vm.isEngagementEL || vm.isAdmin) && vm.status" ng-click="vm.editStatus()" id="edit-status"></span></h2> <span id="status-update-details" ng-if="vm.status"> Last updated {{(vm.status.update_time) | date2: \'EEEE MMMM doo yyyy\'}} at {{(vm.status.update_time) | date: \'hh:mm\' : timeGapLocal }} {{ampm}} {{mom}} by {{vm.status.creator.full_name}} </span> <p id="status-description">{{vm.status.description == undefined && \'No status update has been provided yet.\' || vm.status.description }}</p> </div> <div class="team"> <h2><span>Team Members</span><span id="team-members-plus-button-id" ng-click="vm.addPeople()" class="add-people" ng-if="vm.name.length > 0"></span></h2> <ul class="team-avatars"> <li id="c-l-te-am-me-mb-er-s-po-po-ve-r" data-ng-repeat="member in vm.team track by member.uuid" data-ng-class="{\'me\': member.uuid == vm.me.uuid}" uib-popover-template="\'myClTeamMembersPopoverTemplate.html\'" popover-trigger="mouseenter" popover-html="true" popover-placement="bottom"> <script type="text/ng-template" id="myClTeamMembersPopoverTemplate.html"><span class="row">\n <span class="popover-title-name col-md-12">{{member.full_name}} -<span class="popover-title-company">{{member.company.name}}</span></span>\n <span class="popover-role-title col-md-12"> {{member.role.name == \'el\' ? \'Engagement Lead\' : \'\' }} {{member.role.name == \'el\' && vm.reviewer_uuid == member.uuid ? \' - \' : \'\'}} {{vm.reviewer_uuid == member.uuid ? \'Reviewer\' : \'\'}}</span>\n <span class="popover-details">\n <span class="popover-details-topic col-md-4">Email:</span><span class="popover-details-detail col-md-8">{{member.email}}</span>\n <span class="popover-details-topic col-md-4">Phone:</span><span class="popover-details-detail col-md-8">{{member.phone_number}}</span>\n </span>\n </span></script> </li> </ul> </div> <div class="activity-log"> <h2>Activity Log</h2> <ul class="activity-log-details"> <li data-ng-repeat="activity in vm.activities track by activity.uuid"> <notifications activity="activity"></notifications> </li> </ul> </div> </div> </div> </div>'),a.put("main/dashboard/overview/overview.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="no-display-text" ng-if="vm.engagement == undefined"></div> <div ng-class="vm.engagement == undefined ? \'no-display\' : \'overview main-wrapper\'"> <ice-loader selector=".steps"></ice-loader> <ice-loader selector=".activity-log"></ice-loader> <div class="row"> <div class="col-md-6"> <span id="star-engagement-action" class="sprite starred" ng-class="vm.starred == true ? \'is_starred\' : \'not_starred\'" ng-click="vm.starEngagement()"></span> <h1 id="engagement-title"> <span class="manual-id" id="title-id-{{vm.manual_id}}: {{vm.name}}">{{vm.manual_id}}: </span>{{vm.name}} </h1> <span ng-show="vm.isEngagementEL || vm.isAdmin" uib-dropdown uib-dropdown-toggle on-toggle="toggled(open)" id="admin-actions-dropdown" class="admin-actions-dropdown sprite"> <ul class="dropdown-menu" uib-dropdown-menu role="menu"> <li role="menuitem" ng-show="vm.isAdmin"><a data-ng-click="vm.archiveEngagement()">Archive</a></li> <li class="divider" ng-show="vm.isAdmin"></li> <li role="menuitem" ng-show="vm.isAdmin"><a data-ng-click="vm.changeReviewer()">Change Reviewer</a></li> <li class="divider" ng-show="vm.isAdmin"></li> <li role="menuitem" ng-show="vm.isAdmin"><a data-ng-click="vm.changePeerReviewer()">Change Peer Reviewer</a></li> <li class="divider" ng-show="vm.isAdmin"></li> <li role="menuitem" ng-show="vm.isEngagementEL || vm.isAdmin"><a data-ng-click="vm.updateEngagementStatus()">Update Status</a></li> </ul> </span> </div> <div class="col-md-6 row"> <span class="col-md-12 git-repo-url" ng-if="vm.git_repo_url && vm.stage!=vm.stages.intake" id="git-url"><b>GIT:</b>&nbsp;{{vm.git_repo_url}}</span> <span class="col-md-11 line-separator" ng-if="vm.git_repo_url && vm.stage!=vm.stages.intake"></span> <span class="col-md-12 storage-bucket-url" ng-if="vm.stage!=vm.stages.intake" id="bucket-url"><b>STORAGE BUCKET:</b>&nbsp;{{vm.storage_bucket_url}}</span> </div> </div> <step-stages-directive stage="vm.stage" eng-name="{{vm.vf_name}}" team="vm.team" stage-num="vm.stage_num" eng-uuid="{{vm.uuid}}"></step-stages-directive> <div data-ng-if="vm.stage!=vm.stages.intake"> <progress-directive progress="{{vm.progress}}" callback="vm.updateProgress" data="vm.progress_needed_data"> </progress-directive> </div> <div class="row main-section"> <div class="col-md-8 steps"> <div class="row steps-header"> <h2 class="col-md-6">Next Steps<span data-ng-if="vm.isEngagementEL || vm.isAdmin" id="add-next-step-button" class="add-step fa fa-plus-circle" data-ng-click="vm.addStep()"></span></h2> <span class="col-md-6 filter-wrapper row"> <span>Files<multiselect id="selected-file-filter-dropdown" class="state-filter" ng-model="vm.chosen_files_filter" options="item for item in vm.files_filter_options" data-multiple="true" scroll-after-rows="5" filter-after-rows="5" ng-change="vm.is_all_files()" ms-header="Select files" tabindex="-1"> </multiselect></span> <span>States<multiselect class="state-filter" ng-model="vm.selected_state_filter" options="item for item in vm.states_select" id="selected-state-filter-dropdown" data-multiple="true" scroll-after-rows="5" filter-after-rows="5" ng-change="vm.update_next_steps_choice()" ms-header="Select states" tabindex="-1"> </multiselect></span> </span> </div> <ul class="step-indication" ui-sortable="vm.sortableOptions" ng-model="vm.steps"> <li class="step" data-ng-repeat="step in sorted_results=( vm.steps | filter:is_match_both_filters()) track by step.uuid"> <!-- ng-if="vm.is_match_both_filters(step)" --> <div class="step-wrapper row" id="step-{{step.uuid}}" data-ng-class="{\'completed\': vm.states.completed==step.state && !vm.isEngagementEL, \'confirmed\': vm.states.confirmed==step.state}"> <aside class="next-step-actions" data-ng-show="vm.isEngagementEL || vm.isAdmin"> <span class="order-nextstep fa fa-bars"></span> <span ng-show="step.engagement" class="edit-next-step fa fa-pencil-square-o" ng-click="vm.editStep(step)"></span> <span class="moveto-delete fa fa-minus-circle" title="Delete" data-ng-if="vm.states.confirmed != step.state" data-ng-click="vm.deleteStep(step.uuid)" id="delete-{{step.uuid}}"></span> </aside> <div class="description col-xs-8 col-sm-8 col-md-8"> <div class="last-action-details"> <span class="name" id="{{step.last_updater.full_name}}_{{step.last_update_type}}"> <!--When the nex step is not related to engagement that\'s means it ssh key next step and we will display \'System Next Step\' as tha last updater--> {{step.engagement ? (step.last_updater && step.last_updater.full_name || step.creator.full_name) : "System Next Step"}} &nbsp;{{step.last_update_type}}:&nbsp; </span> <span class="time">{{(step.last_update_time) | date2: \'EEEE MMMM doo yyyy\'}} at {{(step.last_update_time) | date: \'hh:mm\' : timeGapLocal }} {{ampm}} {{mom}}</span> </div> <div id="{{step.uuid}}" class="step-state {{step.state | lowercase}} fa" ng-class="{\'fa-check-circle\': step.state == \'Completed\', \'fa-check-circle-o\': step.state == \'Incomplete\'}" data-ng-click="(step.state==vm.states.incomplete || step.state==vm.states.completed) && vm.toggleCompleted(step.uuid)"></div> <div id="step-description-{{$index}}" class="step-text" ng-bind-html="step.description | htmlspecialchars"></div> </div> <div class="details col-xs-4 col-sm-4 col-md-4"> <span class="next-step-due-date" ng-if="step[\'due_date\'].length >0"><span class="icon fa fa-clock-o"></span>{{(step[\'due_date\']) | date2: \'EEEE MMMM doo yyyy\'}}</span> <ul class="next-step-team-mates"> <li data-ng-repeat="member in step[\'assignees\'] track by member.uuid" data-ng-class="{\'me\': member.uuid == vm.me.uuid}" class="fa fa-user-circle-o" title="{{member.full_name}} ({{member.email}})"> </li> </ul> <span uib-popover-template="\'myPopoverTemplate.html\'" popover-title="Associated Files" popover-trigger="outsideClick" popover-html="true" popover-placement="bottom" class="associated-files" id="associated-files">Associated Files <span class="fa fa-caret-square-o-down"></span></span> <script type="text/ng-template" id="myPopoverTemplate.html"><span id="associated-files-empty-msg" ng-if="!step.files || step.files.length === 0">There are no files for this next step</span>\n <ul>\n <li id="file{{$index}}" ng-repeat="file in step.files track by $index">- {{file}}</li>\n </ul></script> </div> </div> </li> <h4 ng-show="!sorted_results || sorted_results.length === 0">No next steps matching filtered results.</h4> </ul> </div> <div class="col-md-4 team-and-logs"> <div id="engagement-target-completion"> <div id="target-completion-header"> <span>Target Completion</span> <i class="edit-target-completion fa fa-pencil-square-o" ng-show="vm.isEngagementEL || vm.isAdmin" data-ng-click="vm.changeTargetCompletion()" aria-hidden="true"></i> </div> <div id="target-completion-content"> <h4 class="target-completion-content">{{vm.completion_date | date:\'shortDate\'}}</h4> </div> </div> <div id="engagement-status"> <div id="engagement-status-header"> <span>Current Status</span> <i class="add-engagement-status fa fa-plus-circle" ng-show="vm.isEngagementEL || vm.isAdmin" ng-click="vm.addStatus()" aria-hidden="true"></i> </div> <div id="engagement-status-content"> <h4 class="engagement-status-content"> <i class="edit-engagement-status fa fa-pencil-square-o pull-right" ng-show="(vm.isEngagementEL || vm.isAdmin) && vm.status" ng-click="vm.editStatus()" aria-hidden="true"></i> <span id="status-update-details" ng-if="vm.status"> Last updated {{(vm.status.update_time) | date2: \'EEEE MMMM doo yyyy\'}} at {{(vm.status.update_time) | date: \'hh:mm\' : timeGapLocal }} {{ampm}} {{mom}} by {{vm.status.creator.full_name}} </span> <p id="status-description">{{vm.status.description == undefined && \'No status update has been provided yet.\' || vm.status.description }}</p> </h4> </div> </div> <div id="engagement-team"> <div id="engagement-team-header"> <span>Team Members</span> <i class="add-team-member fa fa-plus-circle" id="team-members-plus-button-id" ng-show="vm.name.length > 0" data-ng-click="vm.addPeople()" aria-hidden="true"></i> </div> <div class="engagement-team-content"> <ul class="team-avatars"> <li id="team-member-{{member.full_name}}" data-ng-repeat="member in vm.team track by member.uuid" data-ng-class="{\'me\': member.uuid == vm.me.uuid}" uib-popover-template="\'myClTeamMembersPopoverTemplate.html\'" popover-trigger="outsideClick" popover-html="true" class="team-member-avatar fa fa-user-circle-o" popover-placement="bottom"> <script type="text/ng-template" id="myClTeamMembersPopoverTemplate.html"><span class="row">\n <span id="team-member-title" class="popover-title-name col-md-12">\n {{member.full_name}}\n <span ng-show="member.company && member.company.name" class="popover-title-company"> - {{member.company.name}}</span>\n <span class="popover-role-title ">{{vm.engagement.reviewer_uuid == member.uuid ? \'Reviewer\' : \'\'}}{{vm.engagement.peer_reviewer_uuid == member.uuid ? \'Peer Reviewer\' : \'\'}}</span>\n </span>\n <span class="popover-details">\n <span class="popover-details-topic col-md-4">Email:</span><span id="team-member-email" class="popover-details-detail col-md-8">{{member.email}}</span>\n <span ng-show="member.phone_number" class="popover-details-topic col-md-4">Phone:</span><span id="team-member-phone" class="popover-details-detail col-md-8">{{member.phone_number}}</span>\n </span>\n <span id="remove-member" ng-if="vm.is_able_to_delete(member)" class="remove-user-from-eng" ng-click="vm.remove_user_from_eng(member)">\n <span>Remove</span><span class="remove-icon"></span>\n </span>\n </span></script> </li> </ul> </div> </div> <div class="activity-log"> <div id="activity-log-header">Activity Log</div> <ul class="activity-log-details"> <li data-ng-repeat="activity in vm.activities track by activity.uuid"> <notifications id="activity-log-{{$index}}" activity="activity"></notifications> </li> </ul> </div> </div> </div> </div>'),a.put("main/documentation/documentation.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".documentation-content"></ice-loader> <div class="row documentation-container"> <div class="col-md-12"> <h1 class="page-title" id="center-{{vm.pageTitle}}">{{vm.pageTitle}}</h1> <span ng-show="vm.publishDate" class="page-publish">Updated at {{vm.publishDate | date2: \'EEEE MMMM doo yyyy\'}}</span> <div class="page-content" id="{{vm.pageId}}" ng-bind-html="vm.pageContent"></div> </div> </div>'),a.put("main/documentation/sidebar/documentation.sidebar.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <aside id="documentation-side-panel" class="col-md-12"> <ice-news-and-announcement limit="5" show-description="false"></ice-news-and-announcement> </aside>'),a.put("main/errors/404.html",'<!--\n============LICENSE_START==========================================\norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--><!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Page Not Found :(</title> <style>::-moz-selection {\n background: #b3d4fc;\n text-shadow: none;\n }\n\n ::selection {\n background: #b3d4fc;\n text-shadow: none;\n }\n\n html {\n padding: 30px 10px;\n font-size: 20px;\n line-height: 1.4;\n color: #737373;\n background: #f0f0f0;\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n }\n\n html,\n input {\n font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n }\n\n body {\n max-width: 500px;\n padding: 30px 20px 50px;\n border: 1px solid #b3b3b3;\n border-radius: 4px;\n margin: 0 auto;\n box-shadow: 0 1px 10px #a7a7a7, inset 0 1px 0 #fff;\n background: #fcfcfc;\n }\n\n h1 {\n margin: 0 10px;\n font-size: 50px;\n text-align: center;\n }\n\n h1 span {\n color: #bbb;\n }\n\n h3 {\n margin: 1.5em 0 0.5em;\n }\n\n p {\n margin: 1em 0;\n }\n\n ul {\n padding: 0 0 0 40px;\n margin: 1em 0;\n }\n\n .container {\n max-width: 380px;\n margin: 0 auto;\n }\n\n /* google search */\n\n #goog-fixurl ul {\n list-style: none;\n padding: 0;\n margin: 0;\n }\n\n #goog-fixurl form {\n margin: 0;\n }\n\n #goog-wm-qt,\n #goog-wm-sb {\n border: 1px solid #bbb;\n font-size: 16px;\n line-height: normal;\n vertical-align: top;\n color: #444;\n border-radius: 2px;\n }\n\n #goog-wm-qt {\n width: 220px;\n height: 20px;\n padding: 5px;\n margin: 5px 10px 0 0;\n box-shadow: inset 0 1px 1px #ccc;\n }\n\n #goog-wm-sb {\n display: inline-block;\n height: 32px;\n padding: 0 10px;\n margin: 5px 0 0;\n white-space: nowrap;\n cursor: pointer;\n background-color: #f5f5f5;\n background-image: -webkit-linear-gradient(rgba(255,255,255,0), #f1f1f1);\n background-image: -moz-linear-gradient(rgba(255,255,255,0), #f1f1f1);\n background-image: -ms-linear-gradient(rgba(255,255,255,0), #f1f1f1);\n background-image: -o-linear-gradient(rgba(255,255,255,0), #f1f1f1);\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n }\n\n #goog-wm-sb:hover,\n #goog-wm-sb:focus {\n border-color: #aaa;\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);\n background-color: #f8f8f8;\n }\n\n #goog-wm-qt:hover,\n #goog-wm-qt:focus {\n border-color: #105cb6;\n outline: 0;\n color: #222;\n }\n\n input::-moz-focus-inner {\n padding: 0;\n border: 0;\n }</style> </head> <body> <div class="container"> <h1>Not found <span>:(</span></h1> <p>Sorry, but the page you were trying to view does not exist.</p> <p>It looks like this was the result of either:</p> <ul> <li>a mistyped address</li> <li>an out-of-date link</li> </ul> <script>var GOOG_FIXURL_LANG = (navigator.language || \'\').slice(0,2),GOOG_FIXURL_SITE = location.host;</script> <script src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script> </div> </body> </html>'),a.put("main/modals/archive-engagement-modal/archive-engagement-modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="archive-engagement-modal"> <div class="modal-header row"> <button type="button" ng-click="vm.closeModal()" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <div id="archive-engagement-title" class="archive-engagement-title"><span>Archive Engagement</span></div> <span class="archive-engagement-reason">Please provide a short reason for why you are archiving this engagement.</span> </div> <div class="modal-body row"> <form name="archiveEngagementForm" ng-submit="vm.archiveEngagement()" novalidate class=""> <div class="form-group" ng-class="{ \'has-error\' : archiveEngagementForm.reason.$invalid && archiveEngagementForm.reason.$dirty }"> <textarea type="text" name="reason" class="form-control" ng-model="vm.reason" required></textarea> <div class="ice-form-error" data-ng-show="archiveEngagementForm.reason.$error"> <span ng-show="archiveEngagementForm.reason.$error.required && archiveEngagementForm.reason.$dirty" class="help-block ng-hide" aria-hidden="true">Please enter a reason</span> </div> </div> <button id="submit-modal" class="btn btn-primary col-md-12" data-ng-disabled="archiveEngagementForm.$invalid" type="submit">Submit</button> </form> </div> </div>'),
+a.put("main/modals/audit-log/audit-log.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-loader selector=".checkList-form"></ice-loader> <div class="modal-header checkList"> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <ice-toast is-modal="true"></ice-toast> <div id="modal-title" class="row"> <div class="dash col-md-12 col-md-12"> <span class="font_header">Checklist: </span> <span class="font_header_chk_name margin_btm italic">{{vm.name}}</span> </div> </div> </div> <div class="modal-body checkList auditlog"> <form name="AuditLogForm" ng-submit="vm.submitForm()" novalidate class="checkList-form"> <div class="margin_top"> <h2>Audit Log</h2> </div> <div class="audit-log-items" id="audit-log-lines" data-ng-repeat="auditLog in vm.checklistAuditLogs"> <div class="row"> <span class="col-md-6 font_user_name"> {{auditLog.name}} </span> <span class="col-md-6 text-right font_date"> {{auditLog.dt}} </span> <div class="col-md-12 font_desc margin_btm5" ng-bind-html="auditLog.desc"></div> </div> </div> <textarea name="inputBox" rows="3" class="form-control col-md-12 margin_top textarea-checklist-audit" ng-model="vm.description" ng-trim="false" ng-pattern="/^[a-zA-Z0-9\\&\\,\\.\\ ]*$/" required></textarea> <div data-ng-show="AuditLogForm.inputBox.$error" class="ice-form-error"> <span ng-show="AuditLogForm.inputBox.$error.required && !AuditLogForm.inputBox.$pristine">Please add a Description.</span> <span ng-show="AuditLogForm.inputBox.$error.pattern">Inserted text should not include any special chars such as: \\%_*."</span> </div> <button type="submit" class="btn btn-primary margin_top" data-ng-disabled="!AuditLogForm.$valid">Add Log Entry</button> </form> </div>'),a.put("main/modals/change-date/change-date.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <form name="updateProgressForm" ng-submit="vm.submitForm()" novalidate class="update-progress-form"> <div class="modal-header"> <h3 class="modal-title" id="modal-title">Target Completion Date</h3> <button type="button" ng-click="vm.closeModal()" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> </div> <div class="modal-body"> <div class="form-group" ng-class="{ \'has-error\' : updateProgressForm.date.$invalid && !updateProgressForm.date.$pristine }"> <!--<input type="text" name="date" class="form-control" ng-model="vm.completionDate" ng-minlength="1" ng-maxlength="2" maxlength="2" required>--> <div>{{vm.completionDate | date:\'fullDate\' }}</div> <div class="ice-form-error" data-ng-show="updateProgressForm.date.$error"> <span ng-show="updateProgressForm.date.$error.required && !updateProgressForm.date.$pristine">Date is required field!</span> </div> </div> <uib-datepicker ng-model="vm.completionDate" class="well well-sm" datepicker-options="vm.dateOptions"></uib-datepicker> </div> <div class="modal-footer"> <button type="submit" class="btn btn-primary" data-ng-disabled="!updateProgressForm.$valid">Save</button> </div> </form>'),a.put("main/modals/change-progress/change-progress.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <form name="updateProgressForm" ng-submit="vm.submitForm()" novalidate class="update-progress-form"> <div class="modal-header"> <h3 class="modal-title" id="modal-title">Specify Progress in %</h3> <button type="button" ng-click="vm.closeModal()" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> </div> <div class="modal-body"> <div class="form-group" ng-class="{ \'has-error\' : updateProgressForm.progress.$invalid && !updateProgressForm.progress.$pristine }"> <input type="text" name="progress" class="form-control" ng-model="vm.progress" ng-minlength="1" ng-maxlength="3" maxlength="3" ng-pattern="/^[1-9][0-9]?$|^100|^0$/" required> <div class="ice-form-error" data-ng-show="updateProgressForm.progress.$error"> <span ng-show="updateProgressForm.progress.$error.required && !updateProgressForm.progress.$pristine">Progress is a required field!</span> <span ng-show="updateProgressForm.progress.$error.pattern && !updateProgressForm.progress.$pristine">Progress value is not valid!</span> </div> </div> </div> <div class="modal-footer"> <button type="submit" class="btn btn-primary" id="engagement-progress-submit" data-ng-disabled="!updateProgressForm.$valid">Save</button> </div> </form>'),a.put("main/modals/checklist/checklist.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-toast is-modal="true"></ice-toast> <ice-loader selector=".checkList-form"></ice-loader> <div class="modal-header checkList"> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <div class="row margin_btm"> <h2 id="modal-header-checklist-15">{{vm.createUpadeTitle}} Checklist</h2> </div> </div> <div class="modal-body checkList"> <form name="checkListForm" ng-submit="vm.submitForm()" novalidate class="checkList-form"> <div class="row margin_btm" ng-show="vm.create" id="checklist-subject"> Use the form below to create checklist. Please do note that if a file is already associated with another checklist you will need to remove it from that checklist first to be able to associate it. </div> <div class="row margin_btm" ng-show="vm.update" id="checklist-subject-update"> Use the form below to update the checklist. Please do note that if a file is already associated with another checklist you will need to remove it from that checklist first to be able to associate it. </div> <div class="row margin_btm"> <div class="col-md-8 row"> <h3 id="checklist-name-title" class="col-md-12">Name</h3> <div class="col-md-12"><input type="text" placeholder="Checklist Name" name="checkListName" class="form-control" ng-model="vm.checkListName" maxlength="32" ng-trim="false" ng-pattern="/^[a-zA-Z0-9\\&\\ ]*$/" required></div> </div> <div class="col-md-4 row"> <h3 id="checklist-template-title" class="col-md-12">Checklist Template</h3> <div class="col-md-12"> <select id="please-select" ng-model="vm.selectedTemplateUuid" class="form-control" ng-if="vm.modalType === \'create\'" required> <option value>Please Select</option> <option id="{{dt.name}}" ng-repeat="dt in vm.checkListTemplates" value="{{dt.uuid}}" ng-selected="{{dt.Selected == true}}"> {{dt.name}} </option> </select> </div> <div ng-if="vm.modalType != \'create\'" class="col-md-12"> <span class="fnt"> <input type="text" ng-model="vm.selectedTemplateName" class="form-control" disabled> </span> </div> </div> </div> <div class="row margin_btm"> <h3 id="associated-files-title" class="col-md-12 col-no-top">Associate Files</h3> <multiselect ng-model="vm.selectedCheckListAssociatedFiles" options="file.File for file in vm.checkListAssociatedFiles" data-multiple="true" scroll-after-rows="5" filter-after-rows="5" class="col-md-12 checklist-modal-multi-select" ms-header="Select all associated files for the checklist" ms-selected="{{vm.selectedCheckListAssociatedFiles.length > 1 ? vm.selectedCheckListAssociatedFiles.length + \' Associated files\' : vm.selectedCheckListAssociatedFiles.length + \' Associated file\'}} selected" id="select-associated-files" tabindex="-1"> </multiselect> </div> <div data-ng-show="checkListForm.checkListName.$error" class="ice-form-error"> <span ng-show="checkListForm.checkListName.$error.required && !checkListForm.checkListName.$pristine">Name is a required field.</span> <span ng-show="checkListForm.checkListName.$error.maxlength">Provided name is too long.</span> <span ng-show="checkListForm.checkListName.$error.pattern">Name should not include any special chars such as: ,\\%_*."</span> </div> <div class="row margin_btm"> <div class="col-md-12"> <button id="btn-create-checklist" type="submit" class="btn btn-primary" data-ng-disabled="!checkListForm.$valid || vm.isDisabled">{{vm.modalTitle}} Checklist</button> </div> </div> </form> </div>'),a.put("main/modals/checklist/state-approve-or-reject/state-approve-or-reject.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <form name="approveOrRejectState" id="approve-or-reject-state" novalidate> <div class="row modal-header"> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <span class="state-title"><span class="bold">Checklist:</span> {{vm.checklist_name}}</span> <div class="state-title-border"></div> </div> <div class="row decision-modal-body"> <div class="modal-title" id="modal-title">{{vm.state.replace(\'_\',\' \') | capitalize}}</div> <div class="decision-comment"><div ng-bind-html="vm.modalText"></div></div> <textarea name="entry_comment" rows="3" class="col-md-12 comment-textarea" ng-model="vm.description" ng-trim="false" ng-pattern="/^[a-zA-Z0-9\\&\\,\\.\\ "></textarea> </div> <div data-ng-show="approveOrRejectState.entry_comment.$error" class="ice-form-error"> <span ng-show="approveOrRejectState.entry_comment.$error.pattern">Inserted text should not include any special chars such as: \\%_*."</span> </div> <div class="row modal_buttons"> <button id="approve-state" type="submit" class="col-md-12 btn btn-gradient-success" ng-if="vm.action == \'approve\'" ng-click="vm.submitForm(true)">{{vm.state == \'pending\' ? \'Automate\' : \'Approve\'}}</button> <button id="reject-state" type="submit" class="col-md-12 btn btn-gradient-danger" ng-if="vm.action == \'reject\'" ng-click="vm.submitForm(false)">Reject</button> </div> </form>'),a.put("main/modals/cms-post-modal/cms-post-modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="toast-read-more-container"> <div class="modal-header row"> <span class="toast-read-more-title" id="toast-title-id">{{vm.post.title}}</span> <p class="toast-read-more-creation ng-binding">Posted at {{vm.post.publish_date | date2: \'EEEE MMMM doo yyyy\'}} by {{vm.post.user.username}}</p> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> </div> <div class="modal-body row toast-read-more-content" id="toast-description" ng-bind-html="vm.post.content"></div> <div class="recent-cms-posts-container row"> <div class="line-separator col-md-12"></div> <span class="recent-cms-posts-title">Most recent news & announcements</span> <ul class="recent-cms-posts"> <li class="row" data-ng-repeat="post in vm.recentPosts track by post.id" ng-class="{\'selected\': (post.id === vm.post.id)}" ng-click="vm.loadSelectedPostData(post)"> <span class="col-md-7">{{post.title}}</span><span class="col-md-5 post-creation">Posted at {{post.publish_date | date2: \'EEEE MMMM doo yyyy\'}} by {{post.user.username}}</span> </li> </ul> </div> </div>'),a.put("main/modals/detailed-view/dtsite/detailed-view-dtsites-modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <form name="addDTSite" ng-submit="vm.submitForm()" novalidate class="update-progress-form"> <div class="modal-header"> <h3 class="modal-title" id="modal-title">Add Deployment Target</h3> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> </div> <div class="modal-body"> <div class="table-col-general flex-item"> <select ng-model="vm.json" class="form-control" required> <option value>Please Select</option> <option ng-repeat="site in vm.dtsites" value="{{site.name}}"> {{site.name}} </option> </select> </div> <br> </div> <div class="modal-footer"> <button type="submit" id="add-dt-save-button" class="btn btn-primary" data-ng-disabled="!addDTSite.$valid">Add Deployment Target</button> </div> </form>'),a.put("main/modals/detailed-view/vfc/detailed-view-vfc-modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="modal-header"> <h3 class="modal-title" id="modal-title">Add Virtual Function Components (VFCs)</h3> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> </div> <div class="modal-body"> <div class="vfc-explain">Please use the from below to associate the various VFCs to the virtual function and engagement. You can either choose a company or create a new company if it is not listed.</div> <form name="addVfcForm" ng-submit="vm.submitForm()"> <div data-ng-repeat="vfc in vm.vfcs" class="row"> <!--<div class="flex-container data-row">--> <ng-form name="vfcItemForm"> <div class="col-md-6"> <input type="text" name="name" placeholder="Name" class="form-control" ng-model="vfc.name" ng-trim="false" ng-pattern="/^[a-zA-Z0-9\\&\\ \\-\\_]*$/" maxlength="32" required> </div> <div class="col-md-6"> <input type="text" name="extRefID" placeholder="Ext. Ref ID" class="form-control" ng-model="vfc.external_ref_id" ng-pattern="/^[a-zA-Z0-9]*$/" maxlength="20" required><br> </div> <!-- Virtual Function Component\'s external ref id--> <div class="col-md-6 flex-item"> <select ng-model="vfc.company" id="add-vfc-choose-company" class="form-control" required> <option value>Please Select</option> <option ng-repeat="company in vm.companies" value="{{company.name}}"> {{company.name}} </option> </select> </div> <div class="col-md-6 flex-item"> <input type="text" name="newCompany" placeholder="or create a new company" id="add-vfc-manually-enter-company" class="form-control" ng-model="vfc.company" maxlength="32" ng-trim="false" ng-pattern="/^[a-zA-Z0-9\\&\\ \\-\\_]*$/" required> </div> <div class="head flex-container"> <div id="add-vfc-remove-obj-from-list" class="vfc-remove-button" ng-if="vm.vfcs.length > 1" ng-click="vm.removeChoice($index)"> <div class="remove-icon"></div> </div> </div> <div class="ice-form-error col-md-12" ng-show="(vfcItemForm.name.$error || vfcItemForm.vfc_extRefID.$error || vfcItemForm.newCompany.$error)"> <div ng-show="(vfcItemForm.name.$error.required && !vfcItemForm.name.$pristine) || (vfcItemForm.extRefID.$error.required && !(vfcItemForm.extRefID.$pristine)) || (vfcItemForm.newCompany.$error.required && !(vfcItemForm.newCompany.$pristine))">Please make sure to type a name and Ext. Ref ID for the VFC.</div> <div ng-show="vfcItemForm.name.$error.maxlength || vfcItemForm.extRefID.$error.maxlength || vfcItemForm.newCompany.$error.maxlength"> Name / Ext. Ref ID / new company name is too long.</div> <div ng-show="vfcItemForm.name.$error.pattern || vfcItemForm.extRefID.$error.pattern || vfcItemForm.newCompany.$error.pattern"> Name / Ext. Ref ID / new company name should not include any special chars such as: .,\\%" </div> </div> </ng-form> </div> <div data-ng-disabled="!addVfcForm.$valid"> <a ng-if="!vm.isModal" id="add-vfc-modal" class="modal-add-vfc" ng-click="vm.addNewChoice()"> <span class="add-icon"></span><span class="add-text">Add VFC</span> </a> </div> <div class="modal-footer"> <button type="submit" id="add-vfc-save-button" class="btn btn-primary" data-ng-disabled="!addVfcForm.$valid">Add VFCs</button> </div> </form> </div>'),a.put("main/modals/feedback/feedback.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="modal-header"> <h3 class="modal-title">{{ \'Add\' }} Feedback</h3> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> </div> <div class="modal-body feedback-modal-body"> <span>Use the form below to {{\'add\' }} the current feedback.</span> <form name="feedbackForm" ng-submit="vm.submitForm()" novalidate class="feedback-modal-form"> <textarea class="col-sm-12 col-xs-12 col-md-12 feedback-modal-description" name="description" required ng-model="vm.feedback_modal_description"></textarea> <div class="ice-form-error" data-ng-show="feedbackForm.description.$error"> <span ng-show="feedbackForm.description.$error.required && !feedbackForm.description.$pristine">Description is a required field.</span> </div> <div class="modal-footer"> <button type="submit" id="add-feedback-save-button" class="btn btn-primary" data-ng-disabled="!feedbackForm.$valid">{{\'Add\'}} feedback</button> </div> </form> </div>'),a.put("main/modals/general-log-modal/general-log-modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="general-log-containter"> <div class="modal-header row general-log-subtitle"> <span class="general-log-modal-title" id="general-log-modal-title-id">{{vm.headline}}</span> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> </div> <pre class="modal-body row general-log-body" id="general-log-modal-body-id" ng-bind-html="vm.body"></pre> </div>'),
+a.put("main/modals/general-prompt-modal/general-prompt-modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="modal-header"> <button ng-if="vm.is_close_modal_button" type="button" ng-click="vm.closeModal()" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <div ng-if="vm.upper_headline" class="general-prompt-upper-dash"> <div id="general-prompt-upper-headline" class="general-prompt-upper-headline">{{vm.upper_headline}}<span ng-if="vm.upper_headline" class="upper-headline-value">{{vm.upper_headline_value}}</span></div> </div> <div class="general-prompt-title"><span class="bold" id="general-prompt-title">{{vm.headline}}</span></div> </div> <div class="modal-body row general-prompt-body"> <div ng-if="vm.is_message" class="general-prompt-text-details" ng-bind-html="vm.message"></div> <div ng-if="!vm.is_message">&nbsp;</div> <button id="general-prompt-approve-btn" type="submit" class="col-md-5 btn btn-gradient-success" ng-click="vm.closeModal(true)">{{vm.approveText}}</button> <span class="col-md-2"></span> <button id="general-prompt-cancel-btn" type="submit" class="col-md-5 btn btn-gradient-danger" ng-click="vm.closeModal(false)">{{vm.cancelText}}</button> </div>'),a.put("main/modals/next-steps/next-steps.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <ice-toast is-modal="true"></ice-toast> <div class="modal-header next-steps"> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <div class="data-row-wrapper col-md-12 checklist-name"> <span class="font_header"> {{vm.checklist.uuid == undefined && \'Engagement\' || \'Checklist\' }}: </span> <span class="font_header_chk_name margin_btm"> {{vm.title}} </span> </div> </div> <div class="modal-body next-steps"> <form name="nextStepsForm" ng-submit="vm.submitForm()" novalidate class="checkList-form" style="position:relative"> <div class="data-row-wrapper addNextSteps"> <div class="row"> <div class="col-md-12"> <span class="font_header_add_next"> <h2>{{vm.edit ? \'Edit\' : \'Add\'}} Next Steps</h2> </span> </div> </div> <div class="row"> <div class="col-md-12"> <span class="m_18_r">Use the form below to {{vm.edit ? \'edit next step\' : \'add next steps\'}}. You will need to specify assignees, which files it applies to and the due date.</span> </div> </div> </div> <div data-ng-repeat="nextStep in vm.nextSteps" ng-class="{lineColor: ($index % 2 != 0)}" class="data-row-wrapper repeaterNextStep"> <div class="form-group row posRelative"> <span class="remove-icon posAbsDelBtn" ng-if="vm.nextSteps.length > 1" ng-click="vm.removeStep($index)"></span> <div class="col-md-12"> <wysiwyg textarea-id="description" textarea-class="form-control" textarea-name="description" name="description" textarea-height="160px" ng-required="true" ng-model="nextStep.description" class="ice-wysiwyg" enable-bootstrap-title="true" textarea-menu="vm.wysiwyg_menu" required> </wysiwyg> </div> <div class="col-md-12 padTop4"> <multiselect ng-model="nextStep.files" options="c.File for c in vm.associated_files" name="{{vm.associated_files}}" data-multiple="true" scroll-after-rows="5" filter-after-rows="5" ng-required="vm.checklist.uuid != undefined" ms-selected="{{nextStep.files.length > 1 ? vm.get_chosen_files_num(nextStep) + \' files\' : nextStep.files.length + \' file\'}} selected" class="ms" ms-header="Select all associated files to this next step" id="associated-files-list" tabindex="-1" change="vm.verify_files_choice(nextStep)"> </multiselect> </div> <div class="col-md-6 padTop10"> <multiselect ng-model="nextStep.assigneesUuids" options="c.name for c in vm.assigness" data-multiple="true" scroll-after-rows="5" filter-after-rows="5" ng-required="vm.checklist.uuid != undefined" ms-header="Select assignees" ms-selected="{{nextStep.assigneesUuidss.length > 1 ? nextStep.assigneesUuidss.length + \' assignees\' : nextStep.assigneesUuidss.length + \' assignee\'}} selected" id="select-assigness" tabindex="-1"> </multiselect> </div> <div class="col-md-6 padTop10"> <div flex-gt-xs> <md-datepicker ng-model-options="{timezone: \'gmt\'}" md-min-date="vm.minDate" class="btn btn-default" ng-model="nextStep.duedate" md-placeholder="Add a Due Date" data-ng-required="true"></md-datepicker> </div> </div> </div> </div> <div class="data-row-wrapper" ng-if="!vm.edit"> <div class="col-md-12 padLeft0"> <a class="add-button" ng-click="vm.addNewStep()"> <span class="add-icon"></span> <span class="add-text">Add Another Next Step</span> </a> </div> </div> <div class="data-row-wrapper"> <button type="submit" id="btn-submit" class="btn btn-primary" data-ng-disabled="!nextStepsForm.$valid">Submit Next Steps</button> </div> <div class="data-row-wrapper text-right font-deco" ng-click="vm.closeModal()"> Skip for now </div> </form> </div>'),a.put("main/modals/select-el-modal/select-el-modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="select-engagement-lead-modal"> <div class="modal-header row"> <button type="button" ng-click="vm.closeModal()" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <div id="archive-engagement-title" class="select-engagement-lead-title"><span>Select Engagement Lead</span></div> <span class="select-engagement-lead-description">Please select engagement lead from the list below.</span> </div> <div class="modal-body row"> <div class="form-group"> <select style="width:100%" name="selected-user" ng-model="vm.selectedUserUuid" ng-change="vm.onUserSelect()" ng-options="el.uuid as el.full_name for el in vm.engagementLeads track by el.uuid" class="form-control"> </select> </div> <div class="modal-body"> Engagement lead cannot be both reviewer and peer reviewer.<br> If you assign the same user to two roles, we will automatically switch the other users\' role. </div> </div> </div>'),a.put("main/modals/set-eng-stage/set-eng-stage-modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="modal-header row"> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <div class="set-stage-title"><span class="bold">Engagement:</span> {{vm.eng_name}}</div> </div> <div class="modal-body row"> <span class="set-stage-title"><span class="bold">Current stage:</span> {{vm.current_stage.replace(\'_\',\' \') | capitalize}}</span> <div class="set-stage-modal-text-details" id="modal-message-{{vm.stage}}" ng-bind-html="vm.modalText"></div> <button type="submit" class="col-md-5 btn btn-gradient-success" ng-click="vm.closeModal(true)">Approve</button> <span class="col-md-2"></span> <button type="submit" class="col-md-5 btn btn-gradient-danger" ng-click="vm.closeModal(false)">Cancel</button> </div>'),a.put("main/modals/set-eng-stage/set_eng_stage_modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <form name="approveOrRejectStage" id="approve-or-reject-stage" novalidate> <div class="row modal-header"> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <span class="state-title bold"><span class="bold">Engagement:</span> {{vm.engagement_name}}</span> <div class="state-title-border"></div> </div> <div class="row decision-modal-body"> <div class="modal-title">Current stage: {{vm.stage.replace(\'_\',\' \') | capitalize}}</div> <div class="decision-comment" id="stage-{{vm.stage}}"><div ng-bind-html="vm.modalText"></div></div> </div> <div class="row modal_buttons"> <button type="submit" class="col-md-5 btn btn-gradient-success" ng-click="vm.closeModal(true)">Approve</button> <span class="col-md-2"></span> <button type="submit" class="col-md-5 btn btn-gradient-danger" ng-click="vm.closeModal(false)">Reject</button> </div> </form>'),a.put("main/modals/status/status.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="modal-header"> <h3 class="modal-title" id="modal-title">{{vm.action == \'edit\' && \'Current\' || \'Add\' }} Status</h3> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> </div> <div class="modal-body status-modal-body"> <span>Use the form below to {{vm.action == \'edit\' && \'update\' || \'add\' }} the current status of the engagement.</span> <form name="statusForm" ng-submit="vm.submitForm()" novalidate class="status-modal-form"> <textarea class="col-sm-12 col-xs-12 col-md-12 status-modal-description" name="description" ng-maxlength="256" required ng-model="vm.status_modal_description" ng-pattern="/^[a-zA-Z0-9\\&\\,\\.\\ ]*$/"></textarea> <div class="ice-form-error" data-ng-show="statusForm.description.$error"> <span ng-show="statusForm.description.$error.required && !statusForm.description.$pristine">Description is a required field.</span> <span ng-show="statusForm.description.$error.maxlength">Description is too long.</span> <span ng-show="statusForm.description.$error.pattern">Description should not include any special chars such as: *^-\\%_"</span> </div> <div class="modal-footer"> <button type="submit" id="add-vfc-save-button" class="btn btn-primary" data-ng-disabled="!statusForm.$valid">{{vm.action == \'edit\' && \'Update current\' || \'Add\' }} status</button> </div> </form> </div>'),a.put("main/modals/target-lab-entry/change-lab-entry-date.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <form name="updateTargetLabDate" ng-submit="vm.submitForm()" novalidate class="update-target-lab-form"> <div class="modal-header"> <h3 class="modal-title" id="modal-title">Target Lab Entry</h3> <button type="button" ng-click="vm.closeModal()" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> </div> <div class="modal-body"> <div class="form-group" ng-class="{ \'has-error\' : updateTargetLabDate.date.$invalid && !updateTargetLabDate.date.$pristine }"> <md-datepicker id="lab-entry-date" md-min-date="vm.minDate" ng-click="ctrl.openCalendarPane($event)" ng-model-options="{timezone: \'gmt\'}" class="btn btn-default datepicker_btn edit-target-lab-date-modal" ng-model="vm.targetLabDate" md-placeholder="Choose Lab Entry Date"></md-datepicker> <input type="hidden" id="input-lab-entry-date" value="{{vm.targetLabDate }}"> <span ng-show="updateTargetLabDate.date.$error.required && !updateTargetLabDate.date.$pristine">Date is required field!</span> </div> </div> <div class="modal-footer"> <button type="submit" class="btn btn-primary" data-ng-disabled="!updateTargetLabDate.$valid">Save</button> </div> </form>'),a.put("main/modals/update-engagement-status-modal/update-engagement-status-modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="update-engagement-status-modal"> <div class="modal-header row"> <button type="button" ng-click="vm.closeModal()" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <div id="update-engagement-status-title" class="update-engagement-status-title"><span>Update Status</span></div> <span class="update-engagement-status-description">Use the form below to update status details of the engagement.</span> </div> <div class="modal-body row"> <form name="updateEngagementStatusForm" ng-submit="vm.updateEngagement()" novalidate class=""> <div class="form-group" ng-class="{ \'has-error\' : updateEngagementStatusForm.progress.$invalid && updateEngagementStatusForm.progress.$dirty }"> <span class="form-field-title">Progress in %</span> <input type="number" name="progress" class="form-control" ng-model="vm.engagement.progress" required min="0" max="100"> <div class="ice-form-error" data-ng-show="updateEngagementStatusForm.progress.$error"> <span ng-show="updateEngagementStatusForm.progress.$error.required && updateEngagementStatusForm.progress.$dirty" class="help-block ng-hide" aria-hidden="true">Please enter progress</span> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : updateEngagementStatusForm.targetCompletion.$invalid && updateEngagementStatusForm.targetCompletion.$dirty }"> <span class="form-field-title">Target Completion Date</span> <md-datepicker ng-click="ctrl.openCalendarPane($event)" class="btn btn-default" ng-model="vm.engagement.target_completion_date"></md-datepicker> <input type="hidden" name="targetCompletion" class="form-control" ng-model="vm.engagement.target_completion_date" required> <div class="ice-form-error" data-ng-show="updateEngagementStatusForm.targetCompletion.$error"> <span ng-show="updateEngagementStatusForm.targetCompletion.$error.date && updateEngagementStatusForm.targetCompletion.$dirty" class="help-block ng-hide" aria-hidden="true">Please enter target completion date</span> </div> </div> <div class="panel panel-default"> <div class="panel-heading">Validation Criteria</div> <div class="panel-body"> <div class="form-group"> <span class="form-field-title">HEAT Validated</span> <md-datepicker ng-click="ctrl.openCalendarPane($event)" class="btn btn-default" ng-model="vm.engagement.heat_validated_time"></md-datepicker> <input type="hidden" name="heatValidated" class="form-control" ng-model="vm.engagement.heat_validated_time"> </div> <div class="form-group"> <span class="form-field-title">Image Scan</span> <md-datepicker ng-click="ctrl.openCalendarPane($event)" class="btn btn-default" ng-model="vm.engagement.image_scan_time"></md-datepicker> <input type="hidden" name="imageScan" class="form-control" ng-model="vm.engagement.image_scan_time"> </div> <div class="form-group"> <span class="form-field-title">AIC Instantiation</span> <md-datepicker ng-click="ctrl.openCalendarPane($event)" class="btn btn-default" ng-model="vm.engagement.aic_instantiation_time"></md-datepicker> <input type="hidden" name="aicInstantiation" class="form-control" ng-model="vm.engagement.aic_instantiation_time"> </div> <div class="form-group"> <span class="form-field-title">ASDC Onboarding</span> <md-datepicker ng-click="ctrl.openCalendarPane($event)" class="btn btn-default" ng-model="vm.engagement.asdc_onboarding_time"></md-datepicker> <input type="hidden" name="asdcOnboarding" class="form-control" ng-model="vm.engagement.asdc_onboarding_time"> </div> </div> </div> <div class="form-group" ng-class="{ \'has-error\' : updateEngagementStatusForm.status.$invalid && updateEngagementStatusForm.status.$dirty }"> <span class="form-field-title">Status</span> <textarea type="text" name="status" class="form-control" ng-model="vm.status" required></textarea> <div class="ice-form-error" data-ng-show="updateEngagementStatusForm.status.$error"> <span ng-show="updateEngagementStatusForm.status.$error.required && updateEngagementStatusForm.status.$dirty" class="help-block ng-hide" aria-hidden="true">Please enter status</span> </div> </div> <button class="btn btn-primary col-md-12" data-ng-disabled="updateEngagementStatusForm.$invalid" type="submit">Submit</button> </form> </div> </div>'),a.put("main/modals/validation-details/detailed-view-validation-details-modal.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="modal-header"> <h3 class="modal-title" id="modal-title">Validation Details (ECOMP, AIC, VF Version)</h3> <button type="button" ng-click="vm.closeModal()" id="close-modal-button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> </div> <div class="modal-body"> <form name="ValidationDetailsForm" id="validation-details-form" ng-submit="vm.submitForm()"> <ng-form name="vfcItemForm"> <div class="row"> <div class="col-md-12 field-title" id="vf-version">VF Version</div> <div class="col-md-12"> <input type="text" name="VFversion" id="id-vf-version" ng-model="vm.VFVersion" maxlength="32" class="form-control"> </div> <div class="ice-form-error" data-ng-show="vfItemForm.VFVersion.$error"> <span ng-show="vfItemForm.VFVersion.$error.pattern">VF Version can be alphanumeric or/and Hyphen</span> </div> </div> <div class="row"> <div class="col-md-12 field-title" id="target-aic-version-headline">Target AIC Version</div> <div class="col-md-12"> <select id="aic-version-select" ng-model="vm.TargetAic" class="form-control"> <option value="" selected disabled>AIC Version</option> <option meta-order="{{$index}}" ng-repeat="dt in vm.deployTargets" id="aic_select_options_{{dt.version}}" value="{{dt.uuid}}" ng-disabled="dt.disabled">{{dt.name}} {{dt.version}} {{dt.disabled ? "- Deprecated" : ""}}</option> </select> </div> </div> <div class="row"> <div class="field-title col-md-12">ECOMP Release</div> <div class="col-md-12"> <select id="ecomp-release-select" ng-model="vm.ECOMPRelease" class="form-control"> <option value="" selected disabled>ECOMP Release</option> <option meta-order="{{$index}}" ng-repeat="dt in vm.ECOMPReleases" id="ecomp-select-options-{{dt.name}}" value="{{dt.uuid}}" ng-disabled="dt.disabled">{{dt.name}} {{dt.disabled ? "- Deprecated" : ""}}</option> </select> </div> </div> </ng-form> <div class="modal-footer"> <button type="submit" id="edit-validation-setails-save-button" class="btn btn-primary" data-ng-disabled="!ValidationDetailsForm.$valid">Save Validation Details</button> </div> </form> </div>'),
+a.put("core/layouts/dashboard/dashboard.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="dashboard"> <div id="toolbar" class="toolbar navbar-fixed-top" ui-view="toolbar"></div> <div id="content-container" class="content-container"> <div id="navigation" class="navigation col-md-2" ui-view="navigation"></div> <div id="content" class="content" ng-class="state.current.params.displaySidebar ? \'col-md-7\' : \'col-md-10\'"> <ice-announcement class="col-md-12"></ice-announcement> <ice-toast is-modal="false" class="col-md-12"></ice-toast> <div ui-view="content"></div> </div> <div ng-if="state.current.params.displaySidebar" id="sidebar" ui-view="sidebar" class="col-md-3"></div> </div> </div>'),a.put("core/layouts/full-page-with-header/full-page-with-header.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <nav id="main-nav" class="welcome-navbar navbar"> <div class="container-fluid"> <div class="navbar-header welcome-nav-link"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse-1"> <span class="sr-only">Toggle navigation</span> Menu <i class="fa fa-bars"></i> </button> <a class="welcome-logo navbar-brand page-scroll" href="#/"> <img class="logo-trans logo-reg" id="logo" src="/styles/images/d2sandbox_logos-150x30.png" height="30" width="150" alt="AT&amp;T | {{\'program.name\' | i18next}}"> </a> </div> <div class="collapse navbar-collapse" id="navbar-collapse-1"> <ul class="nav navbar-nav navbar-right"> <li> <a class="welcome-nav-link page-scroll" ui-sref="app.login">Login</a> </li> <li> <a class="welcome-nav-link page-scroll" ui-sref="app.register">Sign Up</a> </li> </ul> </div> </div> </nav> <div id="full-page-with-header" class="template-layout"> <div id="header-title"> <h1 ng-bind-html="headerTitle"></h1> <h2 ng-bind-html="headerSubTitle"></h2> </div> <div id="content-container" class="content-container"> <div id="content" class="content col-md-12"> <div class="container"> <div class="row"> <div class="col-md-2"></div> <ice-toast is-modal="false" class="col-md-8"></ice-toast> <div class="col-md-2"></div> </div> </div> <div ui-view="content"></div> </div> </div> </div>'),a.put("core/navigation/layouts/account-navigation/navigation.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="dashboard-navigation"> <ice-loader selector=".engagments-list"></ice-loader> <h1 class="caption profile">Profile</h1> <ul class="actions-list"> <li id="app.account-not-selected" ng-class="{\'selected\': vm.selectedPage == \'app.account\'}" ng-click="vm.loadPageContent(\'app.account\')">Account<span class="selected" ng-show="vm.selectedPage == \'app.account\'">&raquo;</span></li> <li id="user-profile-settings" ng-class="{\'selected\': vm.selectedPage == \'app.account.userProfile\'}" ng-click="vm.loadPageContent(\'app.account.userProfile\')">Settings<span class="selected" ng-show="vm.selectedPage == \'app.account.userProfile\'">&raquo;</span></li> <li id="app.notifications-not-selected" ng-class="{\'selected\': vm.selectedPage == \'app.account.notifications\'}" ng-click="vm.loadPageContent(\'app.account.notifications\')">Notifications<span class="selected" ng-show="vm.selectedPage == \'app.account.notifications\'">&raquo;</span></li> </ul> </div>'),a.put("core/navigation/layouts/admin-navigation/navigation.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="admin-navigation"> <ice-loader selector=".engagments-list"></ice-loader> <h1 class="caption" id="left-navigation-title">Admin</h1> <div class="navbar-collapse collapse admin-navbar"> <section class="menu-engagements-category"> <ul class="engagements-list"> <li> <span class="selected clickable sub-category" id="master-checklist-templates">Master Checklist Templates</span> <ul class="engagement-details"> <li data-ng-repeat="template in vm.checkListTemplates" class="clickable"> <span class="engagement_detail_menu_name" ng-class="{\'template-selected\': vm.selectedTemplate.uuid === template.uuid}"> <span ng-click="vm.selectTemplate(template);" name="{{template.name}}">{{template.name}}</span> <span ng-show="vm.selectedTemplate.name == template.name">&raquo;</span> </span> </li> </ul> </li> </ul> </section> </div> </div>'),a.put("core/navigation/layouts/documentation-navigation/navigation.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="documentation"> <ice-loader selector=".documentation-nav"></ice-loader> <span id="mobile-collapse" class="pull-right glyphicon glyphicon-align-justify" data-toggle="collapse" data-target=".navbar-collapse"></span> <h1 class="caption">Documentation</h1> <!-- start of search bar --> <aside id="documentation-search"> <input type="text" id="search-doc" typeahead-template-url="documentationPageSearchTemplate" ng-model="vm.selectedSearchedPage" ng-model-options="{debounce: 300}" uib-typeahead="page for page in vm.documentationPage.children | customDocumentationPageSearch:$viewValue | limitTo:100" typeahead-no-results="noResults" placeholder="Search by page name" class="form-control" typeahead-on-select="vm.loadPageContent($item.id)"> <script type="text/ng-template" id="documentation-page-search-template"><a><span class="search-documentation-name" id="search-{{match.model.title}}">{{match.model.title}}</span>\n </a></script> <div ng-show="noResults" id="search-no-results"> <i class="glyphicon glyphicon-remove"></i> No Match Found </div> </aside> <!-- end of search bar --> <div id="nav-bar-wrapper" class="navbar-collapse collapse"> <ul class="actions-list"> <ul class="pages-list" id="pages-list"> <li ng-class="{\'selected\': vm.documentationPage.id == vm.pageId}" class="page"><span ng-click="vm.loadPageContent(vm.documentationPage.id)">Home</span></li> <li data-ng-repeat="page in vm.documentationPage.children | orderBy: \'_order\'" ng-class="{\'selected\': page.id == vm.pageId}" class="page"> <span ng-click="vm.loadPageContent(page.id)" id="{{page.title}}"> {{page.title}} <span ng-show="page.children && page.children.length > 0" class="fa" ng-class="{\'fa-caret-right\': vm.isPageCollapsed(page), \'fa-caret-down\': !vm.isPageCollapsed(page)}"></span> </span> <ul class="page-childs" ng-class="{\'collapse\': vm.isPageCollapsed(page)}" data-ng-if="page.children && page.children.length > 0"> <li data-ng-repeat="child in page.children | orderBy: \'_order\'" ng-class="{\'selected\': child.id == vm.pageId}" class="sub-page" role="button" tabindex="0"> <span ng-click="vm.loadPageContent(child.id)" id="{{child.title}}" class="child">{{child.title}}</span> <ul class="page-childs" ng-class="{\'collapse\': vm.isPageCollapsed(page)}" data-ng-if="child.children && child.children.length > 0"> <li data-ng-repeat="grandChild in child.children | orderBy: \'_order\'" ng-class="{\'selected\': grandChild.id == vm.pageId}" class="sub-page" role="button" tabindex="0"> <span ng-click="vm.loadPageContent(grandChild.id)" id="{{grandChild.title}}" class="child">{{grandChild.title}}</span> </li> </ul> </li> </ul> </li> </ul> </ul> </div></div>'),a.put("core/navigation/layouts/horizontal-navigation/navigation.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="dashboard-navigation"> <ice-loader selector=".engagements-list"></ice-loader> <get-started-modal></get-started-modal> <h1 class="caption">Engagements<span id="add-engagement" ng-click="vm.openGettingStartedWizard()" class="add-engagement fa fa-plus-circle"></span></h1> <!-- start of search bar --> <span id="mobile-collapse" class="pull-right glyphicon glyphicon-align-justify" data-toggle="collapse" data-target=".navbar-collapse"></span> <aside id="engagement-search"> <input type="text" typeahead-template-url="engagementSelectTemplate" id="search-eng" ng-model="vm.selected_search_engagement" uib-typeahead="engagement for enagement in enagements_search_list | customVFSearchFilter:$viewValue | limitTo:100" popover-trigger="outsideClick" popover-placement="right" uib-popover="For example search by User Email" typeahead-no-results="noResults" placeholder="Eng. ID, VF, VFC, User" class="form-control" typeahead-on-select="vm.searchSelectEngagement($item.engagement__uuid)"> <script type="text/ng-template" id="engagementSelectTemplate"><a>\n <span class="search-engagement-name" id="search-{{match.model.vf__name}}">{{match.model.engagement__engagement_manual_id}}: {{match.model.vf__name}}</span>\n </a></script> <div ng-show="noResults" id="search-no-results"> <i class="glyphicon glyphicon-remove"></i> No Match Found </div> </aside> <div id="nav-bar-wrapper" class="navbar-collapse collapse"> <!-- end of search bar --> <section id="menu-starred" class="menu-engagements-category"> <h2 class="menu-engagement-category-title">Starred</h2> <ul class="engagements-list"> <li data-ng-repeat="engagement in vm.starred_engagements | toArray | orderBy:\'engagement_manual_id\'" ng-class="{\'selected\': engagement.selected===true && vm.view_type != \'dashboard\'}" id="{{engagement.engagement_manual_id}}"> <span ng-if="engagement.red_dot" class="red_dot sprite" alt="{{engagement.red_dot | capitalize}}" title="{{engagement.red_dot | capitalize}}" popover-trigger="mouseenter" popover-html="true" popover-placement="right" uib-popover="{{engagement.red_dot | capitalize}}"> </span> <span id="clickable-{{engagement.name}}" class="clickable" ng-click="vm.selectEngagement(engagement.uuid,\'overview\');">{{engagement.name}}</span> <ul class="engagement-details" data-ng-if="engagement.selected===true && vm.view_type != \'dashboard\'"> <li id="overview-{{engagement.name}}" ng-click="vm.selectEngagement(engagement.uuid,\'overview\');" ng-class="{\'selected\': engagement.page == \'overview\'}" class="clickable"> <span class="engagement_detail_menu_name">Overview</span> <span class="engagement_detail_menu_raquo" ng-if="engagment.page == \'overview\'">&raquo;</span> </li> <li id="detailed-view-{{engagement.name}}" ng-click="vm.selectEngagement(engagement.uuid,\'detailedview\');" ng-class="{\'selected\': engagement.page == \'detailedview\'}" class="clickable"> <span class="engagement_detail_menu_name">Detailed View</span> <span class="engagement_detail_menu_raquo" ng-if="engagment.page == \'detailedview\'">&raquo;</span> </li> <li class="engagement-details-sub-catgeory" ng-if="(vm.isEngagementEL || vm.isAdmin)"> <span class="sub-category-title">Checklist <span data-ng-if="(vm.isReviewer || vm.isAdmin)" id="checklist-plus-{{vm.engagement.uuid}}" class="clickable add-checklist fa fa-plus-circle" data-ng-click="vm.addChecklist(vm.engagement.uuid)" class="clickable"></span> </span> <ul class="engagement-checklist" data-ng-if="engagement.selected===true"> <li data-ng-repeat="checklist in engagement.checklists" id="checklist-{{checklist.uuid}}" ng-class="{\n \'clickable\' : vm.user.uuid == checklist.owner__uuid || vm.isAdmin,\n \'disabled\' : vm.user.uuid != checklist.owner__uuid && !vm.isAdmin || (checklist.state == \'closed\' && !vm.isAdmin),\n \'selected\': engagement.sub_id == checklist.uuid\n }" alt="{{checklist.state | capitalize }}" ng-click="( (checklist.state != \'closed\' && ((vm.me.uuid == checklist.owner__uuid)|| vm.isAdmin)) || ((checklist.state == \'closed\') && vm.isAdmin) ) && vm.selectEngagement(engagement.uuid,\'checklist\',checklist.uuid); "> <span popover-trigger="mouseenter" popover-html="true" popover-placement="right" uib-popover="{{checklist.state | capitalize}}" class="checklist-icon sprite {{checklist.state}}-state"></span>{{checklist.name}} </li> </ul> </li> </ul> </li> </ul> </section> <section id="menu-recent" class="menu-engagements-category"> <h2 class="menu-engagement-category-title">Recent</h2> <ul class="engagements-list"> <li data-ng-repeat="engagement in vm.recent_engagements | toArray | orderBy:\'-last_update\'" ng-class="{\'selected\': engagement.selected===true && vm.view_type != \'dashboard\'}" id="{{engagement.engagement_manual_id}}"> <span ng-if="engagement.red_dot" class="red_dot sprite" alt="{{engagement.red_dot | capitalize}}" title="{{engagement.red_dot | capitalize}}" popover-trigger="mouseenter" popover-html="true" popover-placement="right" uib-popover="{{engagement.red_dot | capitalize}}"> </span> <span id="clickable-{{engagement.name}}" class="clickable" ng-click="vm.selectEngagement(engagement.uuid,\'overview\');"> {{engagement.name}}</span> <ul class="engagement-details" data-ng-if="engagement.selected===true && vm.view_type != \'dashboard\'"> <li id="overview-{{engagement.name}}" ng-click="vm.selectEngagement(engagement.uuid,\'overview\');" ng-class="{\'selected\': engagement.page == \'overview\'}" class="clickable"> <span class="engagement_detail_menu_name">Overview</span> <span class="engagement_detail_menu_raquo" ng-if="engagment.page == \'overview\'">&raquo;</span> </li> <li id="detailed-view-{{engagement.name}}" ng-click="vm.selectEngagement(engagement.uuid,\'detailedview\');" ng-class="{\'selected\': engagement.page == \'detailedview\'}" class="clickable"> <span class="engagement_detail_menu_name">Detailed View</span> <span class="engagement_detail_menu_raquo" ng-if="engagment.page == \'detailedview\'">&raquo;</span> </li> <li class="engagement-details-sub-catgeory" ng-if="vm.isEngagementEL || vm.isAdmin"> <span class="sub-category-title">Checklist <span data-ng-if="vm.isReviewer || vm.isAdmin" id="checklist-plus-{{vm.engagement.uuid}}" class="clickable add-checklist fa fa-plus-circle" data-ng-click="vm.addChecklist(vm.engagement.uuid)" class="clickable"></span> </span> <ul class="engagement-checklist" data-ng-if="engagement.selected===true"> <li data-ng-repeat="checklist in engagement.checklists" id="checklist-{{checklist.uuid}}" ng-class="{\n \'clickable\' : vm.user.uuid == checklist.owner__uuid || vm.isAdmin,\n \'disabled\' : ((vm.user.uuid != checklist.owner__uuid) && !vm.isAdmin) || (checklist.state == \'closed\' && !vm.isAdmin),\n \'selected\': engagement.sub_id == checklist.uuid\n }" alt="{{checklist.state | capitalize }}" ng-click=" ( (checklist.state != \'closed\' && (vm.user.uuid == checklist.owner__uuid || vm.isAdmin)) || ((checklist.state == \'closed\') && vm.isAdmin) ) && vm.selectEngagement(engagement.uuid,\'checklist\',checklist.uuid);"><span popover-trigger="mouseenter" popover-html="true" popover-placement="right" uib-popover="{{checklist.state | capitalize}}" class="checklist-icon sprite {{checklist.state}}-state"></span>{{checklist.name}} </li> </ul> </li> </ul> </li> </ul> </section> <ice-tool-tip></ice-tool-tip> </div></div>'),a.put("core/toolbar/layouts/horizontal-navigation/toolbar.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="col-xs-2 col-sm-2 col-md-2"> <a ui-sref="app.dashboard.dashboard"><div class="header-logo" id="logo"></div></a> </div> <div class="col-xs-8 col-sm-8 col-md-8"> <ul class="header-top-menu"> <li><a ui-sref="app.dashboard.dashboard" id="dashboard">Dashboard</a></li> <li><a ui-sref="app.documentation" id="documentation">Documentation</a></li> </ul> </div> <div class="col-xs-2 col-sm-2 col-md-2 header-right"> <!--<div class="header-chat"></div>--> <span uib-dropdown on-toggle="toggled(open)" dropdown-append-to="toolbar"> <div class="header-avatar" id="avatar" uib-dropdown-toggle> <span ng-if="vm.notifications>0" class="notifications"><span id="notifications-count" class="count">{{vm.notifications}}</span> </span></div> <ul class="dropdown-menu" uib-dropdown-menu role="menu"> <li role="menuitem"><a ui-sref="app.account">Account</a></li> <li class="divider"></li> <li role="menuitem"><a href data-ng-click="vm.addFeedback()" id="feedback-toolbar-link">Feedback</a></li> <li class="divider"></li> <li role="menuitem"><a ui-sref="app.account.notifications">Notifications</a></li> <li class="divider"></li> <li role="menuitem" ng-if="vm.isAdmin"><a ui-sref="app.admin" class="dashboard-admin-link" id="admin-toolbar-link">Admin</a></li> <li class="divider" ng-if="vm.isAdmin"></li> <li role="menuitem"><a href data-ng-click="vm.logout()" class="logout">Logout</a></li> </ul> </span> <!--<i class="fa fa-user"></i>\n <i class="fa fa-sign-out"></i>--> </div>'),a.put("directives/ice-announcement/ice-announcement.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="ice-toast" ng-if="toast.show" ng-show="toast.displayFor==\'all\' || (toast.displayFor==\'modal\' && isModal)"> <uib-alert type="{{toast.type}}" close="closeAlert()"> <span id="announcement-successfully-message" ng-bind-html="toast.message"></span> <a ng-if="toast.readMore" id="read-more-button" ng-click="toast.readMore()"><u> Read more >></u></a> </uib-alert> </div>'),a.put("directives/ice-loader/ice-loader.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="ice-loader" ng-if="loader.show===true"></div>'),a.put("directives/ice-news-and-announcement/ice-news-and-announcement.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="col-md-12" id="news-and-announcements"> <div id="news-and-announcements-header">News & Announcements</div> <ul id="news-and-announcements-list"> <h4 class="news-and-announcements-details-title" ng-if="!cmsPosts || cmsPosts.length === 0">There are no posts.</h4> <li data-ng-repeat="post in cmsPosts" class="news-and-announcements-details"> <div class="news-and-announcements-details-header row"> <h2 class="news-and-announcements-details-title" id="{{post.title}}" ng-click="openCMSReadMoreModal(post)">{{post.title}}</h2> </div> <span class="news-and-announcements-creation">Posted at {{post.publish_date | date2: \'EEEE MMMM doo yyyy\'}} by {{post.user.username}}</span> <p ng-show="showDescription" class="news-and-announcements-description" id="{{post.description}}" ng-bind-html="post.description | htmlspecialchars"></p> </li> </ul> </div>'),
+a.put("directives/ice-toast/ice-toast.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="ice-toast" ng-if="toast.show" ng-show="toast.displayFor==\'all\' || (toast.displayFor==\'modal\' && isModal)"> <uib-alert type="{{toast.type}}" close="closeAlert()"> <span id="toast-successfully-message" ng-bind-html="toast.message"></span> <a ng-if="toast.readMore" id="read-more-button" ng-click="toast.readMore()"><u> Read more >></u></a> </uib-alert> </div>'),a.put("directives/ice-tooltip/ice-tooltip.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div ng-show="tipContent && tipContent.excerpt" class="col-md-12 tooltip-container"> <div class="tooltip-title ng-binding" id="tooltip-title">Did you know?</div> <div class="tooltip-content"> <h4 id="tooltip-description">{{tipContent.excerpt}}</h4> </div> </div>'),a.put("directives/progress/progress.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="steps-progress-wrapper"> <div class="row progress-body-content"> <span id="progress_bar_{{data.manual_id}}" class="progress-left-content col-md-8"> <div class="description"> <span ng-if="!statuses" class="progress-title"><span class="manual-id">Progress</span> <span uib-popover="This is where you can see the current progress in the validation.\n You will also see the projected days left before the {{\'program.name\' | i18next}} team has completed\n the validation." popover-title="Progress" popover-trigger="click" popover-html="true" popover-placement="right" class="progress-question-mark fa fa-question-circle-o"> <span ng-mouseover="" ng-mouseleave="" class="" data-ng-click="vm"></span> </span> </span> <span ng-if="statuses" class="progress-title"> <span id="starred-{{data.manual_id}}" class="star-engagement-action fa" ng-class="data.starred ? \'fa-star\' : \'fa-star-o\'" ng-click="starEngagement()"></span> <span ng-click="goToEngagement(data.engagement_uuid)" class="progress-click"><span class="manual-id" id="eng-{{data.manual_id}}: {{data.name}}">{{data.manual_id}}: </span>{{data.name}}</span> </span> </div> <div class="steps-progress-bar"> <div class="progress-filled" ng-style="{\'flex-grow\': progress}"></div> <div class="progress-empty" data-ng-class="{\'right\': progress<=50, \'full\' : progress==100}" ng-style="{\'flex-grow\': 100-progress}"> <span id="progress-percentage" class="percents">{{progress}}&nbsp;%</span> <span id="edit-change-progress" class="edit fa fa-pencil-square-o" data-ng-if="data.enable_edit" data-ng-click="changeProgress()"></span> </div> </div> <div class="progress-version-release row"> <span class="col-md-4">Target AIC Version: {{data.aic_version}}</span> <span class="col-md-4"> ECOMP Release: {{data.ecomp_release}}</span> <span class="col-md-4"> VNF Version: <span class="vnf_version_value" ng-bind="data.vnf_version ? data.vnf_version : \'-\'"></span></span> </div> </span> <span class="progress-side-info col-md-4"> <div class="row"> <div><span class="progress-side-info-row progress-side-info-first-row col-md-7">Heat Validated:</span><span id="heat-validated-time" class="value col-md-5">{{data.heat_validated_time | date:\'shortDate\'}}</span></div> <div><span class="progress-side-info-row col-md-7">Image Scan:</span><span id="image-scan-time" class="value col-md-5">{{data.image_scan_time | date:\'shortDate\'}}</span></div> <div><span class="progress-side-info-row col-md-7">AIC Instantiation:</span><span id="aic-instantiation-time" class="value col-md-5">{{data.aic_instantiation_time | date:\'shortDate\'}}</span></div> <div><span class="progress-side-info-row progress-side-info-last-row col-md-7">ASDC Onboarding:</span><span id="asdc-onboarding-time" class="value col-md-5">{{data.asdc_onboarding_time | date:\'shortDate\'}}</span></div> </div> </span> </div></div>'),a.put("directives/step-stages/step-stages.html",'<!--\n============LICENSE_START========================================== \norg.onap.vvp/portal\n===================================================================\nCopyright © 2017 AT&T Intellectual Property. All rights reserved.\n===================================================================\n\nUnless otherwise specified, all software contained herein is licensed\nunder the Apache License, Version 2.0 (the “License”);\nyou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\nUnless otherwise specified, all documentation contained herein is licensed\nunder the Creative Commons License, Attribution 4.0 Intl. (the “License”);\nyou may not use this documentation except in compliance with the License.\nYou may obtain a copy of the License at\n\n https:creativecommons.org/licenses/by/4.0/\n\nUnless required by applicable law or agreed to in writing, documentation\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n============LICENSE_END============================================\n\nECOMP is a trademark and service mark of AT&T Intellectual Property.--> <div class="steps-stages-wrapper"> <div id="set-stage-{{const.intake}}" ng-click="set_stage(\'Intake\')" class="steps-stage" ng-mouseover="hover_actions(true,1)" ng-mouseleave="hover_actions(false,0)" data-ng-class="{\'selected\': stage_num == 1, \'previous-stage\': stage_num > 1, \'hover-selected\': (priviliged == true) && (hover == true && temp_num == 1), \'hover-previous-stage\': (priviliged == true) &&(hover == true && temp_num > 1)}"><span class="circle"></span><span class="line"></span><span class="text">{{const.intake}}</span></div> <div id="set-stage-{{const.active}}" ng-click="set_stage(\'Active\')" class="steps-stage" ng-mouseover="hover_actions(true,2)" ng-mouseleave="hover_actions(false,0)" data-ng-class="{\'selected\': stage_num == 2, \'previous-stage\': stage_num > 2, \'hover-selected\': (priviliged == true) && (hover == true && temp_num == 2), \'hover-previous-stage\': (priviliged == true) &&(hover == true && temp_num > 2)}"><span class="circle"></span><span class="line"></span><span class="text">{{const.active}}</span></div> <div id="set-stage-{{const.validated}}" ng-click="set_stage(\'Validated\')" class="steps-stage" ng-mouseover="hover_actions(true,3)" ng-mouseleave="hover_actions(false,0)" data-ng-class="{\'selected\': stage_num == 3, \'previous-stage\': stage_num > 3, \'hover-selected\': (priviliged == true) && (hover == true && temp_num == 3), \'hover-previous-stage\': (priviliged == true) &&(hover == true && temp_num > 3)}"><span class="circle"></span><span class="line"></span><span class="text">{{const.validated}}</span></div> <div id="set-stage-{{const.completed}}" ng-click="set_stage(\'Completed\')" class="steps-stage" ng-mouseover="hover_actions(true,4)" ng-mouseleave="hover_actions(false,0)" data-ng-class="{\'selected\': stage_num == 4, \'hover-selected\': (priviliged == true) && (hover == true && temp_num == 4), }"><span class="circle"></span><span class="line"></span><span class="text">{{const.completed}}</span></div> </div>')}]);