From d0ea6a49ce88f043a6b7ce7ff8a7bb6333bd691c Mon Sep 17 00:00:00 2001 From: Edan Binshtok Date: Tue, 17 Oct 2017 17:42:16 +0300 Subject: Removal of AT&T Proprietary Remove Terms of d2ice Remove d2ice and att in js Remove fonts Change-Id: I383d96979e0f9f7af923365f2dba7b0c7fb8f0eb Issue-Id: VVP-25 Signed-off-by: Edan Binshtok --- d2ice.att.io/app/.watch.me | 0 d2ice.att.io/app/app.config.js | 60 - d2ice.att.io/app/app.constants.js | 75 - d2ice.att.io/app/app.controller.js | 74 - d2ice.att.io/app/app.module.js | 110 - d2ice.att.io/app/app.route.js | 97 - d2ice.att.io/app/app.run.js | 244 -- .../core/js/jquery.nicescroll-master/MIT.LICENSE | 17 - .../app/core/js/jquery.nicescroll-master/README.md | 182 - .../core/js/jquery.nicescroll-master/bower.json | 15 - .../jquery.nicescroll-master/changelog_3.6.8.txt | 31 - .../dist/jquery.nicescroll.min.js | 158 - .../js/jquery.nicescroll-master/dist/zoomico.png | Bin 393 -> 0 bytes .../jquery.nicescroll-master/jquery.nicescroll.js | 3755 ----------------- .../jquery.nicescroll.min.js | 158 - .../core/js/jquery.nicescroll-master/package.json | 76 - .../core/js/jquery.nicescroll-master/zoomico.png | Bin 393 -> 0 bytes .../app/core/layouts/dashboard/dashboard.html | 50 - .../app/core/layouts/dashboard/dashboard.less | 65 - .../full-page-with-header.html | 79 - .../full-page-with-header.less | 112 - .../account.navigation.controller.js | 63 - .../layouts/account-navigation/navigation.html | 48 - .../layouts/account-navigation/navigation.less | 75 - .../admin.navigation.controller.js | 93 - .../layouts/admin-navigation/navigation.html | 64 - .../layouts/admin-navigation/navigation.less | 133 - .../documentation.navigation.controller.js | 100 - .../documentation-navigation/navigation.html | 85 - .../documentation-navigation/navigation.less | 110 - .../layouts/horizontal-navigation/navigation.html | 197 - .../layouts/horizontal-navigation/navigation.less | 208 - .../app/core/navigation/navigation.controller.js | 456 -- .../app/core/navigation/navigation.module.js | 51 - .../layouts/horizontal-navigation/toolbar.html | 75 - .../layouts/horizontal-navigation/toolbar.less | 132 - .../app/core/toolbar/toolbar.controller.js | 94 - d2ice.att.io/app/core/toolbar/toolbar.module.js | 51 - .../ice-announcement/ice-announcement.directive.js | 91 - .../ice-announcement/ice-announcement.html | 44 - .../directives/ice-loader/ice-loader.directive.js | 96 - .../app/directives/ice-loader/ice-loader.html | 39 - .../app/directives/ice-loader/ice-loader.less | 52 - .../ice-news-and-announcement.directive.js | 87 - .../ice-news-and-announcement.html | 51 - .../ice-news-and-announcement.less | 80 - .../directives/ice-toast/ice-toast.directive.js | 76 - .../app/directives/ice-toast/ice-toast.html | 44 - .../app/directives/ice-toast/ice-toast.less | 48 - .../ice-tooltip/ice-tooltip.directive.js | 69 - .../app/directives/ice-tooltip/ice-tooltip.html | 44 - .../app/directives/ice-tooltip/ice-tooltip.less | 82 - .../notifications/notifications.directive.js | 130 - .../app/directives/progress/progress.directive.js | 211 - d2ice.att.io/app/directives/progress/progress.html | 82 - d2ice.att.io/app/directives/progress/progress.less | 184 - .../step-stages/step-stages.directive.js | 172 - .../app/directives/step-stages/step-stages.html | 44 - .../app/directives/step-stages/step-stages.less | 75 - d2ice.att.io/app/favicon.png | Bin 6364 -> 0 bytes d2ice.att.io/app/filters/capitalize.filter.js | 52 - .../customDocumentationPageSearch.filter.js | 58 - .../app/filters/customVFSearchFilter.filter.js | 62 - d2ice.att.io/app/filters/date2.filter.js | 60 - d2ice.att.io/app/filters/doesExists.filter.js | 52 - .../app/filters/htmlspecialchars.filter.js | 62 - d2ice.att.io/app/filters/htmlstylespan.filter.js | 56 - d2ice.att.io/app/filters/trusted.filter.js | 49 - d2ice.att.io/app/index.html | 262 -- d2ice.att.io/app/interceptors/httpInterceptors.js | 95 - d2ice.att.io/app/locales/en/translation.json | 12 - .../activation/activate/activateUser.controller.js | 60 - .../app/main/activation/activate/activateUser.html | 39 - .../activation/activate/activateUser.module.js | 58 - .../addVendorContact.controller.js | 111 - .../addVendorContact/addVendorContact.html | 111 - .../addVendorContact/addVendorContact.less | 82 - .../addVendorContact/addVendorContact.module.js | 67 - .../app/main/activation/addVf/addVf.controller.js | 277 -- d2ice.att.io/app/main/activation/addVf/addVf.html | 130 - d2ice.att.io/app/main/activation/addVf/addVf.less | 176 - .../app/main/activation/addVf/addVf.module.js | 67 - .../activation/contactUs/contactUs.controller.js | 57 - .../app/main/activation/contactUs/contactUs.html | 53 - .../app/main/activation/contactUs/contactUs.less | 59 - .../main/activation/contactUs/contactUs.module.js | 67 - .../inviteMembers/inviteMembers.controller.js | 97 - .../activation/inviteMembers/inviteMembers.html | 72 - .../activation/inviteMembers/inviteMembers.less | 86 - .../inviteMembers/inviteMembers.module.js | 67 - .../app/main/activation/login/login.controller.js | 119 - d2ice.att.io/app/main/activation/login/login.html | 90 - d2ice.att.io/app/main/activation/login/login.less | 109 - .../app/main/activation/login/login.module.js | 68 - .../activation/register/register.controller.js | 122 - .../app/main/activation/register/register.html | 127 - .../app/main/activation/register/register.less | 100 - .../main/activation/register/register.module.js | 67 - .../resendActivation.controller.js | 79 - .../resendActivation/resendActivation.html | 61 - .../resendActivation/resendActivation.less | 67 - .../resendActivation/resendActivation.module.js | 68 - .../resetPassword/resetPassword.controller.js | 95 - .../activation/resetPassword/resetPassword.html | 64 - .../activation/resetPassword/resetPassword.less | 84 - .../resetPassword/resetPassword.module.js | 68 - .../app/main/activation/terms/terms.controller.js | 56 - d2ice.att.io/app/main/activation/terms/terms.html | 105 - d2ice.att.io/app/main/activation/terms/terms.less | 65 - .../app/main/activation/terms/terms.module.js | 68 - .../updatePassword/updatePassword.controller.js | 95 - .../activation/updatePassword/updatePassword.html | 76 - .../activation/updatePassword/updatePassword.less | 85 - .../updatePassword/updatePassword.module.js | 68 - d2ice.att.io/app/main/admin/admin.module.js | 89 - .../checklist-template.controller.js | 241 -- .../checklist-template/checklist-template.html | 174 - .../checklist-template/checklist-template.less | 552 --- .../main/dashboard/account/account.controller.js | 150 - .../app/main/dashboard/account/account.html | 159 - .../app/main/dashboard/account/account.less | 215 - .../app/main/dashboard/account/account.module.js | 85 - .../notifications/notifications.controller.js | 140 - .../account/notifications/notifications.html | 60 - .../account/notifications/notifications.less | 348 -- .../user-profile-settings.controller.js | 98 - .../user-profile-settings.html | 66 - .../user-profile-settings.less | 45 - .../dashboard/checklist/checklist.controller.js | 445 -- .../app/main/dashboard/checklist/checklist.html | 117 - .../app/main/dashboard/checklist/checklist.less | 826 ---- .../dashboard/dashboard/dashboard.controller.js | 235 -- .../app/main/dashboard/dashboard/dashboard.html | 111 - .../app/main/dashboard/dashboard/dashboard.less | 189 - .../detailed-view/detailed-view.controller.js | 245 -- .../dashboard/detailed-view/detailed-view.html | 109 - .../dashboard/detailed-view/detailed-view.less | 400 -- .../get-started-modal.directive.js | 308 -- .../get-started-modal/get-started-modal.html | 38 - .../get-started-modal/get-started-modal.less | 47 - .../get-started-modal/get-started-modal.module.js | 48 - .../get-started-modal/wizard/wizard-container.html | 192 - .../dashboard/get-started-modal/wizard/wizard.less | 255 -- d2ice.att.io/app/main/dashboard/main.module.js | 107 - d2ice.att.io/app/main/dashboard/main/main.html | 172 - .../main/dashboard/overview/overview.controller.js | 833 ---- .../app/main/dashboard/overview/overview.html | 212 - .../app/main/dashboard/overview/overview.less | 575 --- .../main/documentation/documentation.controller.js | 74 - .../app/main/documentation/documentation.html | 47 - .../app/main/documentation/documentation.less | 96 - .../app/main/documentation/documentation.module.js | 74 - .../sidebar/documentation.sidebar.html | 41 - .../sidebar/documentation.sidebar.less | 61 - d2ice.att.io/app/main/errors/404.html | 190 - d2ice.att.io/app/main/main.controller.js | 60 - .../archive-engagement-modal.controller.js | 66 - .../archive-engagement-modal.html | 56 - .../archive-engagement-modal.less | 54 - .../main/modals/audit-log/audit-log.controller.js | 95 - .../app/main/modals/audit-log/audit-log.html | 76 - .../app/main/modals/audit-log/audit-log.less | 49 - .../modals/change-date/change-date.controller.js | 75 - .../app/main/modals/change-date/change-date.html | 62 - .../change-progress/change-progress.controller.js | 71 - .../modals/change-progress/change-progress.html | 65 - .../main/modals/checklist/checklist.controller.js | 238 -- .../app/main/modals/checklist/checklist.html | 107 - .../state-approve-or-reject.controller.js | 105 - .../state-approve-or-reject.html | 58 - .../state-approve-or-reject.less | 173 - .../cms-post-modal/cms-post-modal.controller.js | 92 - .../main/modals/cms-post-modal/cms-post-modal.html | 55 - .../main/modals/cms-post-modal/cms-post-modal.less | 106 - .../detailed-view-dtsites-modal.controller.js | 100 - .../dtsite/detailed-view-dtsites-modal.html | 62 - .../vfc/detailed-view-vfc-modal.controller.js | 124 - .../detailed-view/vfc/detailed-view-vfc-modal.html | 100 - .../detailed-view/vfc/detailed-view-vfc-modal.less | 68 - .../main/modals/feedback/feedback.controller.js | 82 - .../app/main/modals/feedback/feedback.html | 57 - .../app/main/modals/feedback/feedback.less | 44 - .../general-log-modal.controller.js | 63 - .../general-log-modal/general-log-modal.html | 45 - .../general-log-modal/general-log-modal.less | 72 - .../general-prompt-modal.controller.js | 74 - .../general-prompt-modal/general-prompt-modal.html | 52 - .../general-prompt-modal/general-prompt-modal.less | 151 - .../modals/next-steps/next-steps.controller.js | 278 -- .../app/main/modals/next-steps/next-steps.html | 138 - .../app/main/modals/next-steps/next-steps.less | 307 -- .../select-el-modal/select-el-modal.controller.js | 78 - .../modals/select-el-modal/select-el-modal.html | 56 - .../modals/select-el-modal/select-el-modal.less | 54 - .../set-eng-stage-modal.controller.js | 63 - .../modals/set-eng-stage/set-eng-stage-modal.html | 49 - .../modals/set-eng-stage/set-eng-stage-modal.less | 135 - .../modals/set-eng-stage/set_eng_stage_modal.html | 58 - .../app/main/modals/status/status.controller.js | 125 - d2ice.att.io/app/main/modals/status/status.html | 59 - d2ice.att.io/app/main/modals/status/status.less | 44 - .../change-lab-entry-date.controller.js | 78 - .../target-lab-entry/change-lab-entry-date.html | 55 - .../target-lab-entry/change-lab-entry-date.less | 49 - .../update-engagement-status-modal.controller.js | 73 - .../update-engagement-status-modal.html | 97 - .../update-engagement-status-modal.less | 61 - ...led-view-validation-details-modal.controller.js | 202 - .../detailed-view-validation-details-modal.html | 101 - .../detailed-view-validation-details-modal.less | 49 - d2ice.att.io/app/robots.txt | 4 - d2ice.att.io/app/services/cache.service.js | 89 - d2ice.att.io/app/services/checklist.service.js | 213 - d2ice.att.io/app/services/cms.service.js | 162 - d2ice.att.io/app/services/dtsite.service.js | 100 - d2ice.att.io/app/services/feedback.service.js | 63 - d2ice.att.io/app/services/localstorage.service.js | 63 - .../app/services/sessionStorage.service.js | 65 - d2ice.att.io/app/services/status.service.js | 87 - d2ice.att.io/app/services/steps.service.js | 162 - d2ice.att.io/app/services/toast.service.js | 92 - d2ice.att.io/app/services/users.service.js | 322 -- d2ice.att.io/app/services/vf.service.js | 403 -- d2ice.att.io/app/services/vfc.service.js | 99 - d2ice.att.io/app/styles/buttons.less | 38 - d2ice.att.io/app/styles/fonts.less | 110 - .../styles/fonts/ClearviewATT/ClearviewATT-Bd.eot | Bin 92160 -> 0 bytes .../styles/fonts/ClearviewATT/ClearviewATT-Bd.svg | 424 -- .../styles/fonts/ClearviewATT/ClearviewATT-Bd.ttf | Bin 93916 -> 0 bytes .../styles/fonts/ClearviewATT/ClearviewATT-Bd.woff | Bin 42192 -> 0 bytes .../fonts/ClearviewATT/ClearviewATT-BdIt.eot | Bin 104184 -> 0 bytes .../fonts/ClearviewATT/ClearviewATT-BdIt.svg | 425 -- .../fonts/ClearviewATT/ClearviewATT-BdIt.ttf | Bin 105932 -> 0 bytes .../fonts/ClearviewATT/ClearviewATT-BdIt.woff | Bin 46444 -> 0 bytes .../styles/fonts/ClearviewATT/ClearviewATT-Bk.eot | Bin 86088 -> 0 bytes .../styles/fonts/ClearviewATT/ClearviewATT-Bk.svg | 425 -- .../styles/fonts/ClearviewATT/ClearviewATT-Bk.ttf | Bin 88696 -> 0 bytes .../styles/fonts/ClearviewATT/ClearviewATT-Bk.woff | Bin 39280 -> 0 bytes .../fonts/ClearviewATT/ClearviewATT-BkIt.eot | Bin 104224 -> 0 bytes .../fonts/ClearviewATT/ClearviewATT-BkIt.svg | 425 -- .../fonts/ClearviewATT/ClearviewATT-BkIt.ttf | Bin 105972 -> 0 bytes .../fonts/ClearviewATT/ClearviewATT-BkIt.woff | Bin 46676 -> 0 bytes .../styles/fonts/ClearviewATT/ClearviewATT-Lt.eot | Bin 89640 -> 0 bytes .../styles/fonts/ClearviewATT/ClearviewATT-Lt.svg | 425 -- .../styles/fonts/ClearviewATT/ClearviewATT-Lt.ttf | Bin 92288 -> 0 bytes .../styles/fonts/ClearviewATT/ClearviewATT-Lt.woff | Bin 40332 -> 0 bytes .../fonts/ClearviewATT/ClearviewATT-LtIt.eot | Bin 108396 -> 0 bytes .../fonts/ClearviewATT/ClearviewATT-LtIt.svg | 424 -- .../fonts/ClearviewATT/ClearviewATT-LtIt.ttf | Bin 110192 -> 0 bytes .../fonts/ClearviewATT/ClearviewATT-LtIt.woff | Bin 48120 -> 0 bytes .../styles/fonts/OmnesATT/AT&T Variation ID.tab | 9 - .../fonts/OmnesATT/OmnesATTW02BoldItalic.eot | Bin 31322 -> 0 bytes .../fonts/OmnesATT/OmnesATTW02BoldItalic.svg | 3671 ---------------- .../fonts/OmnesATT/OmnesATTW02BoldItalic.ttf | Bin 68660 -> 0 bytes .../fonts/OmnesATT/OmnesATTW02BoldItalic.woff | Bin 35986 -> 0 bytes .../app/styles/fonts/OmnesATT/Omnes_ATTW02.eot | Bin 30321 -> 0 bytes .../app/styles/fonts/OmnesATT/Omnes_ATTW02.svg | 3694 ----------------- .../app/styles/fonts/OmnesATT/Omnes_ATTW02.ttf | Bin 71692 -> 0 bytes .../app/styles/fonts/OmnesATT/Omnes_ATTW02.woff | Bin 35610 -> 0 bytes .../app/styles/fonts/OmnesATT/Omnes_ATTW02Bold.eot | Bin 32077 -> 0 bytes .../app/styles/fonts/OmnesATT/Omnes_ATTW02Bold.svg | 4365 -------------------- .../app/styles/fonts/OmnesATT/Omnes_ATTW02Bold.ttf | Bin 71564 -> 0 bytes .../styles/fonts/OmnesATT/Omnes_ATTW02Bold.woff | Bin 37149 -> 0 bytes .../styles/fonts/OmnesATT/Omnes_ATTW02Italic.eot | Bin 32079 -> 0 bytes .../styles/fonts/OmnesATT/Omnes_ATTW02Italic.svg | 3799 ----------------- .../styles/fonts/OmnesATT/Omnes_ATTW02Italic.ttf | Bin 76564 -> 0 bytes .../styles/fonts/OmnesATT/Omnes_ATTW02Italic.woff | Bin 37872 -> 0 bytes .../styles/fonts/OmnesATT/Omnes_ATTW02Light.eot | Bin 32072 -> 0 bytes .../styles/fonts/OmnesATT/Omnes_ATTW02Light.svg | 3872 ----------------- .../styles/fonts/OmnesATT/Omnes_ATTW02Light.ttf | Bin 73968 -> 0 bytes .../styles/fonts/OmnesATT/Omnes_ATTW02Light.woff | Bin 37342 -> 0 bytes .../fonts/OmnesATT/Omnes_ATTW02LightItalic.eot | Bin 30983 -> 0 bytes .../fonts/OmnesATT/Omnes_ATTW02LightItalic.svg | 3030 -------------- .../fonts/OmnesATT/Omnes_ATTW02LightItalic.ttf | Bin 70088 -> 0 bytes .../fonts/OmnesATT/Omnes_ATTW02LightItalic.woff | Bin 36261 -> 0 bytes .../styles/fonts/OmnesATT/Omnes_ATTW02Medium.eot | Bin 28695 -> 0 bytes .../styles/fonts/OmnesATT/Omnes_ATTW02Medium.svg | 2473 ----------- .../styles/fonts/OmnesATT/Omnes_ATTW02Medium.ttf | Bin 65152 -> 0 bytes .../styles/fonts/OmnesATT/Omnes_ATTW02Medium.woff | Bin 33641 -> 0 bytes .../fonts/OmnesATT/Omnes_ATTW02MediumItalic.eot | Bin 33730 -> 0 bytes .../fonts/OmnesATT/Omnes_ATTW02MediumItalic.svg | 3837 ----------------- .../fonts/OmnesATT/Omnes_ATTW02MediumItalic.ttf | Bin 77508 -> 0 bytes .../fonts/OmnesATT/Omnes_ATTW02MediumItalic.woff | Bin 39182 -> 0 bytes .../app/styles/fonts/OmnesATT/demo-async.htm | 169 - d2ice.att.io/app/styles/fonts/OmnesATT/demo.htm | 155 - d2ice.att.io/app/styles/form.less | 54 - d2ice.att.io/app/styles/global.less | 174 - d2ice.att.io/app/styles/images/Collaborate.png | Bin 6592 -> 0 bytes d2ice.att.io/app/styles/images/Incubate.png | Bin 8136 -> 0 bytes d2ice.att.io/app/styles/images/Validate.png | Bin 6803 -> 0 bytes d2ice.att.io/app/styles/images/actions-sprite.png | Bin 1344 -> 0 bytes d2ice.att.io/app/styles/images/btn1.png | Bin 946 -> 0 bytes d2ice.att.io/app/styles/images/btn2.png | Bin 1029 -> 0 bytes d2ice.att.io/app/styles/images/btn3.png | Bin 1101 -> 0 bytes d2ice.att.io/app/styles/images/btnX.png | Bin 717 -> 0 bytes .../app/styles/images/d2sandbox_logos-150x30.png | Bin 2452 -> 0 bytes .../styles/images/d2sandbox_logos_color-150x30.png | Bin 2822 -> 0 bytes d2ice.att.io/app/styles/images/flags.png | Bin 69270 -> 0 bytes d2ice.att.io/app/styles/images/flags@2x.png | Bin 173609 -> 0 bytes .../app/styles/images/home_bg1-1920x1138.jpg | Bin 217394 -> 0 bytes d2ice.att.io/app/styles/images/icons-sprite-v2.png | Bin 20020 -> 0 bytes d2ice.att.io/app/styles/images/icons-sprite-v3.png | Bin 21279 -> 0 bytes d2ice.att.io/app/styles/images/icons-sprite-v4.png | Bin 27349 -> 0 bytes d2ice.att.io/app/styles/images/icons-sprite-v5.png | Bin 28452 -> 0 bytes d2ice.att.io/app/styles/images/icons-sprite.png | Bin 3419 -> 0 bytes d2ice.att.io/app/styles/images/profiles-sprite.png | Bin 9805 -> 0 bytes d2ice.att.io/app/styles/images/steps-sprite.png | Bin 557 -> 0 bytes d2ice.att.io/app/styles/images/top.jpg | Bin 71809 -> 0 bytes d2ice.att.io/app/styles/images/wait.gif | Bin 723 -> 0 bytes d2ice.att.io/app/styles/mixins.less | 381 -- d2ice.att.io/app/styles/modals.less | 102 - d2ice.att.io/app/styles/sprite.less | 128 - d2ice.att.io/app/styles/table-flex.less | 77 - d2ice.att.io/app/styles/variables.less | 122 - d2ice.att.io/app/welcome/index.html | 50 - d2ice.att.io/app/welcome/welcome.controller.js | 58 - d2ice.att.io/app/welcome/welcome.html | 114 - d2ice.att.io/app/welcome/welcome.less | 208 - d2ice.att.io/app/welcome/welcome.module.js | 63 - 319 files changed, 62416 deletions(-) delete mode 100755 d2ice.att.io/app/.watch.me delete mode 100755 d2ice.att.io/app/app.config.js delete mode 100755 d2ice.att.io/app/app.constants.js delete mode 100755 d2ice.att.io/app/app.controller.js delete mode 100755 d2ice.att.io/app/app.module.js delete mode 100755 d2ice.att.io/app/app.route.js delete mode 100755 d2ice.att.io/app/app.run.js delete mode 100755 d2ice.att.io/app/core/js/jquery.nicescroll-master/MIT.LICENSE delete mode 100755 d2ice.att.io/app/core/js/jquery.nicescroll-master/README.md delete mode 100755 d2ice.att.io/app/core/js/jquery.nicescroll-master/bower.json delete mode 100755 d2ice.att.io/app/core/js/jquery.nicescroll-master/changelog_3.6.8.txt delete mode 100755 d2ice.att.io/app/core/js/jquery.nicescroll-master/dist/jquery.nicescroll.min.js delete mode 100755 d2ice.att.io/app/core/js/jquery.nicescroll-master/dist/zoomico.png delete mode 100755 d2ice.att.io/app/core/js/jquery.nicescroll-master/jquery.nicescroll.js delete mode 100755 d2ice.att.io/app/core/js/jquery.nicescroll-master/jquery.nicescroll.min.js delete mode 100755 d2ice.att.io/app/core/js/jquery.nicescroll-master/package.json delete mode 100755 d2ice.att.io/app/core/js/jquery.nicescroll-master/zoomico.png delete mode 100755 d2ice.att.io/app/core/layouts/dashboard/dashboard.html delete mode 100755 d2ice.att.io/app/core/layouts/dashboard/dashboard.less delete mode 100755 d2ice.att.io/app/core/layouts/full-page-with-header/full-page-with-header.html delete mode 100755 d2ice.att.io/app/core/layouts/full-page-with-header/full-page-with-header.less delete mode 100755 d2ice.att.io/app/core/navigation/layouts/account-navigation/account.navigation.controller.js delete mode 100755 d2ice.att.io/app/core/navigation/layouts/account-navigation/navigation.html delete mode 100755 d2ice.att.io/app/core/navigation/layouts/account-navigation/navigation.less delete mode 100755 d2ice.att.io/app/core/navigation/layouts/admin-navigation/admin.navigation.controller.js delete mode 100755 d2ice.att.io/app/core/navigation/layouts/admin-navigation/navigation.html delete mode 100755 d2ice.att.io/app/core/navigation/layouts/admin-navigation/navigation.less delete mode 100755 d2ice.att.io/app/core/navigation/layouts/documentation-navigation/documentation.navigation.controller.js delete mode 100755 d2ice.att.io/app/core/navigation/layouts/documentation-navigation/navigation.html delete mode 100755 d2ice.att.io/app/core/navigation/layouts/documentation-navigation/navigation.less delete mode 100755 d2ice.att.io/app/core/navigation/layouts/horizontal-navigation/navigation.html delete mode 100755 d2ice.att.io/app/core/navigation/layouts/horizontal-navigation/navigation.less delete mode 100755 d2ice.att.io/app/core/navigation/navigation.controller.js delete mode 100755 d2ice.att.io/app/core/navigation/navigation.module.js delete mode 100755 d2ice.att.io/app/core/toolbar/layouts/horizontal-navigation/toolbar.html delete mode 100755 d2ice.att.io/app/core/toolbar/layouts/horizontal-navigation/toolbar.less delete mode 100755 d2ice.att.io/app/core/toolbar/toolbar.controller.js delete mode 100755 d2ice.att.io/app/core/toolbar/toolbar.module.js delete mode 100755 d2ice.att.io/app/directives/ice-announcement/ice-announcement.directive.js delete mode 100755 d2ice.att.io/app/directives/ice-announcement/ice-announcement.html delete mode 100755 d2ice.att.io/app/directives/ice-loader/ice-loader.directive.js delete mode 100755 d2ice.att.io/app/directives/ice-loader/ice-loader.html delete mode 100755 d2ice.att.io/app/directives/ice-loader/ice-loader.less delete mode 100755 d2ice.att.io/app/directives/ice-news-and-announcement/ice-news-and-announcement.directive.js delete mode 100755 d2ice.att.io/app/directives/ice-news-and-announcement/ice-news-and-announcement.html delete mode 100755 d2ice.att.io/app/directives/ice-news-and-announcement/ice-news-and-announcement.less delete mode 100755 d2ice.att.io/app/directives/ice-toast/ice-toast.directive.js delete mode 100755 d2ice.att.io/app/directives/ice-toast/ice-toast.html delete mode 100755 d2ice.att.io/app/directives/ice-toast/ice-toast.less delete mode 100755 d2ice.att.io/app/directives/ice-tooltip/ice-tooltip.directive.js delete mode 100755 d2ice.att.io/app/directives/ice-tooltip/ice-tooltip.html delete mode 100755 d2ice.att.io/app/directives/ice-tooltip/ice-tooltip.less delete mode 100755 d2ice.att.io/app/directives/notifications/notifications.directive.js delete mode 100755 d2ice.att.io/app/directives/progress/progress.directive.js delete mode 100755 d2ice.att.io/app/directives/progress/progress.html delete mode 100755 d2ice.att.io/app/directives/progress/progress.less delete mode 100755 d2ice.att.io/app/directives/step-stages/step-stages.directive.js delete mode 100755 d2ice.att.io/app/directives/step-stages/step-stages.html delete mode 100755 d2ice.att.io/app/directives/step-stages/step-stages.less delete mode 100755 d2ice.att.io/app/favicon.png delete mode 100755 d2ice.att.io/app/filters/capitalize.filter.js delete mode 100755 d2ice.att.io/app/filters/customDocumentationPageSearch.filter.js delete mode 100755 d2ice.att.io/app/filters/customVFSearchFilter.filter.js delete mode 100755 d2ice.att.io/app/filters/date2.filter.js delete mode 100755 d2ice.att.io/app/filters/doesExists.filter.js delete mode 100755 d2ice.att.io/app/filters/htmlspecialchars.filter.js delete mode 100755 d2ice.att.io/app/filters/htmlstylespan.filter.js delete mode 100755 d2ice.att.io/app/filters/trusted.filter.js delete mode 100755 d2ice.att.io/app/index.html delete mode 100755 d2ice.att.io/app/interceptors/httpInterceptors.js delete mode 100755 d2ice.att.io/app/locales/en/translation.json delete mode 100755 d2ice.att.io/app/main/activation/activate/activateUser.controller.js delete mode 100755 d2ice.att.io/app/main/activation/activate/activateUser.html delete mode 100755 d2ice.att.io/app/main/activation/activate/activateUser.module.js delete mode 100755 d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.controller.js delete mode 100755 d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.html delete mode 100755 d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.less delete mode 100755 d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.module.js delete mode 100755 d2ice.att.io/app/main/activation/addVf/addVf.controller.js delete mode 100755 d2ice.att.io/app/main/activation/addVf/addVf.html delete mode 100755 d2ice.att.io/app/main/activation/addVf/addVf.less delete mode 100755 d2ice.att.io/app/main/activation/addVf/addVf.module.js delete mode 100755 d2ice.att.io/app/main/activation/contactUs/contactUs.controller.js delete mode 100755 d2ice.att.io/app/main/activation/contactUs/contactUs.html delete mode 100755 d2ice.att.io/app/main/activation/contactUs/contactUs.less delete mode 100755 d2ice.att.io/app/main/activation/contactUs/contactUs.module.js delete mode 100755 d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.controller.js delete mode 100755 d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.html delete mode 100755 d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.less delete mode 100755 d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.module.js delete mode 100755 d2ice.att.io/app/main/activation/login/login.controller.js delete mode 100755 d2ice.att.io/app/main/activation/login/login.html delete mode 100755 d2ice.att.io/app/main/activation/login/login.less delete mode 100755 d2ice.att.io/app/main/activation/login/login.module.js delete mode 100755 d2ice.att.io/app/main/activation/register/register.controller.js delete mode 100755 d2ice.att.io/app/main/activation/register/register.html delete mode 100755 d2ice.att.io/app/main/activation/register/register.less delete mode 100755 d2ice.att.io/app/main/activation/register/register.module.js delete mode 100755 d2ice.att.io/app/main/activation/resendActivation/resendActivation.controller.js delete mode 100755 d2ice.att.io/app/main/activation/resendActivation/resendActivation.html delete mode 100755 d2ice.att.io/app/main/activation/resendActivation/resendActivation.less delete mode 100755 d2ice.att.io/app/main/activation/resendActivation/resendActivation.module.js delete mode 100755 d2ice.att.io/app/main/activation/resetPassword/resetPassword.controller.js delete mode 100755 d2ice.att.io/app/main/activation/resetPassword/resetPassword.html delete mode 100755 d2ice.att.io/app/main/activation/resetPassword/resetPassword.less delete mode 100755 d2ice.att.io/app/main/activation/resetPassword/resetPassword.module.js delete mode 100755 d2ice.att.io/app/main/activation/terms/terms.controller.js delete mode 100755 d2ice.att.io/app/main/activation/terms/terms.html delete mode 100755 d2ice.att.io/app/main/activation/terms/terms.less delete mode 100755 d2ice.att.io/app/main/activation/terms/terms.module.js delete mode 100755 d2ice.att.io/app/main/activation/updatePassword/updatePassword.controller.js delete mode 100755 d2ice.att.io/app/main/activation/updatePassword/updatePassword.html delete mode 100755 d2ice.att.io/app/main/activation/updatePassword/updatePassword.less delete mode 100755 d2ice.att.io/app/main/activation/updatePassword/updatePassword.module.js delete mode 100755 d2ice.att.io/app/main/admin/admin.module.js delete mode 100755 d2ice.att.io/app/main/admin/checklist-template/checklist-template.controller.js delete mode 100755 d2ice.att.io/app/main/admin/checklist-template/checklist-template.html delete mode 100755 d2ice.att.io/app/main/admin/checklist-template/checklist-template.less delete mode 100755 d2ice.att.io/app/main/dashboard/account/account.controller.js delete mode 100755 d2ice.att.io/app/main/dashboard/account/account.html delete mode 100755 d2ice.att.io/app/main/dashboard/account/account.less delete mode 100755 d2ice.att.io/app/main/dashboard/account/account.module.js delete mode 100755 d2ice.att.io/app/main/dashboard/account/notifications/notifications.controller.js delete mode 100755 d2ice.att.io/app/main/dashboard/account/notifications/notifications.html delete mode 100755 d2ice.att.io/app/main/dashboard/account/notifications/notifications.less delete mode 100755 d2ice.att.io/app/main/dashboard/account/user-profile-settings/user-profile-settings.controller.js delete mode 100755 d2ice.att.io/app/main/dashboard/account/user-profile-settings/user-profile-settings.html delete mode 100755 d2ice.att.io/app/main/dashboard/account/user-profile-settings/user-profile-settings.less delete mode 100755 d2ice.att.io/app/main/dashboard/checklist/checklist.controller.js delete mode 100755 d2ice.att.io/app/main/dashboard/checklist/checklist.html delete mode 100755 d2ice.att.io/app/main/dashboard/checklist/checklist.less delete mode 100755 d2ice.att.io/app/main/dashboard/dashboard/dashboard.controller.js delete mode 100755 d2ice.att.io/app/main/dashboard/dashboard/dashboard.html delete mode 100755 d2ice.att.io/app/main/dashboard/dashboard/dashboard.less delete mode 100755 d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.controller.js delete mode 100755 d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.html delete mode 100755 d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.less delete mode 100755 d2ice.att.io/app/main/dashboard/get-started-modal/get-started-modal.directive.js delete mode 100755 d2ice.att.io/app/main/dashboard/get-started-modal/get-started-modal.html delete mode 100755 d2ice.att.io/app/main/dashboard/get-started-modal/get-started-modal.less delete mode 100755 d2ice.att.io/app/main/dashboard/get-started-modal/get-started-modal.module.js delete mode 100755 d2ice.att.io/app/main/dashboard/get-started-modal/wizard/wizard-container.html delete mode 100755 d2ice.att.io/app/main/dashboard/get-started-modal/wizard/wizard.less delete mode 100755 d2ice.att.io/app/main/dashboard/main.module.js delete mode 100755 d2ice.att.io/app/main/dashboard/main/main.html delete mode 100755 d2ice.att.io/app/main/dashboard/overview/overview.controller.js delete mode 100755 d2ice.att.io/app/main/dashboard/overview/overview.html delete mode 100755 d2ice.att.io/app/main/dashboard/overview/overview.less delete mode 100755 d2ice.att.io/app/main/documentation/documentation.controller.js delete mode 100755 d2ice.att.io/app/main/documentation/documentation.html delete mode 100755 d2ice.att.io/app/main/documentation/documentation.less delete mode 100755 d2ice.att.io/app/main/documentation/documentation.module.js delete mode 100755 d2ice.att.io/app/main/documentation/sidebar/documentation.sidebar.html delete mode 100755 d2ice.att.io/app/main/documentation/sidebar/documentation.sidebar.less delete mode 100755 d2ice.att.io/app/main/errors/404.html delete mode 100755 d2ice.att.io/app/main/main.controller.js delete mode 100755 d2ice.att.io/app/main/modals/archive-engagement-modal/archive-engagement-modal.controller.js delete mode 100755 d2ice.att.io/app/main/modals/archive-engagement-modal/archive-engagement-modal.html delete mode 100755 d2ice.att.io/app/main/modals/archive-engagement-modal/archive-engagement-modal.less delete mode 100755 d2ice.att.io/app/main/modals/audit-log/audit-log.controller.js delete mode 100755 d2ice.att.io/app/main/modals/audit-log/audit-log.html delete mode 100755 d2ice.att.io/app/main/modals/audit-log/audit-log.less delete mode 100755 d2ice.att.io/app/main/modals/change-date/change-date.controller.js delete mode 100755 d2ice.att.io/app/main/modals/change-date/change-date.html delete mode 100755 d2ice.att.io/app/main/modals/change-progress/change-progress.controller.js delete mode 100755 d2ice.att.io/app/main/modals/change-progress/change-progress.html delete mode 100755 d2ice.att.io/app/main/modals/checklist/checklist.controller.js delete mode 100755 d2ice.att.io/app/main/modals/checklist/checklist.html delete mode 100755 d2ice.att.io/app/main/modals/checklist/state-approve-or-reject/state-approve-or-reject.controller.js delete mode 100755 d2ice.att.io/app/main/modals/checklist/state-approve-or-reject/state-approve-or-reject.html delete mode 100755 d2ice.att.io/app/main/modals/checklist/state-approve-or-reject/state-approve-or-reject.less delete mode 100755 d2ice.att.io/app/main/modals/cms-post-modal/cms-post-modal.controller.js delete mode 100755 d2ice.att.io/app/main/modals/cms-post-modal/cms-post-modal.html delete mode 100755 d2ice.att.io/app/main/modals/cms-post-modal/cms-post-modal.less delete mode 100755 d2ice.att.io/app/main/modals/detailed-view/dtsite/detailed-view-dtsites-modal.controller.js delete mode 100755 d2ice.att.io/app/main/modals/detailed-view/dtsite/detailed-view-dtsites-modal.html delete mode 100755 d2ice.att.io/app/main/modals/detailed-view/vfc/detailed-view-vfc-modal.controller.js delete mode 100755 d2ice.att.io/app/main/modals/detailed-view/vfc/detailed-view-vfc-modal.html delete mode 100755 d2ice.att.io/app/main/modals/detailed-view/vfc/detailed-view-vfc-modal.less delete mode 100755 d2ice.att.io/app/main/modals/feedback/feedback.controller.js delete mode 100755 d2ice.att.io/app/main/modals/feedback/feedback.html delete mode 100755 d2ice.att.io/app/main/modals/feedback/feedback.less delete mode 100755 d2ice.att.io/app/main/modals/general-log-modal/general-log-modal.controller.js delete mode 100755 d2ice.att.io/app/main/modals/general-log-modal/general-log-modal.html delete mode 100755 d2ice.att.io/app/main/modals/general-log-modal/general-log-modal.less delete mode 100755 d2ice.att.io/app/main/modals/general-prompt-modal/general-prompt-modal.controller.js delete mode 100755 d2ice.att.io/app/main/modals/general-prompt-modal/general-prompt-modal.html delete mode 100755 d2ice.att.io/app/main/modals/general-prompt-modal/general-prompt-modal.less delete mode 100755 d2ice.att.io/app/main/modals/next-steps/next-steps.controller.js delete mode 100755 d2ice.att.io/app/main/modals/next-steps/next-steps.html delete mode 100755 d2ice.att.io/app/main/modals/next-steps/next-steps.less delete mode 100755 d2ice.att.io/app/main/modals/select-el-modal/select-el-modal.controller.js delete mode 100755 d2ice.att.io/app/main/modals/select-el-modal/select-el-modal.html delete mode 100755 d2ice.att.io/app/main/modals/select-el-modal/select-el-modal.less delete mode 100755 d2ice.att.io/app/main/modals/set-eng-stage/set-eng-stage-modal.controller.js delete mode 100755 d2ice.att.io/app/main/modals/set-eng-stage/set-eng-stage-modal.html delete mode 100755 d2ice.att.io/app/main/modals/set-eng-stage/set-eng-stage-modal.less delete mode 100755 d2ice.att.io/app/main/modals/set-eng-stage/set_eng_stage_modal.html delete mode 100755 d2ice.att.io/app/main/modals/status/status.controller.js delete mode 100755 d2ice.att.io/app/main/modals/status/status.html delete mode 100755 d2ice.att.io/app/main/modals/status/status.less delete mode 100755 d2ice.att.io/app/main/modals/target-lab-entry/change-lab-entry-date.controller.js delete mode 100755 d2ice.att.io/app/main/modals/target-lab-entry/change-lab-entry-date.html delete mode 100755 d2ice.att.io/app/main/modals/target-lab-entry/change-lab-entry-date.less delete mode 100755 d2ice.att.io/app/main/modals/update-engagement-status-modal/update-engagement-status-modal.controller.js delete mode 100755 d2ice.att.io/app/main/modals/update-engagement-status-modal/update-engagement-status-modal.html delete mode 100755 d2ice.att.io/app/main/modals/update-engagement-status-modal/update-engagement-status-modal.less delete mode 100755 d2ice.att.io/app/main/modals/validation-details/detailed-view-validation-details-modal.controller.js delete mode 100755 d2ice.att.io/app/main/modals/validation-details/detailed-view-validation-details-modal.html delete mode 100755 d2ice.att.io/app/main/modals/validation-details/detailed-view-validation-details-modal.less delete mode 100755 d2ice.att.io/app/robots.txt delete mode 100755 d2ice.att.io/app/services/cache.service.js delete mode 100755 d2ice.att.io/app/services/checklist.service.js delete mode 100755 d2ice.att.io/app/services/cms.service.js delete mode 100755 d2ice.att.io/app/services/dtsite.service.js delete mode 100755 d2ice.att.io/app/services/feedback.service.js delete mode 100755 d2ice.att.io/app/services/localstorage.service.js delete mode 100755 d2ice.att.io/app/services/sessionStorage.service.js delete mode 100755 d2ice.att.io/app/services/status.service.js delete mode 100755 d2ice.att.io/app/services/steps.service.js delete mode 100755 d2ice.att.io/app/services/toast.service.js delete mode 100755 d2ice.att.io/app/services/users.service.js delete mode 100755 d2ice.att.io/app/services/vf.service.js delete mode 100755 d2ice.att.io/app/services/vfc.service.js delete mode 100755 d2ice.att.io/app/styles/buttons.less delete mode 100755 d2ice.att.io/app/styles/fonts.less delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bd.eot delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bd.svg delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bd.ttf delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bd.woff delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BdIt.eot delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BdIt.svg delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BdIt.ttf delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BdIt.woff delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bk.eot delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bk.svg delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bk.ttf delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bk.woff delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BkIt.eot delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BkIt.svg delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BkIt.ttf delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BkIt.woff delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Lt.eot delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Lt.svg delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Lt.ttf delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Lt.woff delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-LtIt.eot delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-LtIt.svg delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-LtIt.ttf delete mode 100755 d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-LtIt.woff delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/AT&T Variation ID.tab delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/OmnesATTW02BoldItalic.eot delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/OmnesATTW02BoldItalic.svg delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/OmnesATTW02BoldItalic.ttf delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/OmnesATTW02BoldItalic.woff delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02.eot delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02.svg delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02.ttf delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02.woff delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Bold.eot delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Bold.svg delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Bold.ttf delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Bold.woff delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Italic.eot delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Italic.svg delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Italic.ttf delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Italic.woff delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Light.eot delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Light.svg delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Light.ttf delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Light.woff delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02LightItalic.eot delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02LightItalic.svg delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02LightItalic.ttf delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02LightItalic.woff delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Medium.eot delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Medium.svg delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Medium.ttf delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Medium.woff delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02MediumItalic.eot delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02MediumItalic.svg delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02MediumItalic.ttf delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02MediumItalic.woff delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/demo-async.htm delete mode 100755 d2ice.att.io/app/styles/fonts/OmnesATT/demo.htm delete mode 100755 d2ice.att.io/app/styles/form.less delete mode 100755 d2ice.att.io/app/styles/global.less delete mode 100755 d2ice.att.io/app/styles/images/Collaborate.png delete mode 100755 d2ice.att.io/app/styles/images/Incubate.png delete mode 100755 d2ice.att.io/app/styles/images/Validate.png delete mode 100755 d2ice.att.io/app/styles/images/actions-sprite.png delete mode 100755 d2ice.att.io/app/styles/images/btn1.png delete mode 100755 d2ice.att.io/app/styles/images/btn2.png delete mode 100755 d2ice.att.io/app/styles/images/btn3.png delete mode 100755 d2ice.att.io/app/styles/images/btnX.png delete mode 100755 d2ice.att.io/app/styles/images/d2sandbox_logos-150x30.png delete mode 100755 d2ice.att.io/app/styles/images/d2sandbox_logos_color-150x30.png delete mode 100755 d2ice.att.io/app/styles/images/flags.png delete mode 100755 d2ice.att.io/app/styles/images/flags@2x.png delete mode 100755 d2ice.att.io/app/styles/images/home_bg1-1920x1138.jpg delete mode 100755 d2ice.att.io/app/styles/images/icons-sprite-v2.png delete mode 100755 d2ice.att.io/app/styles/images/icons-sprite-v3.png delete mode 100755 d2ice.att.io/app/styles/images/icons-sprite-v4.png delete mode 100755 d2ice.att.io/app/styles/images/icons-sprite-v5.png delete mode 100755 d2ice.att.io/app/styles/images/icons-sprite.png delete mode 100755 d2ice.att.io/app/styles/images/profiles-sprite.png delete mode 100755 d2ice.att.io/app/styles/images/steps-sprite.png delete mode 100755 d2ice.att.io/app/styles/images/top.jpg delete mode 100755 d2ice.att.io/app/styles/images/wait.gif delete mode 100755 d2ice.att.io/app/styles/mixins.less delete mode 100755 d2ice.att.io/app/styles/modals.less delete mode 100755 d2ice.att.io/app/styles/sprite.less delete mode 100755 d2ice.att.io/app/styles/table-flex.less delete mode 100755 d2ice.att.io/app/styles/variables.less delete mode 100755 d2ice.att.io/app/welcome/index.html delete mode 100755 d2ice.att.io/app/welcome/welcome.controller.js delete mode 100755 d2ice.att.io/app/welcome/welcome.html delete mode 100755 d2ice.att.io/app/welcome/welcome.less delete mode 100755 d2ice.att.io/app/welcome/welcome.module.js (limited to 'd2ice.att.io/app') diff --git a/d2ice.att.io/app/.watch.me b/d2ice.att.io/app/.watch.me deleted file mode 100755 index e69de29b..00000000 diff --git a/d2ice.att.io/app/app.config.js b/d2ice.att.io/app/app.config.js deleted file mode 100755 index e4c74ba6..00000000 --- a/d2ice.att.io/app/app.config.js +++ /dev/null @@ -1,60 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - - angular - .module('ice') - .config(config) - .config(function (ngIntlTelInputProvider) { - ngIntlTelInputProvider.set({initialCountry: 'us'}); - }); - - function config($httpProvider) { - // Ask for cross domain from the sever (need to allow this in server). - $httpProvider.defaults.useXDomain = true; - delete $httpProvider.defaults.headers.common['X-Requested-With']; - - // HTTP Interceptor definition - $httpProvider.interceptors.push('httpRequestInterceptor'); - $httpProvider.interceptors.push('httpResponseInterceptor'); - $httpProvider.interceptors.push('httpRequestErrorInterceptor'); - $httpProvider.interceptors.push('httpResponseErrorInterceptor'); - } -})(); diff --git a/d2ice.att.io/app/app.constants.js b/d2ice.att.io/app/app.constants.js deleted file mode 100755 index 60b1ec33..00000000 --- a/d2ice.att.io/app/app.constants.js +++ /dev/null @@ -1,75 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(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" - ] - }); -})(); diff --git a/d2ice.att.io/app/app.controller.js b/d2ice.att.io/app/app.controller.js deleted file mode 100755 index 5bf25670..00000000 --- a/d2ice.att.io/app/app.controller.js +++ /dev/null @@ -1,74 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice') - .controller('AppController', ["$state", "$timeout", "$rootScope", "$log", AppController]); - - function AppController($state, $timeout, $rootScope, $log) { - - var vm = this; - var nice = false; - - if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1) { - $log.debug('Smooth Scroll Off (Safari).'); - } else { - try { - // Initialise with options - nice = $("#content-israel").niceScroll({ - zindex:20000, - scrollspeed:60, - mousescrollstep:60, - cursorborderradius: '10px', // Scroll cursor radius - cursorborder: '1px solid rgba(255, 255, 255, 0.4)', - cursorcolor: 'rgba(0, 0, 0, 0.6)', // Scroll cursor color - //autohidemode: 'true', // Do not hide scrollbar when mouse out - cursorwidth: '10px' // Scroll cursor width - }); - } catch (err) { - $log.debug('Smooth Scroll Off.'); - } - } - - } - -})(); diff --git a/d2ice.att.io/app/app.module.js b/d2ice.att.io/app/app.module.js deleted file mode 100755 index ca70547b..00000000 --- a/d2ice.att.io/app/app.module.js +++ /dev/null @@ -1,110 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice', [ - // Core - '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', - - // Modules - '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', - - // Services - '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', - - // Directives - 'ice.directives', - - // Filters - 'ice.filters', - - // Interceptors - 'ice.interceptors.http' - ]); -})(); diff --git a/d2ice.att.io/app/app.route.js b/d2ice.att.io/app/app.route.js deleted file mode 100755 index 34b79496..00000000 --- a/d2ice.att.io/app/app.route.js +++ /dev/null @@ -1,97 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice') - .config(routeConfig); - - function routeConfig($stateProvider, $urlRouterProvider, $locationProvider) { - - // #175 stop ui-route from redirect to #! - $locationProvider.hashPrefix(""); - - $urlRouterProvider.otherwise('/login'); - $urlRouterProvider.when('/dashboard', '/dashbaord/overview'); - - var layoutStyle = 'horizontalNavigation'; - - var layouts = { - 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: '' - } - }; - - // State definitions - $stateProvider - .state('app', { - abstract: true, - views: { - 'main@': { - templateUrl: layouts[layoutStyle].main, - controller: 'MainController as vm' - }, - 'toolbar@app': { - templateUrl: layouts[layoutStyle].toolbar, - controller: 'ToolbarController as vm' - }, - 'navigation@app': { - templateUrl: layouts[layoutStyle].navigation, - controller: 'NavigationController as vm' - } - } - }); - - } - -})(); diff --git a/d2ice.att.io/app/app.run.js b/d2ice.att.io/app/app.run.js deleted file mode 100755 index b1a4871f..00000000 --- a/d2ice.att.io/app/app.run.js +++ /dev/null @@ -1,244 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice') - .run(runBlock); - - function runBlock($rootScope, toastService, sessionStorageService, $state, cacheService, ENV, $window, $log) { - var documentationLastPageSessionKey = 'LastDocumentationPageId'; - var init = function() { - $rootScope.user = {}; - $rootScope.ice = {}; - $rootScope.ice.loader = {}; - $rootScope.state = $state; - $rootScope.baseURL = ENV.apiBase; - - i18NextSetup(); - - var stateChangeStartEvent = $rootScope.$on('$stateChangeStart', function (event, toState, toParams, fromState, fromParams) { - clearToastData(); - clearDocumentationLastPage(toState); - }); - - var stateChangeSuccessEvent = $rootScope.$on('$stateChangeSuccess', function () { - - }); - - $rootScope.$on('$destroy', function () { - stateChangeStartEvent(); - stateChangeSuccessEvent(); - }); - - cacheService.set('configuration', { - "urls": { - "auth": { - "login": $rootScope.baseURL + "login/@t", - "register": $rootScope.baseURL + "signup", - "addVfs": $rootScope.baseURL + "vf/", - "getCompanies": $rootScope.baseURL + "vendors", - "resendActivationMail": $rootScope.baseURL + "users/activation-mail/@user_uuid", - "addVendorContact": $rootScope.baseURL + "add-contact", - "single_engagement": $rootScope.baseURL + "single-engagement/@engagementUuid", - "engagements": $rootScope.baseURL + "engagement", - "inviteMembers": $rootScope.baseURL + "invite-team-members", - "activities": $rootScope.baseURL + "engagement/@engagementUuid/activities/", - "updateDaysLeft": $rootScope.baseURL + "engagements/@engagementUuid/target_date", //set_attr - "updateLabEntryDaysLeft": $rootScope.baseURL + "engagements/@engagementUuid/target_lab_date", - "setSSHKey": $rootScope.baseURL + "users/ssh", - "getIceUser": $rootScope.baseURL + "users", - "getRGWASecret": $rootScope.baseURL + "users/account/rgwa/", - "account": $rootScope.baseURL + "users/account", - "updatePassword": $rootScope.baseURL + "users/pwd/", - "sendResetPwdInstructions": $rootScope.baseURL + "users/pwd/reset-instructions/" - }, - "notifications": { - "getNotifications": $rootScope.baseURL + "notifications/num", - "resetNotificationNum": $rootScope.baseURL + "notifications/reset", - "notificationsDelete": $rootScope.baseURL + "notifications/@uuid", - "getNotificationsDescription": $rootScope.baseURL + "notifications/@userUuid/@offset/@limit" - }, - "steps": { - "get": $rootScope.baseURL + "engagements/@engagement/nextsteps/@progress", - "add": $rootScope.baseURL + "engagements/@engagement/nextsteps", // set_attr - "edit": $rootScope.baseURL + "nextsteps/@stepUuid/engagement/@engUuid", - "order_next_steps": $rootScope.baseURL + "engagements/@engUuid/nextsteps/order_next_steps", - - "update": $rootScope.baseURL + "nextsteps/@stepUuid/state", // put - "delete": $rootScope.baseURL + "nextsteps/@stepUuid", - "createChecklistNextStep": $rootScope.baseURL + "engagement/@engUuid/checklist/@checkListUuid/nextstep/", - "createNextStep": $rootScope.baseURL + "eng/@engUuid/nextstep/", - "getByUser": $rootScope.baseURL + "engagements/user/nextsteps/" - }, - "vf": { - "updateVfs": { - "put": $rootScope.baseURL + "vf/@vf_uuid/validation-details/", - }, - "deployment_target": { - "getDeployTargets": $rootScope.baseURL + "deployment-targets", - "updateDeployTargets": $rootScope.baseURL + "engagement/@engagementUuid//deployment-targets/@deployment_target_uuid", - }, - "ecomp": { - "getECOMPReleases": $rootScope.baseURL + "ecomp-releases", - "updateECOMPReleases": $rootScope.baseURL + "engagement/@engagementUuid/ecomp-releases/@ecomp_uuid", - }, - "version": { - "getVFVersion": $rootScope.baseURL + "vf/@vfUuid/vf-version/", - } - - }, - "vfcs": { - "add": $rootScope.baseURL + "vfcs/", - "get": $rootScope.baseURL + "vf/@vfUuid/vfcs/", - "delete": $rootScope.baseURL + "vf/@vfUuid/vfcs/@vfcUuid", - }, - "status": { - "get": $rootScope.baseURL + "engagements/@engagement/status", - "add": $rootScope.baseURL + "engagements/@engagement/status",// set_attr - "update": $rootScope.baseURL + "engagements/@engagement/status" - }, - "feedback": { - "add":$rootScope.baseURL + "add-feedback" - - }, - "dtsite": { - "get": $rootScope.baseURL + "dtsites/", - "getVFSites": $rootScope.baseURL + "vf/@vfUuid/dtsites/", - "add": $rootScope.baseURL + "dtsites/", - "delete": $rootScope.baseURL + "vf/@vfUuid/dtsites/@dtsUuid", - }, - "checklist": { - "state":{ - "put": $rootScope.baseURL + "checklist/@cl_uuid/state/", - }, - "createChecklist": $rootScope.baseURL + "engagement/@engUuid/checklist/new/", - "getDataForChecklist": $rootScope.baseURL + "engagement/@engUuid/checklist/new/", - "getChecklist": $rootScope.baseURL + "checklist/@checklistUuid", - "putDataForChecklist": $rootScope.baseURL + "checklist/@checklist_uuid", - "checklistDecision": $rootScope.baseURL + "checklist/decision/@decisionUuid", - "createAuditlogChecklist": $rootScope.baseURL + "checklist/@checklist_uuid/auditlog/", - "createAuditlogDecisionChecklist": $rootScope.baseURL + "checklist/decision/@decision_uuid/auditlog/", - "getChecklistTemplates": $rootScope.baseURL + "checklist/templates/", - "getChecklistTemplate": $rootScope.baseURL + "checklist/template/@templateUuid", - "saveChecklistTemplate": $rootScope.baseURL + "checklist/template/" - }, - "engagement": { - "put": $rootScope.baseURL + "engagements/@engagementUuid/", - "updateProgress": $rootScope.baseURL + "engagements/@engagementUuid/progress", // put - "setStage": $rootScope.baseURL + "single-engagement/@engagementUuid/stage/@stage", - "starred_engagement": { - "put" : $rootScope.baseURL + "engagements/starred_eng/", - "get" : $rootScope.baseURL + "engagements/starred_eng/", - }, - "recent_engagement": { - "get" : $rootScope.baseURL + "engagements/recent_eng/", - }, - "engagement_team": { - "put" : $rootScope.baseURL + "engagements/engagement-team/", - }, - "engagementsExpanded": $rootScope.baseURL + "engagement/expanded/", - "exportEngagementsCSV": $rootScope.baseURL + "engagement/export/?stage=@stage&keyword=@keyword", - "reviewer": {"put": $rootScope.baseURL + "engagements/@engagementUuid/reviewer/"}, - "peerreviewer": {"put": $rootScope.baseURL + "engagements/@engagementUuid/peerreviewer/"}, - "switchReviewers": {"put": $rootScope.baseURL + "engagements/@engagementUuid/switch-reviewers/"}, - "archive": {"put": $rootScope.baseURL + "engagements/@engagementUuid/archive/"}, - }, - "welcome": { - "welcome": $rootScope.baseURL + "welcome/", - }, - "cms":{ - "posts": { - "get": $rootScope.baseURL + "cms/posts/?limit=@limit&offset=@offset&fromLastDays=@fromLastDays&category=@category", - }, - "pages": { - "get": $rootScope.baseURL + "cms/pages/?title=@title", - "getById": $rootScope.baseURL + "cms/pages/@id/", - "search": $rootScope.baseURL + "cms/pages/search/?keyword=@keyword" - } - }, - "users": { - "engagementleads": { - "get": $rootScope.baseURL + "users/engagementleads/", - }, - "activate": $rootScope.baseURL + "users/activate/@userid/@token" - }, - } - }); - }; - - var clearToastData = function () { - var toast = toastService.getToast(); - if (toast && !toast.sticky) { - toastService.clearToast(); - } - }; - - var clearDocumentationLastPage = function(toState) { - if(toState && toState.name && toState.name !== 'app.documentation.page' && toState.name !== 'app.documentation') { - sessionStorageService.delete(documentationLastPageSessionKey); - } - }; - - var i18NextSetup = function() { - if($window.i18next) { - $window.i18next.use($window.i18nextXHRBackend) - - $window.i18next.init({ - debug: false, - lng: 'en', - fallbackLng: 'en', - backend: { - loadPath: 'locales/{{lng}}/{{ns}}.json' - }, - useCookie: false, - useLocalStorage: false - }, function (err, t) { - if(err) { - $log.error(err); - } - }); - } - }; - - init(); - } -})(); diff --git a/d2ice.att.io/app/core/js/jquery.nicescroll-master/MIT.LICENSE b/d2ice.att.io/app/core/js/jquery.nicescroll-master/MIT.LICENSE deleted file mode 100755 index 011a2a97..00000000 --- a/d2ice.att.io/app/core/js/jquery.nicescroll-master/MIT.LICENSE +++ /dev/null @@ -1,17 +0,0 @@ -Open Source Initiative OSI - The MIT License (MIT):Licensing -[OSI Approved License] -The MIT License (MIT) - -Copyright (c) 2011-14 InuYaksa - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the Software without restriction, including without limitation -the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, -and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/d2ice.att.io/app/core/js/jquery.nicescroll-master/README.md b/d2ice.att.io/app/core/js/jquery.nicescroll-master/README.md deleted file mode 100755 index 9a670133..00000000 --- a/d2ice.att.io/app/core/js/jquery.nicescroll-master/README.md +++ /dev/null @@ -1,182 +0,0 @@ -#jQuery.NiceScroll -v. 3.6.8 02-29-2016 - - - [Web Site: nicescroll.areaaperta.com](http://nicescroll.areaaperta.com) - - [Repo: github.com/inuyaksa/jquery.nicescroll](https://github.com/inuyaksa/jquery.nicescroll) - - [Twitter: @nicescroll](https://twitter.com/nicescroll) - - [![Join the chat at https://gitter.im/inuyaksa/jquery.nicescroll](https://badges.gitter.im/inuyaksa/jquery.nicescroll.svg)](https://gitter.im/inuyaksa/jquery.nicescroll?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) - -> Nicescroll as a Greasemonkey plugin: http://userscripts.org/scripts/show/119910 (freezed) - - -> Nicescroll is a jquery plugin, for nice scrollbars with a very similar ios/mobile style. - - - HORIZONAL scrollbar support! - - It supports DIVs, IFrames, textarea, and document page (body) scrollbars. - - Compatible with all desktop browser: Firefox 4+, Chrome 5+, Safari 4+ (win/mac), Opera 10+, IE 6+. (all A-grade browsers) - - Compatible with mobile device: iPad/iPhone/iPod, Android 2.2+, Blackberry phones and Playbook (WebWorks/Table OS), Windows Phone 7.5 Mango. - - Compatible with all touch devices: iPad, Android tablets, Window Surface. - - Compabible with multi-input device (mouse with touch or pen): Window Surface, Chrome Desktop on touch notebook. - - Compatible with 2 directions mice: Apple Magic Mouse, Apple Mouser with 2-dir wheel, PC mouse with 2-dir wheel (if browser support it). - -So you have scrollable divs with momentum for iPad 4+ and you have consistent scrollable areas for all desktop and mobile platforms. - -Sexy zoom feature, you can "zoom-in" the content of any nicescroll'ed div. -Nice to use and nice to see, all the content of the div in fullscreen mode. -It works on desktop (double click on div) either in mobile/touch devices using pinch gesture. - -On modern browsers hardware accelerated scrolling has implemented. -Using animationFrame for a smoothest and cpu-saving scrolling. (when browser supports) - -"Use strict" tested script for maximum code quality. -Bower and AMD ready. - -Warning for IE6 users (why do you uses IE6 yet? Please updgrade to a more stable and modern browser), some feature can't work for limitation of the browser. -Document (body) scrollbars can't appears, old (native browser) one is used. Some issues with IFrame scrolling. - - -## FEATURES - -- simple installation and activation, it works with NO modification of your code. (some exceptions can happen, so you can write to me) -- very stylish scrollbars, with no occupation on your window (original browser scrollbars need some of page space and reduces window/div usable width) -- you can style main document scrollbar (body) too!! (not all script implements this feature) -- on all browsers you can scroll: dragging the cursor, mouse wheel (speed customizable), keyboard navigation (cursor keys, pagup/down keys, home/end keys) -- scroll is smooth (as modern tablet browsing), speed is customizable -- zoom feature -- hardware accelerated scroll (where available) -- animation frame support for smoth scrolling and cpu-saving -- dragging scroll mode with scrolling momentum (as touch device) -- tested for all major browsers desktop and mobile versions -- support for touch devices -- support for multi-input devices (IE10 with MSPointer) -- compatible with many other browsers, including IE6, Safari on Mac and WP7 Mango! -- very customizable aspect of bar -- native scroll events are working yet -- fully integrated with jQuery -- compatibile with jQuery UI, jQuery Touch, jQuery Mobile - - -## DEPENDENCIES ->> It's a plugin for the jquery framework, you need to include jquery in your scripts. ->> From 1.5.x version and on. (I'd better to use 1.8.3+ minimum) - - -* INSTALLATION -Put loading script tag after jquery script tag and loading the zoom image in the same folder of the script: - - - -Copy image "zoomico.png" in the same folder of jquery.nicescroll.js. - - -* HOW TO USE - -Initialize nicescroll ALWAYS in (document) ready statement. -```javascript -// 1. Simple mode, it styles document scrollbar: -$(document).ready(function() { - $("html").niceScroll(); -}); - -// 2. Instance with object returned: -var nice = false; -$(document).ready(function() { - nice = $("html").niceScroll(); -}); - -// 3. Style a DIV and chage cursor color: -$(document).ready(function() { - $("#thisdiv").niceScroll({cursorcolor:"#00F"}); -}); - -// 4. DIV with "wrapper", formed by two divs, the first is the vieport, the latter is the content: -$(document).ready(function() { - $("#viewportdiv").niceScroll("#wrapperdiv",{cursorcolor:"#00F"}); -}); - -// 5. Get nicescroll object: -var nice = $("#mydiv").getNiceScroll(); - -// 6. Hide scrollbars: -$("#mydiv").getNiceScroll().hide(); - -// 7. Check for scrollbars resize (when content or position have changed): -$("#mydiv").getNiceScroll().resize(); - -// 8. Scrolling to a position: -$("#mydiv").getNiceScroll(0).doScrollLeft(x, duration); // Scroll X Axis -$("#mydiv").getNiceScroll(0).doScrollTop(y, duration); // Scroll Y Axis -``` - -## CONFIGURATION PARAMETERS -When you call "niceScroll" you can pass some parameters to custom visual aspects: - -```javascript -$("#thisdiv").niceScroll({ - cursorcolor: "#424242", // change cursor color in hex - cursoropacitymin: 0, // change opacity when cursor is inactive (scrollabar "hidden" state), range from 1 to 0 - cursoropacitymax: 1, // change opacity when cursor is active (scrollabar "visible" state), range from 1 to 0 - cursorwidth: "5px", // cursor width in pixel (you can also write "5px") - cursorborder: "1px solid #fff", // css definition for cursor border - cursorborderradius: "5px", // border radius in pixel for cursor - zindex: "auto" | , // change z-index for scrollbar div - scrollspeed: 60, // scrolling speed - mousescrollstep: 40, // scrolling speed with mouse wheel (pixel) - touchbehavior: false, // enable cursor-drag scrolling like touch devices in desktop computer - hwacceleration: true, // use hardware accelerated scroll when supported - boxzoom: false, // enable zoom for box content - dblclickzoom: true, // (only when boxzoom=true) zoom activated when double click on box - gesturezoom: true, // (only when boxzoom=true and with touch devices) zoom activated when pinch out/in on box - grabcursorenabled: true // (only when touchbehavior=true) display "grab" icon - autohidemode: true, // how hide the scrollbar works, possible values: - true | // hide when no scrolling - "cursor" | // only cursor hidden - false | // do not hide, - "leave" | // hide only if pointer leaves content - "hidden" | // hide always - "scroll", // show only on scroll - background: "", // change css for rail background - iframeautoresize: true, // autoresize iframe on load event - cursorminheight: 32, // set the minimum cursor height (pixel) - preservenativescrolling: true, // you can scroll native scrollable areas with mouse, bubbling mouse wheel event - railoffset: false, // you can add offset top/left for rail position - bouncescroll: false, // (only hw accell) enable scroll bouncing at the end of content as mobile-like - spacebarenabled: true, // enable page down scrolling when space bar has pressed - railpadding: { top: 0, right: 0, left: 0, bottom: 0 }, // set padding for rail bar - disableoutline: true, // for chrome browser, disable outline (orange highlight) when selecting a div with nicescroll - horizrailenabled: true, // nicescroll can manage horizontal scroll - railalign: right, // alignment of vertical rail - railvalign: bottom, // alignment of horizontal rail - enabletranslate3d: true, // nicescroll can use css translate to scroll content - enablemousewheel: true, // nicescroll can manage mouse wheel events - enablekeyboard: true, // nicescroll can manage keyboard events - smoothscroll: true, // scroll with ease movement - sensitiverail: true, // click on rail make a scroll - enablemouselockapi: true, // can use mouse caption lock API (same issue on object dragging) - cursorfixedheight: false, // set fixed height for cursor in pixel - hidecursordelay: 400, // set the delay in microseconds to fading out scrollbars - directionlockdeadzone: 6, // dead zone in pixels for direction lock activation - nativeparentscrolling: true, // detect bottom of content and let parent to scroll, as native scroll does - enablescrollonselection: true, // enable auto-scrolling of content when selection text - cursordragspeed: 0.3, // speed of selection when dragged with cursor - rtlmode: "auto", // horizontal div scrolling starts at left side - cursordragontouch: false, // drag cursor in touch / touchbehavior mode also - oneaxismousemode: "auto", // it permits horizontal scrolling with mousewheel on horizontal only content, if false (vertical-only) mousewheel don't scroll horizontally, if value is auto detects two-axis mouse - scriptpath: "" // define custom path for boxmode icons ("" => same script path) - preventmultitouchscrolling: true // prevent scrolling on multitouch events - disablemutationobserver: false // force MutationObserver disabled -}); -``` - -Related projects ----------------- - -* [Nicescroll for Angular](https://github.com/tushariscoolster/angular-nicescroll) - -* LICENSE - -## Copyright 2011-16 InuYaksa - -######Licensed under the MIT License, http://www.opensource.org/licenses/mit-license.php -######Images used for zoom icons have derived from OLPC interface, http://laptop.org/8.2.0/manual/Browse_ChangingView.html diff --git a/d2ice.att.io/app/core/js/jquery.nicescroll-master/bower.json b/d2ice.att.io/app/core/js/jquery.nicescroll-master/bower.json deleted file mode 100755 index 11e7c7aa..00000000 --- a/d2ice.att.io/app/core/js/jquery.nicescroll-master/bower.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "jquery.nicescroll", - "main": [ - "./jquery.nicescroll.js", - "./zoomico.png" - ], - "ignore": [ - "**/.*", - "demo", - "package.json" - ], - "dependencies": { - "jquery": ">=1.8.3" - } -} diff --git a/d2ice.att.io/app/core/js/jquery.nicescroll-master/changelog_3.6.8.txt b/d2ice.att.io/app/core/js/jquery.nicescroll-master/changelog_3.6.8.txt deleted file mode 100755 index 6e94ca47..00000000 --- a/d2ice.att.io/app/core/js/jquery.nicescroll-master/changelog_3.6.8.txt +++ /dev/null @@ -1,31 +0,0 @@ -Changelog nicescroll release 3.6.8 -http://nicescroll.areaaperta.com/ -https://github.com/inuyaksa/jquery.nicescroll - - -Changed features - -New options -- disablemutationobserver, = TRUE when you want that MutationObserver disabled #580 - -Fixes -- Fix show of null #583 -- Refactoring js #582 -- Removed comments #577 -- Timeouts & using on dynamic DOM Elements: "Uncaught TypeError" #579 -- version 3.6.6 stack overflow #578 -- MutationObserver. IE11 crashes #568 -- Xbox One IE Edge browser can't scroll anywhere #581 (to test on real hw!) -- NIce Scroll doesnt work on Window Surface IE Edge #555 - - -Thanks to great contributors!! -@silversonicaxel -@vsn4ik -@ronar -@StephanBijzitter - - - -TODO -- deprecate legacy browsers \ No newline at end of file diff --git a/d2ice.att.io/app/core/js/jquery.nicescroll-master/dist/jquery.nicescroll.min.js b/d2ice.att.io/app/core/js/jquery.nicescroll-master/dist/jquery.nicescroll.min.js deleted file mode 100755 index 2013b3cc..00000000 --- a/d2ice.att.io/app/core/js/jquery.nicescroll-master/dist/jquery.nicescroll.min.js +++ /dev/null @@ -1,158 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -/* jquery.nicescroll 3.6.8 InuYaksa*2015 MIT http://nicescroll.areaaperta.com */(function(f){"function"===typeof define&&define.amd?define(["jquery"],f):"object"===typeof exports?module.exports=f(require("jquery")):f(jQuery)})(function(f){var B=!1,F=!1,O=0,P=2E3,A=0,J=["webkit","ms","moz","o"],v=window.requestAnimationFrame||!1,w=window.cancelAnimationFrame||!1;if(!v)for(var Q in J){var G=J[Q];if(v=window[G+"RequestAnimationFrame"]){w=window[G+"CancelAnimationFrame"]||window[G+"CancelRequestAnimationFrame"];break}}var x=window.MutationObserver||window.WebKitMutationObserver|| -!1,K={zindex:"auto",cursoropacitymin:0,cursoropacitymax:1,cursorcolor:"#424242",cursorwidth:"6px",cursorborder:"1px solid #fff",cursorborderradius:"5px",scrollspeed:60,mousescrollstep:24,touchbehavior:!1,hwacceleration:!0,usetransition:!0,boxzoom:!1,dblclickzoom:!0,gesturezoom:!0,grabcursorenabled:!0,autohidemode:!0,background:"",iframeautoresize:!0,cursorminheight:32,preservenativescrolling:!0,railoffset:!1,railhoffset:!1,bouncescroll:!0,spacebarenabled:!0,railpadding:{top:0,right:0,left:0,bottom:0}, -disableoutline:!0,horizrailenabled:!0,railalign:"right",railvalign:"bottom",enabletranslate3d:!0,enablemousewheel:!0,enablekeyboard:!0,smoothscroll:!0,sensitiverail:!0,enablemouselockapi:!0,cursorfixedheight:!1,directionlockdeadzone:6,hidecursordelay:400,nativeparentscrolling:!0,enablescrollonselection:!0,overflowx:!0,overflowy:!0,cursordragspeed:.3,rtlmode:"auto",cursordragontouch:!1,oneaxismousemode:"auto",scriptpath:function(){var f=document.getElementsByTagName("script"),f=f.length?f[f.length- -1].src.split("?")[0]:"";return 0d?a.getScrollLeft()>=a.page.maxw:0>=a.getScrollLeft())&&(e=d,d=0));a.isrtlmode&&(d=-d);d&&(a.scrollmom&&a.scrollmom.stop(),a.lastdeltax+=d,a.debounced("mousewheelx",function(){var b=a.lastdeltax;a.lastdeltax=0;a.rail.drag||a.doScrollLeftBy(b)},15));if(e){if(a.opt.nativeparentscrolling&&c&&!a.ispage&&!a.zoomactive)if(0>e){if(a.getScrollTop()>=a.page.maxh)return!0}else if(0>=a.getScrollTop())return!0;a.scrollmom&&a.scrollmom.stop();a.lastdeltay+=e; -a.synched("mousewheely",function(){var b=a.lastdeltay;a.lastdeltay=0;a.rail.drag||a.doScrollBy(b)},15)}b.stopImmediatePropagation();return b.preventDefault()}var a=this;this.version="3.6.8";this.name="nicescroll";this.me=c;this.opt={doc:f("body"),win:!1};f.extend(this.opt,K);this.opt.snapbackspeed=80;if(h)for(var r in a.opt)void 0!==h[r]&&(a.opt[r]=h[r]);a.opt.disablemutationobserver&&(x=!1);this.iddoc=(this.doc=a.opt.doc)&&this.doc[0]?this.doc[0].id||"":"";this.ispage=/^BODY|HTML/.test(a.opt.win? -a.opt.win[0].nodeName:this.doc[0].nodeName);this.haswrapper=!1!==a.opt.win;this.win=a.opt.win||(this.ispage?f(window):this.doc);this.docscroll=this.ispage&&!this.haswrapper?f(window):this.win;this.body=f("body");this.iframe=this.isfixed=this.viewport=!1;this.isiframe="IFRAME"==this.doc[0].nodeName&&"IFRAME"==this.win[0].nodeName;this.istextarea="TEXTAREA"==this.win[0].nodeName;this.forcescreen=!1;this.canshowonmouseevent="scroll"!=a.opt.autohidemode;this.page=this.view=this.onzoomout=this.onzoomin= -this.onscrollcancel=this.onscrollend=this.onscrollstart=this.onclick=this.ongesturezoom=this.onkeypress=this.onmousewheel=this.onmousemove=this.onmouseup=this.onmousedown=!1;this.scroll={x:0,y:0};this.scrollratio={x:0,y:0};this.cursorheight=20;this.scrollvaluemax=0;if("auto"==this.opt.rtlmode){r=this.win[0]==window?this.body:this.win;var p=r.css("writing-mode")||r.css("-webkit-writing-mode")||r.css("-ms-writing-mode")||r.css("-moz-writing-mode");"horizontal-tb"==p||"lr-tb"==p||""==p?(this.isrtlmode= -"rtl"==r.css("direction"),this.isvertical=!1):(this.isrtlmode="vertical-rl"==p||"tb"==p||"tb-rl"==p||"rl-tb"==p,this.isvertical="vertical-rl"==p||"tb"==p||"tb-rl"==p)}else this.isrtlmode=!0===this.opt.rtlmode,this.isvertical=!1;this.observerbody=this.observerremover=this.observer=this.scrollmom=this.scrollrunning=!1;do this.id="ascrail"+P++;while(document.getElementById(this.id));this.hasmousefocus=this.hasfocus=this.zoomactive=this.zoom=this.selectiondrag=this.cursorfreezed=this.cursor=this.rail= -!1;this.visibility=!0;this.hidden=this.locked=this.railslocked=!1;this.cursoractive=!0;this.wheelprevented=!1;this.overflowx=a.opt.overflowx;this.overflowy=a.opt.overflowy;this.nativescrollingarea=!1;this.checkarea=0;this.events=[];this.saved={};this.delaylist={};this.synclist={};this.lastdeltay=this.lastdeltax=0;this.detected=R();var e=f.extend({},this.detected);this.ishwscroll=(this.canhwscroll=e.hastransform&&a.opt.hwacceleration)&&a.haswrapper;this.hasreversehr=this.isrtlmode?this.isvertical? -!(e.iswebkit||e.isie||e.isie11):!(e.iswebkit||e.isie&&!e.isie10&&!e.isie11):!1;this.istouchcapable=!1;e.cantouch||!e.hasw3ctouch&&!e.hasmstouch?!e.cantouch||e.isios||e.isandroid||!e.iswebkit&&!e.ismozilla||(this.istouchcapable=!0):this.istouchcapable=!0;a.opt.enablemouselockapi||(e.hasmousecapture=!1,e.haspointerlock=!1);this.debounced=function(b,g,c){a&&(a.delaylist[b]||(g.call(a),a.delaylist[b]={h:v(function(){a.delaylist[b].fn.call(a);a.delaylist[b]=!1},c)}),a.delaylist[b].fn=g)};var I=!1;this.synched= -function(b,g){a.synclist[b]=g;(function(){I||(v(function(){if(a){I=!1;for(var b in a.synclist){var g=a.synclist[b];g&&g.call(a);a.synclist[b]=!1}}}),I=!0)})();return b};this.unsynched=function(b){a.synclist[b]&&(a.synclist[b]=!1)};this.css=function(b,g){for(var c in g)a.saved.css.push([b,c,b.css(c)]),b.css(c,g[c])};this.scrollTop=function(b){return void 0===b?a.getScrollTop():a.setScrollTop(b)};this.scrollLeft=function(b){return void 0===b?a.getScrollLeft():a.setScrollLeft(b)};var D=function(a,g, -c,d,e,f,k){this.st=a;this.ed=g;this.spd=c;this.p1=d||0;this.p2=e||1;this.p3=f||0;this.p4=k||1;this.ts=(new Date).getTime();this.df=this.ed-this.st};D.prototype={B2:function(a){return 3*a*a*(1-a)},B3:function(a){return 3*a*(1-a)*(1-a)},B4:function(a){return(1-a)*(1-a)*(1-a)},getNow:function(){var a=1-((new Date).getTime()-this.ts)/this.spd,g=this.B2(a)+this.B3(a)+this.B4(a);return 0>a?this.ed:this.st+Math.round(this.df*g)},update:function(a,g){this.st=this.getNow();this.ed=a;this.spd=g;this.ts=(new Date).getTime(); -this.df=this.ed-this.st;return this}};if(this.ishwscroll){this.doc.translate={x:0,y:0,tx:"0px",ty:"0px"};e.hastranslate3d&&e.isios&&this.doc.css("-webkit-backface-visibility","hidden");this.getScrollTop=function(b){if(!b){if(b=k())return 16==b.length?-b[13]:-b[5];if(a.timerscroll&&a.timerscroll.bz)return a.timerscroll.bz.getNow()}return a.doc.translate.y};this.getScrollLeft=function(b){if(!b){if(b=k())return 16==b.length?-b[12]:-b[4];if(a.timerscroll&&a.timerscroll.bh)return a.timerscroll.bh.getNow()}return a.doc.translate.x}; -this.notifyScrollEvent=function(a){var g=document.createEvent("UIEvents");g.initUIEvent("scroll",!1,!0,window,1);g.niceevent=!0;a.dispatchEvent(g)};var y=this.isrtlmode?1:-1;e.hastranslate3d&&a.opt.enabletranslate3d?(this.setScrollTop=function(b,g){a.doc.translate.y=b;a.doc.translate.ty=-1*b+"px";a.doc.css(e.trstyle,"translate3d("+a.doc.translate.tx+","+a.doc.translate.ty+",0px)");g||a.notifyScrollEvent(a.win[0])},this.setScrollLeft=function(b,g){a.doc.translate.x=b;a.doc.translate.tx=b*y+"px";a.doc.css(e.trstyle, -"translate3d("+a.doc.translate.tx+","+a.doc.translate.ty+",0px)");g||a.notifyScrollEvent(a.win[0])}):(this.setScrollTop=function(b,g){a.doc.translate.y=b;a.doc.translate.ty=-1*b+"px";a.doc.css(e.trstyle,"translate("+a.doc.translate.tx+","+a.doc.translate.ty+")");g||a.notifyScrollEvent(a.win[0])},this.setScrollLeft=function(b,g){a.doc.translate.x=b;a.doc.translate.tx=b*y+"px";a.doc.css(e.trstyle,"translate("+a.doc.translate.tx+","+a.doc.translate.ty+")");g||a.notifyScrollEvent(a.win[0])})}else this.getScrollTop= -function(){return a.docscroll.scrollTop()},this.setScrollTop=function(b){return setTimeout(function(){a&&a.docscroll.scrollTop(b)},1)},this.getScrollLeft=function(){return a.hasreversehr?a.detected.ismozilla?a.page.maxw-Math.abs(a.docscroll.scrollLeft()):a.page.maxw-a.docscroll.scrollLeft():a.docscroll.scrollLeft()},this.setScrollLeft=function(b){return setTimeout(function(){if(a)return a.hasreversehr&&(b=a.detected.ismozilla?-(a.page.maxw-b):a.page.maxw-b),a.docscroll.scrollLeft(b)},1)};this.getTarget= -function(a){return a?a.target?a.target:a.srcElement?a.srcElement:!1:!1};this.hasParent=function(a,g){if(!a)return!1;for(var c=a.target||a.srcElement||a||!1;c&&c.id!=g;)c=c.parentNode||!1;return!1!==c};var z={thin:1,medium:3,thick:5};this.getDocumentScrollOffset=function(){return{top:window.pageYOffset||document.documentElement.scrollTop,left:window.pageXOffset||document.documentElement.scrollLeft}};this.getOffset=function(){if(a.isfixed){var b=a.win.offset(),g=a.getDocumentScrollOffset();b.top-=g.top; -b.left-=g.left;return b}b=a.win.offset();if(!a.viewport)return b;g=a.viewport.offset();return{top:b.top-g.top,left:b.left-g.left}};this.updateScrollBar=function(b){var g,c,e;if(a.ishwscroll)a.rail.css({height:a.win.innerHeight()-(a.opt.railpadding.top+a.opt.railpadding.bottom)}),a.railh&&a.railh.css({width:a.win.innerWidth()-(a.opt.railpadding.left+a.opt.railpadding.right)});else{var f=a.getOffset();g=f.top;c=f.left-(a.opt.railpadding.left+a.opt.railpadding.right);g+=d(a.win,"border-top-width",!0); -c+=a.rail.align?a.win.outerWidth()-d(a.win,"border-right-width")-a.rail.width:d(a.win,"border-left-width");if(e=a.opt.railoffset)e.top&&(g+=e.top),e.left&&(c+=e.left);a.railslocked||a.rail.css({top:g,left:c,height:(b?b.h:a.win.innerHeight())-(a.opt.railpadding.top+a.opt.railpadding.bottom)});a.zoom&&a.zoom.css({top:g+1,left:1==a.rail.align?c-20:c+a.rail.width+4});if(a.railh&&!a.railslocked){g=f.top;c=f.left;if(e=a.opt.railhoffset)e.top&&(g+=e.top),e.left&&(c+=e.left);b=a.railh.align?g+d(a.win,"border-top-width", -!0)+a.win.innerHeight()-a.railh.height:g+d(a.win,"border-top-width",!0);c+=d(a.win,"border-left-width");a.railh.css({top:b-(a.opt.railpadding.top+a.opt.railpadding.bottom),left:c,width:a.railh.width})}}};this.doRailClick=function(b,g,c){var d;a.railslocked||(a.cancelEvent(b),g?(g=c?a.doScrollLeft:a.doScrollTop,d=c?(b.pageX-a.railh.offset().left-a.cursorwidth/2)*a.scrollratio.x:(b.pageY-a.rail.offset().top-a.cursorheight/2)*a.scrollratio.y,g(d)):(g=c?a.doScrollLeftBy:a.doScrollBy,d=c?a.scroll.x:a.scroll.y, -b=c?b.pageX-a.railh.offset().left:b.pageY-a.rail.offset().top,c=c?a.view.w:a.view.h,g(d>=b?c:-c)))};a.hasanimationframe=v;a.hascancelanimationframe=w;a.hasanimationframe?a.hascancelanimationframe||(w=function(){a.cancelAnimationFrame=!0}):(v=function(a){return setTimeout(a,15-Math.floor(+new Date/1E3)%16)},w=clearTimeout);this.init=function(){a.saved.css=[];if(e.isie7mobile||e.isoperamini)return!0;e.hasmstouch&&a.css(a.ispage?f("html"):a.win,{_touchaction:"none"});var b=e.ismodernie||e.isie10?{"-ms-overflow-style":"none"}: -{"overflow-y":"hidden"};a.zindex="auto";a.zindex=a.ispage||"auto"!=a.opt.zindex?a.opt.zindex:l()||"auto";!a.ispage&&"auto"!=a.zindex&&a.zindex>A&&(A=a.zindex);a.isie&&0==a.zindex&&"auto"==a.opt.zindex&&(a.zindex="auto");if(!a.ispage||!e.cantouch&&!e.isieold&&!e.isie9mobile){var c=a.docscroll;a.ispage&&(c=a.haswrapper?a.win:a.doc);e.isie9mobile||a.css(c,b);a.ispage&&e.isie7&&("BODY"==a.doc[0].nodeName?a.css(f("html"),{"overflow-y":"hidden"}):"HTML"==a.doc[0].nodeName&&a.css(f("body"),b));!e.isios|| -a.ispage||a.haswrapper||a.css(f("body"),{"-webkit-overflow-scrolling":"touch"});var d=f(document.createElement("div"));d.css({position:"relative",top:0,"float":"right",width:a.opt.cursorwidth,height:0,"background-color":a.opt.cursorcolor,border:a.opt.cursorborder,"background-clip":"padding-box","-webkit-border-radius":a.opt.cursorborderradius,"-moz-border-radius":a.opt.cursorborderradius,"border-radius":a.opt.cursorborderradius});d.hborder=parseFloat(d.outerHeight()-d.innerHeight());d.addClass("nicescroll-cursors"); -a.cursor=d;var m=f(document.createElement("div"));m.attr("id",a.id);m.addClass("nicescroll-rails nicescroll-rails-vr");var k,h,p=["left","right","top","bottom"],L;for(L in p)h=p[L],(k=a.opt.railpadding[h])?m.css("padding-"+h,k+"px"):a.opt.railpadding[h]=0;m.append(d);m.width=Math.max(parseFloat(a.opt.cursorwidth),d.outerWidth());m.css({width:m.width+"px",zIndex:a.zindex,background:a.opt.background,cursor:"default"});m.visibility=!0;m.scrollable=!0;m.align="left"==a.opt.railalign?0:1;a.rail=m;d=a.rail.drag= -!1;!a.opt.boxzoom||a.ispage||e.isieold||(d=document.createElement("div"),a.bind(d,"click",a.doZoom),a.bind(d,"mouseenter",function(){a.zoom.css("opacity",a.opt.cursoropacitymax)}),a.bind(d,"mouseleave",function(){a.zoom.css("opacity",a.opt.cursoropacitymin)}),a.zoom=f(d),a.zoom.css({cursor:"pointer",zIndex:a.zindex,backgroundImage:"url("+a.opt.scriptpath+"zoomico.png)",height:18,width:18,backgroundPosition:"0px 0px"}),a.opt.dblclickzoom&&a.bind(a.win,"dblclick",a.doZoom),e.cantouch&&a.opt.gesturezoom&& -(a.ongesturezoom=function(b){1.5b.scale&&a.doZoomOut(b);return a.cancelEvent(b)},a.bind(a.win,"gestureend",a.ongesturezoom)));a.railh=!1;var n;a.opt.horizrailenabled&&(a.css(c,{overflowX:"hidden"}),d=f(document.createElement("div")),d.css({position:"absolute",top:0,height:a.opt.cursorwidth,width:0,backgroundColor:a.opt.cursorcolor,border:a.opt.cursorborder,backgroundClip:"padding-box","-webkit-border-radius":a.opt.cursorborderradius,"-moz-border-radius":a.opt.cursorborderradius, -"border-radius":a.opt.cursorborderradius}),e.isieold&&d.css("overflow","hidden"),d.wborder=parseFloat(d.outerWidth()-d.innerWidth()),d.addClass("nicescroll-cursors"),a.cursorh=d,n=f(document.createElement("div")),n.attr("id",a.id+"-hr"),n.addClass("nicescroll-rails nicescroll-rails-hr"),n.height=Math.max(parseFloat(a.opt.cursorwidth),d.outerHeight()),n.css({height:n.height+"px",zIndex:a.zindex,background:a.opt.background}),n.append(d),n.visibility=!0,n.scrollable=!0,n.align="top"==a.opt.railvalign? -0:1,a.railh=n,a.railh.drag=!1);a.ispage?(m.css({position:"fixed",top:0,height:"100%"}),m.align?m.css({right:0}):m.css({left:0}),a.body.append(m),a.railh&&(n.css({position:"fixed",left:0,width:"100%"}),n.align?n.css({bottom:0}):n.css({top:0}),a.body.append(n))):(a.ishwscroll?("static"==a.win.css("position")&&a.css(a.win,{position:"relative"}),c="HTML"==a.win[0].nodeName?a.body:a.win,f(c).scrollTop(0).scrollLeft(0),a.zoom&&(a.zoom.css({position:"absolute",top:1,right:0,"margin-right":m.width+4}),c.append(a.zoom)), -m.css({position:"absolute",top:0}),m.align?m.css({right:0}):m.css({left:0}),c.append(m),n&&(n.css({position:"absolute",left:0,bottom:0}),n.align?n.css({bottom:0}):n.css({top:0}),c.append(n))):(a.isfixed="fixed"==a.win.css("position"),c=a.isfixed?"fixed":"absolute",a.isfixed||(a.viewport=a.getViewport(a.win[0])),a.viewport&&(a.body=a.viewport,0==/fixed|absolute/.test(a.viewport.css("position"))&&a.css(a.viewport,{position:"relative"})),m.css({position:c}),a.zoom&&a.zoom.css({position:c}),a.updateScrollBar(), -a.body.append(m),a.zoom&&a.body.append(a.zoom),a.railh&&(n.css({position:c}),a.body.append(n))),e.isios&&a.css(a.win,{"-webkit-tap-highlight-color":"rgba(0,0,0,0)","-webkit-touch-callout":"none"}),e.isie&&a.opt.disableoutline&&a.win.attr("hideFocus","true"),e.iswebkit&&a.opt.disableoutline&&a.win.css("outline","none"));!1===a.opt.autohidemode?(a.autohidedom=!1,a.rail.css({opacity:a.opt.cursoropacitymax}),a.railh&&a.railh.css({opacity:a.opt.cursoropacitymax})):!0===a.opt.autohidemode||"leave"===a.opt.autohidemode? -(a.autohidedom=f().add(a.rail),e.isie8&&(a.autohidedom=a.autohidedom.add(a.cursor)),a.railh&&(a.autohidedom=a.autohidedom.add(a.railh)),a.railh&&e.isie8&&(a.autohidedom=a.autohidedom.add(a.cursorh))):"scroll"==a.opt.autohidemode?(a.autohidedom=f().add(a.rail),a.railh&&(a.autohidedom=a.autohidedom.add(a.railh))):"cursor"==a.opt.autohidemode?(a.autohidedom=f().add(a.cursor),a.railh&&(a.autohidedom=a.autohidedom.add(a.cursorh))):"hidden"==a.opt.autohidemode&&(a.autohidedom=!1,a.hide(),a.railslocked= -!1);if(e.isie9mobile)a.scrollmom=new M(a),a.onmangotouch=function(){var b=a.getScrollTop(),c=a.getScrollLeft();if(b==a.scrollmom.lastscrolly&&c==a.scrollmom.lastscrollx)return!0;var g=b-a.mangotouch.sy,d=c-a.mangotouch.sx;if(0!=Math.round(Math.sqrt(Math.pow(d,2)+Math.pow(g,2)))){var e=0>g?-1:1,f=0>d?-1:1,u=+new Date;a.mangotouch.lazy&&clearTimeout(a.mangotouch.lazy);80h?h=Math.round(h/2):h>a.page.maxh&&(h=a.page.maxh+Math.round((h-a.page.maxh)/2)):(0>h&&(u=h=0),h>a.page.maxh&&(h=a.page.maxh,u=0));var l;a.railh&&a.railh.scrollable&&(l=a.isrtlmode?k-a.rail.drag.sl:a.rail.drag.sl-k,a.ishwscroll&&a.opt.bouncescroll?0>l?l=Math.round(l/2):l>a.page.maxw&&(l=a.page.maxw+Math.round((l-a.page.maxw)/ -2)):(0>l&&(m=l=0),l>a.page.maxw&&(l=a.page.maxw,m=0)));g=!1;if(a.rail.drag.dl)g=!0,"v"==a.rail.drag.dl?l=a.rail.drag.sl:"h"==a.rail.drag.dl&&(h=a.rail.drag.st);else{d=Math.abs(d);var k=Math.abs(k),C=a.opt.directionlockdeadzone;if("v"==a.rail.drag.ck){if(d>C&&k<=.3*d)return a.rail.drag=!1,!0;k>C&&(a.rail.drag.dl="f",f("body").scrollTop(f("body").scrollTop()))}else if("h"==a.rail.drag.ck){if(k>C&&d<=.3*k)return a.rail.drag=!1,!0;d>C&&(a.rail.drag.dl="f",f("body").scrollLeft(f("body").scrollLeft()))}}a.synched("touchmove", -function(){a.rail.drag&&2==a.rail.drag.pt&&(a.prepareTransition&&a.prepareTransition(0),a.rail.scrollable&&a.setScrollTop(h),a.scrollmom.update(m,u),a.railh&&a.railh.scrollable?(a.setScrollLeft(l),a.showCursor(h,l)):a.showCursor(h),e.isie10&&document.selection.clear())});e.ischrome&&a.istouchcapable&&(g=!1);if(g)return a.cancelEvent(b)}else if(1==a.rail.drag.pt)return a.onmousemove(b)}}a.onmousedown=function(b,c){if(!a.rail.drag||1==a.rail.drag.pt){if(a.railslocked)return a.cancelEvent(b);a.cancelScroll(); -a.rail.drag={x:b.clientX,y:b.clientY,sx:a.scroll.x,sy:a.scroll.y,pt:1,hr:!!c};var g=a.getTarget(b);!a.ispage&&e.hasmousecapture&&g.setCapture();a.isiframe&&!e.hasmousecapture&&(a.saved.csspointerevents=a.doc.css("pointer-events"),a.css(a.doc,{"pointer-events":"none"}));a.hasmoving=!1;return a.cancelEvent(b)}};a.onmouseup=function(b){if(a.rail.drag){if(1!=a.rail.drag.pt)return!0;e.hasmousecapture&&document.releaseCapture();a.isiframe&&!e.hasmousecapture&&a.doc.css("pointer-events",a.saved.csspointerevents); -a.rail.drag=!1;a.hasmoving&&a.triggerScrollEnd();return a.cancelEvent(b)}};a.onmousemove=function(b){if(a.rail.drag){if(1==a.rail.drag.pt){if(e.ischrome&&0==b.which)return a.onmouseup(b);a.cursorfreezed=!0;a.hasmoving=!0;if(a.rail.drag.hr){a.scroll.x=a.rail.drag.sx+(b.clientX-a.rail.drag.x);0>a.scroll.x&&(a.scroll.x=0);var c=a.scrollvaluemaxw;a.scroll.x>c&&(a.scroll.x=c)}else a.scroll.y=a.rail.drag.sy+(b.clientY-a.rail.drag.y),0>a.scroll.y&&(a.scroll.y=0),c=a.scrollvaluemax,a.scroll.y>c&&(a.scroll.y= -c);a.synched("mousemove",function(){a.rail.drag&&1==a.rail.drag.pt&&(a.showCursor(),a.rail.drag.hr?a.hasreversehr?a.doScrollLeft(a.scrollvaluemaxw-Math.round(a.scroll.x*a.scrollratio.x),a.opt.cursordragspeed):a.doScrollLeft(Math.round(a.scroll.x*a.scrollratio.x),a.opt.cursordragspeed):a.doScrollTop(Math.round(a.scroll.y*a.scrollratio.y),a.opt.cursordragspeed))});return a.cancelEvent(b)}}else a.checkarea=0};if(e.cantouch||a.opt.touchbehavior)a.onpreventclick=function(b){if(a.preventclick)return a.preventclick.tg.onclick= -a.preventclick.click,a.preventclick=!1,a.cancelEvent(b)},a.bind(a.win,"mousedown",a.ontouchstart),a.onclick=e.isios?!1:function(b){return a.lastmouseup?(a.lastmouseup=!1,a.cancelEvent(b)):!0},a.opt.grabcursorenabled&&e.cursorgrabvalue&&(a.css(a.ispage?a.doc:a.win,{cursor:e.cursorgrabvalue}),a.css(a.rail,{cursor:e.cursorgrabvalue}));else{var r=function(b){if(a.selectiondrag){if(b){var c=a.win.outerHeight();b=b.pageY-a.selectiondrag.top;0=c&&(b-=c);a.selectiondrag.df=b}0!=a.selectiondrag.df&& -(a.doScrollBy(2*-Math.floor(a.selectiondrag.df/6)),a.debounced("doselectionscroll",function(){r()},50))}};a.hasTextSelected="getSelection"in document?function(){return 0a.page.maxh?a.doScrollTop(a.page.maxh):(a.scroll.y=Math.round(a.getScrollTop()* -(1/a.scrollratio.y)),a.scroll.x=Math.round(a.getScrollLeft()*(1/a.scrollratio.x)),a.cursoractive&&a.noticeCursor());a.scroll.y&&0==a.getScrollTop()&&a.doScrollTo(Math.floor(a.scroll.y*a.scrollratio.y));return a};this.resize=a.onResize;this.hlazyresize=0;this.lazyResize=function(b){a.haswrapper||a.hide();a.hlazyresize&&clearTimeout(a.hlazyresize);a.hlazyresize=setTimeout(function(){a&&a.show().resize()},240);return a};this.jqbind=function(b,c,d){a.events.push({e:b,n:c,f:d,q:!0});f(b).bind(c,d)};this.mousewheel= -function(b,c,d){b="jquery"in b?b[0]:b;if("onwheel"in document.createElement("div"))a._bind(b,"wheel",c,d||!1);else{var e=void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";q(b,e,c,d||!1);"DOMMouseScroll"==e&&q(b,"MozMousePixelScroll",c,d||!1)}};e.haseventlistener?(this.bind=function(b,c,d,e){a._bind("jquery"in b?b[0]:b,c,d,e||!1)},this._bind=function(b,c,d,e){a.events.push({e:b,n:c,f:d,b:e,q:!1});b.addEventListener(c,d,e||!1)},this.cancelEvent=function(a){if(!a)return!1;a=a.original?a.original: -a;a.cancelable&&a.preventDefault();a.stopPropagation();a.preventManipulation&&a.preventManipulation();return!1},this.stopPropagation=function(a){if(!a)return!1;a=a.original?a.original:a;a.stopPropagation();return!1},this._unbind=function(a,c,d,e){a.removeEventListener(c,d,e)}):(this.bind=function(b,c,d,e){var f="jquery"in b?b[0]:b;a._bind(f,c,function(b){(b=b||window.event||!1)&&b.srcElement&&(b.target=b.srcElement);"pageY"in b||(b.pageX=b.clientX+document.documentElement.scrollLeft,b.pageY=b.clientY+ -document.documentElement.scrollTop);return!1===d.call(f,b)||!1===e?a.cancelEvent(b):!0})},this._bind=function(b,c,d,e){a.events.push({e:b,n:c,f:d,b:e,q:!1});b.attachEvent?b.attachEvent("on"+c,d):b["on"+c]=d},this.cancelEvent=function(a){a=window.event||!1;if(!a)return!1;a.cancelBubble=!0;a.cancel=!0;return a.returnValue=!1},this.stopPropagation=function(a){a=window.event||!1;if(!a)return!1;a.cancelBubble=!0;return!1},this._unbind=function(a,c,d,e){a.detachEvent?a.detachEvent("on"+c,d):a["on"+c]=!1}); -this.unbindAll=function(){for(var b=0;b(a.newscrolly-f)*(c-f)||0>(a.newscrollx-k)*(b-k))&&a.cancelScroll();0==a.opt.bouncescroll&&(0>c?c=0:c>a.page.maxh&&(c=a.page.maxh),0>b?b=0:b>a.page.maxw&&(b=a.page.maxw));if(a.scrollrunning&&b==a.newscrollx&&c==a.newscrolly)return!1;a.newscrolly=c;a.newscrollx=b;a.newscrollspeed=d||!1;if(a.timer)return!1;a.timer=setTimeout(function(){var d=a.getScrollTop(),f=a.getScrollLeft(), -k=Math.round(Math.sqrt(Math.pow(b-f,2)+Math.pow(c-d,2))),k=a.newscrollspeed&&1=a.newscrollspeed&&(k*=a.newscrollspeed);a.prepareTransition(k,!0);a.timerscroll&&a.timerscroll.tm&&clearInterval(a.timerscroll.tm);0b?b=0:b>a.page.maxh&&(b=a.page.maxh);0>c?c=0:c>a.page.maxw&&(c=a.page.maxw);if(b!=a.newscrolly||c!=a.newscrollx)return a.doScrollPos(c, -b,a.opt.snapbackspeed);a.onscrollend&&a.scrollrunning&&a.triggerScrollEnd();a.scrollrunning=!1}):(this.doScrollLeft=function(b,c){var d=a.scrollrunning?a.newscrolly:a.getScrollTop();a.doScrollPos(b,d,c)},this.doScrollTop=function(b,c){var d=a.scrollrunning?a.newscrollx:a.getScrollLeft();a.doScrollPos(d,b,c)},this.doScrollPos=function(b,c,d){function e(){if(a.cancelAnimationFrame)return!0;a.scrollrunning=!0;if(p=1-p)return a.timer=v(e)||1;var b=0,c,d,f=d=a.getScrollTop();if(a.dst.ay){f=a.bzscroll? -a.dst.py+a.bzscroll.getNow()*a.dst.ay:a.newscrolly;c=f-d;if(0>c&&fa.newscrolly)f=a.newscrolly;a.setScrollTop(f);f==a.newscrolly&&(b=1)}else b=1;d=c=a.getScrollLeft();if(a.dst.ax){d=a.bzscroll?a.dst.px+a.bzscroll.getNow()*a.dst.ax:a.newscrollx;c=d-c;if(0>c&&da.newscrollx)d=a.newscrollx;a.setScrollLeft(d);d==a.newscrollx&&(b+=1)}else b+=1;2==b?(a.timer=0,a.cursorfreezed=!1,a.bzscroll=!1,a.scrollrunning=!1,0>f?f=0:f>a.page.maxh&&(f=Math.max(0,a.page.maxh)), -0>d?d=0:d>a.page.maxw&&(d=a.page.maxw),d!=a.newscrollx||f!=a.newscrolly?a.doScrollPos(d,f):a.onscrollend&&a.triggerScrollEnd()):a.timer=v(e)||1}c=void 0===c||!1===c?a.getScrollTop(!0):c;if(a.timer&&a.newscrolly==c&&a.newscrollx==b)return!0;a.timer&&w(a.timer);a.timer=0;var f=a.getScrollTop(),k=a.getScrollLeft();(0>(a.newscrolly-f)*(c-f)||0>(a.newscrollx-k)*(b-k))&&a.cancelScroll();a.newscrolly=c;a.newscrollx=b;a.bouncescroll&&a.rail.visibility||(0>a.newscrolly?a.newscrolly=0:a.newscrolly>a.page.maxh&& -(a.newscrolly=a.page.maxh));a.bouncescroll&&a.railh.visibility||(0>a.newscrollx?a.newscrollx=0:a.newscrollx>a.page.maxw&&(a.newscrollx=a.page.maxw));a.dst={};a.dst.x=b-k;a.dst.y=c-f;a.dst.px=k;a.dst.py=f;var h=Math.round(Math.sqrt(Math.pow(a.dst.x,2)+Math.pow(a.dst.y,2)));a.dst.ax=a.dst.x/h;a.dst.ay=a.dst.y/h;var l=0,n=h;0==a.dst.x?(l=f,n=c,a.dst.ay=1,a.dst.py=0):0==a.dst.y&&(l=k,n=b,a.dst.ax=1,a.dst.px=0);h=a.getTransitionSpeed(h);d&&1>=d&&(h*=d);a.bzscroll=0=a.page.maxh||k==a.page.maxw&&b>=a.page.maxw)&&a.checkContentSize();var p=1;a.cancelAnimationFrame=!1;a.timer=1;a.onscrollstart&&!a.scrollrunning&&a.onscrollstart.call(a,{type:"scrollstart",current:{x:k,y:f},request:{x:b,y:c},end:{x:a.newscrollx,y:a.newscrolly},speed:h});e();(f==a.page.maxh&&c>=f||k==a.page.maxw&&b>=k)&&a.checkContentSize();a.noticeCursor()}},this.cancelScroll=function(){a.timer&&w(a.timer);a.timer=0;a.bzscroll=!1;a.scrollrunning= -!1;return a}):(this.doScrollLeft=function(b,c){var d=a.getScrollTop();a.doScrollPos(b,d,c)},this.doScrollTop=function(b,c){var d=a.getScrollLeft();a.doScrollPos(d,b,c)},this.doScrollPos=function(b,c,d){var e=b>a.page.maxw?a.page.maxw:b;0>e&&(e=0);var f=c>a.page.maxh?a.page.maxh:c;0>f&&(f=0);a.synched("scroll",function(){a.setScrollTop(f);a.setScrollLeft(e)})},this.cancelScroll=function(){});this.doScrollBy=function(b,c){var d=0,d=c?Math.floor((a.scroll.y-b)*a.scrollratio.y):(a.timer?a.newscrolly: -a.getScrollTop(!0))-b;if(a.bouncescroll){var e=Math.round(a.view.h/2);d<-e?d=-e:d>a.page.maxh+e&&(d=a.page.maxh+e)}a.cursorfreezed=!1;e=a.getScrollTop(!0);if(0>d&&0>=e)return a.noticeCursor();if(d>a.page.maxh&&e>=a.page.maxh)return a.checkContentSize(),a.noticeCursor();a.doScrollTop(d)};this.doScrollLeftBy=function(b,c){var d=0,d=c?Math.floor((a.scroll.x-b)*a.scrollratio.x):(a.timer?a.newscrollx:a.getScrollLeft(!0))-b;if(a.bouncescroll){var e=Math.round(a.view.w/2);d<-e?d=-e:d>a.page.maxw+e&&(d=a.page.maxw+ -e)}a.cursorfreezed=!1;e=a.getScrollLeft(!0);if(0>d&&0>=e||d>a.page.maxw&&e>=a.page.maxw)return a.noticeCursor();a.doScrollLeft(d)};this.doScrollTo=function(b,c){a.cursorfreezed=!1;a.doScrollTop(b)};this.checkContentSize=function(){var b=a.getContentSize();b.h==a.page.h&&b.w==a.page.w||a.resize(!1,b)};a.onscroll=function(b){a.rail.drag||a.cursorfreezed||a.synched("scroll",function(){a.scroll.y=Math.round(a.getScrollTop()*(1/a.scrollratio.y));a.railh&&(a.scroll.x=Math.round(a.getScrollLeft()*(1/a.scrollratio.x))); -a.noticeCursor()})};a.bind(a.docscroll,"scroll",a.onscroll);this.doZoomIn=function(b){if(!a.zoomactive){a.zoomactive=!0;a.zoomrestore={style:{}};var c="position top left zIndex backgroundColor marginTop marginBottom marginLeft marginRight".split(" "),d=a.win[0].style,k;for(k in c){var h=c[k];a.zoomrestore.style[h]=void 0!==d[h]?d[h]:""}a.zoomrestore.style.width=a.win.css("width");a.zoomrestore.style.height=a.win.css("height");a.zoomrestore.padding={w:a.win.outerWidth()-a.win.width(),h:a.win.outerHeight()- -a.win.height()};e.isios4&&(a.zoomrestore.scrollTop=f(window).scrollTop(),f(window).scrollTop(0));a.win.css({position:e.isios4?"absolute":"fixed",top:0,left:0,zIndex:A+100,margin:0});c=a.win.css("backgroundColor");(""==c||/transparent|rgba\(0, 0, 0, 0\)|rgba\(0,0,0,0\)/.test(c))&&a.win.css("backgroundColor","#fff");a.rail.css({zIndex:A+101});a.zoom.css({zIndex:A+102});a.zoom.css("backgroundPosition","0px -18px");a.resizeZoom();a.onzoomin&&a.onzoomin.call(a);return a.cancelEvent(b)}};this.doZoomOut= -function(b){if(a.zoomactive)return a.zoomactive=!1,a.win.css("margin",""),a.win.css(a.zoomrestore.style),e.isios4&&f(window).scrollTop(a.zoomrestore.scrollTop),a.rail.css({"z-index":a.zindex}),a.zoom.css({"z-index":a.zindex}),a.zoomrestore=!1,a.zoom.css("backgroundPosition","0px 0px"),a.onResize(),a.onzoomout&&a.onzoomout.call(a),a.cancelEvent(b)};this.doZoom=function(b){return a.zoomactive?a.doZoomOut(b):a.doZoomIn(b)};this.resizeZoom=function(){if(a.zoomactive){var b=a.getScrollTop();a.win.css({width:f(window).width()- -a.zoomrestore.padding.w+"px",height:f(window).height()-a.zoomrestore.padding.h+"px"});a.onResize();a.setScrollTop(Math.min(a.page.maxh,b))}};this.init();f.nicescroll.push(this)},M=function(f){var c=this;this.nc=f;this.steptime=this.lasttime=this.speedy=this.speedx=this.lasty=this.lastx=0;this.snapy=this.snapx=!1;this.demuly=this.demulx=0;this.lastscrolly=this.lastscrollx=-1;this.timer=this.chky=this.chkx=0;this.time=function(){return+new Date};this.reset=function(f,h){c.stop();var d=c.time();c.steptime= -0;c.lasttime=d;c.speedx=0;c.speedy=0;c.lastx=f;c.lasty=h;c.lastscrollx=-1;c.lastscrolly=-1};this.update=function(f,h){var d=c.time();c.steptime=d-c.lasttime;c.lasttime=d;var d=h-c.lasty,q=f-c.lastx,t=c.nc.getScrollTop(),a=c.nc.getScrollLeft(),t=t+d,a=a+q;c.snapx=0>a||a>c.nc.page.maxw;c.snapy=0>t||t>c.nc.page.maxh;c.speedx=q;c.speedy=d;c.lastx=f;c.lasty=h};this.stop=function(){c.nc.unsynched("domomentum2d");c.timer&&clearTimeout(c.timer);c.timer=0;c.lastscrollx=-1;c.lastscrolly=-1};this.doSnapy=function(f, -h){var d=!1;0>h?(h=0,d=!0):h>c.nc.page.maxh&&(h=c.nc.page.maxh,d=!0);0>f?(f=0,d=!0):f>c.nc.page.maxw&&(f=c.nc.page.maxw,d=!0);d?c.nc.doScrollPos(f,h,c.nc.opt.snapbackspeed):c.nc.triggerScrollEnd()};this.doMomentum=function(f){var h=c.time(),d=f?h+f:c.lasttime;f=c.nc.getScrollLeft();var q=c.nc.getScrollTop(),t=c.nc.page.maxh,a=c.nc.page.maxw;c.speedx=0=h-d;if(0>q||q>t||0>f||f>a)d=!1;f=c.speedx&&d?c.speedx:!1;if(c.speedy&&d&&c.speedy|| -f){var r=Math.max(16,c.steptime);50p||p>a)&&(d=.1);c.speedy&&(e=Math.floor(c.lastscrolly-c.speedy*(1-c.demulxy)),c.lastscrolly=e,0>e||e>t)&&(d=.1);c.demulxy=Math.min(1,c.demulxy+ -d);c.nc.synched("domomentum2d",function(){c.speedx&&(c.nc.getScrollLeft(),c.chkx=p,c.nc.setScrollLeft(p));c.speedy&&(c.nc.getScrollTop(),c.chky=e,c.nc.setScrollTop(e));c.timer||(c.nc.hideCursor(),c.doSnapy(p,e))});1>c.demulxy?c.timer=setTimeout(v,r):(c.stop(),c.nc.hideCursor(),c.doSnapy(p,e))};v()}else c.doSnapy(c.nc.getScrollLeft(),c.nc.getScrollTop())}},y=f.fn.scrollTop;f.cssHooks.pageYOffset={get:function(h,c,k){return(c=f.data(h,"__nicescroll")||!1)&&c.ishwscroll?c.getScrollTop():y.call(h)},set:function(h, -c){var k=f.data(h,"__nicescroll")||!1;k&&k.ishwscroll?k.setScrollTop(parseInt(c)):y.call(h,c);return this}};f.fn.scrollTop=function(h){if(void 0===h){var c=this[0]?f.data(this[0],"__nicescroll")||!1:!1;return c&&c.ishwscroll?c.getScrollTop():y.call(this)}return this.each(function(){var c=f.data(this,"__nicescroll")||!1;c&&c.ishwscroll?c.setScrollTop(parseInt(h)):y.call(f(this),h)})};var z=f.fn.scrollLeft;f.cssHooks.pageXOffset={get:function(h,c,k){return(c=f.data(h,"__nicescroll")||!1)&&c.ishwscroll? -c.getScrollLeft():z.call(h)},set:function(h,c){var k=f.data(h,"__nicescroll")||!1;k&&k.ishwscroll?k.setScrollLeft(parseInt(c)):z.call(h,c);return this}};f.fn.scrollLeft=function(h){if(void 0===h){var c=this[0]?f.data(this[0],"__nicescroll")||!1:!1;return c&&c.ishwscroll?c.getScrollLeft():z.call(this)}return this.each(function(){var c=f.data(this,"__nicescroll")||!1;c&&c.ishwscroll?c.setScrollLeft(parseInt(h)):z.call(f(this),h)})};var E=function(h){var c=this;this.length=0;this.name="nicescrollarray"; -this.each=function(d){f.each(c,d);return c};this.push=function(d){c[c.length]=d;c.length++};this.eq=function(d){return c[d]};if(h)for(var k=0;k 0) ? path.split('/').slice(0, -1).join('/') + '/' : ''; - } - - var vendors = ['webkit','ms','moz','o']; - - var setAnimationFrame = window.requestAnimationFrame || false; - var clearAnimationFrame = window.cancelAnimationFrame || false; - - if (!setAnimationFrame) { // legacy detection - for (var vx in vendors) { - var v = vendors[vx]; - setAnimationFrame = window[v + 'RequestAnimationFrame']; - if (setAnimationFrame) { - clearAnimationFrame = window[v + 'CancelAnimationFrame'] || window[v + 'CancelRequestAnimationFrame']; - break; - } - } - } - - var ClsMutationObserver = window.MutationObserver || window.WebKitMutationObserver || false; - - var _globaloptions = { - zindex: "auto", - cursoropacitymin: 0, - cursoropacitymax: 1, - cursorcolor: "#424242", - cursorwidth: "6px", - cursorborder: "1px solid #fff", - cursorborderradius: "5px", - scrollspeed: 60, - mousescrollstep: 8 * 3, - touchbehavior: false, - hwacceleration: true, - usetransition: true, - boxzoom: false, - dblclickzoom: true, - gesturezoom: true, - grabcursorenabled: true, - autohidemode: true, - background: "", - iframeautoresize: true, - cursorminheight: 32, - preservenativescrolling: true, - railoffset: false, - railhoffset: false, - bouncescroll: true, - spacebarenabled: true, - railpadding: { - top: 0, - right: 0, - left: 0, - bottom: 0 - }, - disableoutline: true, - horizrailenabled: true, - railalign: "right", - railvalign: "bottom", - enabletranslate3d: true, - enablemousewheel: true, - enablekeyboard: true, - smoothscroll: true, - sensitiverail: true, - enablemouselockapi: true, - // cursormaxheight:false, - cursorfixedheight: false, - directionlockdeadzone: 6, - hidecursordelay: 400, - nativeparentscrolling: true, - enablescrollonselection: true, - overflowx: true, - overflowy: true, - cursordragspeed: 0.3, - rtlmode: "auto", - cursordragontouch: false, - oneaxismousemode: "auto", - scriptpath: getScriptPath(), - preventmultitouchscrolling: true, - disablemutationobserver:false - }; - - var browserdetected = false; - - var getBrowserDetection = function() { - - if (browserdetected) return browserdetected; - - var _el = document.createElement('DIV'), - _style = _el.style, - _agent = navigator.userAgent, - _platform = navigator.platform, - d = {}; - - d.haspointerlock = "pointerLockElement" in document || "webkitPointerLockElement" in document || "mozPointerLockElement" in document; - - d.isopera = ("opera" in window); // 12- - d.isopera12 = (d.isopera && ("getUserMedia" in navigator)); - d.isoperamini = (Object.prototype.toString.call(window.operamini) === "[object OperaMini]"); - - d.isie = (("all" in document) && ("attachEvent" in _el) && !d.isopera); //IE10- - d.isieold = (d.isie && !("msInterpolationMode" in _style)); // IE6 and older - d.isie7 = d.isie && !d.isieold && (!("documentMode" in document) || (document.documentMode == 7)); - d.isie8 = d.isie && ("documentMode" in document) && (document.documentMode == 8); - d.isie9 = d.isie && ("performance" in window) && (document.documentMode == 9); - d.isie10 = d.isie && ("performance" in window) && (document.documentMode == 10); - d.isie11 = ("msRequestFullscreen" in _el) && (document.documentMode >= 11); // IE11+ - d.isieedge12 = (navigator.userAgent.match(/Edge\/12\./)); // IE Edge 12 - d.isieedge = ("msOverflowStyle" in _el); // IE Edge - d.ismodernie = d.isie11 || d.isieedge; - - d.isie9mobile = /iemobile.9/i.test(_agent); //wp 7.1 mango - if (d.isie9mobile) d.isie9 = false; - d.isie7mobile = (!d.isie9mobile && d.isie7) && /iemobile/i.test(_agent); //wp 7.0 - - d.ismozilla = ("MozAppearance" in _style); - - d.iswebkit = ("WebkitAppearance" in _style); - - d.ischrome = ("chrome" in window); - d.ischrome38 = (d.ischrome && ("touchAction" in _style)); // behavior changed in touch emulation - d.ischrome22 = (!d.ischrome38)&&(d.ischrome && d.haspointerlock); - d.ischrome26 = (!d.ischrome38)&&(d.ischrome && ("transition" in _style)); // issue with transform detection (maintain prefix) - - d.cantouch = ("ontouchstart" in document.documentElement) || ("ontouchstart" in window); // with detection for Chrome Touch Emulation - d.hasw3ctouch = (window.PointerEvent || false) && ((navigator.MaxTouchPoints > 0)||(navigator.msMaxTouchPoints > 0)); //IE11 pointer events, following W3C Pointer Events spec - d.hasmstouch = (!d.hasw3ctouch)&&(window.MSPointerEvent || false); // IE10 pointer events - - d.ismac = /^mac$/i.test(_platform); - - d.isios = (d.cantouch && /iphone|ipad|ipod/i.test(_platform)); - d.isios4 = ((d.isios) && !("seal" in Object)); - d.isios7 = ((d.isios)&&("webkitHidden" in document)); //iOS 7+ - d.isios8 = ((d.isios)&&("hidden" in document)); //iOS 8+ - - d.isandroid = (/android/i.test(_agent)); - - d.haseventlistener = ("addEventListener" in _el); - - d.trstyle = false; - d.hastransform = false; - d.hastranslate3d = false; - d.transitionstyle = false; - d.hastransition = false; - d.transitionend = false; - - var a; - var check = ['transform', 'msTransform', 'webkitTransform', 'MozTransform', 'OTransform']; - for (a = 0; a < check.length; a++) { - if (_style[check[a]] !== undefined) { - d.trstyle = check[a]; - break; - } - } - d.hastransform = (!!d.trstyle); - if (d.hastransform) { - _style[d.trstyle] = "translate3d(1px,2px,3px)"; - d.hastranslate3d = /translate3d/.test(_style[d.trstyle]); - } - - d.transitionstyle = false; - d.prefixstyle = ''; - d.transitionend = false; - check = ['transition', 'webkitTransition', 'msTransition', 'MozTransition', 'OTransition', 'OTransition', 'KhtmlTransition']; - var prefix = ['', '-webkit-', '-ms-', '-moz-', '-o-', '-o', '-khtml-']; - var evs = ['transitionend', 'webkitTransitionEnd', 'msTransitionEnd', 'transitionend', 'otransitionend', 'oTransitionEnd', 'KhtmlTransitionEnd']; - for (a = 0; a < check.length; a++) { - if (check[a] in _style) { - d.transitionstyle = check[a]; - d.prefixstyle = prefix[a]; - d.transitionend = evs[a]; - break; - } - } - if (d.ischrome26) { // always use prefix - d.prefixstyle = prefix[1]; - } - - d.hastransition = (d.transitionstyle); - - function detectCursorGrab() { - var lst = ['grab','-webkit-grab', '-moz-grab']; - if ((d.ischrome && !d.ischrome38) || d.isie) lst = []; // force setting for IE returns false positive and chrome cursor bug - for (var a = 0; a < lst.length; a++) { - var p = lst[a]; - _style.cursor = p; - if (_style.cursor == p) return p; - } - return 'url(//patriciaportfolio.googlecode.com/files/openhand.cur),n-resize'; // thank you google for custom cursor! - } - d.cursorgrabvalue = detectCursorGrab(); - - d.hasmousecapture = ("setCapture" in _el); - - d.hasMutationObserver = (ClsMutationObserver !== false); - - _el = null; //memory released - - browserdetected = d; - - return d; - }; - - var NiceScrollClass = function(myopt, me) { - - var self = this; - - this.version = '3.6.8'; - this.name = 'nicescroll'; - - this.me = me; - - this.opt = { - doc: $("body"), - win: false - }; - - $.extend(this.opt, _globaloptions); // clone opts - - // Options for internal use - this.opt.snapbackspeed = 80; - - if (myopt || false) { - for (var a in self.opt) { - if (myopt[a] !== undefined) self.opt[a] = myopt[a]; - } - } - - if (self.opt.disablemutationobserver) ClsMutationObserver = false; - - this.doc = self.opt.doc; - this.iddoc = (this.doc && this.doc[0]) ? this.doc[0].id || '' : ''; - this.ispage = /^BODY|HTML/.test((self.opt.win) ? self.opt.win[0].nodeName : this.doc[0].nodeName); - this.haswrapper = (self.opt.win !== false); - this.win = self.opt.win || (this.ispage ? $(window) : this.doc); - this.docscroll = (this.ispage && !this.haswrapper) ? $(window) : this.win; - this.body = $("body"); - this.viewport = false; - - this.isfixed = false; - - this.iframe = false; - this.isiframe = ((this.doc[0].nodeName == 'IFRAME') && (this.win[0].nodeName == 'IFRAME')); - - this.istextarea = (this.win[0].nodeName == 'TEXTAREA'); - - this.forcescreen = false; //force to use screen position on events - - this.canshowonmouseevent = (self.opt.autohidemode != "scroll"); - - // Events jump table - this.onmousedown = false; - this.onmouseup = false; - this.onmousemove = false; - this.onmousewheel = false; - this.onkeypress = false; - this.ongesturezoom = false; - this.onclick = false; - - // Nicescroll custom events - this.onscrollstart = false; - this.onscrollend = false; - this.onscrollcancel = false; - - this.onzoomin = false; - this.onzoomout = false; - - // Let's start! - this.view = false; - this.page = false; - - this.scroll = { - x: 0, - y: 0 - }; - this.scrollratio = { - x: 0, - y: 0 - }; - this.cursorheight = 20; - this.scrollvaluemax = 0; - - // http://dev.w3.org/csswg/css-writing-modes-3/#logical-to-physical - // http://dev.w3.org/csswg/css-writing-modes-3/#svg-writing-mode - if (this.opt.rtlmode == "auto") { - var target = this.win[0] == window ? this.body : this.win; - var writingMode = target.css("writing-mode") || target.css("-webkit-writing-mode") || target.css("-ms-writing-mode") || target.css("-moz-writing-mode"); - - if (writingMode == "horizontal-tb" || writingMode == "lr-tb" || writingMode == "") { - this.isrtlmode = (target.css("direction") == "rtl"); - this.isvertical = false; - } else { - this.isrtlmode = (writingMode == "vertical-rl" || writingMode == "tb" || writingMode == "tb-rl" || writingMode == "rl-tb"); - this.isvertical = (writingMode == "vertical-rl" || writingMode == "tb" || writingMode == "tb-rl"); - } - } else { - this.isrtlmode = (this.opt.rtlmode === true); - this.isvertical = false; - } - // this.checkrtlmode = false; - - this.scrollrunning = false; - - this.scrollmom = false; - - this.observer = false; // observer div changes - this.observerremover = false; // observer on parent for remove detection - this.observerbody = false; // observer on body for position change - - do { - this.id = "ascrail" + (ascrailcounter++); - } while (document.getElementById(this.id)); - - this.rail = false; - this.cursor = false; - this.cursorfreezed = false; - this.selectiondrag = false; - - this.zoom = false; - this.zoomactive = false; - - this.hasfocus = false; - this.hasmousefocus = false; - - this.visibility = true; - this.railslocked = false; // locked by resize - this.locked = false; // prevent lost of locked status sets by user - this.hidden = false; // rails always hidden - this.cursoractive = true; // user can interact with cursors - - this.wheelprevented = false; //prevent mousewheel event - - this.overflowx = self.opt.overflowx; - this.overflowy = self.opt.overflowy; - - this.nativescrollingarea = false; - this.checkarea = 0; - - this.events = []; // event list for unbind - - this.saved = {}; // style saved - - this.delaylist = {}; - this.synclist = {}; - - this.lastdeltax = 0; - this.lastdeltay = 0; - - this.detected = getBrowserDetection(); - - var cap = $.extend({}, this.detected); - - this.canhwscroll = (cap.hastransform && self.opt.hwacceleration); - this.ishwscroll = (this.canhwscroll && self.haswrapper); - - if (!this.isrtlmode) { - this.hasreversehr = false; - } else if (this.isvertical) { // RTL mode with reverse horizontal axis - this.hasreversehr = !(cap.iswebkit || cap.isie || cap.isie11); - } else { - this.hasreversehr = !(cap.iswebkit || (cap.isie && !cap.isie10 && !cap.isie11)); - } - - this.istouchcapable = false; // desktop devices with touch screen support - - //## Check WebKit-based desktop with touch support - //## + Firefox 18 nightly build (desktop) false positive (or desktop with touch support) - - if (!cap.cantouch && (cap.hasw3ctouch||cap.hasmstouch)) { // desktop device with multiple input - this.istouchcapable = true; - } else if (cap.cantouch && !cap.isios && !cap.isandroid && (cap.iswebkit || cap.ismozilla)) { - this.istouchcapable = true; -// cap.cantouch = false; // parse normal desktop events - } - - //## disable MouseLock API on user request - if (!self.opt.enablemouselockapi) { - cap.hasmousecapture = false; - cap.haspointerlock = false; - } - -/* deprecated - this.delayed = function(name, fn, tm, lazy) { - }; -*/ - -/* - this.debounced = function(name, fn, tm) { - if (!self) return; - var dd = self.delaylist[name]; - self.delaylist[name] = fn; - if (!dd) { - self.debouncedelayed = setTimeout(function() { - if (!self) return; - var fn = self.delaylist[name]; - self.delaylist[name] = false; - fn.call(self); - }, tm); - } - }; -*/ - - this.debounced = function(name, fn, tm) { - if (!self) return; - var dd = self.delaylist[name]||false; - if (!dd) { - fn.call(self); - self.delaylist[name] = { - h: setAnimationFrame(function(){ - self.delaylist[name].fn.call(self); - self.delaylist[name] = false; - }, tm) - }; - } - self.delaylist[name].fn = fn; - }; - - var _onsync = false; - - this.synched = function(name, fn) { - - function requestSync() { - if (_onsync) return; - setAnimationFrame(function() { - if (!self) return; - _onsync = false; - for (var nn in self.synclist) { - var fn = self.synclist[nn]; - if (fn) fn.call(self); - self.synclist[nn] = false; - } - }); - _onsync = true; - } - - self.synclist[name] = fn; - requestSync(); - return name; - }; - - this.unsynched = function(name) { - if (self.synclist[name]) self.synclist[name] = false; - }; - - this.css = function(el, pars) { // save & set - for (var n in pars) { - self.saved.css.push([el, n, el.css(n)]); - el.css(n, pars[n]); - } - }; - - this.scrollTop = function(val) { - return (val === undefined) ? self.getScrollTop() : self.setScrollTop(val); - }; - - this.scrollLeft = function(val) { - return (val === undefined) ? self.getScrollLeft() : self.setScrollLeft(val); - }; - - // derived by by Dan Pupius www.pupius.net - var BezierClass = function(st, ed, spd, p1, p2, p3, p4) { - - this.st = st; - this.ed = ed; - this.spd = spd; - - this.p1 = p1 || 0; - this.p2 = p2 || 1; - this.p3 = p3 || 0; - this.p4 = p4 || 1; - - this.ts = (new Date()).getTime(); - this.df = this.ed - this.st; - }; - BezierClass.prototype = { - B2: function(t) { - return 3 * t * t * (1 - t); - }, - B3: function(t) { - return 3 * t * (1 - t) * (1 - t); - }, - B4: function(t) { - return (1 - t) * (1 - t) * (1 - t); - }, - getNow: function() { - var nw = (new Date()).getTime(); - var pc = 1 - ((nw - this.ts) / this.spd); - var bz = this.B2(pc) + this.B3(pc) + this.B4(pc); - return (pc < 0) ? this.ed : this.st + Math.round(this.df * bz); - }, - update: function(ed, spd) { - this.st = this.getNow(); - this.ed = ed; - this.spd = spd; - this.ts = (new Date()).getTime(); - this.df = this.ed - this.st; - return this; - } - }; - - //derived from http://stackoverflow.com/questions/11236090/ - function getMatrixValues() { - var tr = self.doc.css(cap.trstyle); - if (tr && (tr.substr(0, 6) == "matrix")) { - return tr.replace(/^.*\((.*)\)$/g, "$1").replace(/px/g, '').split(/, +/); - } - return false; - } - - if (this.ishwscroll) { - // hw accelerated scroll - this.doc.translate = { - x: 0, - y: 0, - tx: "0px", - ty: "0px" - }; - - //this one can help to enable hw accel on ios6 http://indiegamr.com/ios6-html-hardware-acceleration-changes-and-how-to-fix-them/ - if (cap.hastranslate3d && cap.isios) this.doc.css("-webkit-backface-visibility", "hidden"); // prevent flickering http://stackoverflow.com/questions/3461441/ - - this.getScrollTop = function(last) { - if (!last) { - var mtx = getMatrixValues(); - if (mtx) return (mtx.length == 16) ? -mtx[13] : -mtx[5]; //matrix3d 16 on IE10 - if (self.timerscroll && self.timerscroll.bz) return self.timerscroll.bz.getNow(); - } - return self.doc.translate.y; - }; - - this.getScrollLeft = function(last) { - if (!last) { - var mtx = getMatrixValues(); - if (mtx) return (mtx.length == 16) ? -mtx[12] : -mtx[4]; //matrix3d 16 on IE10 - if (self.timerscroll && self.timerscroll.bh) return self.timerscroll.bh.getNow(); - } - return self.doc.translate.x; - }; - - this.notifyScrollEvent = function(el) { - var e = document.createEvent("UIEvents"); - e.initUIEvent("scroll", false, true, window, 1); - e.niceevent = true; - el.dispatchEvent(e); - }; - - var cxscrollleft = (this.isrtlmode) ? 1 : -1; - - if (cap.hastranslate3d && self.opt.enabletranslate3d) { - this.setScrollTop = function(val, silent) { - self.doc.translate.y = val; - self.doc.translate.ty = (val * -1) + "px"; - self.doc.css(cap.trstyle, "translate3d(" + self.doc.translate.tx + "," + self.doc.translate.ty + ",0px)"); - if (!silent) self.notifyScrollEvent(self.win[0]); - }; - this.setScrollLeft = function(val, silent) { - self.doc.translate.x = val; - self.doc.translate.tx = (val * cxscrollleft) + "px"; - self.doc.css(cap.trstyle, "translate3d(" + self.doc.translate.tx + "," + self.doc.translate.ty + ",0px)"); - if (!silent) self.notifyScrollEvent(self.win[0]); - }; - } else { - this.setScrollTop = function(val, silent) { - self.doc.translate.y = val; - self.doc.translate.ty = (val * -1) + "px"; - self.doc.css(cap.trstyle, "translate(" + self.doc.translate.tx + "," + self.doc.translate.ty + ")"); - if (!silent) self.notifyScrollEvent(self.win[0]); - }; - this.setScrollLeft = function(val, silent) { - self.doc.translate.x = val; - self.doc.translate.tx = (val * cxscrollleft) + "px"; - self.doc.css(cap.trstyle, "translate(" + self.doc.translate.tx + "," + self.doc.translate.ty + ")"); - if (!silent) self.notifyScrollEvent(self.win[0]); - }; - } - } else { - // native scroll - this.getScrollTop = function() { - return self.docscroll.scrollTop(); - }; - this.setScrollTop = function(val) { - return setTimeout(function() {(self)&&self.docscroll.scrollTop(val)}, 1); - }; - this.getScrollLeft = function() { - var val; - if (!self.hasreversehr) { - val = self.docscroll.scrollLeft(); - } else if (self.detected.ismozilla) { - val = self.page.maxw - Math.abs(self.docscroll.scrollLeft()); - } else { - val = self.page.maxw - self.docscroll.scrollLeft(); - } - return val; - }; - this.setScrollLeft = function(val) { - return setTimeout(function() { - if (!self) return; - if (self.hasreversehr) { - if (self.detected.ismozilla) { - val = -(self.page.maxw - val); - } else { - val = self.page.maxw - val; - } - } - return self.docscroll.scrollLeft(val); - }, 1); - }; - } - - this.getTarget = function(e) { - if (!e) return false; - if (e.target) return e.target; - if (e.srcElement) return e.srcElement; - return false; - }; - - this.hasParent = function(e, id) { - if (!e) return false; - var el = e.target || e.srcElement || e || false; - while (el && el.id != id) { - el = el.parentNode || false; - } - return (el !== false); - }; - - function getZIndex() { - var dom = self.win; - if ("zIndex" in dom) return dom.zIndex(); // use jQuery UI method when available - while (dom.length > 0) { - if (dom[0].nodeType == 9) return false; - var zi = dom.css('zIndex'); - if (!isNaN(zi) && zi != 0) return parseInt(zi); - dom = dom.parent(); - } - return false; - } - - //inspired by http://forum.jquery.com/topic/width-includes-border-width-when-set-to-thin-medium-thick-in-ie - var _convertBorderWidth = { - "thin": 1, - "medium": 3, - "thick": 5 - }; - - function getWidthToPixel(dom, prop, chkheight) { - var wd = dom.css(prop); - var px = parseFloat(wd); - if (isNaN(px)) { - px = _convertBorderWidth[wd] || 0; - var brd = (px == 3) ? ((chkheight) ? (self.win.outerHeight() - self.win.innerHeight()) : (self.win.outerWidth() - self.win.innerWidth())) : 1; //DON'T TRUST CSS - if (self.isie8 && px) px += 1; - return (brd) ? px : 0; - } - return px; - } - - this.getDocumentScrollOffset = function() { - return { - top: window.pageYOffset || document.documentElement.scrollTop, - left: window.pageXOffset || document.documentElement.scrollLeft - }; - }; - - this.getOffset = function() { - if (self.isfixed) { - var ofs = self.win.offset(); // fix Chrome auto issue (when right/bottom props only) - var scrl = self.getDocumentScrollOffset(); - ofs.top-=scrl.top; - ofs.left-=scrl.left; - return ofs; - } - var ww = self.win.offset(); - if (!self.viewport) return ww; - var vp = self.viewport.offset(); - return { - top: ww.top - vp.top,// + self.viewport.scrollTop(), - left: ww.left - vp.left // + self.viewport.scrollLeft() - }; - }; - - this.updateScrollBar = function(len) { - var pos, off; - if (self.ishwscroll) { - self.rail.css({ //** - height: self.win.innerHeight() - (self.opt.railpadding.top + self.opt.railpadding.bottom) - }); - if (self.railh) self.railh.css({ //** - width: self.win.innerWidth() - (self.opt.railpadding.left + self.opt.railpadding.right) - }); - - } else { - var wpos = self.getOffset(); - pos = { - top: wpos.top, - left: wpos.left - (self.opt.railpadding.left + self.opt.railpadding.right) - }; - pos.top += getWidthToPixel(self.win, 'border-top-width', true); - pos.left += (self.rail.align) ? self.win.outerWidth() - getWidthToPixel(self.win, 'border-right-width') - self.rail.width : getWidthToPixel(self.win, 'border-left-width'); - - off = self.opt.railoffset; - if (off) { - if (off.top) pos.top += off.top; - if (off.left) pos.left += off.left; - } - - if (!self.railslocked) self.rail.css({ - top: pos.top, - left: pos.left, - height: ((len) ? len.h : self.win.innerHeight()) - (self.opt.railpadding.top + self.opt.railpadding.bottom) - }); - - if (self.zoom) { - self.zoom.css({ - top: pos.top + 1, - left: (self.rail.align == 1) ? pos.left - 20 : pos.left + self.rail.width + 4 - }); - } - - if (self.railh && !self.railslocked) { - pos = { - top: wpos.top, - left: wpos.left - }; - off = self.opt.railhoffset; - if (off) { - if (off.top) pos.top += off.top; - if (off.left) pos.left += off.left; - } - var y = (self.railh.align) ? pos.top + getWidthToPixel(self.win, 'border-top-width', true) + self.win.innerHeight() - self.railh.height : pos.top + getWidthToPixel(self.win, 'border-top-width', true); - var x = pos.left + getWidthToPixel(self.win, 'border-left-width'); - self.railh.css({ - top: y - (self.opt.railpadding.top + self.opt.railpadding.bottom), - left: x, - width: self.railh.width - }); - } - - } - }; - - this.doRailClick = function(e, dbl, hr) { - var fn, pg, cur, pos; - - if (self.railslocked) return; - self.cancelEvent(e); - - if (dbl) { - fn = (hr) ? self.doScrollLeft : self.doScrollTop; - cur = (hr) ? ((e.pageX - self.railh.offset().left - (self.cursorwidth / 2)) * self.scrollratio.x) : ((e.pageY - self.rail.offset().top - (self.cursorheight / 2)) * self.scrollratio.y); - fn(cur); - } else { - fn = (hr) ? self.doScrollLeftBy : self.doScrollBy; - cur = (hr) ? self.scroll.x : self.scroll.y; - pos = (hr) ? e.pageX - self.railh.offset().left : e.pageY - self.rail.offset().top; - pg = (hr) ? self.view.w : self.view.h; - fn((cur >= pos) ? pg: -pg);// (cur >= pos) ? fn(pg): fn(-pg); - } - - }; - - self.hasanimationframe = (setAnimationFrame); - self.hascancelanimationframe = (clearAnimationFrame); - - if (!self.hasanimationframe) { - setAnimationFrame = function(fn) { - return setTimeout(fn, 15 - Math.floor((+new Date()) / 1000) % 16); - }; // 1000/60)}; - clearAnimationFrame = clearTimeout; - } else if (!self.hascancelanimationframe) clearAnimationFrame = function() { - self.cancelAnimationFrame = true; - }; - - this.init = function() { - - self.saved.css = []; - - if (cap.isie7mobile) return true; // SORRY, DO NOT WORK! - if (cap.isoperamini) return true; // SORRY, DO NOT WORK! - - var _touchaction = (cap.isie10) ? '-ms-touch-action' : 'touch-action'; - if (cap.hasmstouch) self.css((self.ispage) ? $("html") : self.win, { - _touchaction: 'none' - }); - - var _scrollyhidden = (cap.ismodernie||cap.isie10) ? {'-ms-overflow-style':'none'} : {'overflow-y':'hidden'}; // IE is always a world apart! - - self.zindex = "auto"; - if (!self.ispage && self.opt.zindex == "auto") { - self.zindex = getZIndex() || "auto"; - } else { - self.zindex = self.opt.zindex; - } - - if (!self.ispage && self.zindex != "auto" && self.zindex > globalmaxzindex) { - globalmaxzindex = self.zindex; - } - - if (self.isie && self.zindex == 0 && self.opt.zindex == "auto") { // fix IE auto == 0 - self.zindex = "auto"; - } - - if (!self.ispage || (!cap.cantouch && !cap.isieold && !cap.isie9mobile)) { - - var cont = self.docscroll; - if (self.ispage) cont = (self.haswrapper) ? self.win : self.doc; - - if (!cap.isie9mobile) self.css(cont, _scrollyhidden); - - if (self.ispage && cap.isie7) { - if (self.doc[0].nodeName == 'BODY') self.css($("html"), { - 'overflow-y': 'hidden' - }); //IE7 double scrollbar issue - else if (self.doc[0].nodeName == 'HTML') self.css($("body"), _scrollyhidden); //IE7 double scrollbar issue - } - - if (cap.isios && !self.ispage && !self.haswrapper) self.css($("body"), { - "-webkit-overflow-scrolling": "touch" - }); //force hw acceleration - - var cursor = $(document.createElement('div')); - cursor.css({ - position: "relative", - top: 0, - "float": "right", - width: self.opt.cursorwidth, - height: 0, - 'background-color': self.opt.cursorcolor, - border: self.opt.cursorborder, - 'background-clip': 'padding-box', - '-webkit-border-radius': self.opt.cursorborderradius, - '-moz-border-radius': self.opt.cursorborderradius, - 'border-radius': self.opt.cursorborderradius - }); - - cursor.hborder = parseFloat(cursor.outerHeight() - cursor.innerHeight()); - - cursor.addClass('nicescroll-cursors'); - - self.cursor = cursor; - - var rail = $(document.createElement('div')); - rail.attr('id', self.id); - rail.addClass('nicescroll-rails nicescroll-rails-vr'); - - var v, a, kp = ["left","right","top","bottom"]; //** - for (var n in kp) { - a = kp[n]; - v = self.opt.railpadding[a]; - (v) ? rail.css("padding-"+a,v+"px") : self.opt.railpadding[a] = 0; - } - - rail.append(cursor); - - rail.width = Math.max(parseFloat(self.opt.cursorwidth), cursor.outerWidth()); - rail.css({ - width: rail.width + "px", - zIndex: self.zindex, - background: self.opt.background, - cursor: "default" - }); - - rail.visibility = true; - rail.scrollable = true; - - rail.align = (self.opt.railalign == "left") ? 0 : 1; - - self.rail = rail; - - self.rail.drag = false; - - var zoom = false; - if (self.opt.boxzoom && !self.ispage && !cap.isieold) { - zoom = document.createElement('div'); - - self.bind(zoom, "click", self.doZoom); - self.bind(zoom, "mouseenter", function() { - self.zoom.css('opacity', self.opt.cursoropacitymax); - }); - self.bind(zoom, "mouseleave", function() { - self.zoom.css('opacity', self.opt.cursoropacitymin); - }); - - self.zoom = $(zoom); - self.zoom.css({ - cursor: "pointer", - zIndex: self.zindex, - backgroundImage: 'url(' + self.opt.scriptpath + 'zoomico.png)', - height: 18, - width: 18, - backgroundPosition: '0px 0px' - }); - if (self.opt.dblclickzoom) self.bind(self.win, "dblclick", self.doZoom); - if (cap.cantouch && self.opt.gesturezoom) { - self.ongesturezoom = function(e) { - if (e.scale > 1.5) self.doZoomIn(e); - if (e.scale < 0.8) self.doZoomOut(e); - return self.cancelEvent(e); - }; - self.bind(self.win, "gestureend", self.ongesturezoom); - } - } - - // init HORIZ - - self.railh = false; - var railh; - - if (self.opt.horizrailenabled) { - - self.css(cont, { - overflowX: 'hidden' - }); - - var cursor = $(document.createElement('div')); - cursor.css({ - position: "absolute", - top: 0, - height: self.opt.cursorwidth, - width: 0, - backgroundColor: self.opt.cursorcolor, - border: self.opt.cursorborder, - backgroundClip: 'padding-box', - '-webkit-border-radius': self.opt.cursorborderradius, - '-moz-border-radius': self.opt.cursorborderradius, - 'border-radius': self.opt.cursorborderradius - }); - - if (cap.isieold) cursor.css('overflow', 'hidden'); //IE6 horiz scrollbar issue - - cursor.wborder = parseFloat(cursor.outerWidth() - cursor.innerWidth()); - - cursor.addClass('nicescroll-cursors'); - - self.cursorh = cursor; - - railh = $(document.createElement('div')); - railh.attr('id', self.id + '-hr'); - railh.addClass('nicescroll-rails nicescroll-rails-hr'); - railh.height = Math.max(parseFloat(self.opt.cursorwidth), cursor.outerHeight()); - railh.css({ - height: railh.height + "px", - 'zIndex': self.zindex, - "background": self.opt.background - }); - - railh.append(cursor); - - railh.visibility = true; - railh.scrollable = true; - - railh.align = (self.opt.railvalign == "top") ? 0 : 1; - - self.railh = railh; - - self.railh.drag = false; - - } - - // - - if (self.ispage) { - rail.css({ - position: "fixed", - top: 0, - height: "100%" - }); - (rail.align) ? rail.css({ - right: 0 - }): rail.css({ - left: 0 - }); - self.body.append(rail); - if (self.railh) { - railh.css({ - position: "fixed", - left: 0, - width: "100%" - }); - (railh.align) ? railh.css({ - bottom: 0 - }): railh.css({ - top: 0 - }); - self.body.append(railh); - } - } else { - if (self.ishwscroll) { - if (self.win.css('position') == 'static') self.css(self.win, { - 'position': 'relative' - }); - var bd = (self.win[0].nodeName == 'HTML') ? self.body : self.win; - $(bd).scrollTop(0).scrollLeft(0); // fix rail position if content already scrolled - if (self.zoom) { - self.zoom.css({ - position: "absolute", - top: 1, - right: 0, - "margin-right": rail.width + 4 - }); - bd.append(self.zoom); - } - rail.css({ - position: "absolute", - top: 0 - }); - (rail.align) ? rail.css({ - right: 0 - }): rail.css({ - left: 0 - }); - bd.append(rail); - if (railh) { - railh.css({ - position: "absolute", - left: 0, - bottom: 0 - }); - (railh.align) ? railh.css({ - bottom: 0 - }): railh.css({ - top: 0 - }); - bd.append(railh); - } - } else { - self.isfixed = (self.win.css("position") == "fixed"); - var rlpos = (self.isfixed) ? "fixed" : "absolute"; - - if (!self.isfixed) self.viewport = self.getViewport(self.win[0]); - if (self.viewport) { - self.body = self.viewport; - if ((/fixed|absolute/.test(self.viewport.css("position"))) == false) self.css(self.viewport, { - "position": "relative" - }); - } - - rail.css({ - position: rlpos - }); - if (self.zoom) self.zoom.css({ - position: rlpos - }); - self.updateScrollBar(); - self.body.append(rail); - if (self.zoom) self.body.append(self.zoom); - if (self.railh) { - railh.css({ - position: rlpos - }); - self.body.append(railh); - } - } - - if (cap.isios) self.css(self.win, { - '-webkit-tap-highlight-color': 'rgba(0,0,0,0)', - '-webkit-touch-callout': 'none' - }); // prevent grey layer on click - - if (cap.isie && self.opt.disableoutline) self.win.attr("hideFocus", "true"); // IE, prevent dotted rectangle on focused div - if (cap.iswebkit && self.opt.disableoutline) self.win.css('outline', 'none'); // Webkit outline - //if (cap.isopera&&self.opt.disableoutline) self.win.css({"outline":"0"}); // Opera 12- to test [TODO] - - } - - if (self.opt.autohidemode === false) { - self.autohidedom = false; - self.rail.css({ - opacity: self.opt.cursoropacitymax - }); - if (self.railh) self.railh.css({ - opacity: self.opt.cursoropacitymax - }); - } else if ((self.opt.autohidemode === true) || (self.opt.autohidemode === "leave")) { - self.autohidedom = $().add(self.rail); - if (cap.isie8) self.autohidedom = self.autohidedom.add(self.cursor); - if (self.railh) self.autohidedom = self.autohidedom.add(self.railh); - if (self.railh && cap.isie8) self.autohidedom = self.autohidedom.add(self.cursorh); - } else if (self.opt.autohidemode == "scroll") { - self.autohidedom = $().add(self.rail); - if (self.railh) self.autohidedom = self.autohidedom.add(self.railh); - } else if (self.opt.autohidemode == "cursor") { - self.autohidedom = $().add(self.cursor); - if (self.railh) self.autohidedom = self.autohidedom.add(self.cursorh); - } else if (self.opt.autohidemode == "hidden") { - self.autohidedom = false; - self.hide(); - self.railslocked = false; - } - - if (cap.isie9mobile) { - - self.scrollmom = new ScrollMomentumClass2D(self); - - self.onmangotouch = function() { - var py = self.getScrollTop(); - var px = self.getScrollLeft(); - - if ((py == self.scrollmom.lastscrolly) && (px == self.scrollmom.lastscrollx)) return true; - - var dfy = py - self.mangotouch.sy; - var dfx = px - self.mangotouch.sx; - var df = Math.round(Math.sqrt(Math.pow(dfx, 2) + Math.pow(dfy, 2))); - if (df == 0) return; - - var dry = (dfy < 0) ? -1 : 1; - var drx = (dfx < 0) ? -1 : 1; - - var tm = +new Date(); - if (self.mangotouch.lazy) clearTimeout(self.mangotouch.lazy); - - if (((tm - self.mangotouch.tm) > 80) || (self.mangotouch.dry != dry) || (self.mangotouch.drx != drx)) { - self.scrollmom.stop(); - self.scrollmom.reset(px, py); - self.mangotouch.sy = py; - self.mangotouch.ly = py; - self.mangotouch.sx = px; - self.mangotouch.lx = px; - self.mangotouch.dry = dry; - self.mangotouch.drx = drx; - self.mangotouch.tm = tm; - } else { - - self.scrollmom.stop(); - self.scrollmom.update(self.mangotouch.sx - dfx, self.mangotouch.sy - dfy); - self.mangotouch.tm = tm; - - var ds = Math.max(Math.abs(self.mangotouch.ly - py), Math.abs(self.mangotouch.lx - px)); - self.mangotouch.ly = py; - self.mangotouch.lx = px; - - if (ds > 2) { - self.mangotouch.lazy = setTimeout(function() { - self.mangotouch.lazy = false; - self.mangotouch.dry = 0; - self.mangotouch.drx = 0; - self.mangotouch.tm = 0; - self.scrollmom.doMomentum(30); - }, 100); - } - } - }; - - var top = self.getScrollTop(); - var lef = self.getScrollLeft(); - self.mangotouch = { - sy: top, - ly: top, - dry: 0, - sx: lef, - lx: lef, - drx: 0, - lazy: false, - tm: 0 - }; - - self.bind(self.docscroll, "scroll", self.onmangotouch); - - } else { - - if (cap.cantouch || self.istouchcapable || self.opt.touchbehavior || cap.hasmstouch) { - - self.scrollmom = new ScrollMomentumClass2D(self); - - self.ontouchstart = function(e) { - if (e.pointerType && e.pointerType != 2 && e.pointerType != "touch") return false; - - self.hasmoving = false; - - if (!self.railslocked) { - var tg; - if (cap.hasmstouch) { - tg = (e.target) ? e.target : false; - while (tg) { - var nc = $(tg).getNiceScroll(); - if ((nc.length > 0) && (nc[0].me == self.me)) break; - if (nc.length > 0) return false; - if ((tg.nodeName == 'DIV') && (tg.id == self.id)) break; - tg = (tg.parentNode) ? tg.parentNode : false; - } - } - - self.cancelScroll(); - - tg = self.getTarget(e); - - if (tg) { - var skp = (/INPUT/i.test(tg.nodeName)) && (/range/i.test(tg.type)); - if (skp) return self.stopPropagation(e); - } - - if (!("clientX" in e) && ("changedTouches" in e)) { - e.clientX = e.changedTouches[0].clientX; - e.clientY = e.changedTouches[0].clientY; - } - - if (self.forcescreen) { - var le = e; - e = { - "original": (e.original) ? e.original : e - }; - e.clientX = le.screenX; - e.clientY = le.screenY; - } - - self.rail.drag = { - x: e.clientX, - y: e.clientY, - sx: self.scroll.x, - sy: self.scroll.y, - st: self.getScrollTop(), - sl: self.getScrollLeft(), - pt: 2, - dl: false - }; - - if (self.ispage || !self.opt.directionlockdeadzone) { - self.rail.drag.dl = "f"; - } else { - - var view = { - w: $(window).width(), - h: $(window).height() - }; - - var page = { - w: Math.max(document.body.scrollWidth, document.documentElement.scrollWidth), - h: Math.max(document.body.scrollHeight, document.documentElement.scrollHeight) - }; - - var maxh = Math.max(0, page.h - view.h); - var maxw = Math.max(0, page.w - view.w); - - if (!self.rail.scrollable && self.railh.scrollable) self.rail.drag.ck = (maxh > 0) ? "v" : false; - else if (self.rail.scrollable && !self.railh.scrollable) self.rail.drag.ck = (maxw > 0) ? "h" : false; - else self.rail.drag.ck = false; - if (!self.rail.drag.ck) self.rail.drag.dl = "f"; - } - - if (self.opt.touchbehavior && self.isiframe && cap.isie) { - var wp = self.win.position(); - self.rail.drag.x += wp.left; - self.rail.drag.y += wp.top; - } - - self.hasmoving = false; - self.lastmouseup = false; - self.scrollmom.reset(e.clientX, e.clientY); - - if (!cap.cantouch && !this.istouchcapable && !e.pointerType) { - - var ip = (tg) ? /INPUT|SELECT|TEXTAREA/i.test(tg.nodeName) : false; - if (!ip) { - if (!self.ispage && cap.hasmousecapture) tg.setCapture(); - if (self.opt.touchbehavior) { - if (tg.onclick && !(tg._onclick || false)) { // intercept DOM0 onclick event - tg._onclick = tg.onclick; - tg.onclick = function(e) { - if (self.hasmoving) return false; - tg._onclick.call(this, e); - }; - } - return self.cancelEvent(e); - } - return self.stopPropagation(e); - } - - if (/SUBMIT|CANCEL|BUTTON/i.test($(tg).attr('type'))) { - pc = { - "tg": tg, - "click": false - }; - self.preventclick = pc; - } - - } - } - - }; - - self.ontouchend = function(e) { - if (!self.rail.drag) return true; - if (self.rail.drag.pt == 2) { - if (e.pointerType && e.pointerType != 2 && e.pointerType != "touch") return false; - - self.scrollmom.doMomentum(); - self.rail.drag = false; - if (self.hasmoving) { - self.lastmouseup = true; - self.hideCursor(); - if (cap.hasmousecapture) document.releaseCapture(); - if (!cap.cantouch) return self.cancelEvent(e); - } - } - else if (self.rail.drag.pt == 1) { - return self.onmouseup(e); - } - - }; - - var moveneedoffset = (self.opt.touchbehavior && self.isiframe && !cap.hasmousecapture); - - self.ontouchmove = function(e, byiframe) { - - if (!self.rail.drag) return false; - - if (e.targetTouches && self.opt.preventmultitouchscrolling) { - if (e.targetTouches.length > 1) return false; // multitouch - } - - if (e.pointerType && e.pointerType != 2 && e.pointerType != "touch") return false; - - if (self.rail.drag.pt == 2) { - if (cap.cantouch && (cap.isios) && e.original === undefined) return true; // prevent ios "ghost" events by clickable elements - - self.hasmoving = true; - - if (self.preventclick && !self.preventclick.click) { - self.preventclick.click = self.preventclick.tg.onclick || false; - self.preventclick.tg.onclick = self.onpreventclick; - } - - var ev = $.extend({ - "original": e - }, e); - e = ev; - - if (("changedTouches" in e)) { - e.clientX = e.changedTouches[0].clientX; - e.clientY = e.changedTouches[0].clientY; - } - - if (self.forcescreen) { - var le = e; - e = { - "original": (e.original) ? e.original : e - }; - e.clientX = le.screenX; - e.clientY = le.screenY; - } - - var ofy,ofx; - ofx = ofy = 0; - - if (moveneedoffset && !byiframe) { - var wp = self.win.position(); - ofx = -wp.left; - ofy = -wp.top; - } - - var fy = e.clientY + ofy; - var my = (fy - self.rail.drag.y); - var fx = e.clientX + ofx; - var mx = (fx - self.rail.drag.x); - - var ny = self.rail.drag.st - my; - - if (self.ishwscroll && self.opt.bouncescroll) { - if (ny < 0) { - ny = Math.round(ny / 2); - // fy = 0; - } else if (ny > self.page.maxh) { - ny = self.page.maxh + Math.round((ny - self.page.maxh) / 2); - // fy = 0; - } - } else { - if (ny < 0) { - ny = 0; - fy = 0; - } - if (ny > self.page.maxh) { - ny = self.page.maxh; - fy = 0; - } - } - - var nx; - if (self.railh && self.railh.scrollable) { - nx = (self.isrtlmode) ? mx - self.rail.drag.sl : self.rail.drag.sl - mx; - - if (self.ishwscroll && self.opt.bouncescroll) { - if (nx < 0) { - nx = Math.round(nx / 2); - // fx = 0; - } else if (nx > self.page.maxw) { - nx = self.page.maxw + Math.round((nx - self.page.maxw) / 2); - // fx = 0; - } - } else { - if (nx < 0) { - nx = 0; - fx = 0; - } - if (nx > self.page.maxw) { - nx = self.page.maxw; - fx = 0; - } - } - - } - - var grabbed = false; - if (self.rail.drag.dl) { - grabbed = true; - if (self.rail.drag.dl == "v") nx = self.rail.drag.sl; - else if (self.rail.drag.dl == "h") ny = self.rail.drag.st; - } else { - var ay = Math.abs(my); - var ax = Math.abs(mx); - var dz = self.opt.directionlockdeadzone; - if (self.rail.drag.ck == "v") { - if (ay > dz && (ax <= (ay * 0.3))) { - self.rail.drag = false; - return true; - } else if (ax > dz) { - self.rail.drag.dl = "f"; - $("body").scrollTop($("body").scrollTop()); // stop iOS native scrolling (when active javascript has blocked) - } - } else if (self.rail.drag.ck == "h") { - if (ax > dz && (ay <= (ax * 0.3))) { - self.rail.drag = false; - return true; - } else if (ay > dz) { - self.rail.drag.dl = "f"; - $("body").scrollLeft($("body").scrollLeft()); // stop iOS native scrolling (when active javascript has blocked) - } - } - } - - self.synched("touchmove", function() { - if (self.rail.drag && (self.rail.drag.pt == 2)) { - if (self.prepareTransition) self.prepareTransition(0); - if (self.rail.scrollable) self.setScrollTop(ny); - self.scrollmom.update(fx, fy); - if (self.railh && self.railh.scrollable) { - self.setScrollLeft(nx); - self.showCursor(ny, nx); - } else { - self.showCursor(ny); - } - if (cap.isie10) document.selection.clear(); - } - }); - - if (cap.ischrome && self.istouchcapable) grabbed = false; //chrome touch emulation doesn't like! - if (grabbed) return self.cancelEvent(e); - } - else if (self.rail.drag.pt == 1) { // drag on cursor - return self.onmousemove(e); - } - - }; - - } - - self.onmousedown = function(e, hronly) { - if (self.rail.drag && self.rail.drag.pt != 1) return; - if (self.railslocked) return self.cancelEvent(e); - self.cancelScroll(); - self.rail.drag = { - x: e.clientX, - y: e.clientY, - sx: self.scroll.x, - sy: self.scroll.y, - pt: 1, - hr: (!!hronly) - }; - var tg = self.getTarget(e); - if (!self.ispage && cap.hasmousecapture) tg.setCapture(); - if (self.isiframe && !cap.hasmousecapture) { - self.saved.csspointerevents = self.doc.css("pointer-events"); - self.css(self.doc, { - "pointer-events": "none" - }); - } - self.hasmoving = false; - return self.cancelEvent(e); - }; - - self.onmouseup = function(e) { - if (self.rail.drag) { - if (self.rail.drag.pt != 1) return true; - - if (cap.hasmousecapture) document.releaseCapture(); - if (self.isiframe && !cap.hasmousecapture) self.doc.css("pointer-events", self.saved.csspointerevents); - self.rail.drag = false; - //if (!self.rail.active) self.hideCursor(); - if (self.hasmoving) self.triggerScrollEnd(); // TODO - check &&!self.scrollrunning - return self.cancelEvent(e); - } - }; - - self.onmousemove = function(e) { - if (self.rail.drag) { - if (self.rail.drag.pt != 1) return; - - if (cap.ischrome && e.which == 0) return self.onmouseup(e); - - self.cursorfreezed = true; - self.hasmoving = true; - - if (self.rail.drag.hr) { - self.scroll.x = self.rail.drag.sx + (e.clientX - self.rail.drag.x); - if (self.scroll.x < 0) self.scroll.x = 0; - var mw = self.scrollvaluemaxw; - if (self.scroll.x > mw) self.scroll.x = mw; - } else { - self.scroll.y = self.rail.drag.sy + (e.clientY - self.rail.drag.y); - if (self.scroll.y < 0) self.scroll.y = 0; - var my = self.scrollvaluemax; - if (self.scroll.y > my) self.scroll.y = my; - } - - self.synched('mousemove', function() { - if (self.rail.drag && (self.rail.drag.pt == 1)) { - self.showCursor(); - if (self.rail.drag.hr) { - if (self.hasreversehr) { - self.doScrollLeft(self.scrollvaluemaxw-Math.round(self.scroll.x * self.scrollratio.x), self.opt.cursordragspeed); - } else { - self.doScrollLeft(Math.round(self.scroll.x * self.scrollratio.x), self.opt.cursordragspeed); - } - } - else self.doScrollTop(Math.round(self.scroll.y * self.scrollratio.y), self.opt.cursordragspeed); - } - }); - - return self.cancelEvent(e); - } - else { - self.checkarea = 0; - } - }; - - if (cap.cantouch || self.opt.touchbehavior) { - - self.onpreventclick = function(e) { - if (self.preventclick) { - self.preventclick.tg.onclick = self.preventclick.click; - self.preventclick = false; - return self.cancelEvent(e); - } - }; - - self.bind(self.win, "mousedown", self.ontouchstart); // control content dragging - - self.onclick = (cap.isios) ? false : function(e) { // it needs to check IE11 ??? - if (self.lastmouseup) { - self.lastmouseup = false; - return self.cancelEvent(e); - } else { - return true; - } - }; - - if (self.opt.grabcursorenabled && cap.cursorgrabvalue) { - self.css((self.ispage) ? self.doc : self.win, { - 'cursor': cap.cursorgrabvalue - }); - self.css(self.rail, { - 'cursor': cap.cursorgrabvalue - }); - } - - } else { - - var checkSelectionScroll = function(e) { - if (!self.selectiondrag) return; - - if (e) { - var ww = self.win.outerHeight(); - var df = (e.pageY - self.selectiondrag.top); - if (df > 0 && df < ww) df = 0; - if (df >= ww) df -= ww; - self.selectiondrag.df = df; - } - if (self.selectiondrag.df == 0) return; - - var rt = -Math.floor(self.selectiondrag.df / 6) * 2; - self.doScrollBy(rt); - - self.debounced("doselectionscroll", function() { - checkSelectionScroll(); - }, 50); - }; - - if ("getSelection" in document) { // A grade - Major browsers - self.hasTextSelected = function() { - return (document.getSelection().rangeCount > 0); - }; - } else if ("selection" in document) { //IE9- - self.hasTextSelected = function() { - return (document.selection.type != "None"); - }; - } else { - self.hasTextSelected = function() { // no support - return false; - }; - } - - self.onselectionstart = function(e) { -/* More testing - severe chrome issues - if (!self.haswrapper&&(e.which&&e.which==2)) { // fool browser to manage middle button scrolling - self.win.css({'overflow':'auto'}); - setTimeout(function(){ - self.win.css({'overflow':''}); - },10); - return true; - } -*/ - if (self.ispage) return; - self.selectiondrag = self.win.offset(); - }; - - self.onselectionend = function(e) { - self.selectiondrag = false; - }; - self.onselectiondrag = function(e) { - if (!self.selectiondrag) return; - if (self.hasTextSelected()) self.debounced("selectionscroll", function() { - checkSelectionScroll(e); - }, 250); - }; - - - } - - if (cap.hasw3ctouch) { //IE11+ - self.css(self.rail, { - 'touch-action': 'none' - }); - self.css(self.cursor, { - 'touch-action': 'none' - }); - self.bind(self.win, "pointerdown", self.ontouchstart); - self.bind(document, "pointerup", self.ontouchend); - self.bind(document, "pointermove", self.ontouchmove); - } else if (cap.hasmstouch) { //IE10 - self.css(self.rail, { - '-ms-touch-action': 'none' - }); - self.css(self.cursor, { - '-ms-touch-action': 'none' - }); - self.bind(self.win, "MSPointerDown", self.ontouchstart); - self.bind(document, "MSPointerUp", self.ontouchend); - self.bind(document, "MSPointerMove", self.ontouchmove); - self.bind(self.cursor, "MSGestureHold", function(e) { - e.preventDefault(); - }); - self.bind(self.cursor, "contextmenu", function(e) { - e.preventDefault(); - }); - } else if (this.istouchcapable) { //desktop with screen touch enabled - self.bind(self.win, "touchstart", self.ontouchstart); - self.bind(document, "touchend", self.ontouchend); - self.bind(document, "touchcancel", self.ontouchend); - self.bind(document, "touchmove", self.ontouchmove); - } - - - if (self.opt.cursordragontouch || (!cap.cantouch && !self.opt.touchbehavior)) { - - self.rail.css({ - cursor: "default" - }); - self.railh && self.railh.css({ - cursor: "default" - }); - - self.jqbind(self.rail, "mouseenter", function() { - if (!self.ispage && !self.win.is(":visible")) return false; - if (self.canshowonmouseevent) self.showCursor(); - self.rail.active = true; - }); - self.jqbind(self.rail, "mouseleave", function() { - self.rail.active = false; - if (!self.rail.drag) self.hideCursor(); - }); - - if (self.opt.sensitiverail) { - self.bind(self.rail, "click", function(e) { - self.doRailClick(e, false, false); - }); - self.bind(self.rail, "dblclick", function(e) { - self.doRailClick(e, true, false); - }); - self.bind(self.cursor, "click", function(e) { - self.cancelEvent(e); - }); - self.bind(self.cursor, "dblclick", function(e) { - self.cancelEvent(e); - }); - } - - if (self.railh) { - self.jqbind(self.railh, "mouseenter", function() { - if (!self.ispage && !self.win.is(":visible")) return false; - if (self.canshowonmouseevent) self.showCursor(); - self.rail.active = true; - }); - self.jqbind(self.railh, "mouseleave", function() { - self.rail.active = false; - if (!self.rail.drag) self.hideCursor(); - }); - - if (self.opt.sensitiverail) { - self.bind(self.railh, "click", function(e) { - self.doRailClick(e, false, true); - }); - self.bind(self.railh, "dblclick", function(e) { - self.doRailClick(e, true, true); - }); - self.bind(self.cursorh, "click", function(e) { - self.cancelEvent(e); - }); - self.bind(self.cursorh, "dblclick", function(e) { - self.cancelEvent(e); - }); - } - - } - - } - - if (!cap.cantouch && !self.opt.touchbehavior) { - - self.bind((cap.hasmousecapture) ? self.win : document, "mouseup", self.onmouseup); - self.bind(document, "mousemove", self.onmousemove); - if (self.onclick) self.bind(document, "click", self.onclick); - - self.bind(self.cursor, "mousedown", self.onmousedown); - self.bind(self.cursor, "mouseup", self.onmouseup); - - if (self.railh) { - self.bind(self.cursorh, "mousedown", function(e) { - self.onmousedown(e, true); - }); - self.bind(self.cursorh, "mouseup", self.onmouseup); - } - - if (!self.ispage && self.opt.enablescrollonselection) { - self.bind(self.win[0], "mousedown", self.onselectionstart); - self.bind(document, "mouseup", self.onselectionend); - self.bind(self.cursor, "mouseup", self.onselectionend); - if (self.cursorh) self.bind(self.cursorh, "mouseup", self.onselectionend); - self.bind(document, "mousemove", self.onselectiondrag); - } - - if (self.zoom) { - self.jqbind(self.zoom, "mouseenter", function() { - if (self.canshowonmouseevent) self.showCursor(); - self.rail.active = true; - }); - self.jqbind(self.zoom, "mouseleave", function() { - self.rail.active = false; - if (!self.rail.drag) self.hideCursor(); - }); - } - - } else { - - self.bind((cap.hasmousecapture) ? self.win : document, "mouseup", self.ontouchend); - self.bind(document, "mousemove", self.ontouchmove); - if (self.onclick) self.bind(document, "click", self.onclick); - - if (self.opt.cursordragontouch) { - self.bind(self.cursor, "mousedown", self.onmousedown); - self.bind(self.cursor, "mouseup", self.onmouseup); - //self.bind(self.cursor, "mousemove", self.onmousemove); - self.cursorh && self.bind(self.cursorh, "mousedown", function(e) { - self.onmousedown(e, true); - }); - //self.cursorh && self.bind(self.cursorh, "mousemove", self.onmousemove); - self.cursorh && self.bind(self.cursorh, "mouseup", self.onmouseup); - } else { - self.bind(self.rail, "mousedown", function(e){e.preventDefault();}); // prevent text selection - self.railh&&self.bind(self.railh, "mousedown", function(e){e.preventDefault();}); - } - - } - - - if (self.opt.enablemousewheel) { - if (!self.isiframe) self.mousewheel((cap.isie && self.ispage) ? document : self.win , self.onmousewheel); - self.mousewheel(self.rail, self.onmousewheel); - if (self.railh) self.mousewheel(self.railh, self.onmousewheelhr); - } - - if (!self.ispage && !cap.cantouch && !(/HTML|^BODY/.test(self.win[0].nodeName))) { - if (!self.win.attr("tabindex")) self.win.attr({ - "tabindex": tabindexcounter++ - }); - - self.jqbind(self.win, "focus", function(e) { - domfocus = (self.getTarget(e)).id || true; - self.hasfocus = true; - if (self.canshowonmouseevent) self.noticeCursor(); - }); - self.jqbind(self.win, "blur", function(e) { - domfocus = false; - self.hasfocus = false; - }); - - self.jqbind(self.win, "mouseenter", function(e) { - mousefocus = (self.getTarget(e)).id || true; - self.hasmousefocus = true; - if (self.canshowonmouseevent) self.noticeCursor(); - }); - self.jqbind(self.win, "mouseleave", function() { - mousefocus = false; - self.hasmousefocus = false; - if (!self.rail.drag) self.hideCursor(); - }); - - } - - } // !ie9mobile - - //Thanks to http://www.quirksmode.org !! - self.onkeypress = function(e) { - if (self.railslocked && self.page.maxh == 0) return true; - - e = (e) ? e : window.e; - var tg = self.getTarget(e); - if (tg && /INPUT|TEXTAREA|SELECT|OPTION/.test(tg.nodeName)) { - var tp = tg.getAttribute('type') || tg.type || false; - if ((!tp) || !(/submit|button|cancel/i.tp)) return true; - } - - if ($(tg).attr('contenteditable')) return true; - - if (self.hasfocus || (self.hasmousefocus && !domfocus) || (self.ispage && !domfocus && !mousefocus)) { - var key = e.keyCode; - - if (self.railslocked && key != 27) return self.cancelEvent(e); - - var ctrl = e.ctrlKey || false; - var shift = e.shiftKey || false; - - var ret = false; - switch (key) { - case 38: - case 63233: //safari - self.doScrollBy(24 * 3); - ret = true; - break; - case 40: - case 63235: //safari - self.doScrollBy(-24 * 3); - ret = true; - break; - case 37: - case 63232: //safari - if (self.railh) { - (ctrl) ? self.doScrollLeft(0): self.doScrollLeftBy(24 * 3); - ret = true; - } - break; - case 39: - case 63234: //safari - if (self.railh) { - (ctrl) ? self.doScrollLeft(self.page.maxw): self.doScrollLeftBy(-24 * 3); - ret = true; - } - break; - case 33: - case 63276: // safari - self.doScrollBy(self.view.h); - ret = true; - break; - case 34: - case 63277: // safari - self.doScrollBy(-self.view.h); - ret = true; - break; - case 36: - case 63273: // safari - (self.railh && ctrl) ? self.doScrollPos(0, 0): self.doScrollTo(0); - ret = true; - break; - case 35: - case 63275: // safari - (self.railh && ctrl) ? self.doScrollPos(self.page.maxw, self.page.maxh): self.doScrollTo(self.page.maxh); - ret = true; - break; - case 32: - if (self.opt.spacebarenabled) { - (shift) ? self.doScrollBy(self.view.h): self.doScrollBy(-self.view.h); - ret = true; - } - break; - case 27: // ESC - if (self.zoomactive) { - self.doZoom(); - ret = true; - } - break; - } - if (ret) return self.cancelEvent(e); - } - }; - - if (self.opt.enablekeyboard) self.bind(document, (cap.isopera && !cap.isopera12) ? "keypress" : "keydown", self.onkeypress); - - self.bind(document, "keydown", function(e) { - var ctrl = e.ctrlKey || false; - if (ctrl) self.wheelprevented = true; - }); - self.bind(document, "keyup", function(e) { - var ctrl = e.ctrlKey || false; - if (!ctrl) self.wheelprevented = false; - }); - self.bind(window,"blur",function(e){ - self.wheelprevented = false; - }); - - self.bind(window, 'resize', self.lazyResize); - self.bind(window, 'orientationchange', self.lazyResize); - - self.bind(window, "load", self.lazyResize); - - if (cap.ischrome && !self.ispage && !self.haswrapper) { //chrome void scrollbar bug - it persists in version 26 - var tmp = self.win.attr("style"); - var ww = parseFloat(self.win.css("width")) + 1; - self.win.css('width', ww); - self.synched("chromefix", function() { - self.win.attr("style", tmp); - }); - } - - - // Trying a cross-browser implementation - good luck! - - self.onAttributeChange = function(e) { - self.lazyResize(self.isieold ? 250 : 30); - }; - - if ((!self.isie11) && (ClsMutationObserver !== false)) { // IE11 crashes #568 - self.observerbody = new ClsMutationObserver(function(mutations) { - mutations.forEach(function(mut){ - if (mut.type=="attributes") { - return ($("body").hasClass("modal-open") && $("body").hasClass("modal-dialog") && !$.contains($('.modal-dialog')[0],self.doc[0])) ? self.hide() : self.show(); // Support for Bootstrap modal; Added check if the nice scroll element is inside a modal - } - }); - if (document.body.scrollHeight!=self.page.maxh) return self.lazyResize(30); - }); - self.observerbody.observe(document.body, { - childList: true, - subtree: true, - characterData: false, - attributes: true, - attributeFilter: ['class'] - }); - } - - if (!self.ispage && !self.haswrapper) { - // redesigned MutationObserver for Chrome18+/Firefox14+/iOS6+ with support for: remove div, add/remove content - if (ClsMutationObserver !== false) { - self.observer = new ClsMutationObserver(function(mutations) { - mutations.forEach(self.onAttributeChange); - }); - self.observer.observe(self.win[0], { - childList: true, - characterData: false, - attributes: true, - subtree: false - }); - self.observerremover = new ClsMutationObserver(function(mutations) { - mutations.forEach(function(mo) { - if (mo.removedNodes.length > 0) { - for (var dd in mo.removedNodes) { - if (!!self && (mo.removedNodes[dd] == self.win[0])) return self.remove(); - } - } - }); - }); - self.observerremover.observe(self.win[0].parentNode, { - childList: true, - characterData: false, - attributes: false, - subtree: false - }); - } else { - self.bind(self.win, (cap.isie && !cap.isie9) ? "propertychange" : "DOMAttrModified", self.onAttributeChange); - if (cap.isie9) self.win[0].attachEvent("onpropertychange", self.onAttributeChange); //IE9 DOMAttrModified bug - self.bind(self.win, "DOMNodeRemoved", function(e) { - if (e.target == self.win[0]) self.remove(); - }); - } - } - - // - - if (!self.ispage && self.opt.boxzoom) self.bind(window, "resize", self.resizeZoom); - if (self.istextarea) { - self.bind(self.win, "keydown", self.lazyResize); - self.bind(self.win, "mouseup", self.lazyResize); - } - - // self.checkrtlmode = true; - self.lazyResize(30); - - } - - if (this.doc[0].nodeName == 'IFRAME') { - var oniframeload = function() { - self.iframexd = false; - var doc; - try { - doc = 'contentDocument' in this ? this.contentDocument : this.contentWindow.document; - var a = doc.domain; - } catch (e) { - self.iframexd = true; - doc = false; - } - - if (self.iframexd) { - if ("console" in window) console.log('NiceScroll error: policy restriced iframe'); - return true; //cross-domain - I can't manage this - } - - self.forcescreen = true; - - if (self.isiframe) { - self.iframe = { - "doc": $(doc), - "html": self.doc.contents().find('html')[0], - "body": self.doc.contents().find('body')[0] - }; - self.getContentSize = function() { - return { - w: Math.max(self.iframe.html.scrollWidth, self.iframe.body.scrollWidth), - h: Math.max(self.iframe.html.scrollHeight, self.iframe.body.scrollHeight) - }; - }; - self.docscroll = $(self.iframe.body); //$(this.contentWindow); - } - - if (!cap.isios && self.opt.iframeautoresize && !self.isiframe) { - self.win.scrollTop(0); // reset position - self.doc.height(""); //reset height to fix browser bug - var hh = Math.max(doc.getElementsByTagName('html')[0].scrollHeight, doc.body.scrollHeight); - self.doc.height(hh); - } - self.lazyResize(30); - - if (cap.isie7) self.css($(self.iframe.html), _scrollyhidden); - self.css($(self.iframe.body), _scrollyhidden); - - if (cap.isios && self.haswrapper) { - self.css($(doc.body), { - '-webkit-transform': 'translate3d(0,0,0)' - }); // avoid iFrame content clipping - thanks to http://blog.derraab.com/2012/04/02/avoid-iframe-content-clipping-with-css-transform-on-ios/ - } - - if ('contentWindow' in this) { - self.bind(this.contentWindow, "scroll", self.onscroll); //IE8 & minor - } else { - self.bind(doc, "scroll", self.onscroll); - } - - if (self.opt.enablemousewheel) { - self.mousewheel(doc, self.onmousewheel); - } - - if (self.opt.enablekeyboard) self.bind(doc, (cap.isopera) ? "keypress" : "keydown", self.onkeypress); - - if (cap.cantouch || self.opt.touchbehavior) { - self.bind(doc, "mousedown", self.ontouchstart); - self.bind(doc, "mousemove", function(e) { - return self.ontouchmove(e, true); - }); - if (self.opt.grabcursorenabled && cap.cursorgrabvalue) self.css($(doc.body), { - 'cursor': cap.cursorgrabvalue - }); - } - - self.bind(doc, "mouseup", self.ontouchend); - - if (self.zoom) { - if (self.opt.dblclickzoom) self.bind(doc, 'dblclick', self.doZoom); - if (self.ongesturezoom) self.bind(doc, "gestureend", self.ongesturezoom); - } - }; - - if (this.doc[0].readyState && this.doc[0].readyState == "complete") { - setTimeout(function() { - oniframeload.call(self.doc[0], false); - }, 500); - } - self.bind(this.doc, "load", oniframeload); - - } - - }; - - this.showCursor = function(py, px) { - if (self.cursortimeout) { - clearTimeout(self.cursortimeout); - self.cursortimeout = 0; - } - if (!self.rail) return; - if (self.autohidedom) { - self.autohidedom.stop().css({ - opacity: self.opt.cursoropacitymax - }); - self.cursoractive = true; - } - - if (!self.rail.drag || self.rail.drag.pt != 1) { - if (py !== undefined && py !== false) { - self.scroll.y = Math.round(py * 1 / self.scrollratio.y); - } - if (px !== undefined) { - self.scroll.x = Math.round(px * 1 / self.scrollratio.x); - } - } - - self.cursor.css({ - height: self.cursorheight, - top: self.scroll.y - }); - if (self.cursorh) { - var lx = (self.hasreversehr) ? self.scrollvaluemaxw-self.scroll.x : self.scroll.x; - (!self.rail.align && self.rail.visibility) ? self.cursorh.css({ - width: self.cursorwidth, - left: lx + self.rail.width - }): self.cursorh.css({ - width: self.cursorwidth, - left: lx - }); - self.cursoractive = true; - } - - if (self.zoom) self.zoom.stop().css({ - opacity: self.opt.cursoropacitymax - }); - }; - - this.hideCursor = function(tm) { - if (self.cursortimeout) return; - if (!self.rail) return; - if (!self.autohidedom) return; - if (self.hasmousefocus && self.opt.autohidemode == "leave") return; - self.cursortimeout = setTimeout(function() { - if (!self.rail.active || !self.showonmouseevent) { - self.autohidedom.stop().animate({ - opacity: self.opt.cursoropacitymin - }); - if (self.zoom) self.zoom.stop().animate({ - opacity: self.opt.cursoropacitymin - }); - self.cursoractive = false; - } - self.cursortimeout = 0; - }, tm || self.opt.hidecursordelay); - }; - - this.noticeCursor = function(tm, py, px) { - self.showCursor(py, px); - if (!self.rail.active) self.hideCursor(tm); - }; - - this.getContentSize = - (self.ispage) ? - function() { - return { - w: Math.max(document.body.scrollWidth, document.documentElement.scrollWidth), - h: Math.max(document.body.scrollHeight, document.documentElement.scrollHeight) - }; - } : (self.haswrapper) ? - function() { - return { - w: self.doc.outerWidth() + parseInt(self.win.css('paddingLeft')) + parseInt(self.win.css('paddingRight')), - h: self.doc.outerHeight() + parseInt(self.win.css('paddingTop')) + parseInt(self.win.css('paddingBottom')) - }; - } : function() { - return { - w: self.docscroll[0].scrollWidth, - h: self.docscroll[0].scrollHeight - }; - }; - - this.onResize = function(e, page) { - - if (!self || !self.win) return false; - - if (!self.haswrapper && !self.ispage) { - if (self.win.css('display') == 'none') { - if (self.visibility) self.hideRail().hideRailHr(); - return false; - } else { - if (!self.hidden && !self.visibility) self.showRail().showRailHr(); - } - } - - var premaxh = self.page.maxh; - var premaxw = self.page.maxw; - - var preview = { - h: self.view.h, - w: self.view.w - }; - - self.view = { - w: (self.ispage) ? self.win.width() : parseInt(self.win[0].clientWidth), - h: (self.ispage) ? self.win.height() : parseInt(self.win[0].clientHeight) - }; - - self.page = (page) ? page : self.getContentSize(); - - self.page.maxh = Math.max(0, self.page.h - self.view.h); - self.page.maxw = Math.max(0, self.page.w - self.view.w); - - if ((self.page.maxh == premaxh) && (self.page.maxw == premaxw) && (self.view.w == preview.w) && (self.view.h == preview.h)) { - // test position - if (!self.ispage) { - var pos = self.win.offset(); - if (self.lastposition) { - var lst = self.lastposition; - if ((lst.top == pos.top) && (lst.left == pos.left)) return self; //nothing to do - } - self.lastposition = pos; - } else { - return self; //nothing to do - } - } - - if (self.page.maxh == 0) { - self.hideRail(); - self.scrollvaluemax = 0; - self.scroll.y = 0; - self.scrollratio.y = 0; - self.cursorheight = 0; - self.setScrollTop(0); - if (self.rail) self.rail.scrollable = false; - } else { - self.page.maxh -= (self.opt.railpadding.top + self.opt.railpadding.bottom); //** - self.rail.scrollable = true; - } - - if (self.page.maxw == 0) { - self.hideRailHr(); - self.scrollvaluemaxw = 0; - self.scroll.x = 0; - self.scrollratio.x = 0; - self.cursorwidth = 0; - self.setScrollLeft(0); - if (self.railh) { - self.railh.scrollable = false; - } - } else { - self.page.maxw -= (self.opt.railpadding.left + self.opt.railpadding.right); //** - if (self.railh) self.railh.scrollable = (self.opt.horizrailenabled); - } - - self.railslocked = (self.locked) || ((self.page.maxh == 0) && (self.page.maxw == 0)); - if (self.railslocked) { - if (!self.ispage) self.updateScrollBar(self.view); - return false; - } - - if (!self.hidden && !self.visibility) { - self.showRail().showRailHr(); - } - else if (self.railh && (!self.hidden && !self.railh.visibility)) self.showRailHr(); - - if (self.istextarea && self.win.css('resize') && self.win.css('resize') != 'none') self.view.h -= 20; - - self.cursorheight = Math.min(self.view.h, Math.round(self.view.h * (self.view.h / self.page.h))); - self.cursorheight = (self.opt.cursorfixedheight) ? self.opt.cursorfixedheight : Math.max(self.opt.cursorminheight, self.cursorheight); - - self.cursorwidth = Math.min(self.view.w, Math.round(self.view.w * (self.view.w / self.page.w))); - self.cursorwidth = (self.opt.cursorfixedheight) ? self.opt.cursorfixedheight : Math.max(self.opt.cursorminheight, self.cursorwidth); - - self.scrollvaluemax = self.view.h - self.cursorheight - self.cursor.hborder - (self.opt.railpadding.top + self.opt.railpadding.bottom); //** - - if (self.railh) { - self.railh.width = (self.page.maxh > 0) ? (self.view.w - self.rail.width) : self.view.w; - self.scrollvaluemaxw = self.railh.width - self.cursorwidth - self.cursorh.wborder - (self.opt.railpadding.left + self.opt.railpadding.right); //** - } - - /* - if (self.checkrtlmode&&self.railh) { - self.checkrtlmode = false; - if (self.opt.rtlmode&&self.scroll.x==0) self.setScrollLeft(self.page.maxw); - } -*/ - - if (!self.ispage) self.updateScrollBar(self.view); - - self.scrollratio = { - x: (self.page.maxw / self.scrollvaluemaxw), - y: (self.page.maxh / self.scrollvaluemax) - }; - - var sy = self.getScrollTop(); - if (sy > self.page.maxh) { - self.doScrollTop(self.page.maxh); - } else { - self.scroll.y = Math.round(self.getScrollTop() * (1 / self.scrollratio.y)); - self.scroll.x = Math.round(self.getScrollLeft() * (1 / self.scrollratio.x)); - if (self.cursoractive) self.noticeCursor(); - } - - if (self.scroll.y && (self.getScrollTop() == 0)) self.doScrollTo(Math.floor(self.scroll.y * self.scrollratio.y)); - - return self; - }; - - this.resize = self.onResize; - - this.hlazyresize = 0; - - this.lazyResize = function(tm) { // event debounce -/* - tm = (isNaN(tm)) ? 30 : tm; - self.debounced('resize', self.resize, tm); -*/ - -// if (!self.haswrapper&&self.opt.autohidemode!==false) self.hide(); - if (!self.haswrapper) self.hide(); - if (self.hlazyresize) clearTimeout(self.hlazyresize); - self.hlazyresize = setTimeout(function(){ - self && self.show().resize(); - },240); - - return self; - }; - - // modified by MDN https://developer.mozilla.org/en-US/docs/DOM/Mozilla_event_reference/wheel - function _modernWheelEvent(dom, name, fn, bubble) { - self._bind(dom, name, function(e) { - var e = (e) ? e : window.event; - var event = { - original: e, - target: e.target || e.srcElement, - type: "wheel", - deltaMode: e.type == "MozMousePixelScroll" ? 0 : 1, - deltaX: 0, - deltaZ: 0, - preventDefault: function() { - e.preventDefault ? e.preventDefault() : e.returnValue = false; - return false; - }, - stopImmediatePropagation: function() { - (e.stopImmediatePropagation) ? e.stopImmediatePropagation(): e.cancelBubble = true; - } - }; - - if (name == "mousewheel") { - e.wheelDeltaX && (event.deltaX = -1 / 40 * e.wheelDeltaX); - e.wheelDeltaY && (event.deltaY = -1 / 40 * e.wheelDeltaY); - !event.deltaY && !event.deltaX && (event.deltaY = -1 / 40 * e.wheelDelta); - } else { - event.deltaY = e.detail; - } - - return fn.call(dom, event); - }, bubble); - } - - - - this.jqbind = function(dom, name, fn) { // use jquery bind for non-native events (mouseenter/mouseleave) - self.events.push({ - e: dom, - n: name, - f: fn, - q: true - }); - $(dom).bind(name, fn); - }; - - this.mousewheel = function(dom, fn, bubble) { // bind mousewheel - var el = ("jquery" in dom) ? dom[0] : dom; - if ("onwheel" in document.createElement("div")) { // Modern browsers support "wheel" - self._bind(el, "wheel", fn, bubble || false); - } else { - var wname = (document.onmousewheel !== undefined) ? "mousewheel" : "DOMMouseScroll"; // older Webkit+IE support or older Firefox - _modernWheelEvent(el, wname, fn, bubble || false); - if (wname == "DOMMouseScroll") _modernWheelEvent(el, "MozMousePixelScroll", fn, bubble || false); // Firefox legacy - } - }; - - if (cap.haseventlistener) { // W3C standard event model - - this.bind = function(dom, name, fn, bubble) { // W3C - var el = ("jquery" in dom) ? dom[0] : dom; - self._bind(el, name, fn, bubble || false); - }; - - this._bind = function(el, name, fn, bubble) { // primitive bind - self.events.push({ - e: el, - n: name, - f: fn, - b: bubble, - q: false - }); - el.addEventListener(name, fn, bubble || false); - }; - this.cancelEvent = function(e) { - if (!e) return false; - var e = (e.original) ? e.original : e; - if (e.cancelable) e.preventDefault(); - e.stopPropagation(); - if (e.preventManipulation) e.preventManipulation(); //IE10 - return false; - }; - this.stopPropagation = function(e) { - if (!e) return false; - var e = (e.original) ? e.original : e; - e.stopPropagation(); - return false; - }; - this._unbind = function(el, name, fn, bub) { // primitive unbind - el.removeEventListener(name, fn, bub); - }; - } else { // old IE model - - this.bind = function(dom, name, fn, bubble) { // legacy IE - var el = ("jquery" in dom) ? dom[0] : dom; - self._bind(el, name, function(e) { - e = e || window.event || false; - if (e && e.srcElement) { - e.target = e.srcElement; - } - if (!("pageY" in e)) { - e.pageX = e.clientX + document.documentElement.scrollLeft; - e.pageY = e.clientY + document.documentElement.scrollTop; - } - return ((fn.call(el, e) === false) || bubble === false) ? self.cancelEvent(e) : true; - }); - }; - - this._bind = function(el, name, fn, bubble) { // primitive bind - self.events.push({ - e: el, - n: name, - f: fn, - b: bubble, - q: false - }); - if (el.attachEvent) { - el.attachEvent("on" + name, fn); - } else { - el["on" + name] = fn; - } - }; - // Thanks to http://www.switchonthecode.com !! - this.cancelEvent = function(e) { - var e = window.event || false; - if (!e) return false; - e.cancelBubble = true; - e.cancel = true; - e.returnValue = false; - return false; - }; - this.stopPropagation = function(e) { - var e = window.event || false; - if (!e) return false; - e.cancelBubble = true; - return false; - }; - this._unbind = function(el, name, fn, bub) { // primitive unbind IE old - if (el.detachEvent) { - el.detachEvent('on' + name, fn); - } else { - el['on' + name] = false; - } - }; - } - - this.unbindAll = function() { - for (var a = 0; a < self.events.length; a++) { - var r = self.events[a]; - (r.q) ? r.e.unbind(r.n, r.f): self._unbind(r.e, r.n, r.f, r.b); - } - }; - - this.showRail = function() { - if ((self.page.maxh != 0) && (self.ispage || self.win.css('display') != 'none')) { - self.visibility = true; - self.rail.visibility = true; - self.rail.css('display', 'block'); - } - return self; - }; - - this.showRailHr = function() { - if (!self.railh) return self; - if ((self.page.maxw != 0) && (self.ispage || self.win.css('display') != 'none')) { - self.railh.visibility = true; - self.railh.css('display', 'block'); - } - return self; - }; - - this.hideRail = function() { - self.visibility = false; - self.rail.visibility = false; - self.rail.css('display', 'none'); - return self; - }; - - this.hideRailHr = function() { - if (!self.railh) return self; - self.railh.visibility = false; - self.railh.css('display', 'none'); - return self; - }; - - this.show = function() { - self.hidden = false; - self.railslocked = false; - return self.showRail().showRailHr(); - }; - - this.hide = function() { - self.hidden = true; - self.railslocked = true; - return self.hideRail().hideRailHr(); - }; - - this.toggle = function() { - return (self.hidden) ? self.show() : self.hide(); - }; - - this.remove = function() { - self.stop(); - if (self.cursortimeout) clearTimeout(self.cursortimeout); -// if (self.debouncedelayed) clearTimeout(self.debouncedelayed); - for(var n in self.delaylist) if (self.delaylist[n]) clearAnimationFrame(self.delaylist[n].h); - self.doZoomOut(); - self.unbindAll(); - - if (cap.isie9) self.win[0].detachEvent("onpropertychange", self.onAttributeChange); //IE9 DOMAttrModified bug - - if (self.observer !== false) self.observer.disconnect(); - if (self.observerremover !== false) self.observerremover.disconnect(); - if (self.observerbody !== false) self.observerbody.disconnect(); - - self.events = null; - - if (self.cursor) { - self.cursor.remove(); - } - if (self.cursorh) { - self.cursorh.remove(); - } - if (self.rail) { - self.rail.remove(); - } - if (self.railh) { - self.railh.remove(); - } - if (self.zoom) { - self.zoom.remove(); - } - for (var a = 0; a < self.saved.css.length; a++) { - var d = self.saved.css[a]; - d[0].css(d[1], (d[2] === undefined) ? '' : d[2]); - } - self.saved = false; - self.me.data('__nicescroll', ''); //erase all traces - - // memory leak fixed by GianlucaGuarini - thanks a lot! - // remove the current nicescroll from the $.nicescroll array & normalize array - var lst = $.nicescroll; - lst.each(function(i) { - if (!this) return; - if (this.id === self.id) { - delete lst[i]; - for (var b = ++i; b < lst.length; b++, i++) lst[i] = lst[b]; - lst.length--; - if (lst.length) delete lst[lst.length]; - } - }); - - for (var i in self) { - self[i] = null; - delete self[i]; - } - - self = null; - - }; - - this.scrollstart = function(fn) { - this.onscrollstart = fn; - return self; - }; - this.scrollend = function(fn) { - this.onscrollend = fn; - return self; - }; - this.scrollcancel = function(fn) { - this.onscrollcancel = fn; - return self; - }; - - this.zoomin = function(fn) { - this.onzoomin = fn; - return self; - }; - this.zoomout = function(fn) { - this.onzoomout = fn; - return self; - }; - - this.isScrollable = function(e) { - var dom = (e.target) ? e.target : e; - if (dom.nodeName == 'OPTION') return true; - while (dom && (dom.nodeType == 1) && !(/^BODY|HTML/.test(dom.nodeName))) { - var dd = $(dom); - var ov = dd.css('overflowY') || dd.css('overflowX') || dd.css('overflow') || ''; - if (/scroll|auto/.test(ov)) return (dom.clientHeight != dom.scrollHeight); - dom = (dom.parentNode) ? dom.parentNode : false; - } - return false; - }; - - this.getViewport = function(me) { - var dom = (me && me.parentNode) ? me.parentNode : false; - while (dom && (dom.nodeType == 1) && !(/^BODY|HTML/.test(dom.nodeName))) { - var dd = $(dom); - if (/fixed|absolute/.test(dd.css("position"))) return dd; - var ov = dd.css('overflowY') || dd.css('overflowX') || dd.css('overflow') || ''; - if ((/scroll|auto/.test(ov)) && (dom.clientHeight != dom.scrollHeight)) return dd; - if (dd.getNiceScroll().length > 0) return dd; - dom = (dom.parentNode) ? dom.parentNode : false; - } - return false; //(dom) ? $(dom) : false; - }; - - this.triggerScrollEnd = function() { - if (!self.onscrollend) return; - - var px = self.getScrollLeft(); - var py = self.getScrollTop(); - - var info = { - type: "scrollend", - current: { - x: px, - y: py - }, - end: { - x: px, - y: py - } - }; - self.onscrollend.call(self, info); - }; - - function execScrollWheel(e, hr, chkscroll) { - var px, py; - - if (e.deltaMode == 0) { // PIXEL - px = -Math.floor(e.deltaX * (self.opt.mousescrollstep / (18 * 3))); - py = -Math.floor(e.deltaY * (self.opt.mousescrollstep / (18 * 3))); - } else if (e.deltaMode == 1) { // LINE - px = -Math.floor(e.deltaX * self.opt.mousescrollstep); - py = -Math.floor(e.deltaY * self.opt.mousescrollstep); - } - - if (hr && self.opt.oneaxismousemode && (px == 0) && py) { // classic vertical-only mousewheel + browser with x/y support - px = py; - py = 0; - - if (chkscroll) { - var hrend = (px < 0) ? (self.getScrollLeft() >= self.page.maxw) : (self.getScrollLeft() <= 0); - if (hrend) { // preserve vertical scrolling - py = px; - px = 0; - } - } - - } - - // invert horizontal direction for rtl mode - if (self.isrtlmode) px = -px; - - if (px) { - if (self.scrollmom) { - self.scrollmom.stop(); - } - self.lastdeltax += px; - self.debounced("mousewheelx", function() { - var dt = self.lastdeltax; - self.lastdeltax = 0; - if (!self.rail.drag) { - self.doScrollLeftBy(dt); - } - }, 15); - } - if (py) { - if (self.opt.nativeparentscrolling && chkscroll && !self.ispage && !self.zoomactive) { - if (py < 0) { - if (self.getScrollTop() >= self.page.maxh) return true; - } else { - if (self.getScrollTop() <= 0) return true; - } - } - if (self.scrollmom) { - self.scrollmom.stop(); - } - self.lastdeltay += py; -// self.debounced("mousewheely", function() { - self.synched("mousewheely", function() { - var dt = self.lastdeltay; - self.lastdeltay = 0; - if (!self.rail.drag) { - self.doScrollBy(dt); - } - }, 15); - } - - e.stopImmediatePropagation(); - return e.preventDefault(); - } - - this.onmousewheel = function(e) { - if (self.wheelprevented) return; - if (self.railslocked) { - self.debounced("checkunlock", self.resize, 250); - return true; - } - if (self.rail.drag) return self.cancelEvent(e); - - if (self.opt.oneaxismousemode == "auto" && e.deltaX != 0) self.opt.oneaxismousemode = false; // check two-axis mouse support (not very elegant) - - if (self.opt.oneaxismousemode && e.deltaX == 0) { - if (!self.rail.scrollable) { - if (self.railh && self.railh.scrollable) { - return self.onmousewheelhr(e); - } else { - return true; - } - } - } - - var nw = +(new Date()); - var chk = false; - if (self.opt.preservenativescrolling && ((self.checkarea + 600) < nw)) { - self.nativescrollingarea = self.isScrollable(e); - chk = true; - } - self.checkarea = nw; - if (self.nativescrollingarea) return true; // this isn't my business - var ret = execScrollWheel(e, false, chk); - if (ret) self.checkarea = 0; - return ret; - }; - - this.onmousewheelhr = function(e) { - if (self.wheelprevented) return; - if (self.railslocked || !self.railh.scrollable) return true; - if (self.rail.drag) return self.cancelEvent(e); - - var nw = +(new Date()); - var chk = false; - if (self.opt.preservenativescrolling && ((self.checkarea + 600) < nw)) { - self.nativescrollingarea = self.isScrollable(e); - chk = true; - } - self.checkarea = nw; - if (self.nativescrollingarea) return true; // this isn't my business - if (self.railslocked) return self.cancelEvent(e); - - return execScrollWheel(e, true, chk); - }; - - this.stop = function() { - self.cancelScroll(); - if (self.scrollmon) self.scrollmon.stop(); - self.cursorfreezed = false; - self.scroll.y = Math.round(self.getScrollTop() * (1 / self.scrollratio.y)); - self.noticeCursor(); - return self; - }; - - this.getTransitionSpeed = function(dif) { - var sp = Math.round(self.opt.scrollspeed * 10); - var ex = Math.min(sp, Math.round((dif / 20) * self.opt.scrollspeed)); - return (ex > 20) ? ex : 0; - }; - - if (!self.opt.smoothscroll) { - this.doScrollLeft = function(x, spd) { //direct - var y = self.getScrollTop(); - self.doScrollPos(x, y, spd); - }; - this.doScrollTop = function(y, spd) { //direct - var x = self.getScrollLeft(); - self.doScrollPos(x, y, spd); - }; - this.doScrollPos = function(x, y, spd) { //direct - var nx = (x > self.page.maxw) ? self.page.maxw : x; - if (nx < 0) nx = 0; - var ny = (y > self.page.maxh) ? self.page.maxh : y; - if (ny < 0) ny = 0; - self.synched('scroll', function() { - self.setScrollTop(ny); - self.setScrollLeft(nx); - }); - }; - this.cancelScroll = function() {}; // direct - } else if (self.ishwscroll && cap.hastransition && self.opt.usetransition && !!self.opt.smoothscroll) { - this.prepareTransition = function(dif, istime) { - var ex = (istime) ? ((dif > 20) ? dif : 0) : self.getTransitionSpeed(dif); - var trans = (ex) ? cap.prefixstyle + 'transform ' + ex + 'ms ease-out' : ''; - if (!self.lasttransitionstyle || self.lasttransitionstyle != trans) { - self.lasttransitionstyle = trans; - self.doc.css(cap.transitionstyle, trans); - } - return ex; - }; - - this.doScrollLeft = function(x, spd) { //trans - var y = (self.scrollrunning) ? self.newscrolly : self.getScrollTop(); - self.doScrollPos(x, y, spd); - }; - - this.doScrollTop = function(y, spd) { //trans - var x = (self.scrollrunning) ? self.newscrollx : self.getScrollLeft(); - self.doScrollPos(x, y, spd); - }; - - this.doScrollPos = function(x, y, spd) { //trans - - var py = self.getScrollTop(); - var px = self.getScrollLeft(); - - if (((self.newscrolly - py) * (y - py) < 0) || ((self.newscrollx - px) * (x - px) < 0)) self.cancelScroll(); //inverted movement detection - - if (self.opt.bouncescroll == false) { - if (y < 0) y = 0; - else if (y > self.page.maxh) y = self.page.maxh; - if (x < 0) x = 0; - else if (x > self.page.maxw) x = self.page.maxw; - } - - if (self.scrollrunning && x == self.newscrollx && y == self.newscrolly) return false; - - self.newscrolly = y; - self.newscrollx = x; - - self.newscrollspeed = spd || false; - - if (self.timer) return false; - - self.timer = setTimeout(function() { - - var top = self.getScrollTop(); - var lft = self.getScrollLeft(); - - var dst = {}; - dst.x = x - lft; - dst.y = y - top; - dst.px = lft; - dst.py = top; - - var dd = Math.round(Math.sqrt(Math.pow(dst.x, 2) + Math.pow(dst.y, 2))); - var ms = (self.newscrollspeed && self.newscrollspeed > 1) ? self.newscrollspeed : self.getTransitionSpeed(dd); - if (self.newscrollspeed && self.newscrollspeed <= 1) ms *= self.newscrollspeed; - - self.prepareTransition(ms, true); - - if (self.timerscroll && self.timerscroll.tm) clearInterval(self.timerscroll.tm); - - if (ms > 0) { - - if (!self.scrollrunning && self.onscrollstart) { - var info = { - "type": "scrollstart", - "current": { - "x": lft, - "y": top - }, - "request": { - "x": x, - "y": y - }, - "end": { - "x": self.newscrollx, - "y": self.newscrolly - }, - "speed": ms - }; - self.onscrollstart.call(self, info); - } - - if (cap.transitionend) { - if (!self.scrollendtrapped) { - self.scrollendtrapped = true; - self.bind(self.doc, cap.transitionend, self.onScrollTransitionEnd, false); //I have got to do something usefull!! - } - } else { - if (self.scrollendtrapped) clearTimeout(self.scrollendtrapped); - self.scrollendtrapped = setTimeout(self.onScrollTransitionEnd, ms); // simulate transitionend event - } - - var py = top; - var px = lft; - self.timerscroll = { - bz: new BezierClass(py, self.newscrolly, ms, 0, 0, 0.58, 1), - bh: new BezierClass(px, self.newscrollx, ms, 0, 0, 0.58, 1) - }; - if (!self.cursorfreezed) self.timerscroll.tm = setInterval(function() { - self.showCursor(self.getScrollTop(), self.getScrollLeft()); - }, 60); - - } - - self.synched("doScroll-set", function() { - self.timer = 0; - if (self.scrollendtrapped) self.scrollrunning = true; - self.setScrollTop(self.newscrolly); - self.setScrollLeft(self.newscrollx); - if (!self.scrollendtrapped) self.onScrollTransitionEnd(); - }); - - - }, 50); - - }; - - this.cancelScroll = function() { - if (!self.scrollendtrapped) return true; - var py = self.getScrollTop(); - var px = self.getScrollLeft(); - self.scrollrunning = false; - if (!cap.transitionend) clearTimeout(cap.transitionend); - self.scrollendtrapped = false; - self._unbind(self.doc[0], cap.transitionend, self.onScrollTransitionEnd); - self.prepareTransition(0); - self.setScrollTop(py); // fire event onscroll - if (self.railh) self.setScrollLeft(px); - if (self.timerscroll && self.timerscroll.tm) clearInterval(self.timerscroll.tm); - self.timerscroll = false; - - self.cursorfreezed = false; - - self.showCursor(py, px); - return self; - }; - this.onScrollTransitionEnd = function() { - if (self.scrollendtrapped) self._unbind(self.doc[0], cap.transitionend, self.onScrollTransitionEnd); - self.scrollendtrapped = false; - self.prepareTransition(0); - if (self.timerscroll && self.timerscroll.tm) clearInterval(self.timerscroll.tm); - self.timerscroll = false; - var py = self.getScrollTop(); - var px = self.getScrollLeft(); - self.setScrollTop(py); // fire event onscroll - if (self.railh) self.setScrollLeft(px); // fire event onscroll left - - self.noticeCursor(false, py, px); - - self.cursorfreezed = false; - - if (py < 0) py = 0; - else if (py > self.page.maxh) py = self.page.maxh; - if (px < 0) px = 0; - else if (px > self.page.maxw) px = self.page.maxw; - if ((py != self.newscrolly) || (px != self.newscrollx)) return self.doScrollPos(px, py, self.opt.snapbackspeed); - - if (self.onscrollend && self.scrollrunning) { - self.triggerScrollEnd(); - } - self.scrollrunning = false; - - }; - - } else { - - this.doScrollLeft = function(x, spd) { //no-trans - var y = (self.scrollrunning) ? self.newscrolly : self.getScrollTop(); - self.doScrollPos(x, y, spd); - }; - - this.doScrollTop = function(y, spd) { //no-trans - var x = (self.scrollrunning) ? self.newscrollx : self.getScrollLeft(); - self.doScrollPos(x, y, spd); - }; - - this.doScrollPos = function(x, y, spd) { //no-trans - var y = (y === undefined || y === false) ? self.getScrollTop(true) : y; - - if ((self.timer) && (self.newscrolly == y) && (self.newscrollx == x)) return true; - - if (self.timer) clearAnimationFrame(self.timer); - self.timer = 0; - - var py = self.getScrollTop(); - var px = self.getScrollLeft(); - - if (((self.newscrolly - py) * (y - py) < 0) || ((self.newscrollx - px) * (x - px) < 0)) self.cancelScroll(); //inverted movement detection - - self.newscrolly = y; - self.newscrollx = x; - - if (!self.bouncescroll || !self.rail.visibility) { - if (self.newscrolly < 0) { - self.newscrolly = 0; - } else if (self.newscrolly > self.page.maxh) { - self.newscrolly = self.page.maxh; - } - } - if (!self.bouncescroll || !self.railh.visibility) { - if (self.newscrollx < 0) { - self.newscrollx = 0; - } else if (self.newscrollx > self.page.maxw) { - self.newscrollx = self.page.maxw; - } - } - - self.dst = {}; - self.dst.x = x - px; - self.dst.y = y - py; - self.dst.px = px; - self.dst.py = py; - - var dst = Math.round(Math.sqrt(Math.pow(self.dst.x, 2) + Math.pow(self.dst.y, 2))); - - self.dst.ax = self.dst.x / dst; - self.dst.ay = self.dst.y / dst; - - var pa = 0; - var pe = dst; - - if (self.dst.x == 0) { - pa = py; - pe = y; - self.dst.ay = 1; - self.dst.py = 0; - } else if (self.dst.y == 0) { - pa = px; - pe = x; - self.dst.ax = 1; - self.dst.px = 0; - } - - var ms = self.getTransitionSpeed(dst); - if (spd && spd <= 1) ms *= spd; - if (ms > 0) { - self.bzscroll = (self.bzscroll) ? self.bzscroll.update(pe, ms) : new BezierClass(pa, pe, ms, 0, 1, 0, 1); - } else { - self.bzscroll = false; - } - - if (self.timer) return; - - if ((py == self.page.maxh && y >= self.page.maxh) || (px == self.page.maxw && x >= self.page.maxw)) self.checkContentSize(); - - var sync = 1; - - function scrolling() { - if (self.cancelAnimationFrame) return true; - - self.scrollrunning = true; - - sync = 1 - sync; - if (sync) return (self.timer = setAnimationFrame(scrolling) || 1); - - var done = 0; - var sx, sy; - - var sc = sy = self.getScrollTop(); - if (self.dst.ay) { - sc = (self.bzscroll) ? self.dst.py + (self.bzscroll.getNow() * self.dst.ay) : self.newscrolly; - var dr = sc - sy; - if ((dr < 0 && sc < self.newscrolly) || (dr > 0 && sc > self.newscrolly)) sc = self.newscrolly; - self.setScrollTop(sc); - if (sc == self.newscrolly) done = 1; - } else { - done = 1; - } - - var scx = sx = self.getScrollLeft(); - if (self.dst.ax) { - scx = (self.bzscroll) ? self.dst.px + (self.bzscroll.getNow() * self.dst.ax) : self.newscrollx; - var dr = scx - sx; - if ((dr < 0 && scx < self.newscrollx) || (dr > 0 && scx > self.newscrollx)) scx = self.newscrollx; - self.setScrollLeft(scx); - if (scx == self.newscrollx) done += 1; - } else { - done += 1; - } - - if (done == 2) { - self.timer = 0; - self.cursorfreezed = false; - self.bzscroll = false; - self.scrollrunning = false; - if (sc < 0) sc = 0; - else if (sc > self.page.maxh) sc = Math.max(0,self.page.maxh); - if (scx < 0) scx = 0; - else if (scx > self.page.maxw) scx = self.page.maxw; - if ((scx != self.newscrollx) || (sc != self.newscrolly)) self.doScrollPos(scx, sc); - else { - if (self.onscrollend) { - self.triggerScrollEnd(); - } - } - } else { - self.timer = setAnimationFrame(scrolling) || 1; - } - } - self.cancelAnimationFrame = false; - self.timer = 1; - - if (self.onscrollstart && !self.scrollrunning) { - var info = { - "type": "scrollstart", - "current": { - "x": px, - "y": py - }, - "request": { - "x": x, - "y": y - }, - "end": { - "x": self.newscrollx, - "y": self.newscrolly - }, - "speed": ms - }; - self.onscrollstart.call(self, info); - } - - scrolling(); - - if ((py == self.page.maxh && y >= py) || (px == self.page.maxw && x >= px)) self.checkContentSize(); - - self.noticeCursor(); - }; - - this.cancelScroll = function() { - if (self.timer) clearAnimationFrame(self.timer); - self.timer = 0; - self.bzscroll = false; - self.scrollrunning = false; - return self; - }; - - } - - this.doScrollBy = function(stp, relative) { - var ny = 0; - if (relative) { - ny = Math.floor((self.scroll.y - stp) * self.scrollratio.y); - } else { - var sy = (self.timer) ? self.newscrolly : self.getScrollTop(true); - ny = sy - stp; - } - if (self.bouncescroll) { - var haf = Math.round(self.view.h / 2); - if (ny < -haf) ny = -haf; - else if (ny > (self.page.maxh + haf)) ny = (self.page.maxh + haf); - } - self.cursorfreezed = false; - - var py = self.getScrollTop(true); - if (ny < 0 && py <= 0) return self.noticeCursor(); - else if (ny > self.page.maxh && py >= self.page.maxh) { - self.checkContentSize(); - return self.noticeCursor(); - } - - self.doScrollTop(ny); - }; - - this.doScrollLeftBy = function(stp, relative) { - var nx = 0; - if (relative) { - nx = Math.floor((self.scroll.x - stp) * self.scrollratio.x); - } else { - var sx = (self.timer) ? self.newscrollx : self.getScrollLeft(true); - nx = sx - stp; - } - if (self.bouncescroll) { - var haf = Math.round(self.view.w / 2); - if (nx < -haf) nx = -haf; - else if (nx > (self.page.maxw + haf)) nx = (self.page.maxw + haf); - } - self.cursorfreezed = false; - - var px = self.getScrollLeft(true); - if (nx < 0 && px <= 0) return self.noticeCursor(); - else if (nx > self.page.maxw && px >= self.page.maxw) return self.noticeCursor(); - - self.doScrollLeft(nx); - }; - - this.doScrollTo = function(pos, relative) { - var ny = (relative) ? Math.round(pos * self.scrollratio.y) : pos; - if (ny < 0) ny = 0; - else if (ny > self.page.maxh) ny = self.page.maxh; - self.cursorfreezed = false; - self.doScrollTop(pos); - }; - - this.checkContentSize = function() { - var pg = self.getContentSize(); - if ((pg.h != self.page.h) || (pg.w != self.page.w)) self.resize(false, pg); - }; - - self.onscroll = function(e) { - if (self.rail.drag) return; - if (!self.cursorfreezed) { - self.synched('scroll', function() { - self.scroll.y = Math.round(self.getScrollTop() * (1 / self.scrollratio.y)); - if (self.railh) self.scroll.x = Math.round(self.getScrollLeft() * (1 / self.scrollratio.x)); - self.noticeCursor(); - }); - } - }; - self.bind(self.docscroll, "scroll", self.onscroll); - - this.doZoomIn = function(e) { - if (self.zoomactive) return; - self.zoomactive = true; - - self.zoomrestore = { - style: {} - }; - var lst = ['position', 'top', 'left', 'zIndex', 'backgroundColor', 'marginTop', 'marginBottom', 'marginLeft', 'marginRight']; - var win = self.win[0].style; - for (var a in lst) { - var pp = lst[a]; - self.zoomrestore.style[pp] = (win[pp] !== undefined) ? win[pp] : ''; - } - - self.zoomrestore.style.width = self.win.css('width'); - self.zoomrestore.style.height = self.win.css('height'); - - self.zoomrestore.padding = { - w: self.win.outerWidth() - self.win.width(), - h: self.win.outerHeight() - self.win.height() - }; - - if (cap.isios4) { - self.zoomrestore.scrollTop = $(window).scrollTop(); - $(window).scrollTop(0); - } - - self.win.css({ - position: (cap.isios4) ? "absolute" : "fixed", - top: 0, - left: 0, - zIndex: globalmaxzindex + 100, - margin: 0 - }); - var bkg = self.win.css("backgroundColor"); - if (bkg == "" || /transparent|rgba\(0, 0, 0, 0\)|rgba\(0,0,0,0\)/.test(bkg)) self.win.css("backgroundColor", "#fff"); - self.rail.css({ - zIndex: globalmaxzindex + 101 - }); - self.zoom.css({ - zIndex: globalmaxzindex + 102 - }); - self.zoom.css('backgroundPosition', '0px -18px'); - self.resizeZoom(); - - if (self.onzoomin) self.onzoomin.call(self); - - return self.cancelEvent(e); - }; - - this.doZoomOut = function(e) { - if (!self.zoomactive) return; - self.zoomactive = false; - - self.win.css("margin", ""); - self.win.css(self.zoomrestore.style); - - if (cap.isios4) { - $(window).scrollTop(self.zoomrestore.scrollTop); - } - - self.rail.css({ - "z-index": self.zindex - }); - self.zoom.css({ - "z-index": self.zindex - }); - self.zoomrestore = false; - self.zoom.css('backgroundPosition', '0px 0px'); - self.onResize(); - - if (self.onzoomout) self.onzoomout.call(self); - - return self.cancelEvent(e); - }; - - this.doZoom = function(e) { - return (self.zoomactive) ? self.doZoomOut(e) : self.doZoomIn(e); - }; - - this.resizeZoom = function() { - if (!self.zoomactive) return; - - var py = self.getScrollTop(); //preserve scrolling position - self.win.css({ - width: $(window).width() - self.zoomrestore.padding.w + "px", - height: $(window).height() - self.zoomrestore.padding.h + "px" - }); - self.onResize(); - - self.setScrollTop(Math.min(self.page.maxh, py)); - }; - - this.init(); - - $.nicescroll.push(this); - - }; - - // Inspired by the work of Kin Blas - // http://webpro.host.adobe.com/people/jblas/momentum/includes/jquery.momentum.0.7.js - - - var ScrollMomentumClass2D = function(nc) { - var self = this; - this.nc = nc; - - this.lastx = 0; - this.lasty = 0; - this.speedx = 0; - this.speedy = 0; - this.lasttime = 0; - this.steptime = 0; - this.snapx = false; - this.snapy = false; - this.demulx = 0; - this.demuly = 0; - - this.lastscrollx = -1; - this.lastscrolly = -1; - - this.chkx = 0; - this.chky = 0; - - this.timer = 0; - - this.time = function() { - return +new Date(); //beautifull hack - }; - - this.reset = function(px, py) { - self.stop(); - var now = self.time(); - self.steptime = 0; - self.lasttime = now; - self.speedx = 0; - self.speedy = 0; - self.lastx = px; - self.lasty = py; - self.lastscrollx = -1; - self.lastscrolly = -1; - }; - - this.update = function(px, py) { - var now = self.time(); - self.steptime = now - self.lasttime; - self.lasttime = now; - var dy = py - self.lasty; - var dx = px - self.lastx; - var sy = self.nc.getScrollTop(); - var sx = self.nc.getScrollLeft(); - var newy = sy + dy; - var newx = sx + dx; - self.snapx = (newx < 0) || (newx > self.nc.page.maxw); - self.snapy = (newy < 0) || (newy > self.nc.page.maxh); - self.speedx = dx; - self.speedy = dy; - self.lastx = px; - self.lasty = py; - }; - - this.stop = function() { - self.nc.unsynched("domomentum2d"); - if (self.timer) clearTimeout(self.timer); - self.timer = 0; - self.lastscrollx = -1; - self.lastscrolly = -1; - }; - - this.doSnapy = function(nx, ny) { - var snap = false; - - if (ny < 0) { - ny = 0; - snap = true; - } else if (ny > self.nc.page.maxh) { - ny = self.nc.page.maxh; - snap = true; - } - - if (nx < 0) { - nx = 0; - snap = true; - } else if (nx > self.nc.page.maxw) { - nx = self.nc.page.maxw; - snap = true; - } - - (snap) ? self.nc.doScrollPos(nx, ny, self.nc.opt.snapbackspeed): self.nc.triggerScrollEnd(); - }; - - this.doMomentum = function(gp) { - var t = self.time(); - var l = (gp) ? t + gp : self.lasttime; - - var sl = self.nc.getScrollLeft(); - var st = self.nc.getScrollTop(); - - var pageh = self.nc.page.maxh; - var pagew = self.nc.page.maxw; - - self.speedx = (pagew > 0) ? Math.min(60, self.speedx) : 0; - self.speedy = (pageh > 0) ? Math.min(60, self.speedy) : 0; - - var chk = l && (t - l) <= 60; - - if ((st < 0) || (st > pageh) || (sl < 0) || (sl > pagew)) chk = false; - - var sy = (self.speedy && chk) ? self.speedy : false; - var sx = (self.speedx && chk) ? self.speedx : false; - - if (sy || sx) { - var tm = Math.max(16, self.steptime); //timeout granularity - - if (tm > 50) { // do smooth - var xm = tm / 50; - self.speedx *= xm; - self.speedy *= xm; - tm = 50; - } - - self.demulxy = 0; - - self.lastscrollx = self.nc.getScrollLeft(); - self.chkx = self.lastscrollx; - self.lastscrolly = self.nc.getScrollTop(); - self.chky = self.lastscrolly; - - var nx = self.lastscrollx; - var ny = self.lastscrolly; - - var onscroll = function() { - var df = ((self.time() - t) > 600) ? 0.04 : 0.02; - - if (self.speedx) { - nx = Math.floor(self.lastscrollx - (self.speedx * (1 - self.demulxy))); - self.lastscrollx = nx; - if ((nx < 0) || (nx > pagew)) df = 0.10; - } - - if (self.speedy) { - ny = Math.floor(self.lastscrolly - (self.speedy * (1 - self.demulxy))); - self.lastscrolly = ny; - if ((ny < 0) || (ny > pageh)) df = 0.10; - } - - self.demulxy = Math.min(1, self.demulxy + df); - - self.nc.synched("domomentum2d", function() { - - if (self.speedx) { - var scx = self.nc.getScrollLeft(); -// if (scx != self.chkx) self.stop(); - self.chkx = nx; - self.nc.setScrollLeft(nx); - } - - if (self.speedy) { - var scy = self.nc.getScrollTop(); -// if (scy != self.chky) self.stop(); - self.chky = ny; - self.nc.setScrollTop(ny); - } - - if (!self.timer) { - self.nc.hideCursor(); - self.doSnapy(nx, ny); - } - - }); - - if (self.demulxy < 1) { - self.timer = setTimeout(onscroll, tm); - } else { - self.stop(); - self.nc.hideCursor(); - self.doSnapy(nx, ny); - } - }; - - onscroll(); - - } else { - self.doSnapy(self.nc.getScrollLeft(), self.nc.getScrollTop()); - } - - }; - - }; - - - // override jQuery scrollTop - - var _scrollTop = jQuery.fn.scrollTop; // preserve original function - - jQuery.cssHooks.pageYOffset = { - get: function(elem, computed, extra) { - var nice = $.data(elem, '__nicescroll') || false; - return (nice && nice.ishwscroll) ? nice.getScrollTop() : _scrollTop.call(elem); - }, - set: function(elem, value) { - var nice = $.data(elem, '__nicescroll') || false; - (nice && nice.ishwscroll) ? nice.setScrollTop(parseInt(value)): _scrollTop.call(elem, value); - return this; - } - }; - - /* - $.fx.step["scrollTop"] = function(fx){ - $.cssHooks["scrollTop"].set( fx.elem, fx.now + fx.unit ); - }; -*/ - - jQuery.fn.scrollTop = function(value) { - if (value === undefined) { - var nice = (this[0]) ? $.data(this[0], '__nicescroll') || false : false; - return (nice && nice.ishwscroll) ? nice.getScrollTop() : _scrollTop.call(this); - } else { - return this.each(function() { - var nice = $.data(this, '__nicescroll') || false; - (nice && nice.ishwscroll) ? nice.setScrollTop(parseInt(value)): _scrollTop.call($(this), value); - }); - } - }; - - // override jQuery scrollLeft - - var _scrollLeft = jQuery.fn.scrollLeft; // preserve original function - - $.cssHooks.pageXOffset = { - get: function(elem, computed, extra) { - var nice = $.data(elem, '__nicescroll') || false; - return (nice && nice.ishwscroll) ? nice.getScrollLeft() : _scrollLeft.call(elem); - }, - set: function(elem, value) { - var nice = $.data(elem, '__nicescroll') || false; - (nice && nice.ishwscroll) ? nice.setScrollLeft(parseInt(value)): _scrollLeft.call(elem, value); - return this; - } - }; - - /* - $.fx.step["scrollLeft"] = function(fx){ - $.cssHooks["scrollLeft"].set( fx.elem, fx.now + fx.unit ); - }; -*/ - - jQuery.fn.scrollLeft = function(value) { - if (value === undefined) { - var nice = (this[0]) ? $.data(this[0], '__nicescroll') || false : false; - return (nice && nice.ishwscroll) ? nice.getScrollLeft() : _scrollLeft.call(this); - } else { - return this.each(function() { - var nice = $.data(this, '__nicescroll') || false; - (nice && nice.ishwscroll) ? nice.setScrollLeft(parseInt(value)): _scrollLeft.call($(this), value); - }); - } - }; - - var NiceScrollArray = function(doms) { - var self = this; - this.length = 0; - this.name = "nicescrollarray"; - - this.each = function(fn) { - $.each(self, fn); - return self; - }; - - this.push = function(nice) { - self[self.length] = nice; - self.length++; - }; - - this.eq = function(idx) { - return self[idx]; - }; - - if (doms) { - for (var a = 0; a < doms.length; a++) { - var nice = $.data(doms[a], '__nicescroll') || false; - if (nice) { - this[this.length] = nice; - this.length++; - } - } - } - - return this; - }; - - function mplex(el, lst, fn) { - for (var a = 0; a < lst.length; a++) fn(el, lst[a]); - } - mplex( - NiceScrollArray.prototype, ['show', 'hide', 'toggle', 'onResize', 'resize', 'remove', 'stop', 'doScrollPos'], - function(e, n) { - e[n] = function() { - var args = arguments; - return this.each(function() { - this[n].apply(this, args); - }); - }; - } - ); - - jQuery.fn.getNiceScroll = function(index) { - if (index === undefined) { - return new NiceScrollArray(this); - } else { - return this[index] && $.data(this[index], '__nicescroll') || false; - } - }; - - jQuery.expr[':'].nicescroll = function(a) { - return $.data(a, '__nicescroll') !== undefined; - }; - - $.fn.niceScroll = function(wrapper, opt) { - if (opt === undefined && typeof wrapper == "object" && !("jquery" in wrapper)) { - opt = wrapper; - wrapper = false; - } - opt = $.extend({},opt); // cloning - var ret = new NiceScrollArray(); - if (opt === undefined) opt = {}; - - if (wrapper || false) { - opt.doc = $(wrapper); - opt.win = $(this); - } - var docundef = !("doc" in opt); - if (!docundef && !("win" in opt)) opt.win = $(this); - - this.each(function() { - var nice = $(this).data('__nicescroll') || false; - if (!nice) { - opt.doc = (docundef) ? $(this) : opt.doc; - nice = new NiceScrollClass(opt, $(this)); - $(this).data('__nicescroll', nice); - } - ret.push(nice); - }); - return (ret.length == 1) ? ret[0] : ret; - }; - - window.NiceScroll = { - getjQuery: function() { - return jQuery; - } - }; - - if (!$.nicescroll) { - $.nicescroll = new NiceScrollArray(); - $.nicescroll.options = _globaloptions; - } - -})); - diff --git a/d2ice.att.io/app/core/js/jquery.nicescroll-master/jquery.nicescroll.min.js b/d2ice.att.io/app/core/js/jquery.nicescroll-master/jquery.nicescroll.min.js deleted file mode 100755 index 2013b3cc..00000000 --- a/d2ice.att.io/app/core/js/jquery.nicescroll-master/jquery.nicescroll.min.js +++ /dev/null @@ -1,158 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -/* jquery.nicescroll 3.6.8 InuYaksa*2015 MIT http://nicescroll.areaaperta.com */(function(f){"function"===typeof define&&define.amd?define(["jquery"],f):"object"===typeof exports?module.exports=f(require("jquery")):f(jQuery)})(function(f){var B=!1,F=!1,O=0,P=2E3,A=0,J=["webkit","ms","moz","o"],v=window.requestAnimationFrame||!1,w=window.cancelAnimationFrame||!1;if(!v)for(var Q in J){var G=J[Q];if(v=window[G+"RequestAnimationFrame"]){w=window[G+"CancelAnimationFrame"]||window[G+"CancelRequestAnimationFrame"];break}}var x=window.MutationObserver||window.WebKitMutationObserver|| -!1,K={zindex:"auto",cursoropacitymin:0,cursoropacitymax:1,cursorcolor:"#424242",cursorwidth:"6px",cursorborder:"1px solid #fff",cursorborderradius:"5px",scrollspeed:60,mousescrollstep:24,touchbehavior:!1,hwacceleration:!0,usetransition:!0,boxzoom:!1,dblclickzoom:!0,gesturezoom:!0,grabcursorenabled:!0,autohidemode:!0,background:"",iframeautoresize:!0,cursorminheight:32,preservenativescrolling:!0,railoffset:!1,railhoffset:!1,bouncescroll:!0,spacebarenabled:!0,railpadding:{top:0,right:0,left:0,bottom:0}, -disableoutline:!0,horizrailenabled:!0,railalign:"right",railvalign:"bottom",enabletranslate3d:!0,enablemousewheel:!0,enablekeyboard:!0,smoothscroll:!0,sensitiverail:!0,enablemouselockapi:!0,cursorfixedheight:!1,directionlockdeadzone:6,hidecursordelay:400,nativeparentscrolling:!0,enablescrollonselection:!0,overflowx:!0,overflowy:!0,cursordragspeed:.3,rtlmode:"auto",cursordragontouch:!1,oneaxismousemode:"auto",scriptpath:function(){var f=document.getElementsByTagName("script"),f=f.length?f[f.length- -1].src.split("?")[0]:"";return 0d?a.getScrollLeft()>=a.page.maxw:0>=a.getScrollLeft())&&(e=d,d=0));a.isrtlmode&&(d=-d);d&&(a.scrollmom&&a.scrollmom.stop(),a.lastdeltax+=d,a.debounced("mousewheelx",function(){var b=a.lastdeltax;a.lastdeltax=0;a.rail.drag||a.doScrollLeftBy(b)},15));if(e){if(a.opt.nativeparentscrolling&&c&&!a.ispage&&!a.zoomactive)if(0>e){if(a.getScrollTop()>=a.page.maxh)return!0}else if(0>=a.getScrollTop())return!0;a.scrollmom&&a.scrollmom.stop();a.lastdeltay+=e; -a.synched("mousewheely",function(){var b=a.lastdeltay;a.lastdeltay=0;a.rail.drag||a.doScrollBy(b)},15)}b.stopImmediatePropagation();return b.preventDefault()}var a=this;this.version="3.6.8";this.name="nicescroll";this.me=c;this.opt={doc:f("body"),win:!1};f.extend(this.opt,K);this.opt.snapbackspeed=80;if(h)for(var r in a.opt)void 0!==h[r]&&(a.opt[r]=h[r]);a.opt.disablemutationobserver&&(x=!1);this.iddoc=(this.doc=a.opt.doc)&&this.doc[0]?this.doc[0].id||"":"";this.ispage=/^BODY|HTML/.test(a.opt.win? -a.opt.win[0].nodeName:this.doc[0].nodeName);this.haswrapper=!1!==a.opt.win;this.win=a.opt.win||(this.ispage?f(window):this.doc);this.docscroll=this.ispage&&!this.haswrapper?f(window):this.win;this.body=f("body");this.iframe=this.isfixed=this.viewport=!1;this.isiframe="IFRAME"==this.doc[0].nodeName&&"IFRAME"==this.win[0].nodeName;this.istextarea="TEXTAREA"==this.win[0].nodeName;this.forcescreen=!1;this.canshowonmouseevent="scroll"!=a.opt.autohidemode;this.page=this.view=this.onzoomout=this.onzoomin= -this.onscrollcancel=this.onscrollend=this.onscrollstart=this.onclick=this.ongesturezoom=this.onkeypress=this.onmousewheel=this.onmousemove=this.onmouseup=this.onmousedown=!1;this.scroll={x:0,y:0};this.scrollratio={x:0,y:0};this.cursorheight=20;this.scrollvaluemax=0;if("auto"==this.opt.rtlmode){r=this.win[0]==window?this.body:this.win;var p=r.css("writing-mode")||r.css("-webkit-writing-mode")||r.css("-ms-writing-mode")||r.css("-moz-writing-mode");"horizontal-tb"==p||"lr-tb"==p||""==p?(this.isrtlmode= -"rtl"==r.css("direction"),this.isvertical=!1):(this.isrtlmode="vertical-rl"==p||"tb"==p||"tb-rl"==p||"rl-tb"==p,this.isvertical="vertical-rl"==p||"tb"==p||"tb-rl"==p)}else this.isrtlmode=!0===this.opt.rtlmode,this.isvertical=!1;this.observerbody=this.observerremover=this.observer=this.scrollmom=this.scrollrunning=!1;do this.id="ascrail"+P++;while(document.getElementById(this.id));this.hasmousefocus=this.hasfocus=this.zoomactive=this.zoom=this.selectiondrag=this.cursorfreezed=this.cursor=this.rail= -!1;this.visibility=!0;this.hidden=this.locked=this.railslocked=!1;this.cursoractive=!0;this.wheelprevented=!1;this.overflowx=a.opt.overflowx;this.overflowy=a.opt.overflowy;this.nativescrollingarea=!1;this.checkarea=0;this.events=[];this.saved={};this.delaylist={};this.synclist={};this.lastdeltay=this.lastdeltax=0;this.detected=R();var e=f.extend({},this.detected);this.ishwscroll=(this.canhwscroll=e.hastransform&&a.opt.hwacceleration)&&a.haswrapper;this.hasreversehr=this.isrtlmode?this.isvertical? -!(e.iswebkit||e.isie||e.isie11):!(e.iswebkit||e.isie&&!e.isie10&&!e.isie11):!1;this.istouchcapable=!1;e.cantouch||!e.hasw3ctouch&&!e.hasmstouch?!e.cantouch||e.isios||e.isandroid||!e.iswebkit&&!e.ismozilla||(this.istouchcapable=!0):this.istouchcapable=!0;a.opt.enablemouselockapi||(e.hasmousecapture=!1,e.haspointerlock=!1);this.debounced=function(b,g,c){a&&(a.delaylist[b]||(g.call(a),a.delaylist[b]={h:v(function(){a.delaylist[b].fn.call(a);a.delaylist[b]=!1},c)}),a.delaylist[b].fn=g)};var I=!1;this.synched= -function(b,g){a.synclist[b]=g;(function(){I||(v(function(){if(a){I=!1;for(var b in a.synclist){var g=a.synclist[b];g&&g.call(a);a.synclist[b]=!1}}}),I=!0)})();return b};this.unsynched=function(b){a.synclist[b]&&(a.synclist[b]=!1)};this.css=function(b,g){for(var c in g)a.saved.css.push([b,c,b.css(c)]),b.css(c,g[c])};this.scrollTop=function(b){return void 0===b?a.getScrollTop():a.setScrollTop(b)};this.scrollLeft=function(b){return void 0===b?a.getScrollLeft():a.setScrollLeft(b)};var D=function(a,g, -c,d,e,f,k){this.st=a;this.ed=g;this.spd=c;this.p1=d||0;this.p2=e||1;this.p3=f||0;this.p4=k||1;this.ts=(new Date).getTime();this.df=this.ed-this.st};D.prototype={B2:function(a){return 3*a*a*(1-a)},B3:function(a){return 3*a*(1-a)*(1-a)},B4:function(a){return(1-a)*(1-a)*(1-a)},getNow:function(){var a=1-((new Date).getTime()-this.ts)/this.spd,g=this.B2(a)+this.B3(a)+this.B4(a);return 0>a?this.ed:this.st+Math.round(this.df*g)},update:function(a,g){this.st=this.getNow();this.ed=a;this.spd=g;this.ts=(new Date).getTime(); -this.df=this.ed-this.st;return this}};if(this.ishwscroll){this.doc.translate={x:0,y:0,tx:"0px",ty:"0px"};e.hastranslate3d&&e.isios&&this.doc.css("-webkit-backface-visibility","hidden");this.getScrollTop=function(b){if(!b){if(b=k())return 16==b.length?-b[13]:-b[5];if(a.timerscroll&&a.timerscroll.bz)return a.timerscroll.bz.getNow()}return a.doc.translate.y};this.getScrollLeft=function(b){if(!b){if(b=k())return 16==b.length?-b[12]:-b[4];if(a.timerscroll&&a.timerscroll.bh)return a.timerscroll.bh.getNow()}return a.doc.translate.x}; -this.notifyScrollEvent=function(a){var g=document.createEvent("UIEvents");g.initUIEvent("scroll",!1,!0,window,1);g.niceevent=!0;a.dispatchEvent(g)};var y=this.isrtlmode?1:-1;e.hastranslate3d&&a.opt.enabletranslate3d?(this.setScrollTop=function(b,g){a.doc.translate.y=b;a.doc.translate.ty=-1*b+"px";a.doc.css(e.trstyle,"translate3d("+a.doc.translate.tx+","+a.doc.translate.ty+",0px)");g||a.notifyScrollEvent(a.win[0])},this.setScrollLeft=function(b,g){a.doc.translate.x=b;a.doc.translate.tx=b*y+"px";a.doc.css(e.trstyle, -"translate3d("+a.doc.translate.tx+","+a.doc.translate.ty+",0px)");g||a.notifyScrollEvent(a.win[0])}):(this.setScrollTop=function(b,g){a.doc.translate.y=b;a.doc.translate.ty=-1*b+"px";a.doc.css(e.trstyle,"translate("+a.doc.translate.tx+","+a.doc.translate.ty+")");g||a.notifyScrollEvent(a.win[0])},this.setScrollLeft=function(b,g){a.doc.translate.x=b;a.doc.translate.tx=b*y+"px";a.doc.css(e.trstyle,"translate("+a.doc.translate.tx+","+a.doc.translate.ty+")");g||a.notifyScrollEvent(a.win[0])})}else this.getScrollTop= -function(){return a.docscroll.scrollTop()},this.setScrollTop=function(b){return setTimeout(function(){a&&a.docscroll.scrollTop(b)},1)},this.getScrollLeft=function(){return a.hasreversehr?a.detected.ismozilla?a.page.maxw-Math.abs(a.docscroll.scrollLeft()):a.page.maxw-a.docscroll.scrollLeft():a.docscroll.scrollLeft()},this.setScrollLeft=function(b){return setTimeout(function(){if(a)return a.hasreversehr&&(b=a.detected.ismozilla?-(a.page.maxw-b):a.page.maxw-b),a.docscroll.scrollLeft(b)},1)};this.getTarget= -function(a){return a?a.target?a.target:a.srcElement?a.srcElement:!1:!1};this.hasParent=function(a,g){if(!a)return!1;for(var c=a.target||a.srcElement||a||!1;c&&c.id!=g;)c=c.parentNode||!1;return!1!==c};var z={thin:1,medium:3,thick:5};this.getDocumentScrollOffset=function(){return{top:window.pageYOffset||document.documentElement.scrollTop,left:window.pageXOffset||document.documentElement.scrollLeft}};this.getOffset=function(){if(a.isfixed){var b=a.win.offset(),g=a.getDocumentScrollOffset();b.top-=g.top; -b.left-=g.left;return b}b=a.win.offset();if(!a.viewport)return b;g=a.viewport.offset();return{top:b.top-g.top,left:b.left-g.left}};this.updateScrollBar=function(b){var g,c,e;if(a.ishwscroll)a.rail.css({height:a.win.innerHeight()-(a.opt.railpadding.top+a.opt.railpadding.bottom)}),a.railh&&a.railh.css({width:a.win.innerWidth()-(a.opt.railpadding.left+a.opt.railpadding.right)});else{var f=a.getOffset();g=f.top;c=f.left-(a.opt.railpadding.left+a.opt.railpadding.right);g+=d(a.win,"border-top-width",!0); -c+=a.rail.align?a.win.outerWidth()-d(a.win,"border-right-width")-a.rail.width:d(a.win,"border-left-width");if(e=a.opt.railoffset)e.top&&(g+=e.top),e.left&&(c+=e.left);a.railslocked||a.rail.css({top:g,left:c,height:(b?b.h:a.win.innerHeight())-(a.opt.railpadding.top+a.opt.railpadding.bottom)});a.zoom&&a.zoom.css({top:g+1,left:1==a.rail.align?c-20:c+a.rail.width+4});if(a.railh&&!a.railslocked){g=f.top;c=f.left;if(e=a.opt.railhoffset)e.top&&(g+=e.top),e.left&&(c+=e.left);b=a.railh.align?g+d(a.win,"border-top-width", -!0)+a.win.innerHeight()-a.railh.height:g+d(a.win,"border-top-width",!0);c+=d(a.win,"border-left-width");a.railh.css({top:b-(a.opt.railpadding.top+a.opt.railpadding.bottom),left:c,width:a.railh.width})}}};this.doRailClick=function(b,g,c){var d;a.railslocked||(a.cancelEvent(b),g?(g=c?a.doScrollLeft:a.doScrollTop,d=c?(b.pageX-a.railh.offset().left-a.cursorwidth/2)*a.scrollratio.x:(b.pageY-a.rail.offset().top-a.cursorheight/2)*a.scrollratio.y,g(d)):(g=c?a.doScrollLeftBy:a.doScrollBy,d=c?a.scroll.x:a.scroll.y, -b=c?b.pageX-a.railh.offset().left:b.pageY-a.rail.offset().top,c=c?a.view.w:a.view.h,g(d>=b?c:-c)))};a.hasanimationframe=v;a.hascancelanimationframe=w;a.hasanimationframe?a.hascancelanimationframe||(w=function(){a.cancelAnimationFrame=!0}):(v=function(a){return setTimeout(a,15-Math.floor(+new Date/1E3)%16)},w=clearTimeout);this.init=function(){a.saved.css=[];if(e.isie7mobile||e.isoperamini)return!0;e.hasmstouch&&a.css(a.ispage?f("html"):a.win,{_touchaction:"none"});var b=e.ismodernie||e.isie10?{"-ms-overflow-style":"none"}: -{"overflow-y":"hidden"};a.zindex="auto";a.zindex=a.ispage||"auto"!=a.opt.zindex?a.opt.zindex:l()||"auto";!a.ispage&&"auto"!=a.zindex&&a.zindex>A&&(A=a.zindex);a.isie&&0==a.zindex&&"auto"==a.opt.zindex&&(a.zindex="auto");if(!a.ispage||!e.cantouch&&!e.isieold&&!e.isie9mobile){var c=a.docscroll;a.ispage&&(c=a.haswrapper?a.win:a.doc);e.isie9mobile||a.css(c,b);a.ispage&&e.isie7&&("BODY"==a.doc[0].nodeName?a.css(f("html"),{"overflow-y":"hidden"}):"HTML"==a.doc[0].nodeName&&a.css(f("body"),b));!e.isios|| -a.ispage||a.haswrapper||a.css(f("body"),{"-webkit-overflow-scrolling":"touch"});var d=f(document.createElement("div"));d.css({position:"relative",top:0,"float":"right",width:a.opt.cursorwidth,height:0,"background-color":a.opt.cursorcolor,border:a.opt.cursorborder,"background-clip":"padding-box","-webkit-border-radius":a.opt.cursorborderradius,"-moz-border-radius":a.opt.cursorborderradius,"border-radius":a.opt.cursorborderradius});d.hborder=parseFloat(d.outerHeight()-d.innerHeight());d.addClass("nicescroll-cursors"); -a.cursor=d;var m=f(document.createElement("div"));m.attr("id",a.id);m.addClass("nicescroll-rails nicescroll-rails-vr");var k,h,p=["left","right","top","bottom"],L;for(L in p)h=p[L],(k=a.opt.railpadding[h])?m.css("padding-"+h,k+"px"):a.opt.railpadding[h]=0;m.append(d);m.width=Math.max(parseFloat(a.opt.cursorwidth),d.outerWidth());m.css({width:m.width+"px",zIndex:a.zindex,background:a.opt.background,cursor:"default"});m.visibility=!0;m.scrollable=!0;m.align="left"==a.opt.railalign?0:1;a.rail=m;d=a.rail.drag= -!1;!a.opt.boxzoom||a.ispage||e.isieold||(d=document.createElement("div"),a.bind(d,"click",a.doZoom),a.bind(d,"mouseenter",function(){a.zoom.css("opacity",a.opt.cursoropacitymax)}),a.bind(d,"mouseleave",function(){a.zoom.css("opacity",a.opt.cursoropacitymin)}),a.zoom=f(d),a.zoom.css({cursor:"pointer",zIndex:a.zindex,backgroundImage:"url("+a.opt.scriptpath+"zoomico.png)",height:18,width:18,backgroundPosition:"0px 0px"}),a.opt.dblclickzoom&&a.bind(a.win,"dblclick",a.doZoom),e.cantouch&&a.opt.gesturezoom&& -(a.ongesturezoom=function(b){1.5b.scale&&a.doZoomOut(b);return a.cancelEvent(b)},a.bind(a.win,"gestureend",a.ongesturezoom)));a.railh=!1;var n;a.opt.horizrailenabled&&(a.css(c,{overflowX:"hidden"}),d=f(document.createElement("div")),d.css({position:"absolute",top:0,height:a.opt.cursorwidth,width:0,backgroundColor:a.opt.cursorcolor,border:a.opt.cursorborder,backgroundClip:"padding-box","-webkit-border-radius":a.opt.cursorborderradius,"-moz-border-radius":a.opt.cursorborderradius, -"border-radius":a.opt.cursorborderradius}),e.isieold&&d.css("overflow","hidden"),d.wborder=parseFloat(d.outerWidth()-d.innerWidth()),d.addClass("nicescroll-cursors"),a.cursorh=d,n=f(document.createElement("div")),n.attr("id",a.id+"-hr"),n.addClass("nicescroll-rails nicescroll-rails-hr"),n.height=Math.max(parseFloat(a.opt.cursorwidth),d.outerHeight()),n.css({height:n.height+"px",zIndex:a.zindex,background:a.opt.background}),n.append(d),n.visibility=!0,n.scrollable=!0,n.align="top"==a.opt.railvalign? -0:1,a.railh=n,a.railh.drag=!1);a.ispage?(m.css({position:"fixed",top:0,height:"100%"}),m.align?m.css({right:0}):m.css({left:0}),a.body.append(m),a.railh&&(n.css({position:"fixed",left:0,width:"100%"}),n.align?n.css({bottom:0}):n.css({top:0}),a.body.append(n))):(a.ishwscroll?("static"==a.win.css("position")&&a.css(a.win,{position:"relative"}),c="HTML"==a.win[0].nodeName?a.body:a.win,f(c).scrollTop(0).scrollLeft(0),a.zoom&&(a.zoom.css({position:"absolute",top:1,right:0,"margin-right":m.width+4}),c.append(a.zoom)), -m.css({position:"absolute",top:0}),m.align?m.css({right:0}):m.css({left:0}),c.append(m),n&&(n.css({position:"absolute",left:0,bottom:0}),n.align?n.css({bottom:0}):n.css({top:0}),c.append(n))):(a.isfixed="fixed"==a.win.css("position"),c=a.isfixed?"fixed":"absolute",a.isfixed||(a.viewport=a.getViewport(a.win[0])),a.viewport&&(a.body=a.viewport,0==/fixed|absolute/.test(a.viewport.css("position"))&&a.css(a.viewport,{position:"relative"})),m.css({position:c}),a.zoom&&a.zoom.css({position:c}),a.updateScrollBar(), -a.body.append(m),a.zoom&&a.body.append(a.zoom),a.railh&&(n.css({position:c}),a.body.append(n))),e.isios&&a.css(a.win,{"-webkit-tap-highlight-color":"rgba(0,0,0,0)","-webkit-touch-callout":"none"}),e.isie&&a.opt.disableoutline&&a.win.attr("hideFocus","true"),e.iswebkit&&a.opt.disableoutline&&a.win.css("outline","none"));!1===a.opt.autohidemode?(a.autohidedom=!1,a.rail.css({opacity:a.opt.cursoropacitymax}),a.railh&&a.railh.css({opacity:a.opt.cursoropacitymax})):!0===a.opt.autohidemode||"leave"===a.opt.autohidemode? -(a.autohidedom=f().add(a.rail),e.isie8&&(a.autohidedom=a.autohidedom.add(a.cursor)),a.railh&&(a.autohidedom=a.autohidedom.add(a.railh)),a.railh&&e.isie8&&(a.autohidedom=a.autohidedom.add(a.cursorh))):"scroll"==a.opt.autohidemode?(a.autohidedom=f().add(a.rail),a.railh&&(a.autohidedom=a.autohidedom.add(a.railh))):"cursor"==a.opt.autohidemode?(a.autohidedom=f().add(a.cursor),a.railh&&(a.autohidedom=a.autohidedom.add(a.cursorh))):"hidden"==a.opt.autohidemode&&(a.autohidedom=!1,a.hide(),a.railslocked= -!1);if(e.isie9mobile)a.scrollmom=new M(a),a.onmangotouch=function(){var b=a.getScrollTop(),c=a.getScrollLeft();if(b==a.scrollmom.lastscrolly&&c==a.scrollmom.lastscrollx)return!0;var g=b-a.mangotouch.sy,d=c-a.mangotouch.sx;if(0!=Math.round(Math.sqrt(Math.pow(d,2)+Math.pow(g,2)))){var e=0>g?-1:1,f=0>d?-1:1,u=+new Date;a.mangotouch.lazy&&clearTimeout(a.mangotouch.lazy);80h?h=Math.round(h/2):h>a.page.maxh&&(h=a.page.maxh+Math.round((h-a.page.maxh)/2)):(0>h&&(u=h=0),h>a.page.maxh&&(h=a.page.maxh,u=0));var l;a.railh&&a.railh.scrollable&&(l=a.isrtlmode?k-a.rail.drag.sl:a.rail.drag.sl-k,a.ishwscroll&&a.opt.bouncescroll?0>l?l=Math.round(l/2):l>a.page.maxw&&(l=a.page.maxw+Math.round((l-a.page.maxw)/ -2)):(0>l&&(m=l=0),l>a.page.maxw&&(l=a.page.maxw,m=0)));g=!1;if(a.rail.drag.dl)g=!0,"v"==a.rail.drag.dl?l=a.rail.drag.sl:"h"==a.rail.drag.dl&&(h=a.rail.drag.st);else{d=Math.abs(d);var k=Math.abs(k),C=a.opt.directionlockdeadzone;if("v"==a.rail.drag.ck){if(d>C&&k<=.3*d)return a.rail.drag=!1,!0;k>C&&(a.rail.drag.dl="f",f("body").scrollTop(f("body").scrollTop()))}else if("h"==a.rail.drag.ck){if(k>C&&d<=.3*k)return a.rail.drag=!1,!0;d>C&&(a.rail.drag.dl="f",f("body").scrollLeft(f("body").scrollLeft()))}}a.synched("touchmove", -function(){a.rail.drag&&2==a.rail.drag.pt&&(a.prepareTransition&&a.prepareTransition(0),a.rail.scrollable&&a.setScrollTop(h),a.scrollmom.update(m,u),a.railh&&a.railh.scrollable?(a.setScrollLeft(l),a.showCursor(h,l)):a.showCursor(h),e.isie10&&document.selection.clear())});e.ischrome&&a.istouchcapable&&(g=!1);if(g)return a.cancelEvent(b)}else if(1==a.rail.drag.pt)return a.onmousemove(b)}}a.onmousedown=function(b,c){if(!a.rail.drag||1==a.rail.drag.pt){if(a.railslocked)return a.cancelEvent(b);a.cancelScroll(); -a.rail.drag={x:b.clientX,y:b.clientY,sx:a.scroll.x,sy:a.scroll.y,pt:1,hr:!!c};var g=a.getTarget(b);!a.ispage&&e.hasmousecapture&&g.setCapture();a.isiframe&&!e.hasmousecapture&&(a.saved.csspointerevents=a.doc.css("pointer-events"),a.css(a.doc,{"pointer-events":"none"}));a.hasmoving=!1;return a.cancelEvent(b)}};a.onmouseup=function(b){if(a.rail.drag){if(1!=a.rail.drag.pt)return!0;e.hasmousecapture&&document.releaseCapture();a.isiframe&&!e.hasmousecapture&&a.doc.css("pointer-events",a.saved.csspointerevents); -a.rail.drag=!1;a.hasmoving&&a.triggerScrollEnd();return a.cancelEvent(b)}};a.onmousemove=function(b){if(a.rail.drag){if(1==a.rail.drag.pt){if(e.ischrome&&0==b.which)return a.onmouseup(b);a.cursorfreezed=!0;a.hasmoving=!0;if(a.rail.drag.hr){a.scroll.x=a.rail.drag.sx+(b.clientX-a.rail.drag.x);0>a.scroll.x&&(a.scroll.x=0);var c=a.scrollvaluemaxw;a.scroll.x>c&&(a.scroll.x=c)}else a.scroll.y=a.rail.drag.sy+(b.clientY-a.rail.drag.y),0>a.scroll.y&&(a.scroll.y=0),c=a.scrollvaluemax,a.scroll.y>c&&(a.scroll.y= -c);a.synched("mousemove",function(){a.rail.drag&&1==a.rail.drag.pt&&(a.showCursor(),a.rail.drag.hr?a.hasreversehr?a.doScrollLeft(a.scrollvaluemaxw-Math.round(a.scroll.x*a.scrollratio.x),a.opt.cursordragspeed):a.doScrollLeft(Math.round(a.scroll.x*a.scrollratio.x),a.opt.cursordragspeed):a.doScrollTop(Math.round(a.scroll.y*a.scrollratio.y),a.opt.cursordragspeed))});return a.cancelEvent(b)}}else a.checkarea=0};if(e.cantouch||a.opt.touchbehavior)a.onpreventclick=function(b){if(a.preventclick)return a.preventclick.tg.onclick= -a.preventclick.click,a.preventclick=!1,a.cancelEvent(b)},a.bind(a.win,"mousedown",a.ontouchstart),a.onclick=e.isios?!1:function(b){return a.lastmouseup?(a.lastmouseup=!1,a.cancelEvent(b)):!0},a.opt.grabcursorenabled&&e.cursorgrabvalue&&(a.css(a.ispage?a.doc:a.win,{cursor:e.cursorgrabvalue}),a.css(a.rail,{cursor:e.cursorgrabvalue}));else{var r=function(b){if(a.selectiondrag){if(b){var c=a.win.outerHeight();b=b.pageY-a.selectiondrag.top;0=c&&(b-=c);a.selectiondrag.df=b}0!=a.selectiondrag.df&& -(a.doScrollBy(2*-Math.floor(a.selectiondrag.df/6)),a.debounced("doselectionscroll",function(){r()},50))}};a.hasTextSelected="getSelection"in document?function(){return 0a.page.maxh?a.doScrollTop(a.page.maxh):(a.scroll.y=Math.round(a.getScrollTop()* -(1/a.scrollratio.y)),a.scroll.x=Math.round(a.getScrollLeft()*(1/a.scrollratio.x)),a.cursoractive&&a.noticeCursor());a.scroll.y&&0==a.getScrollTop()&&a.doScrollTo(Math.floor(a.scroll.y*a.scrollratio.y));return a};this.resize=a.onResize;this.hlazyresize=0;this.lazyResize=function(b){a.haswrapper||a.hide();a.hlazyresize&&clearTimeout(a.hlazyresize);a.hlazyresize=setTimeout(function(){a&&a.show().resize()},240);return a};this.jqbind=function(b,c,d){a.events.push({e:b,n:c,f:d,q:!0});f(b).bind(c,d)};this.mousewheel= -function(b,c,d){b="jquery"in b?b[0]:b;if("onwheel"in document.createElement("div"))a._bind(b,"wheel",c,d||!1);else{var e=void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";q(b,e,c,d||!1);"DOMMouseScroll"==e&&q(b,"MozMousePixelScroll",c,d||!1)}};e.haseventlistener?(this.bind=function(b,c,d,e){a._bind("jquery"in b?b[0]:b,c,d,e||!1)},this._bind=function(b,c,d,e){a.events.push({e:b,n:c,f:d,b:e,q:!1});b.addEventListener(c,d,e||!1)},this.cancelEvent=function(a){if(!a)return!1;a=a.original?a.original: -a;a.cancelable&&a.preventDefault();a.stopPropagation();a.preventManipulation&&a.preventManipulation();return!1},this.stopPropagation=function(a){if(!a)return!1;a=a.original?a.original:a;a.stopPropagation();return!1},this._unbind=function(a,c,d,e){a.removeEventListener(c,d,e)}):(this.bind=function(b,c,d,e){var f="jquery"in b?b[0]:b;a._bind(f,c,function(b){(b=b||window.event||!1)&&b.srcElement&&(b.target=b.srcElement);"pageY"in b||(b.pageX=b.clientX+document.documentElement.scrollLeft,b.pageY=b.clientY+ -document.documentElement.scrollTop);return!1===d.call(f,b)||!1===e?a.cancelEvent(b):!0})},this._bind=function(b,c,d,e){a.events.push({e:b,n:c,f:d,b:e,q:!1});b.attachEvent?b.attachEvent("on"+c,d):b["on"+c]=d},this.cancelEvent=function(a){a=window.event||!1;if(!a)return!1;a.cancelBubble=!0;a.cancel=!0;return a.returnValue=!1},this.stopPropagation=function(a){a=window.event||!1;if(!a)return!1;a.cancelBubble=!0;return!1},this._unbind=function(a,c,d,e){a.detachEvent?a.detachEvent("on"+c,d):a["on"+c]=!1}); -this.unbindAll=function(){for(var b=0;b(a.newscrolly-f)*(c-f)||0>(a.newscrollx-k)*(b-k))&&a.cancelScroll();0==a.opt.bouncescroll&&(0>c?c=0:c>a.page.maxh&&(c=a.page.maxh),0>b?b=0:b>a.page.maxw&&(b=a.page.maxw));if(a.scrollrunning&&b==a.newscrollx&&c==a.newscrolly)return!1;a.newscrolly=c;a.newscrollx=b;a.newscrollspeed=d||!1;if(a.timer)return!1;a.timer=setTimeout(function(){var d=a.getScrollTop(),f=a.getScrollLeft(), -k=Math.round(Math.sqrt(Math.pow(b-f,2)+Math.pow(c-d,2))),k=a.newscrollspeed&&1=a.newscrollspeed&&(k*=a.newscrollspeed);a.prepareTransition(k,!0);a.timerscroll&&a.timerscroll.tm&&clearInterval(a.timerscroll.tm);0b?b=0:b>a.page.maxh&&(b=a.page.maxh);0>c?c=0:c>a.page.maxw&&(c=a.page.maxw);if(b!=a.newscrolly||c!=a.newscrollx)return a.doScrollPos(c, -b,a.opt.snapbackspeed);a.onscrollend&&a.scrollrunning&&a.triggerScrollEnd();a.scrollrunning=!1}):(this.doScrollLeft=function(b,c){var d=a.scrollrunning?a.newscrolly:a.getScrollTop();a.doScrollPos(b,d,c)},this.doScrollTop=function(b,c){var d=a.scrollrunning?a.newscrollx:a.getScrollLeft();a.doScrollPos(d,b,c)},this.doScrollPos=function(b,c,d){function e(){if(a.cancelAnimationFrame)return!0;a.scrollrunning=!0;if(p=1-p)return a.timer=v(e)||1;var b=0,c,d,f=d=a.getScrollTop();if(a.dst.ay){f=a.bzscroll? -a.dst.py+a.bzscroll.getNow()*a.dst.ay:a.newscrolly;c=f-d;if(0>c&&fa.newscrolly)f=a.newscrolly;a.setScrollTop(f);f==a.newscrolly&&(b=1)}else b=1;d=c=a.getScrollLeft();if(a.dst.ax){d=a.bzscroll?a.dst.px+a.bzscroll.getNow()*a.dst.ax:a.newscrollx;c=d-c;if(0>c&&da.newscrollx)d=a.newscrollx;a.setScrollLeft(d);d==a.newscrollx&&(b+=1)}else b+=1;2==b?(a.timer=0,a.cursorfreezed=!1,a.bzscroll=!1,a.scrollrunning=!1,0>f?f=0:f>a.page.maxh&&(f=Math.max(0,a.page.maxh)), -0>d?d=0:d>a.page.maxw&&(d=a.page.maxw),d!=a.newscrollx||f!=a.newscrolly?a.doScrollPos(d,f):a.onscrollend&&a.triggerScrollEnd()):a.timer=v(e)||1}c=void 0===c||!1===c?a.getScrollTop(!0):c;if(a.timer&&a.newscrolly==c&&a.newscrollx==b)return!0;a.timer&&w(a.timer);a.timer=0;var f=a.getScrollTop(),k=a.getScrollLeft();(0>(a.newscrolly-f)*(c-f)||0>(a.newscrollx-k)*(b-k))&&a.cancelScroll();a.newscrolly=c;a.newscrollx=b;a.bouncescroll&&a.rail.visibility||(0>a.newscrolly?a.newscrolly=0:a.newscrolly>a.page.maxh&& -(a.newscrolly=a.page.maxh));a.bouncescroll&&a.railh.visibility||(0>a.newscrollx?a.newscrollx=0:a.newscrollx>a.page.maxw&&(a.newscrollx=a.page.maxw));a.dst={};a.dst.x=b-k;a.dst.y=c-f;a.dst.px=k;a.dst.py=f;var h=Math.round(Math.sqrt(Math.pow(a.dst.x,2)+Math.pow(a.dst.y,2)));a.dst.ax=a.dst.x/h;a.dst.ay=a.dst.y/h;var l=0,n=h;0==a.dst.x?(l=f,n=c,a.dst.ay=1,a.dst.py=0):0==a.dst.y&&(l=k,n=b,a.dst.ax=1,a.dst.px=0);h=a.getTransitionSpeed(h);d&&1>=d&&(h*=d);a.bzscroll=0=a.page.maxh||k==a.page.maxw&&b>=a.page.maxw)&&a.checkContentSize();var p=1;a.cancelAnimationFrame=!1;a.timer=1;a.onscrollstart&&!a.scrollrunning&&a.onscrollstart.call(a,{type:"scrollstart",current:{x:k,y:f},request:{x:b,y:c},end:{x:a.newscrollx,y:a.newscrolly},speed:h});e();(f==a.page.maxh&&c>=f||k==a.page.maxw&&b>=k)&&a.checkContentSize();a.noticeCursor()}},this.cancelScroll=function(){a.timer&&w(a.timer);a.timer=0;a.bzscroll=!1;a.scrollrunning= -!1;return a}):(this.doScrollLeft=function(b,c){var d=a.getScrollTop();a.doScrollPos(b,d,c)},this.doScrollTop=function(b,c){var d=a.getScrollLeft();a.doScrollPos(d,b,c)},this.doScrollPos=function(b,c,d){var e=b>a.page.maxw?a.page.maxw:b;0>e&&(e=0);var f=c>a.page.maxh?a.page.maxh:c;0>f&&(f=0);a.synched("scroll",function(){a.setScrollTop(f);a.setScrollLeft(e)})},this.cancelScroll=function(){});this.doScrollBy=function(b,c){var d=0,d=c?Math.floor((a.scroll.y-b)*a.scrollratio.y):(a.timer?a.newscrolly: -a.getScrollTop(!0))-b;if(a.bouncescroll){var e=Math.round(a.view.h/2);d<-e?d=-e:d>a.page.maxh+e&&(d=a.page.maxh+e)}a.cursorfreezed=!1;e=a.getScrollTop(!0);if(0>d&&0>=e)return a.noticeCursor();if(d>a.page.maxh&&e>=a.page.maxh)return a.checkContentSize(),a.noticeCursor();a.doScrollTop(d)};this.doScrollLeftBy=function(b,c){var d=0,d=c?Math.floor((a.scroll.x-b)*a.scrollratio.x):(a.timer?a.newscrollx:a.getScrollLeft(!0))-b;if(a.bouncescroll){var e=Math.round(a.view.w/2);d<-e?d=-e:d>a.page.maxw+e&&(d=a.page.maxw+ -e)}a.cursorfreezed=!1;e=a.getScrollLeft(!0);if(0>d&&0>=e||d>a.page.maxw&&e>=a.page.maxw)return a.noticeCursor();a.doScrollLeft(d)};this.doScrollTo=function(b,c){a.cursorfreezed=!1;a.doScrollTop(b)};this.checkContentSize=function(){var b=a.getContentSize();b.h==a.page.h&&b.w==a.page.w||a.resize(!1,b)};a.onscroll=function(b){a.rail.drag||a.cursorfreezed||a.synched("scroll",function(){a.scroll.y=Math.round(a.getScrollTop()*(1/a.scrollratio.y));a.railh&&(a.scroll.x=Math.round(a.getScrollLeft()*(1/a.scrollratio.x))); -a.noticeCursor()})};a.bind(a.docscroll,"scroll",a.onscroll);this.doZoomIn=function(b){if(!a.zoomactive){a.zoomactive=!0;a.zoomrestore={style:{}};var c="position top left zIndex backgroundColor marginTop marginBottom marginLeft marginRight".split(" "),d=a.win[0].style,k;for(k in c){var h=c[k];a.zoomrestore.style[h]=void 0!==d[h]?d[h]:""}a.zoomrestore.style.width=a.win.css("width");a.zoomrestore.style.height=a.win.css("height");a.zoomrestore.padding={w:a.win.outerWidth()-a.win.width(),h:a.win.outerHeight()- -a.win.height()};e.isios4&&(a.zoomrestore.scrollTop=f(window).scrollTop(),f(window).scrollTop(0));a.win.css({position:e.isios4?"absolute":"fixed",top:0,left:0,zIndex:A+100,margin:0});c=a.win.css("backgroundColor");(""==c||/transparent|rgba\(0, 0, 0, 0\)|rgba\(0,0,0,0\)/.test(c))&&a.win.css("backgroundColor","#fff");a.rail.css({zIndex:A+101});a.zoom.css({zIndex:A+102});a.zoom.css("backgroundPosition","0px -18px");a.resizeZoom();a.onzoomin&&a.onzoomin.call(a);return a.cancelEvent(b)}};this.doZoomOut= -function(b){if(a.zoomactive)return a.zoomactive=!1,a.win.css("margin",""),a.win.css(a.zoomrestore.style),e.isios4&&f(window).scrollTop(a.zoomrestore.scrollTop),a.rail.css({"z-index":a.zindex}),a.zoom.css({"z-index":a.zindex}),a.zoomrestore=!1,a.zoom.css("backgroundPosition","0px 0px"),a.onResize(),a.onzoomout&&a.onzoomout.call(a),a.cancelEvent(b)};this.doZoom=function(b){return a.zoomactive?a.doZoomOut(b):a.doZoomIn(b)};this.resizeZoom=function(){if(a.zoomactive){var b=a.getScrollTop();a.win.css({width:f(window).width()- -a.zoomrestore.padding.w+"px",height:f(window).height()-a.zoomrestore.padding.h+"px"});a.onResize();a.setScrollTop(Math.min(a.page.maxh,b))}};this.init();f.nicescroll.push(this)},M=function(f){var c=this;this.nc=f;this.steptime=this.lasttime=this.speedy=this.speedx=this.lasty=this.lastx=0;this.snapy=this.snapx=!1;this.demuly=this.demulx=0;this.lastscrolly=this.lastscrollx=-1;this.timer=this.chky=this.chkx=0;this.time=function(){return+new Date};this.reset=function(f,h){c.stop();var d=c.time();c.steptime= -0;c.lasttime=d;c.speedx=0;c.speedy=0;c.lastx=f;c.lasty=h;c.lastscrollx=-1;c.lastscrolly=-1};this.update=function(f,h){var d=c.time();c.steptime=d-c.lasttime;c.lasttime=d;var d=h-c.lasty,q=f-c.lastx,t=c.nc.getScrollTop(),a=c.nc.getScrollLeft(),t=t+d,a=a+q;c.snapx=0>a||a>c.nc.page.maxw;c.snapy=0>t||t>c.nc.page.maxh;c.speedx=q;c.speedy=d;c.lastx=f;c.lasty=h};this.stop=function(){c.nc.unsynched("domomentum2d");c.timer&&clearTimeout(c.timer);c.timer=0;c.lastscrollx=-1;c.lastscrolly=-1};this.doSnapy=function(f, -h){var d=!1;0>h?(h=0,d=!0):h>c.nc.page.maxh&&(h=c.nc.page.maxh,d=!0);0>f?(f=0,d=!0):f>c.nc.page.maxw&&(f=c.nc.page.maxw,d=!0);d?c.nc.doScrollPos(f,h,c.nc.opt.snapbackspeed):c.nc.triggerScrollEnd()};this.doMomentum=function(f){var h=c.time(),d=f?h+f:c.lasttime;f=c.nc.getScrollLeft();var q=c.nc.getScrollTop(),t=c.nc.page.maxh,a=c.nc.page.maxw;c.speedx=0=h-d;if(0>q||q>t||0>f||f>a)d=!1;f=c.speedx&&d?c.speedx:!1;if(c.speedy&&d&&c.speedy|| -f){var r=Math.max(16,c.steptime);50p||p>a)&&(d=.1);c.speedy&&(e=Math.floor(c.lastscrolly-c.speedy*(1-c.demulxy)),c.lastscrolly=e,0>e||e>t)&&(d=.1);c.demulxy=Math.min(1,c.demulxy+ -d);c.nc.synched("domomentum2d",function(){c.speedx&&(c.nc.getScrollLeft(),c.chkx=p,c.nc.setScrollLeft(p));c.speedy&&(c.nc.getScrollTop(),c.chky=e,c.nc.setScrollTop(e));c.timer||(c.nc.hideCursor(),c.doSnapy(p,e))});1>c.demulxy?c.timer=setTimeout(v,r):(c.stop(),c.nc.hideCursor(),c.doSnapy(p,e))};v()}else c.doSnapy(c.nc.getScrollLeft(),c.nc.getScrollTop())}},y=f.fn.scrollTop;f.cssHooks.pageYOffset={get:function(h,c,k){return(c=f.data(h,"__nicescroll")||!1)&&c.ishwscroll?c.getScrollTop():y.call(h)},set:function(h, -c){var k=f.data(h,"__nicescroll")||!1;k&&k.ishwscroll?k.setScrollTop(parseInt(c)):y.call(h,c);return this}};f.fn.scrollTop=function(h){if(void 0===h){var c=this[0]?f.data(this[0],"__nicescroll")||!1:!1;return c&&c.ishwscroll?c.getScrollTop():y.call(this)}return this.each(function(){var c=f.data(this,"__nicescroll")||!1;c&&c.ishwscroll?c.setScrollTop(parseInt(h)):y.call(f(this),h)})};var z=f.fn.scrollLeft;f.cssHooks.pageXOffset={get:function(h,c,k){return(c=f.data(h,"__nicescroll")||!1)&&c.ishwscroll? -c.getScrollLeft():z.call(h)},set:function(h,c){var k=f.data(h,"__nicescroll")||!1;k&&k.ishwscroll?k.setScrollLeft(parseInt(c)):z.call(h,c);return this}};f.fn.scrollLeft=function(h){if(void 0===h){var c=this[0]?f.data(this[0],"__nicescroll")||!1:!1;return c&&c.ishwscroll?c.getScrollLeft():z.call(this)}return this.each(function(){var c=f.data(this,"__nicescroll")||!1;c&&c.ishwscroll?c.setScrollLeft(parseInt(h)):z.call(f(this),h)})};var E=function(h){var c=this;this.length=0;this.name="nicescrollarray"; -this.each=function(d){f.each(c,d);return c};this.push=function(d){c[c.length]=d;c.length++};this.eq=function(d){return c[d]};if(h)for(var k=0;k=1.8.3" - }, - "devDependencies": {}, - "npmName": "nicescroll", - "npmFileMap": [{ - "basePath": "/dist/", - "files": [ - "*.js", - "zoomico.png" - ] - }] -} diff --git a/d2ice.att.io/app/core/js/jquery.nicescroll-master/zoomico.png b/d2ice.att.io/app/core/js/jquery.nicescroll-master/zoomico.png deleted file mode 100755 index 57e32da4..00000000 Binary files a/d2ice.att.io/app/core/js/jquery.nicescroll-master/zoomico.png and /dev/null differ diff --git a/d2ice.att.io/app/core/layouts/dashboard/dashboard.html b/d2ice.att.io/app/core/layouts/dashboard/dashboard.html deleted file mode 100755 index 0bca2cd7..00000000 --- a/d2ice.att.io/app/core/layouts/dashboard/dashboard.html +++ /dev/null @@ -1,50 +0,0 @@ - -
- -
- -
- - -
-
- -
-
diff --git a/d2ice.att.io/app/core/layouts/dashboard/dashboard.less b/d2ice.att.io/app/core/layouts/dashboard/dashboard.less deleted file mode 100755 index 03d2c380..00000000 --- a/d2ice.att.io/app/core/layouts/dashboard/dashboard.less +++ /dev/null @@ -1,65 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.dashboard { - height: 100%; - - .content-container { - height: 100%; - position: relative; - padding-top: 55px; - #content { - height: 100%; - - .row { - height: auto; - } - } - } - - #sidebar { - padding: 20px 5px 20px 5px; - height: 100%; - overflow-y: auto; - - .line-separator { - border-bottom: dashed 1px @main_color_a; - margin: 20px 0; - } - } -} diff --git a/d2ice.att.io/app/core/layouts/full-page-with-header/full-page-with-header.html b/d2ice.att.io/app/core/layouts/full-page-with-header/full-page-with-header.html deleted file mode 100755 index ca2e0e18..00000000 --- a/d2ice.att.io/app/core/layouts/full-page-with-header/full-page-with-header.html +++ /dev/null @@ -1,79 +0,0 @@ - - - -
-
-

-

-
-
-
-
-
-
- -
-
-
-
-
-
-
diff --git a/d2ice.att.io/app/core/layouts/full-page-with-header/full-page-with-header.less b/d2ice.att.io/app/core/layouts/full-page-with-header/full-page-with-header.less deleted file mode 100755 index ba8b5d2e..00000000 --- a/d2ice.att.io/app/core/layouts/full-page-with-header/full-page-with-header.less +++ /dev/null @@ -1,112 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -#full-page-with-header { - margin-top: 59px; - background: url('images/top.jpg') no-repeat 0 0; - - #content { - overflow: auto; - position: absolute; - top: 201px; - bottom: 0; - right: 0; - left: 0; - height: auto; - } - - #header-title { - height: 130px; - } - - .banner { - -webkit-box-shadow:0 1px 2px rgba(43, 48, 51, 0.08); - -moz-box-shadow:0 1px 2px rgba(43, 48, 51, 0.08); - box-shadow:0 1px 2px rgba(43, 48, 51, 0.08); - z-index:20; - } - - .navbar { - background-color:#fff; - margin-bottom:0; - } - - #logo { - float:left; - display:block; - margin:20px 0; - } - #logo .logo-trans {display:none} - - /* Transparent Header */ - .banner[data-transparent-header="true"] { - width:100%; - /*top:0; - left:0; - position:absolute; - overflow:visible !important;*/ - z-index:9998; - background-color:transparent; - box-shadow:none; - -webkit-box-shadow:none; - -moz-box-shadow:none; - -o-box-shadow:none; - border-bottom:1px solid rgba(255,255,255,0.25) !important; - } - - .boxed-mode .banner[data-transparent-header="true"] { - left:0; right:0; margin:0 auto; - } - - .banner[data-transparent-header="true"] #logo .logo-trans {display:inline} - .banner[data-transparent-header="true"] #logo .logo-main {display:none} - - .banner[data-transparent-header="true"] .navbar-nav > li > a, - .banner[data-transparent-header="true"] .navbar-nav > li.active > a {color:#fff} - .banner[data-transparent-header="true"] .navbar-nav > li > a:hover, - .banner[data-transparent-header="true"] .navbar-nav > li.active > a:hover {color:#fff} - - .banner[data-transparent-header="true"] .navbar-nav > li > a:hover:after, - .banner[data-transparent-header="true"] .navbar-nav > li.active > a:after, - .banner[data-transparent-header="true"] .navbar-nav > li.active > a:hover:after, - .banner[data-transparent-header="true"] .navbar-nav > li.active > a:focus:after {background-color:#fff} - - .menu-seperator { - .p_14_r; - } -} diff --git a/d2ice.att.io/app/core/navigation/layouts/account-navigation/account.navigation.controller.js b/d2ice.att.io/app/core/navigation/layouts/account-navigation/account.navigation.controller.js deleted file mode 100755 index 0f966cf2..00000000 --- a/d2ice.att.io/app/core/navigation/layouts/account-navigation/account.navigation.controller.js +++ /dev/null @@ -1,63 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -/** - * Created by almog on 28/05/2017. - */ -(function () { - 'use strict'; - angular - .module('ice.dashboard.account', []) - .controller('accountNavigationController', ['$state', accountNavigationController]); - - function accountNavigationController($state) { - var vm = this; - - var init = function() - { - vm.selectedPage = $state.$current.name || 'app.account'; - }; - - vm.loadPageContent = function(sref) { - vm.selectedPage = sref; - $state.go(sref); - }; - - init(); - } -})(); diff --git a/d2ice.att.io/app/core/navigation/layouts/account-navigation/navigation.html b/d2ice.att.io/app/core/navigation/layouts/account-navigation/navigation.html deleted file mode 100755 index 4bdcc529..00000000 --- a/d2ice.att.io/app/core/navigation/layouts/account-navigation/navigation.html +++ /dev/null @@ -1,48 +0,0 @@ - -
- -

Profile

-
    -
  • Account»
  • -
  • Settings»
  • -
  • Notifications»
  • -
-
- diff --git a/d2ice.att.io/app/core/navigation/layouts/account-navigation/navigation.less b/d2ice.att.io/app/core/navigation/layouts/account-navigation/navigation.less deleted file mode 100755 index 34a824e8..00000000 --- a/d2ice.att.io/app/core/navigation/layouts/account-navigation/navigation.less +++ /dev/null @@ -1,75 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.navigation { - - - h1.caption { - .a_24_m; - position: relative; - } - h1.caption.profile { - float:none; - } - - li { - text-decoration: none; - list-style: none; - } - - ul.actions-list { - & > li { - .m_16_r; - margin: 0 0 20px 0; - cursor: pointer; - - &.selected { - .m_16_m; - text-decoration: underline; - } - - span { - &.selected { - float: right; - text-decoration: none; - } - } - } - } - -} diff --git a/d2ice.att.io/app/core/navigation/layouts/admin-navigation/admin.navigation.controller.js b/d2ice.att.io/app/core/navigation/layouts/admin-navigation/admin.navigation.controller.js deleted file mode 100755 index 9d74511f..00000000 --- a/d2ice.att.io/app/core/navigation/layouts/admin-navigation/admin.navigation.controller.js +++ /dev/null @@ -1,93 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -/** - * Created by le056g on 07/02/2017. - */ -(function () { - 'use strict'; - angular - .module('ice.main.admin', ['ice.services.users']) - .controller('adminNavigationController', ['$scope', '$log', 'checklistService', '$rootScope', '$state', - adminNavigationController]); - - function adminNavigationController($scope, $log, checklistService, $rootScope, $state) { - var vm = this; - - var init = function(){ - vm.checkListTemplates=null; - initChecklistTemplates(); - registerWatchers(); - }; - - var registerWatchers = function() { - $scope.$watch(function () { return $state.params.templateName; }, function (newValue, oldValue) { - if (newValue !== oldValue && vm.selectedTemplate){ - vm.selectedTemplate.name = newValue; - }; - }); - }; - - var initChecklistTemplates = function(){ - checklistService.getChecklistTemplates() - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200 && response.data && response.data !== '') { - vm.checkListTemplates = response.data.checkListTemplates; - } - else { - $log.debug("getChecklistTemplates Failed. response.status="+response.status) - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - }; - - vm.selectTemplate = function(template){ - if(template !== vm.selectedTemplate) { - vm.selectedTemplate = template; - $state.go('app.admin.checklisttemplate', {template_uuid:template.uuid}); - } - - }; - - init(); - } -})(); diff --git a/d2ice.att.io/app/core/navigation/layouts/admin-navigation/navigation.html b/d2ice.att.io/app/core/navigation/layouts/admin-navigation/navigation.html deleted file mode 100755 index 54974f71..00000000 --- a/d2ice.att.io/app/core/navigation/layouts/admin-navigation/navigation.html +++ /dev/null @@ -1,64 +0,0 @@ - -
- -

Admin

- - -
- - - diff --git a/d2ice.att.io/app/core/navigation/layouts/admin-navigation/navigation.less b/d2ice.att.io/app/core/navigation/layouts/admin-navigation/navigation.less deleted file mode 100755 index ea2c112f..00000000 --- a/d2ice.att.io/app/core/navigation/layouts/admin-navigation/navigation.less +++ /dev/null @@ -1,133 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.admin-navigation { - - .menu-engagements-category { - margin-bottom: 20px; - .menu-engagement-category-title { - .m_16_m; - border-bottom: solid 2px; - border-color: @main_color_q; - margin: 10px 0; - } - } - - border-right: 1px solid @main_color_q; - height: 100%; - background-color: @bg_color_navigation; - overflow-y: auto; - padding: 0px 20px; - - li { - text-decoration: none; - list-style: none; - } - - ul.engagements-list { - & > li { - .m_16_r; - margin: 0 0 10px 0; - &.selected { - .a_16_m; - - } - } - } - ul.engagements-list li { - position:relative; - } - - ul.engagements-list .clickable { - display: block; - cursor: pointer; - } - - ul.engagement-details { - padding: 0 0 0 8px; - border-left: 1px solid; - border-color: @main_color_q; - - .m_14_r; - & > li { - margin: 0px; - line-height: 18px; - &.selected { - - & > .engagement_detail_menu_name { - text-decoration: underline; - } - - & > .engagement_detail_menu_raquo { - float: right; - margin-right: 20px; - } - } - } - } - - ul.engagement-details > li.engagement-details-sub-catgeory { - margin-top: 5px; - } - ul.engagement-details > li.engagement-details-sub-catgeory > .sub-category-title { - font-size: 16px; - font-weight: bold; - } - - .sub-category { - display: inline-block; - margin: 0 0 10px 0; - .a_16_m; - position: relative; - } - - .admin-navbar{ - padding-right: 0px; - padding-left: 0px; - } - - .template-selected { - .m_14_m; - .checklist-icon { - .sprite.active-cl; - } - text-decoration: underline; - } - - -} diff --git a/d2ice.att.io/app/core/navigation/layouts/documentation-navigation/documentation.navigation.controller.js b/d2ice.att.io/app/core/navigation/layouts/documentation-navigation/documentation.navigation.controller.js deleted file mode 100755 index 9c63f9c7..00000000 --- a/d2ice.att.io/app/core/navigation/layouts/documentation-navigation/documentation.navigation.controller.js +++ /dev/null @@ -1,100 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -/** - * Created by almog on 06/02/2017. - */ -(function () { - 'use strict'; - angular - .module('ice.documentation', []) - .controller('documentationNavigationController', ['_', '$state','cmsService', 'sessionStorageService', '$log', - documentationNavigationController]); - - function documentationNavigationController(_, $state,cmsService, sessionStorageService, $log) { - var vm = this; - var documentationLastPageSessionKey = 'LastDocumentationPageId'; - - var init = function() - { - - - cmsService.getPages("Documentation") - .then(function(response) { - if(response && response.data && response.data.length === 1) { - vm.documentationPage = response.data[0]; - - var lastPageId = sessionStorageService.getJson(documentationLastPageSessionKey); - if(lastPageId) { - vm.loadPageContent(lastPageId); - } else { - vm.loadPageContent(vm.documentationPage.id); - } - } - }) - .catch(function(error) { - $log.error(error); - }); - }; - - vm.loadPageContent = function(pageId) { - if(vm.selectedSearchedPage) { - delete vm.selectedSearchedPage; - } - - vm.pageId = pageId; - sessionStorageService.setJson(documentationLastPageSessionKey, pageId); - $state.go('app.documentation.page',{page_id: pageId}); - }; - - vm.isPageCollapsed = function(page) { - var result = true; - - if(page && page.children && page.children.length > 0) { - var pages = _.flatMap(page.children, function(child) { - return _.concat(child.children, child); - }); - result = (page.id != vm.pageId) && !_.some(pages, ['id', vm.pageId]); - } - - return result; - }; - - init(); - } -})(); diff --git a/d2ice.att.io/app/core/navigation/layouts/documentation-navigation/navigation.html b/d2ice.att.io/app/core/navigation/layouts/documentation-navigation/navigation.html deleted file mode 100755 index 28bb653c..00000000 --- a/d2ice.att.io/app/core/navigation/layouts/documentation-navigation/navigation.html +++ /dev/null @@ -1,85 +0,0 @@ - -
- - -

Documentation

- - - - diff --git a/d2ice.att.io/app/core/navigation/layouts/documentation-navigation/navigation.less b/d2ice.att.io/app/core/navigation/layouts/documentation-navigation/navigation.less deleted file mode 100755 index ef6b6c12..00000000 --- a/d2ice.att.io/app/core/navigation/layouts/documentation-navigation/navigation.less +++ /dev/null @@ -1,110 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.navigation { - .documentation { - border-right: 1px solid @main_color_q; - height: 100%; - background-color: @bg_color_navigation; - overflow-y: auto; - padding: 0px 20px; - #documentation-search { - margin-bottom: 20px; - } - - #mobile-collapse { display:none;} - @media (max-width: 992px) { - #mobile-collapse { - display: block; - position: relative; - top: 24px; - color: @main_color_a; - cursor:pointer; - } - } - - h1.caption { - .a_24_m; - position: relative; - } - h1.caption.documentation { - float: none; - width: 95%; - } - - li { - text-decoration: none; - list-style: none; - } - - ul.actions-list { - .pages-list { - .page { - display: block; - cursor: pointer; - margin-bottom: 5px; - padding-top: 5px; - .m_16_r; - } - .sub-page { - display: block; - cursor: pointer; - line-height: 22px; - } - .selected { - .a_16_m; - } - .page-childs { - .f-type._14_r; - cursor: pointer; - padding: 3px 0 0 8px; - border-left: 1px solid; - border-color: @main_color_q; - color: @main_color_m; - .selected { - .a_14_m; - } - } - } - } - - span.fa-caret-right { - vertical-align: middle; - } - } -} diff --git a/d2ice.att.io/app/core/navigation/layouts/horizontal-navigation/navigation.html b/d2ice.att.io/app/core/navigation/layouts/horizontal-navigation/navigation.html deleted file mode 100755 index 17bc1996..00000000 --- a/d2ice.att.io/app/core/navigation/layouts/horizontal-navigation/navigation.html +++ /dev/null @@ -1,197 +0,0 @@ - -
- - -

Engagements

- - - - - - - diff --git a/d2ice.att.io/app/core/navigation/layouts/horizontal-navigation/navigation.less b/d2ice.att.io/app/core/navigation/layouts/horizontal-navigation/navigation.less deleted file mode 100755 index 63b48c32..00000000 --- a/d2ice.att.io/app/core/navigation/layouts/horizontal-navigation/navigation.less +++ /dev/null @@ -1,208 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.navigation{ - height: 100%; - padding: 0; -} - -.dashboard-navigation { - #engagement-search { - margin-bottom: 20px; - .popover .popover-content{ - padding: 5px 10px; - color: #5a5a5a; - font-family: omnes-regular, sans-serif; - font-size: 10px; - } - .popover.right > .arrow:after { - bottom: 10px; - left: 1px; - content: " "; - } - .popover > .arrow { - border-width: 0px; - } - } - .menu-engagements-category { - margin-bottom: 20px; - .menu-engagement-category-title { - .m_16_m; - border-bottom: solid 2px; - border-color: @main_color_q; - margin: 10px 0; - } - } - #mobile-collapse { display:none;} - - @media (max-width: 992px) { - - #mobile-collapse { - display: block; - position: relative; - top: 21px; - color: @main_color_a; - cursor:pointer; - } - } - - #search-no-results { - margin-top: 10px; - } - #nav-bar-wrapper { - padding:0px; - } - border-right: 1px solid @main_color_q; - height: 100%; - background-color: @bg_color_navigation; - overflow-y: auto; - padding: 0px 20px; - - @media (max-width: 992px) { - height:auto; - } - h1.caption { - float: left; - .a_24_m; - position: relative; - .add-engagement { - display: inline-block; - margin-left: 8px; - cursor: pointer; - position: relative; - top: 2px; - } - } - - li { - text-decoration: none; - list-style: none; - } - - ul.engagements-list { - & > li { - .m_16_r; - margin: 0 0 10px 0; - &.selected { - .a_16_m; - - } - } - } - ul.engagements-list li { - position:relative; - } - - ul.engagements-list .red_dot { - .sprite.items-todo; - display: block; - position: absolute; - left: -12px; - top: 4px; - } - ul.engagements-list .clickable { - display: block; - cursor: pointer; - } - - ul.engagement-details > li.engagement-details-sub-catgeory .selected { - .m_14_m; - .checklist-icon { - .sprite.active-cl; - } - } - - ul.engagement-details { - padding: 0 0 0 8px; - border-left: 1px solid; - border-color: @main_color_q; - - .m_14_r; - & > li { - margin: 0px; - line-height: 18px; - &.selected { - - & > .engagement_detail_menu_name { - text-decoration: underline; - } - - & > .engagement_detail_menu_raquo { - float: right; - margin-right: 20px; - } - } - } - } - - ul.engagement-details > li.engagement-details-sub-catgeory { - margin-top: 5px; - } - ul.engagement-details > li.engagement-details-sub-catgeory > .sub-category-title { - font-size: 16px; - font-weight: bold; - } - ul.engagement-details > li.engagement-details-sub-catgeory > .sub-category-title > .add-checklist { - width: 18px; - height: 18px; - display: inline-block; - padding-left: 2px; - position: relative; - top: 2px; - } - - ul.engagement-details > li.engagement-details-sub-catgeory > .engagement-checklist { - padding-left: 6px; - } - - ul.engagement-details > li.engagement-details-sub-catgeory > .engagement-checklist > li > .checklist-icon { - display: inline-block; - position: relative; - top: 2px; - left: -5px; - } - .search-engagement-name { - text-decoration: underline; - display:block; - } - .search-engagement-fields { - font-size: smaller; - display:block; - } - -} diff --git a/d2ice.att.io/app/core/navigation/navigation.controller.js b/d2ice.att.io/app/core/navigation/navigation.controller.js deleted file mode 100755 index 5013b7b4..00000000 --- a/d2ice.att.io/app/core/navigation/navigation.controller.js +++ /dev/null @@ -1,456 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.navigation', ['ui.bootstrap']) - .controller('NavigationController', ["$rootScope", "$q", "iceConstants","pageService","$location", "vfService", - "localStorageService", "$state", "usersService", "$uibModal",'$scope','$window', 'toastService', - '$log', NavigationController]); - - function NavigationController($rootScope, $q,iceConstants, pageService, $location, vfService, localStorageService, - $state, usersService, $uibModal, $scope, $window, toastService, $log) { - var vm = this; - - $scope.selected = undefined; - $scope.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']; - - vm.formatted_engagements = {}; - vm.starred_engagements = {}; - vm.recent_engagements = {}; - vm.showOpenWizardButton = false; - var userData = usersService.getUserData(); - if(userData!=undefined && - userData.activationSuccess==true){ - vm.activation_success = true; - } - vm.selectEngagement = function (uuid, view_type, sub_id, enable_refresh) { - var w = angular.element($window); - - if (view_type != undefined && w.width() < 992) { - $('.navbar-collapse').collapse("hide"); - } - - if ($state.params.messagePass != null) - { - toastService.setToast($state.params.messagePass, 'success'); - $state.params.messagePass == null; - } - - if (uuid == undefined && localStorageService.getJson("ice.settings.eng_uuid") != undefined) - uuid = localStorageService.getJson("ice.settings.eng_uuid"); - else - $state.go('app.dashboard.dashboard'); - - var deferred = $q.defer(); - - if (view_type != undefined) { - vm.view_type = view_type; - } else if ( pageService.getPage() != '') { - vm.view_type = pageService.getPage(); - } else if ( localStorageService.getJson("ice.settings.view_type") != undefined) { - vm.view_type = localStorageService.getJson("ice.settings.view_type"); - } else { - vm.view_type = 'overview'; - } - - if (sub_id != undefined) { - sub_id = sub_id; - } else if (localStorageService.getJson("ice.settings.sub_id") != undefined) { - sub_id = localStorageService.getJson("ice.settings.sub_id"); - } - - localStorageService.setJson("ice.settings.view_type",vm.view_type); - localStorageService.setJson("ice.settings.sub_id",sub_id); - pageService.setPage(vm.view_type); - $scope.$watch(function () { return pageService.getPage(); }, function (newValue, oldValue) { - if (newValue !== oldValue) vm.view_type = newValue; - }); - - // Select | unselect the engagement on navigation panel. - vm.engagement = undefined; - angular.forEach(vm.recent_engagements,function (item,key) { - if (item.uuid === uuid) { - vm.engagement = item; - vm.engagement.selected = true; - vm.engagement.page = vm.view_type - vm.engagement.sub_id = sub_id; - vm.engagement.view_type = vm.view_type; - } else { - item.selected = undefined; - } - var uuidJson = { - selectedUuid: uuid - }; - vm.recent_engagements[key] = item; - }); - - angular.forEach(vm.starred_engagements, function (item,key) { - if (item.uuid === uuid) { - vm.engagement = item; - vm.engagement.selected = true; - vm.engagement.page = vm.view_type - vm.engagement.sub_id = sub_id; - vm.engagement.view_type = vm.view_type; - - } else { - item.selected = undefined; - } - var uuidJson = { - selectedUuid: uuid - }; - vm.starred_engagements[key] = item; - }); - - if (!vm.engagement) { - if (vm.last_not_found_engagement != true) { - localStorageService.setJson("ice.settings.eng_uuid", undefined); - initEngagements(); - } else { - initEngagements(true); - } - } else { - - localStorageService.setJson("ice.settings.eng_uuid", uuid); - vm.showOpenWizardButton = true; - - if(enable_refresh === undefined || enable_refresh === true){ //We won't refresh the page if located on the new dashboard view (dashboard.dashboard) (because it's wrong to refresh and we lose the page number). - if (vm.activation_success) - { - $state.go('app.dashboard.'+vm.view_type,{engagement_uuid:uuid,engagement:vm.engagement,sub_id:sub_id,messagePass: "You have successfully activated your account!"}); - } - else { - $state.go('app.dashboard.'+vm.view_type,{engagement_uuid:uuid,engagement:vm.engagement,sub_id:sub_id,messagePass: null}); - } - } - } - - vm.isReviewer = usersService.isReviewer(vm.me, vm.engagement.reviewer_uuid); - vm.isPeerReviewer = usersService.isPeerReviewer(vm.me, vm.engagement.peer_reviewer_uuid); - deferred.resolve(uuid); - return deferred.promise; - - }; - - - vm.searchSelectEngagement = function (engagement_uuid){ - vfService.getSingleEngagement(vm.me.uuid,engagement_uuid) - .then(function (response) { - $rootScope.ice.loader.show = false; - - if (response.status === 200 && response.data && response.data !== '') { - initEngagements(false, {uuid : engagement_uuid,page_type:'overview',sub_id:undefined}); - - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - } - - var init = function () { - - // In case the url is dashboard/ then we come from server redirect, need to load user withuot login. - // This is a workaround to remove slash at the beginning. - // The slash is there because the ui-router does not support optional params in URL address, and I used regex: - // url: '/dashboard{user_uuid: (?:/[^/]+)?}' and the value returned for user_uuid contains slash at the start. - vm.me = vm.user = usersService.getUserData(); - vm.isAdmin = usersService.isAdmin(vm.me); - vm.isEngagementEL = usersService.isUserInRole(iceConstants.roles.el); - vm.vfc_num = 0; - // In case user exist in localStorage but not active redirect to activation link. - if (vm.user && vm.user.is_active===false) { - $state.go('app.resend_activation', {"message": "Please activate your account first"}); - return; - } - - // In case user is not in localStorage redirect to login page - if (vm.user === undefined) { - $state.go('app.login', {"message": "Please login first"}); - return; - } - initEngagements(false); - - $rootScope.$on('onUpdateEngagements', function (event,args) { - - if (args != undefined && args.select != undefined) - { - initEngagements(false,args.select); - } else { - initEngagements(true); - } - }); - - }; - - var initEngagements = function (selectLast,manual_select) { - $rootScope.ice.loader.show = true; - vm.starred_engagements = {}; - vm.recent_engagements = {}; - vm.formatted_engagements = {}; - vfService.getStarredEngagements() - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200 && response.data && response.data !== '') { - iterate_over_engagements(response.data,true, false); - } - else if (response.status === 204){ - $log.error("no starred VFs were found for you."); - } - else { - $log.error("getStarredEngagements Failed.") - } - - vfService.getRecentEngagements() - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200 && response.data && response.data !== '') { - if (response.data.length > 0) { - iterate_over_engagements(response.data, false, true, selectLast, manual_select); - } - else { - $state.go('app.dashboard.overview', { - engagement_uuid: undefined, - engagement: undefined, - sub_id: undefined - }); - } - } - else if (response.status === 204){ - $log.error("no recent VFs were found for you."); - select_active_engagements(selectLast); - } - else { - $log.error("getRecentEngagements Failed.") - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - - }; - - $rootScope.$on('searchSelectEngagement', function (event,eng_uuid) { - vm.searchSelectEngagement(eng_uuid); - }); - - var iterate_over_engagements = function(engagements, starred, recent,selectLast,manual_select) { - var i = undefined; - for( i = 0 ; i < engagements.length; i++){ - var engagement = {}; - if (starred === true) - { - engagement.creator = engagements[i].engagement__creator__uuid; - engagement.is_service_provider_internal = engagements[i].is_service_provider_internal; - engagement.name = engagements[i].engagement__engagement_manual_id + ": " + engagements[i].name; - engagement.engagement_manual_id = engagements[i].engagement__engagement_manual_id; - engagement.reviewer_uuid = engagements[i].engagement__reviewer__uuid; - engagement.uuid = engagements[i].engagement__uuid; - engagement.peer_reviewer_uuid = engagements[i].engagement__peer_reviewer__uuid; - } else { - engagement.creator = engagements[i].vf__engagement__creator__uuid; - engagement.is_service_provider_internal = engagements[i].vf__is_service_provider_internal; - engagement.name = engagements[i].vf__engagement__engagement_manual_id + ": " + engagements[i].vf__name; - engagement.engagement_manual_id = engagements[i].vf__engagement__engagement_manual_id; - engagement.uuid = engagements[i].vf__engagement__uuid; - engagement.last_update = engagements[i].last_update; - engagement.reviewer_uuid = engagements[i].vf__engagement__reviewer__uuid; - engagement.peer_reviewer_uuid = engagements[i].vf__engagement__peer_reviewer__uuid; - } - - if (engagements[i].action_type !="NAVIGATED_INTO_ENGAGEMENT") - engagement.red_dot = engagements[i].action_type.split("_").join(" "); - else - engagement.red_dot = false; - - engagement.checklists = engagements[i].checklists; - - engagement.page = 'overview'; - - vm.formatted_engagements[engagement.engagement_manual_id] = engagement; - if(starred === true){ - vm.starred_engagements[engagement.engagement_manual_id] = engagement; - } - else if (recent === true){ - if (vm.starred_engagements[engagement.engagement_manual_id] == undefined) - vm.recent_engagements[engagement.engagement_manual_id] = engagement; - } - } - if (manual_select !=undefined) { - if(!manual_select.view_type) { - vm.selectEngagement(manual_select.uuid, manual_select.page_type, manual_select.sub_id, manual_select.enable_refresh); - } - else{ - vm.selectEngagement(manual_select.uuid, manual_select.view_type, manual_select.sub_id, manual_select.enable_refresh); - } - } - else if (selectLast != undefined) - { - select_active_engagements(selectLast); - } - - return new Promise(function(resolve, reject) { - resolve(vm.formatted_engagements); - }); - } - - var select_active_engagements = function (selectLast) { - var eng_uuid = false; - var selected_eng_uuid = localStorageService.getJson("ice.settings.eng_uuid"); - var currUser = usersService.getUserData(); - var keys = Object.keys(vm.formatted_engagements); - if ( keys.length > 0 ){ // This case represents a user has any engagements to work on - if (selectLast == true) { - eng_uuid = vm.formatted_engagements[Object.keys(vm.formatted_engagements)[0]].uuid; - } - else if ($location.search().eng_uuid) { - eng_uuid = $location.search().eng_uuid; - } - else if (selected_eng_uuid != null) { // if you re-visit the page after you already been inside, than the last select eng is stored in the storage - eng_uuid = selected_eng_uuid; - } - else if($state.params.engagement_uuid!=undefined){ - // if we came from any different page or came from activation and is an invited user or has already been attached to an engagement ('contact' user) so the login url has consisted a engagement uuid as a path param - eng_uuid = $state.params.engagement_uuid; - } - if (eng_uuid != false) { - var selectPromise = vm.selectEngagement(eng_uuid); - } else { - $state.go('app.dashboard.dashboard'); - if ($state.params.messagePass != null) - { - toastService.setToast($state.params.messagePass, 'success'); - $state.params.messagePass == null; - } - } - - if (eng_uuid == false) - { - eng_uuid = vm.formatted_engagements[Object.keys(vm.formatted_engagements)[0]].uuid; - vm.engagement = vm.formatted_engagements[Object.keys(vm.formatted_engagements)[0]]; - } - /* If user performs activation and he is the creator of current engagement*/ - if (vm.engagement != undefined && vm.engagement.creator!=null && - currUser.uuid == vm.engagement.creator && - vm.activation_success==true) { - vm.openGettingStartedWizard(eng_uuid); - } - } - else if (currUser.activationSuccess==true) { - //This case handles new user with no engs that performs activation - vm.openGettingStartedWizard(); - $state.go('app.dashboard.dashboard'); - } else { - $state.go('app.dashboard.dashboard'); - } - vm.activation_success = false; - usersService.setUserActivationSuccess(undefined);// Cleaning the activationSuccess flag - }; - - - init(); - - - vm.openGettingStartedWizard = function (eng_uuid) { - var is_service_provider_internal = vm.engagement && eng_uuid ? vm.engagement.is_service_provider_internal : false; - eng_uuid = eng_uuid || ''; - var args = { - user: vm.user, - eng_uuid: eng_uuid, - is_service_provider_internal: is_service_provider_internal, - showActivationMessage: vm.activation_success - } - $rootScope.$broadcast('openGettingStartedWizard', args); - - vm.activation_success = false; - }; - - vm.addChecklist = function(engagementUuid){ - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/checklist/checklist.html', - controller: 'ChecklistModalController', - controllerAs: 'vm', - size: 'lg', - resolve: { - engagementUuid: function () { - return engagementUuid; - }, - modal_type: function () { - return 'create'; - }, - wizardData: function () { - return false; - } - } - }); - - // Update the progress after modal closed. - modalInstance.result.then(function (data) { - var sub_id = undefined; - if (data != undefined) { - sub_id = data.uuid; - initEngagements(false,{uuid:engagementUuid,page_type: 'checklist',sub_id:sub_id}); - - if(data.progress) { - vm.callback(data); - } - } - }, function () { - $log.debug('Modal dismissed at: ' + new Date()); - }); - }; - - } -})(); diff --git a/d2ice.att.io/app/core/navigation/navigation.module.js b/d2ice.att.io/app/core/navigation/navigation.module.js deleted file mode 100755 index 0d936f3b..00000000 --- a/d2ice.att.io/app/core/navigation/navigation.module.js +++ /dev/null @@ -1,51 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.navigation', []) - .config(config); - - function config() { - - } - -})(); diff --git a/d2ice.att.io/app/core/toolbar/layouts/horizontal-navigation/toolbar.html b/d2ice.att.io/app/core/toolbar/layouts/horizontal-navigation/toolbar.html deleted file mode 100755 index e1bbda0a..00000000 --- a/d2ice.att.io/app/core/toolbar/layouts/horizontal-navigation/toolbar.html +++ /dev/null @@ -1,75 +0,0 @@ - -
- -
- - - -
- - - - -
- {{vm.notifications}} -
- -
- - - - -
diff --git a/d2ice.att.io/app/core/toolbar/layouts/horizontal-navigation/toolbar.less b/d2ice.att.io/app/core/toolbar/layouts/horizontal-navigation/toolbar.less deleted file mode 100755 index 75d0bbf9..00000000 --- a/d2ice.att.io/app/core/toolbar/layouts/horizontal-navigation/toolbar.less +++ /dev/null @@ -1,132 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.dashboard { - .dropdown-menu { - .divider { - margin: 0; - } - li { - margin: 8px; - - a.logout { - color: @func_color_q; - } - - a.dashboard-admin-link{ - .a_16_r; - } - - i { - margin-right: 10px; - } - } - } - - #toolbar { - background-color: @toolbar_background_color; - height: 55px; - display: flex; - flex-direction: row; - align-items: center; - - .header-logo { - .logo-white; - margin: 0 30px; - } - - ul.header-top-menu { - display: flex; - flex-direction: row; - justify-content: center; - margin: 0; - - li { - list-style: none; - margin: 0 20px; - - a { - .p_18_m; - text-decoration: none; - } - } - } - - .header-right { - margin: 0 30px; - display: flex; - flex-direction: row; - justify-content: flex-end; - - .dropdown-menu { - left: -120px; - - } - - .header-chat { - .profiles-sprite; - .profiles-sprite.notification; - margin-right: 10px; - position: relative; - } - .header-avatar { - .profiles-sprite; - .profiles-sprite.avatar-white; - cursor: pointer; - - .notifications { - min-width: 16px; - height: 16px; - border: solid 1px #ffffff; - background-color: #F5A623; - display: block; - position: absolute; - left: 22px; - - .count { - .p_10_r; - display: block; - margin-left: 4px; - margin-right: 4px; - margin-top: 1px; - } - } - } - } - } -} diff --git a/d2ice.att.io/app/core/toolbar/toolbar.controller.js b/d2ice.att.io/app/core/toolbar/toolbar.controller.js deleted file mode 100755 index 8d47b89f..00000000 --- a/d2ice.att.io/app/core/toolbar/toolbar.controller.js +++ /dev/null @@ -1,94 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.toolbar') - .controller('ToolbarController', ["$rootScope", "localStorageService", "usersService", "$state", "$log","$uibModal", - ToolbarController]); - - function ToolbarController($rootScope, localStorageService, usersService, $state, $log, $uibModal) { - - var vm = this; - vm.notifications = 0; - - - var user = usersService.getUserData(); - if (user){ - vm.isAdmin = usersService.isAdmin(user); - usersService.getNotifications(user.uuid) - .then(function (response) { - if (response.status === 200) { - vm.notifications = response.data.notifications_number? response.data.notifications_number:0; - } - }) - .catch(function (error) { - $log.error(error); - }); - } - - vm.logout = function() { - usersService.resetUserData(); - localStorageService.setJson("ice.settings.eng_uuid", undefined); - $state.go('app.login'); - }; - - vm.addFeedback = function () { - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/feedback/feedback.html', - controller: 'FeedbackModalController', - controllerAs: 'vm', - size: 'lg', - resolve: { - action: function () { - return 'add'; - } - } - }); - }; - - $rootScope.$on('eventClearNotifications', function (event, args) { - vm.notifications = 0; - }); - - } - -})(); diff --git a/d2ice.att.io/app/core/toolbar/toolbar.module.js b/d2ice.att.io/app/core/toolbar/toolbar.module.js deleted file mode 100755 index 75dd3538..00000000 --- a/d2ice.att.io/app/core/toolbar/toolbar.module.js +++ /dev/null @@ -1,51 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.toolbar', []) - .config(config); - - function config() { - - } - -})(); diff --git a/d2ice.att.io/app/directives/ice-announcement/ice-announcement.directive.js b/d2ice.att.io/app/directives/ice-announcement/ice-announcement.directive.js deleted file mode 100755 index e70d5d61..00000000 --- a/d2ice.att.io/app/directives/ice-announcement/ice-announcement.directive.js +++ /dev/null @@ -1,91 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.directives') - .directive('iceAnnouncement', ['$rootScope', 'cmsService', 'localStorageService', iceAnnouncement]); - - function iceAnnouncement($rootScope, cmsService, localStorageService) { - var directive = {}; - directive.restrict = 'E'; - directive.templateUrl = 'directives/ice-announcement/ice-announcement.html'; - directive.link = function (scope, element, attrs) { - var lastAnnouncementStorageKey = 'lastAnnouncement'; - - var init = function() { - var announcement = cmsService.getAnnouncement(); - - if(announcement) { - scope.toast = announcement; - - //announcement will be presented for two days: - var twoDaysBeforeDate = new Date(); - twoDaysBeforeDate.setDate(twoDaysBeforeDate.getDate() - 2); - var publishedDate = new Date(scope.toast.publishDate); - if(publishedDate < twoDaysBeforeDate) { - scope.closeAlert(); - } - } - }; - - scope.closeAlert = function() { - scope.toast.show = false; - setLastAnnouncementClosedParam(true); - }; - - function setLastAnnouncementClosedParam(closed) { - var lastAnnouncement = localStorageService.getJson(lastAnnouncementStorageKey) || {}; - lastAnnouncement['closed'] = closed; - localStorageService.setJson(lastAnnouncementStorageKey, lastAnnouncement); - }; - - init(); - - //whenever the announcement updated we will update the directive view: - $rootScope.$watch('showAnnouncement', function(newVal, OldVal){ - init(); - }, true); - }; - - return directive; - } -})(); diff --git a/d2ice.att.io/app/directives/ice-announcement/ice-announcement.html b/d2ice.att.io/app/directives/ice-announcement/ice-announcement.html deleted file mode 100755 index 04d9b3f0..00000000 --- a/d2ice.att.io/app/directives/ice-announcement/ice-announcement.html +++ /dev/null @@ -1,44 +0,0 @@ - -
- - - Read more >> - -
diff --git a/d2ice.att.io/app/directives/ice-loader/ice-loader.directive.js b/d2ice.att.io/app/directives/ice-loader/ice-loader.directive.js deleted file mode 100755 index 1456df42..00000000 --- a/d2ice.att.io/app/directives/ice-loader/ice-loader.directive.js +++ /dev/null @@ -1,96 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.directives') - .directive('iceLoader', iceLoader); - - function iceLoader($rootScope) { - var directive = {}; - directive.restrict = 'E'; - directive.transclude = false; - //directive.templateUrl = 'directives/ice-loader/ice-loader.html'; - directive.scope = { - selector: "@selector" - }; - - directive.link = function (scope, element, attrs) { - - $rootScope.$watch('ice.loader.show', function(newVal, OldVal){ - //scope.loader = $rootScope.ice.loader; - if (newVal===true) { - var selector = $(scope.selector); - var loaderId = calculateUniqueId(); - var loader = $('
'); - $('body').append(loader); - selector.addClass('ice-loader-overlay'); - var pos = selector.offset(); - if (pos) { - loader.css({ - top: pos.top + selector.height() / 2, - left: pos.left + selector.width() / 2, - position: 'fixed' - }); - } - } else if (newVal===false) { - var selector = $(scope.selector); - selector.removeClass('ice-loader-overlay'); - var loaderId = calculateUniqueId(); - var loader = $('#' + loaderId); - loader.remove(); - } - }, true); - - var calculateUniqueId = function(){ - var prefix = 'ice-loader-'; - var name = scope.selector; - name = name.replace(".",""); - name = name.replace("#",""); - return prefix + name; - }; - - }; - return directive; - - } - -})(); diff --git a/d2ice.att.io/app/directives/ice-loader/ice-loader.html b/d2ice.att.io/app/directives/ice-loader/ice-loader.html deleted file mode 100755 index 009a7ee6..00000000 --- a/d2ice.att.io/app/directives/ice-loader/ice-loader.html +++ /dev/null @@ -1,39 +0,0 @@ - -
diff --git a/d2ice.att.io/app/directives/ice-loader/ice-loader.less b/d2ice.att.io/app/directives/ice-loader/ice-loader.less deleted file mode 100755 index 22b761e3..00000000 --- a/d2ice.att.io/app/directives/ice-loader/ice-loader.less +++ /dev/null @@ -1,52 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.ice-loader { - - background: url('images/wait.gif') no-repeat top left; width: 16px; height: 11px; - display: block; - .m_14_m; - /*top: 50%; - left: 50%;*/ - -} - -.ice-loader-overlay { - /*background-color: #F2F2F2;*/ - opacity: 0.2; -} diff --git a/d2ice.att.io/app/directives/ice-news-and-announcement/ice-news-and-announcement.directive.js b/d2ice.att.io/app/directives/ice-news-and-announcement/ice-news-and-announcement.directive.js deleted file mode 100755 index d46a0903..00000000 --- a/d2ice.att.io/app/directives/ice-news-and-announcement/ice-news-and-announcement.directive.js +++ /dev/null @@ -1,87 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - - angular - .module('ice.directives') - .directive('iceNewsAndAnnouncement', ['cmsService', '$uibModal', '$log', iceNewsAndAnnouncement]); - - function iceNewsAndAnnouncement(cmsService, $uibModal, $log) { - var directive = {}; - directive.restrict = 'E'; - directive.templateUrl = 'directives/ice-news-and-announcement/ice-news-and-announcement.html'; - directive.scope = {limit: '=limit', fromLastDays: '=fromLastDays', showDescription: "=showDescription"}; - directive.link = function (scope, element, attrs) { - var limit = scope.limit || 5; - var fromLastDays = scope.fromLastDays || ""; - var init = function () { - cmsService.getPosts(limit, fromLastDays, ['Announcement', 'News']) - .then(function(response) { - scope.cmsPosts = response.data; - }) - .catch(function(error) { - $log.error(error); - }); - }; - - scope.openCMSReadMoreModal = function(cmsPost) { - if(cmsPost) { - $uibModal.open({ - templateUrl: 'main/modals/cms-post-modal/cms-post-modal.html', - controller: 'cmsPostModalController', - controllerAs: 'vm', - size: 'cms-post-read-more', - resolve: { - post: function () { - return cmsPost; - } - } - }); - } else { - $log.debug("Cannot open cms post.") - } - }; - - init(); - }; - - return directive; - } -})(); diff --git a/d2ice.att.io/app/directives/ice-news-and-announcement/ice-news-and-announcement.html b/d2ice.att.io/app/directives/ice-news-and-announcement/ice-news-and-announcement.html deleted file mode 100755 index df377dd6..00000000 --- a/d2ice.att.io/app/directives/ice-news-and-announcement/ice-news-and-announcement.html +++ /dev/null @@ -1,51 +0,0 @@ - -
-
News & Announcements
-
    -

    There are no posts.

    -
  • -
    -

    {{post.title}}

    -
    - Posted at {{post.publish_date | date2: 'EEEE MMMM doo yyyy'}} by {{post.user.username}} -

    -
  • -
-
diff --git a/d2ice.att.io/app/directives/ice-news-and-announcement/ice-news-and-announcement.less b/d2ice.att.io/app/directives/ice-news-and-announcement/ice-news-and-announcement.less deleted file mode 100755 index 47c9fc81..00000000 --- a/d2ice.att.io/app/directives/ice-news-and-announcement/ice-news-and-announcement.less +++ /dev/null @@ -1,80 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -#news-and-announcements { - border: 1px solid @func_color_x; - padding:0px; - - #news-and-announcements-header { - background-color: @func_color_x; - .p_22_m; - padding: 10px 10px 0; - } - #news-and-announcements-list { - list-style:none; - padding: 0 15px; - .news-and-announcements-details { - border-bottom: 1px dashed @main_color_a; - padding-bottom:10px; - - .news-and-announcements-details-header { - .news-and-announcements-details-title { - .f-type ._20_m; - cursor: pointer; - margin-top: 15px; - margin-bottom: 0px; - margin-left: 15px; - word-wrap: break-word; - } - } - .news-and-announcements-description { - .m_18_r; - margin: 3px 0px; - line-height: 20px; - word-wrap: break-word; - } - .news-and-announcements-creation { - .m_12_r; - } - } - .news-and-announcements-details:last-child { - padding:0px; - border:none; - } - } -} diff --git a/d2ice.att.io/app/directives/ice-toast/ice-toast.directive.js b/d2ice.att.io/app/directives/ice-toast/ice-toast.directive.js deleted file mode 100755 index bb7df0c5..00000000 --- a/d2ice.att.io/app/directives/ice-toast/ice-toast.directive.js +++ /dev/null @@ -1,76 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.directives') - .directive('iceToast', ['$rootScope', 'toastService', iceToast]); - - function iceToast($rootScope, toastService) { - var directive = {}; - directive.restrict = 'E'; - directive.templateUrl = 'directives/ice-toast/ice-toast.html'; - directive.scope = {isModal: '=isModal'}; - directive.link = function (scope, element, attrs) { - var init = function() { - var toast = toastService.getToast(); - - if(toast) { - scope.toast = toast; - } - }; - - scope.closeAlert = function() { - toastService.clearToast(); - }; - - init(); - - //whenever the toast updated we will update the directive view: - $rootScope.$watch('showToast', function(newVal, OldVal){ - init(); - }, true); - }; - - return directive; - } - -})(); diff --git a/d2ice.att.io/app/directives/ice-toast/ice-toast.html b/d2ice.att.io/app/directives/ice-toast/ice-toast.html deleted file mode 100755 index 9badf3bf..00000000 --- a/d2ice.att.io/app/directives/ice-toast/ice-toast.html +++ /dev/null @@ -1,44 +0,0 @@ - -
- - - Read more >> - -
diff --git a/d2ice.att.io/app/directives/ice-toast/ice-toast.less b/d2ice.att.io/app/directives/ice-toast/ice-toast.less deleted file mode 100755 index 0741fee1..00000000 --- a/d2ice.att.io/app/directives/ice-toast/ice-toast.less +++ /dev/null @@ -1,48 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.ice-toast { - u { - .m_14_r; - } - - @media (max-width: 992px) { - padding-top: 10px; - padding-left: 0%; - } -} diff --git a/d2ice.att.io/app/directives/ice-tooltip/ice-tooltip.directive.js b/d2ice.att.io/app/directives/ice-tooltip/ice-tooltip.directive.js deleted file mode 100755 index 3c5b867f..00000000 --- a/d2ice.att.io/app/directives/ice-tooltip/ice-tooltip.directive.js +++ /dev/null @@ -1,69 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - - angular - .module('ice.directives') - .directive('iceToolTip', ['cmsService', '$log', iceToolTip]); - - function iceToolTip(cmsService, $log) { - var directive = {}; - directive.restrict = 'E'; - directive.templateUrl = 'directives/ice-tooltip/ice-tooltip.html'; - directive.link = function (scope, element, attrs) { - var limit = 5; - - cmsService.getPosts(limit, '', ['FAQ']) - .then(function(response) { - if(response.data && response.data.length > 0) { - var rangeMax = response.data.length; - var randPostIndex = Math.floor(Math.random() * rangeMax); - scope.tipContent = response.data[randPostIndex]; - } - }) - .catch(function(error) { - $log.error(error); - }); - }; - - return directive; - } - -})(); diff --git a/d2ice.att.io/app/directives/ice-tooltip/ice-tooltip.html b/d2ice.att.io/app/directives/ice-tooltip/ice-tooltip.html deleted file mode 100755 index 3c09051f..00000000 --- a/d2ice.att.io/app/directives/ice-tooltip/ice-tooltip.html +++ /dev/null @@ -1,44 +0,0 @@ - -
-
Did you know?
-
-

{{tipContent.excerpt}}

-
-
diff --git a/d2ice.att.io/app/directives/ice-tooltip/ice-tooltip.less b/d2ice.att.io/app/directives/ice-tooltip/ice-tooltip.less deleted file mode 100755 index 949e9a04..00000000 --- a/d2ice.att.io/app/directives/ice-tooltip/ice-tooltip.less +++ /dev/null @@ -1,82 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.tooltip-container { - border: 1px solid @main_color_o; - background-color: @main_color_p; - padding: 0px; - - .tooltip-title { - .f-type._22_m; - background-color: @main_color_p; - color: @tooltip_header_color; - padding: 10px 10px 0; - } - - .tooltip-content { - background-color: @main_color_p; - word-wrap: break-word; - - h4 { - padding: 0 15px; - } - } -} - -#nav-bar-wrapper { - .tooltip-container { - bottom: 10px; - - .tooltip-title { - .f-type._16_m; - background-color: @main_color_p; - color: @tooltip_header_color; - padding: 15px 15px 0; - } - - .tooltip-content { - background-color: @main_color_p; - word-wrap: break-word; - - h4 { - .f-type._16_r; - padding: 0 15px; - } - } - } -} diff --git a/d2ice.att.io/app/directives/notifications/notifications.directive.js b/d2ice.att.io/app/directives/notifications/notifications.directive.js deleted file mode 100755 index 159a535e..00000000 --- a/d2ice.att.io/app/directives/notifications/notifications.directive.js +++ /dev/null @@ -1,130 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - angular - .module('ice.directives') - .directive('notifications', notifications); - - String.prototype.replaceAll = function(str1, str2, ignore) - { - return this.replace(new RegExp(str1.replace(/([\/\,\!\\\^\$\{\}\[\]\(\)\.\*\+\?\|\<\>\-\&])/g,"\\$&"),(ignore?"gi":"g")),(typeof(str2)=="string")?str2.replace(/\$/g,"$$$$"):str2); - } - - function notifications($compile,$filter,$rootScope,$location,localStorageService) { - var directive = {}; - directive.restrict = 'E'; - directive.template = '
'; - directive.scope = {activity : '='}; - directive.controller = ['$scope', function($scope) { - $scope.addDateStamp = function(activity) { - var description = ""; - var timeGapLocal = moment().format("z");// timeGap(); - - var ampm = moment().format('A'); - var mom =moment().tz( moment.tz.guess()).format('z'); - - if (activity.description.indexOf(' at ') == -1) - { - if (activity.description.substr(activity.description.length - 1) == '.') - description = activity.description.substr(0, activity.description.length - 1); - else - description = activity.description; - } else { - description = activity.description.substring(0, activity.description.indexOf(" at ")); - } - activity.description = description + ' at ' + $filter('date')(activity.create_time,'yyyy-MM-dd hh:mm:ss',timeGapLocal) + " " + ampm + " " + mom; - - return activity; - } - $scope.addPopover = function(activity,macro,short,long) { - - var template = "" + short +""; - activity.description = activity.description.replaceAll(macro, template); - } - - $scope.addSelectEngagement = function (activity,macro,short,uuid) { - var template = "" + short +""; - activity.description = activity.description.replaceAll(macro, template); - } - - $scope.goToEngagement = function(uuid){ - localStorageService.setJson("ice.settings.eng_uuid",uuid); - $location.path('/dashboard/overview'); - $location.replace(); - $rootScope.$broadcast('onUpdateEngagements',{select : {uuid:uuid,page_type:'overview',sub_id:undefined}}); - }; - - - }]; - directive.link = function(scope, iElement, iAttrs, ctrl) { - var activity = scope.activity; - activity.meta_data = JSON.parse(activity.metadata); - scope.addDateStamp(activity); - angular.forEach(activity.meta_data.macros,function(macro,key){ - switch (macro.type) - { - case 'popover': - scope.addPopover(activity,key,macro.short,macro.long); - break; - case 'select_engagement': - scope.addSelectEngagement(activity,key,macro.short,macro.eng_uuid); - break; - - } - - }); - var template = "" + scope.activity.description + ""; - - iElement.html(template).show(); - $compile(iElement.contents())(scope); - }; - return directive; - } - -})(); \ No newline at end of file diff --git a/d2ice.att.io/app/directives/progress/progress.directive.js b/d2ice.att.io/app/directives/progress/progress.directive.js deleted file mode 100755 index 073ff0cf..00000000 --- a/d2ice.att.io/app/directives/progress/progress.directive.js +++ /dev/null @@ -1,211 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.directives') - .directive('progressDirective', ["$uibModal", "$rootScope", "$log", "vfService", ProgressDirective]); - - function ProgressDirective($uibModal, $rootScope, $log, vfService) { - var directive = {}; - directive.restrict = 'E'; - directive.templateUrl = 'directives/progress/progress.html'; - directive.scope = { - progress: "@progress", - data: "=data", - callback: "=callback", - statuses: "@statuses", - enable_refresh: "@enableRefresh", - }; - directive.link = function (scope, element, attrs) { - var init = function() { - if(!scope.statuses){ - scope.statuses = false; - } - - calculateDaysLeft(); - registerWatches(); - }; - - var calculateDaysLeft = function(){ - var currentDate = moment(); - var completionDate = moment(scope.data.completion_date); - var days_diff = Math.ceil(completionDate.diff(currentDate, 'days',true)); - if (days_diff < 0 ) - days_diff = 0; - scope.daysLeft = days_diff; - }; - - var registerWatches = function() { - scope.$watch('data.completion_date', function(oldVal, newVal) { - if (oldVal !== newVal){ - calculateDaysLeft(); - } - }); - - scope.$watch('data.heat_validated_time', function(oldVal, newVal) { - if (oldVal !== newVal){ - normalizeData(); - } - }); - - scope.$watch('data.vnf_version', function(oldVal, newVal) { - if (oldVal !== newVal){ - normalizeData(); - } - }); - - scope.$watch('data.image_scan_time', function(oldVal, newVal) { - if (oldVal !== newVal){ - normalizeData(); - } - }); - - scope.$watch('data.aic_instantiation_time', function(oldVal, newVal) { - if (oldVal !== newVal){ - normalizeData(); - } - }); - - scope.$watch('data.asdc_onboarding_time', function(oldVal, newVal) { - if (oldVal !== newVal){ - normalizeData(); - } - }); - }; - - var normalizeData = function() { - if(scope.data) { - if(!scope.data.ecomp_release){ - scope.data.ecomp_release = "-"; - } - if(!scope.data.aic_version){ - scope.data.aic_version = "-"; - } - - if(!scope.data.aic_instantiation_time){ - scope.data.aic_instantiation_time = "-"; - } - - if(!scope.data.vnf_version){ - scope.data.vnf_version = "-"; - } - - if(!scope.data.asdc_onboarding_time){ - scope.data.asdc_onboarding_time = "-"; - } - - if(!scope.data.heat_validated_time){ - scope.data.heat_validated_time = "-"; - } - - if(!scope.data.image_scan_time){ - scope.data.image_scan_time = "-"; - } - } - }; - - scope.starEngagement = function () { - vfService.putStarredEngagements(scope.data.engagement_uuid) - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200 && response.data && response.data !== '') { - $rootScope.$broadcast('onUpdateEngagements', {select: { - uuid: scope.data.engagement_uuid, - page_type: 'dashboard', - sub_id: undefined, - enable_refresh: scope.enable_refresh - } - }); - if(scope.data.starred == false){ - scope.data.starred = true; - } - else { - scope.data.starred = false; - } - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - }; - - scope.goToEngagement = function(uuid){ - $rootScope.$broadcast('searchSelectEngagement',uuid); - }; - - scope.changeProgress = function(){ - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/change-progress/change-progress.html', - controller: 'ChangeProgressModalController', - controllerAs: 'vm', - resolve: { - progress: function () { - return scope.progress; - }, - engagementUuid: function () { - return scope.data.engagement_uuid; - } - } - }); - - // Update the progress after modal closed. - modalInstance.result.then(function (data) { - if (!data){ - return; - } - scope.progress = data.progress || scope.progress; - if (data.progress) { - scope.callback(data); - } - }, function () { - $log.debug('Modal dismissed at: ' + new Date()); - }); - }; - - init(); - }; - - return directive; - } - -})(); diff --git a/d2ice.att.io/app/directives/progress/progress.html b/d2ice.att.io/app/directives/progress/progress.html deleted file mode 100755 index 6656a913..00000000 --- a/d2ice.att.io/app/directives/progress/progress.html +++ /dev/null @@ -1,82 +0,0 @@ - -
-
- -
- Progress - - - - - - - {{data.manual_id}}: {{data.name}} - -
- -
-
-
- {{progress}} % - -
-
-
- Target AIC Version: {{data.aic_version}} - ECOMP Release: {{data.ecomp_release}} - VNF Version: -
-
- -
-
Heat Validated:{{data.heat_validated_time | date:'shortDate'}}
-
Image Scan:{{data.image_scan_time | date:'shortDate'}}
-
AIC Instantiation:{{data.aic_instantiation_time | date:'shortDate'}}
-
ASDC Onboarding:{{data.asdc_onboarding_time | date:'shortDate'}}
-
-
-
diff --git a/d2ice.att.io/app/directives/progress/progress.less b/d2ice.att.io/app/directives/progress/progress.less deleted file mode 100755 index c374886a..00000000 --- a/d2ice.att.io/app/directives/progress/progress.less +++ /dev/null @@ -1,184 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.steps-progress-wrapper { - position: relative; - border: 1px solid; - border-color: @main_color_o; - padding: 10px 15px; - background-color: @main_color_p; - - .progress-side-info { - padding: 0 10px; - margin-top: 4px; - - .value { - line-height: 20px; - .m_12_r; - } - - .progress-side-info-row { - .m_12_m; - line-height:20px; - - .progress-side-info-first-row { - padding-top: 1%; - } - - .progress-side-info-last-row { - padding-bottom: 1%; - } - } - } - - .progress-body-content { - .progress-left-content { - border-right: solid 1px @main_color_o; - - } - - .progress-version-release { - margin-top: 5px; - color: @main_color_m - } - - .description { - .progress-title { - .b_20; - - .manual-id { - .b_20_m; - } - - .progress-click { - cursor:pointer; - } - - .progress-question-mark { - font-size: 20px; - color: @main_color_r; - display: inline-block; - margin-left: 1px; - cursor: pointer; - position: relative; - top: 1px; - } - - .star-engagement-action { - display: inline-block; - cursor: pointer; - position: relative; - margin-right: 5px; - } - } - - .progress-edit-days-left { - float: right; - position: relative; - margin-right: 1%; - - .steps-progress-days-left { - .m_14_m; - vertical-align: bottom; - } - - .edit { - .sprite; - .sprite.edit-medium; - display: inline-block; - cursor: pointer; - position:relative; - top:3px; - } - } - } - - .steps-progress-bar { - display: flex; - flex-direction: row; - justify-content: space-between; - overflow: hidden; - border: solid 1px @main_color_o; - height: 30px; - - .progress-filled { - background-color: red; - /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#1672a4+0,c2e1f2+100 */ - background: @gradient_left; /* Old browsers */ - background: -moz-linear-gradient(left, @gradient_left 0%, @gradient_right 100%); /* FF3.6-15 */ - background: -webkit-linear-gradient(left, @gradient_left 0%, @gradient_right 100%); /* Chrome10-25,Safari5.1-6 */ - background: linear-gradient(to right, @gradient_left 0%, @gradient_right 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=@gradient_left, endColorstr=@gradient_right, GradientType=1); /* IE6-9 */ - border-right: solid 1px @main_color_o; - } - - .progress-empty { - position: relative; - - &.right { - .percents { - left: 10px; - } - .edit { - left: 50px; - } - } - - .edit { - font-size: 21px; - color: @main_color_r; - display: inline-block; - position: absolute; - top: 5px; - left: -25px; - cursor: pointer; - } - - .percents { - position: absolute; - top: 4px; - left: -60px; - } - - &.full { - .percents { left: -70px; } - } - } - } - } -} diff --git a/d2ice.att.io/app/directives/step-stages/step-stages.directive.js b/d2ice.att.io/app/directives/step-stages/step-stages.directive.js deleted file mode 100755 index 50a97206..00000000 --- a/d2ice.att.io/app/directives/step-stages/step-stages.directive.js +++ /dev/null @@ -1,172 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.directives', []) - .directive('stepStagesDirective', ProgressDirective); - - function ProgressDirective($rootScope, iceConstants, localStorageService, usersService, $uibModal) { - var directive = {}; - directive.restrict = 'E'; - directive.templateUrl = 'directives/step-stages/step-stages.html'; - directive.scope = { - stage : "=stage", - stage_num: "=stageNum", - eng_uuid : "@engUuid", - team: "=team", - eng_name: "@engName", - initactivitylogs: '&' - }; - directive.controller = ['$scope', 'vfService', '$log', function($scope, vfService, $log) { - $scope.set_engagement_stage = function(scope, requested_stage){ - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/set-eng-stage/set-eng-stage-modal.html', - controller: 'setEngStageModalController', - controllerAs: 'vm', - resolve: { - stage: function () { - return requested_stage; - }, - eng_name: function () { - return $scope.eng_name; - }, - current_stage: function () { - return $scope.stage; - } - } - }); - - modalInstance.result.then(function (bool) { - if(bool) { - vfService.set_engagement_stage(scope.eng_uuid, requested_stage) - .then(function (response) { - if (response.status === 202) { - scope.stage = requested_stage; - switch (requested_stage) { - case 'Intake': - scope.stage_num = 1; - break; - case 'Active': - scope.stage_num = 2; - break; - case 'Validated': - scope.stage_num = 3; - break; - case 'Completed': - scope.stage_num = 4; - break; - } - $rootScope.$broadcast('onUpdateNextSteps',{'stage': scope.stage, 'eng_uuid': scope.eng_uuid}); - $scope.initactivitylogs(); - } - else { - return false; - } - }) - .catch(function (error) { - $log.error(error); - }); - } - else { - return; - } - }); - - - }; - - $scope.hover_design = function(bool, num){ - $scope.temp_num = num; - $scope.hover = bool; - return; - }; - - - }]; - - - directive.link = function (scope, element, attrs) { - scope.hover = false; - scope.temp_num = 0; - scope.priviliged = false; - scope.const = iceConstants.stages; - scope.loaded = false; - scope.user = usersService.getUserData(); - scope.$watchGroup(['user','team'], function(new_vals, old_vals, scope){ - if(!(new_vals[0]) || !(new_vals[1])){ - return; - } - else if (!(scope.loaded)){ - if( (usersService.isEngagementEL(scope.team)) || (usersService.isAdmin(scope.user))){ - scope.priviliged = true; - }; - scope.loaded = true; - - } - }); - - scope.hover_actions = function(bool, num){ - if(!(scope.priviliged)){ - return; - }; - scope.hover_design(bool, num); - }; - - scope.set_stage = function(requested_stage){ - if(!(scope.priviliged)){ - return; - }; - if (scope.stage === requested_stage){ - $log.debug("Same stage was chosen, request ignored."); - return; - }; - - var result = scope.set_engagement_stage(scope, requested_stage); - - }; - - }; - return directive; - } - -})(); - diff --git a/d2ice.att.io/app/directives/step-stages/step-stages.html b/d2ice.att.io/app/directives/step-stages/step-stages.html deleted file mode 100755 index 0ccbd1d8..00000000 --- a/d2ice.att.io/app/directives/step-stages/step-stages.html +++ /dev/null @@ -1,44 +0,0 @@ - -
-
{{const.intake}}
-
{{const.active}}
-
{{const.validated}}
-
{{const.completed}}
-
diff --git a/d2ice.att.io/app/directives/step-stages/step-stages.less b/d2ice.att.io/app/directives/step-stages/step-stages.less deleted file mode 100755 index 617d0c64..00000000 --- a/d2ice.att.io/app/directives/step-stages/step-stages.less +++ /dev/null @@ -1,75 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.steps-stages-wrapper { - - display: flex; - flex-direction: row; - justify-content: space-between; - overflow: hidden; - padding: 10px 0 0 0; - - .steps-stage { - - width: 100%; - - &:not(.selected) { - .step-progress-dashed(34px, @toolbar_background_color, 100%); - } - - &.selected { - .step-progress(34px, @toolbar_background_color, 100%); - } - - &.hover-selected { - .step-progress(34px, @toolbar_background_color, 100%); - cursor: pointer; - } - - &.previous-stage { - .step-progress-solid(34px, @toolbar_background_color, 100%); - } - - &.hover-previous-stage { - .step-progress-solid(34px, @toolbar_background_color, 100%); - cursor: pointer; - } - - } - -} diff --git a/d2ice.att.io/app/favicon.png b/d2ice.att.io/app/favicon.png deleted file mode 100755 index 6e9f04df..00000000 Binary files a/d2ice.att.io/app/favicon.png and /dev/null differ diff --git a/d2ice.att.io/app/filters/capitalize.filter.js b/d2ice.att.io/app/filters/capitalize.filter.js deleted file mode 100755 index fa191f58..00000000 --- a/d2ice.att.io/app/filters/capitalize.filter.js +++ /dev/null @@ -1,52 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -/** - * Created by almog on 07/02/2017. - */ -(function () { - 'use strict'; - angular.module('ice.filters') - .filter('capitalize', [capitalize]); - - function capitalize() { - return function(input) { - return (input) ? input.charAt(0).toUpperCase() + input.substr(1).toLowerCase() : ''; - } - } -})(); diff --git a/d2ice.att.io/app/filters/customDocumentationPageSearch.filter.js b/d2ice.att.io/app/filters/customDocumentationPageSearch.filter.js deleted file mode 100755 index edf1e691..00000000 --- a/d2ice.att.io/app/filters/customDocumentationPageSearch.filter.js +++ /dev/null @@ -1,58 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -/** - * Created by almog on 07/02/2017. - */ -(function () { - 'use strict'; - angular.module('ice.filters') - .filter('customDocumentationPageSearch', ['cmsService', customDocumentationPageSearch]); - - function customDocumentationPageSearch(cmsService) { - return function(search_list,search_term) { - return cmsService.searchPages(search_term) - .then(function (response) { - return response.data; - }) - .catch(function (error) { - $log.error(error); - }); - } - } -})(); diff --git a/d2ice.att.io/app/filters/customVFSearchFilter.filter.js b/d2ice.att.io/app/filters/customVFSearchFilter.filter.js deleted file mode 100755 index 13c6fbf4..00000000 --- a/d2ice.att.io/app/filters/customVFSearchFilter.filter.js +++ /dev/null @@ -1,62 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -/** - * Created by almog on 07/02/2017. - */ -(function () { - 'use strict'; - angular.module('ice.filters') - .filter('customVFSearchFilter', ['vfService', '$log', customVFSearchFilter]); - - function customVFSearchFilter (vfService, $log) { - return function(search_list,search_term) { - var postData = {'stage': 'All', 'keyword': search_term, 'offset': 0, 'limit': 20}; - return vfService.getExpandedEngagements(postData) - .then(function (response) { - if (response.status === 200 && response.data && response.data !== '') { - return response.data['array']; - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - } - } -})(); diff --git a/d2ice.att.io/app/filters/date2.filter.js b/d2ice.att.io/app/filters/date2.filter.js deleted file mode 100755 index f39761e7..00000000 --- a/d2ice.att.io/app/filters/date2.filter.js +++ /dev/null @@ -1,60 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -/** - * Created by almog on 07/02/2017. - */ -(function () { - 'use strict'; - angular.module('ice.filters') - .filter('date2', ['$filter', date2]); - - function date2($filter) { - var suffixes = ["th", "st", "nd", "rd"]; - return function(input, format) { - if(input) { - var dtfilter = $filter('date')(input, format); - var day = parseInt($filter('date')(input, 'dd')); - var relevantDigits = (day < 30) ? day % 20 : day % 30; - var suffix = (relevantDigits <= 3) ? suffixes[relevantDigits] : suffixes[0]; - return dtfilter.replace('oo', suffix); - } - return input; - }; - } -})(); diff --git a/d2ice.att.io/app/filters/doesExists.filter.js b/d2ice.att.io/app/filters/doesExists.filter.js deleted file mode 100755 index fd52ee2b..00000000 --- a/d2ice.att.io/app/filters/doesExists.filter.js +++ /dev/null @@ -1,52 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -/** - * Created by almog on 07/02/2017. - */ -(function () { - 'use strict'; - angular.module('ice.filters') - .filter('doesExists', ['$sce', '$injector', '$log', doesExists]); - - function doesExists ($sce, $injector, $log) { - return function(matchItem, query) { - return matchItem.toLowerCase().includes(query.toLowerCase()); - }; - } -})(); diff --git a/d2ice.att.io/app/filters/htmlspecialchars.filter.js b/d2ice.att.io/app/filters/htmlspecialchars.filter.js deleted file mode 100755 index e96749d2..00000000 --- a/d2ice.att.io/app/filters/htmlspecialchars.filter.js +++ /dev/null @@ -1,62 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -/** - * Created by almog on 07/02/2017. - */ -(function () { - 'use strict'; - angular.module('ice.filters') - .filter('htmlspecialchars', ['_','$filter', htmlspecialchars]); - - function htmlspecialchars(_,$filter) { - return function(input) { - input = _.replace(input,/\&\;/g,"&"); - input = _.replace(input,/\<\;/g,"<"); - input = _.replace(input,/\>\;/g,">"); - input = _.replace(input,/\"\;/g,'"'); - input = _.replace(input,/\\;/g,"'"); - input = _.replace(input,/<(\s)*script/g,"_script"); -// input = _.replace(input,/style=\"font-weight: bold;\"/g,"class=\"bold\""); -// input = _.replace(input,/style=\"font-style: italic;\"/g,"class=\"italic\""); -// input = _.replace(input,/style=\"text-decoration-line: line-through;\"/g,"class=\"line-through\""); -// input = _.replace(input,/style=\"text-decoration-line: underline;\"/g,"class=\"underline\""); - return input; - }; - } -})(); diff --git a/d2ice.att.io/app/filters/htmlstylespan.filter.js b/d2ice.att.io/app/filters/htmlstylespan.filter.js deleted file mode 100755 index ae79eebf..00000000 --- a/d2ice.att.io/app/filters/htmlstylespan.filter.js +++ /dev/null @@ -1,56 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -/** - * Created by almog on 07/02/2017. - */ -(function () { - 'use strict'; - angular.module('ice.filters') - .filter('htmlstylespan', ['_','$filter', htmlstylespan]); - - function htmlstylespan(_,$filter) { - return function(input) { - input = _.replace(input,/style=\"font-weight: bold;\"/g,"class=\"bold\""); - input = _.replace(input,/style=\"font-style: italic;\"/g,"class=\"italic\""); - input = _.replace(input,/style=\"text-decoration-line: line-through;\"/g,"class=\"line-through\""); - input = _.replace(input,/style=\"text-decoration-line: underline;\"/g,"class=\"underline\""); - return input; - }; - } -})(); diff --git a/d2ice.att.io/app/filters/trusted.filter.js b/d2ice.att.io/app/filters/trusted.filter.js deleted file mode 100755 index 9f6fe13f..00000000 --- a/d2ice.att.io/app/filters/trusted.filter.js +++ /dev/null @@ -1,49 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - angular.module('ice.filters', []) - .filter('trusted', ['$sce', trusted]); - - function trusted ($sce){ - return function(html){ - return $sce.trustAsHtml(html) - } - } -})(); diff --git a/d2ice.att.io/app/index.html b/d2ice.att.io/app/index.html deleted file mode 100755 index 5743dba5..00000000 --- a/d2ice.att.io/app/index.html +++ /dev/null @@ -1,262 +0,0 @@ - - - - - - - - - AT&T | {{'program.name' | i18next}} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/d2ice.att.io/app/interceptors/httpInterceptors.js b/d2ice.att.io/app/interceptors/httpInterceptors.js deleted file mode 100755 index fb8c6ad6..00000000 --- a/d2ice.att.io/app/interceptors/httpInterceptors.js +++ /dev/null @@ -1,95 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -'use strict'; - -angular.module('ice.interceptors.http', []) - .factory('httpRequestInterceptor', function ($injector, $rootScope) { - return { - request: function (config) { - // Send the user only for API requests - if (config.url.indexOf($rootScope.baseURL) !== -1) { - config.headers = config.headers || {}; - var user = $injector.get('usersService').getUserData(function() {}); - if (user && !config.skipAuth) { - config.headers.Authorization = "token "+user.jwtToken; - } - } - return config; - } - }; - }) - .factory('httpResponseInterceptor', function ($rootScope) { - return { - response: function (response) { - return response; - } - } - }) - .factory('httpRequestErrorInterceptor', function ($q) { - return { - requestError: function (request) { - // Do something - return request; - } - } - }) - .factory('httpResponseErrorInterceptor', ["$q", "$rootScope", "$injector", "toastService", function ($q, $rootScope, $injector, toastService) { - return { - responseError: function (response) { - var $state = $injector.get('$state'); - var status = response.status; - switch (status) { - case 401: - //AuthFactory.clearUser(); - toastService.setToast(response.statusText, 'danger'); - //$window.location = "/auth/login?redirectUrl=" + redirectUrl; - break; - case 403: - $state.go('app.login'); - break; - case 404: - //$state.go("app.errors_error-404"); - break; - } - - // otherwise - return $q.reject(response); - } - } - }]); diff --git a/d2ice.att.io/app/locales/en/translation.json b/d2ice.att.io/app/locales/en/translation.json deleted file mode 100755 index 176fa89c..00000000 --- a/d2ice.att.io/app/locales/en/translation.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "vendor": { - "name": "EXAMPLE VENDOR", - "email": "admin@example.com" - }, - "serviceProvider": { - "name": "EXAMPLE PROVIDER" - }, - "program": { - "name": "VVP PROGRAM" - } -} diff --git a/d2ice.att.io/app/main/activation/activate/activateUser.controller.js b/d2ice.att.io/app/main/activation/activate/activateUser.controller.js deleted file mode 100755 index 39e60123..00000000 --- a/d2ice.att.io/app/main/activation/activate/activateUser.controller.js +++ /dev/null @@ -1,60 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - angular - .module('ice.activation.activateUser') - .controller('ActivateUserController', ["$state", "usersService", "$log", "$stateParams", LoginController]); - - function LoginController($state, usersService, $log, $stateParams) { - var init = function () { - usersService.activateUser($stateParams.userID, $stateParams.token) - .then(function (response) { - $state.go('app.login', {activation_success: response.data.activation_success, - engagement_uuid: response.data.engagement_uuid}); - }) - .catch(function (error) { - $log.error(error); - $state.go('app.login', {message: error.message.detail}); - }); - }; - - init(); - } -})(); diff --git a/d2ice.att.io/app/main/activation/activate/activateUser.html b/d2ice.att.io/app/main/activation/activate/activateUser.html deleted file mode 100755 index 2041a607..00000000 --- a/d2ice.att.io/app/main/activation/activate/activateUser.html +++ /dev/null @@ -1,39 +0,0 @@ - -
diff --git a/d2ice.att.io/app/main/activation/activate/activateUser.module.js b/d2ice.att.io/app/main/activation/activate/activateUser.module.js deleted file mode 100755 index b2e1f169..00000000 --- a/d2ice.att.io/app/main/activation/activate/activateUser.module.js +++ /dev/null @@ -1,58 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - angular - .module('ice.activation.activateUser', []) - .config(config); - - function config($stateProvider) { - $stateProvider - .state('app.activateUser', { - url: '/activate/:userID/:token', - views: { - 'main@': { - templateUrl: 'main/activation/activate/activateUser.html', - controller : 'ActivateUserController as vm' - } - }, - params: {} - }); - } -})(); diff --git a/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.controller.js b/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.controller.js deleted file mode 100755 index c8859a7d..00000000 --- a/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.controller.js +++ /dev/null @@ -1,111 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.addVendorContact') - .controller('AddVendorContactController', ["$state", "vfService", "usersService", "$log", "$rootScope", - AddVendorContactController]); - - function AddVendorContactController($state, vfService, usersService, $log, $rootScope) { - - var vm = this; - vm.data = {}; - - var init = function() { - $rootScope.ice.loader.show = true; - $rootScope.headerTitle = ""; - $rootScope.headerSubTitle = ""; - - vm.choices = [{ VirtualFunction: '', TargetLab: '', TargetAic: '',is_service_provider_internal: '' }]; - - vfService.getCompanies() - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - vm.companies = response.data; - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - - }; - - vm.submitForm = function () { - vm.data.company = vm.data.company.uuid; - - $rootScope.ice.loader.show = true; - usersService.addVendorContact(vm.data) - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - if (response.data.is_active) { - $state.go('app.dashboard.overview'); - } else { - $state.go('app.resend_activation'); - } - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - vm.Msg = response.status + " : " + response.statusText; - vm.bgColor = "#FFEBEB"; // RED #FFEBEB green DFF0D9 - $log.error(error); - }); - }; - - vm.addNewChoice = function (){ - var newItemNo = vm.choices.length + 1; - vm.choices.push({ 'id': newItemNo }); - }; - - vm.removeChoice = function (){ - var lastItem = vm.choices.length - 1; - vm.choices.splice(lastItem); - }; - - init(); - } - -})(); - diff --git a/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.html b/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.html deleted file mode 100755 index ff9bd6e6..00000000 --- a/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.html +++ /dev/null @@ -1,111 +0,0 @@ - - - -
-
-
- -
- -
- - -
- Please select a company -
-
- -
- - -
- Name is a required field. - Full Name is too short. - Full Name is too long. -
-
- -
- - -
- Email is a required field. - Enter a valid email. -
-
- -
- - -
- Phone is a required field. - Phone is too short. - Phone is too long. - Phone must consist of numbers only. -
-
- -
-  I agree to receive regular email updates. -
- -
-  I accept the AT&T's {{'program.name' | i18next}} Terms of Service and Privacy Policy. -
- -
- -
-
reCAPTCHA is invalid.
-
- - - - - - -
- -
-
- -
diff --git a/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.less b/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.less deleted file mode 100755 index 166962d9..00000000 --- a/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.less +++ /dev/null @@ -1,82 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.addVendorContact { - - .add-button - { - float:left; - .sprite; - .sprite.add; - } - - .remove-button - { - width:100px; - height:40px; - line-height:20px; - vertical-align:middle; - padding-left:10px; - float:left; - } - - .login-form { - margin-top: 20px; - } - - .btn { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - - a.register { - text-decoration: underline; - float: right; - margin: 10px 0 0 0; - } - -} diff --git a/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.module.js b/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.module.js deleted file mode 100755 index c7b7396a..00000000 --- a/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.module.js +++ /dev/null @@ -1,67 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.addVendorContact', []) - .config(config); - - function config($stateProvider) { - - $stateProvider - .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' - }); - - } - -})(); diff --git a/d2ice.att.io/app/main/activation/addVf/addVf.controller.js b/d2ice.att.io/app/main/activation/addVf/addVf.controller.js deleted file mode 100755 index 5a00c170..00000000 --- a/d2ice.att.io/app/main/activation/addVf/addVf.controller.js +++ /dev/null @@ -1,277 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.addVf') - .controller('AddVfController', ["$scope", "$state", "vfService", "toastService", "$location", "$rootScope", - "localStorageService", 'usersService', '$log', AddVfController]) - .directive('addVf', function () { - return { - restrict: 'AEC', - templateUrl: 'main/activation/addVf/addVf.html', - link: function(scope, elm, attrs) { - - }, - controller: AddVfController, - controllerAs: 'vm', - scope: { - isModal: '=isModal' - } - } - }); - - function AddVfController($scope, $state, vfService, toastService, $location, $rootScope,localStorageService, - usersService, $log) { - var vm = this; - vm.data = []; - vm.isModal = $scope.isModal; - vm.user = usersService.getUserData(); - if (vm.user == undefined) { - $state.go('app.login'); - } - - $rootScope.headerTitle = "Add Virtual Function"; - $rootScope.headerSubTitle = "
Please use the form below to submit the virtual functions you would " + - "like to engage with ICE.
Please do note that each VF will be tracked separately.
"; - - if (!vm.isModal && $location.search().activation_success) { - toastService.setToast('You have successfully activated your account', 'success', {displayFor: 'modal'}); - } - - var targetLabDate1 = []; - //vm.targetLabDate = iceConstants.targetLabDate; - vm.targetLabDate = monthesPlus12(); - - - $rootScope.ice.loader.show = true; - vfService.getDeployTargets() - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - vm.deployTargets = response.data; - } - }).catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - - vfService.getECOMPReleases() - .then(function (response) { - if (response.status === 200) { - vm.ECOMPReleases = response.data; - } - }).catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - - vm.choices = [{VirtualFunction: '', TargetLab: '', TargetAic: '', is_service_provider_internal: ''}]; - - vm.addNewChoice = function () { - var newItemNo = vm.choices.length + 1; - vm.choices.push({'id': newItemNo}); - }; - - vm.removeChoice = function (index) { - vm.choices.splice(index,1); - }; - - vm.submitForm = function () { - var is_service_provider_internal; - var jsonAddVf = []; - angular.forEach(vm.choices, function (value, key) { - if (value.is_service_provider_internal == true) { - is_service_provider_internal = "True"; - } else { - is_service_provider_internal = "False"; - } - vm.item = []; - var jsonItem = new Object(); - jsonItem.virtual_function = value.VirtualFunction; - var objDate = new Date(Date.parse((value.TargetLab) + moment().format("z"))); - jsonItem.target_lab_entry_date = objDate.getFullYear() + "-" - + addZero(objDate.getMonth()+1) + "-" + addZero(objDate.getDate()); - jsonItem.version = value.VFVersion; - jsonItem.target_aic_uuid = value.TargetAic; - jsonItem.ecomp_release = value.ECOMPRelease; - jsonItem.is_service_provider_internal = (is_service_provider_internal === "True"); - jsonAddVf.push(jsonItem); - }); - - $rootScope.ice.loader.show = true; - vfService.addVfs(JSON.stringify(jsonAddVf))//vm.data)) - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - localStorageService.setJson("vfs", response.data); - - if (!vm.isModal) { - if (response.data.is_active) { - $state.go('app.dashboard.overview'); - } else { - $state.go('app.resend_activation'); - } - } else { - $scope.$emit('onUpdateEngagements',{ - select: { - uuid:response.data[0].engagement.uuid,page_type:'overview', - sub_id:undefined - } - }); - $scope.$emit('moveWizardNextStep', response.data[0]); - } - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - }; - - - vm.skipAddVf = function () { - if (!vm.isModal && $location.search().activation_success) { - $state.go('app.dashboard.overview'); - } else { - $state.go('app.resend_activation'); - } - }; - vm.myDate = new Date(); - vm.minDate = new Date( - vm.myDate.getFullYear(), - vm.myDate.getMonth(), - vm.myDate.getDate()); - vm.maxDate = new Date( - vm.myDate.getFullYear() + 2, - vm.myDate.getMonth(), - vm.myDate.getDate()); - - } - - - var monthesPlus12 = function() - { - var i; - var arrMonthYear=[]; - var startingMonth = (new Date().getMonth()+1); - var startingYear = (new Date().getFullYear()); - for (i = startingMonth ; i<=12;i++) - { - arrMonthYear.push({"val": monthZero(i) + "-" + startingYear, "nam": MonthNumToName(i) + " " + - startingYear}); - } - for (i=1; i < startingMonth ; i++) - { - arrMonthYear.push({"val": monthZero(i) + "-" + (startingYear+1), "nam": MonthNumToName(i) + " " + - (startingYear + 1)}); - } - return(arrMonthYear); - } - - var monthZero = function(m) - { - var ret = m; - if (m<10) - { - ret = "0"+m; - } - return(ret); - } - - var MonthNumToName = function(m) - { - var MonthName; - switch (m) - { - case 1: - MonthName = "January"; - break; - case 2: - MonthName = "February"; - break; - case 3: - MonthName = "March"; - break; - case 4: - MonthName = "April"; - break; - case 5: - MonthName = "May"; - break; - case 6: - MonthName = "June"; - break; - case 7: - MonthName = "July"; - break; - case 8: - MonthName = "August"; - break; - case 9: - MonthName = "September"; - break; - case 10: - MonthName = "October"; - break; - case 11: - MonthName = "November"; - break; - case 12: - MonthName = "December"; - break; - } - return(MonthName); - } - - var addZero = function(x) - { - if (x<10) - { - return("0"+x); - } - else - { - return(x); - } - } -})(); - diff --git a/d2ice.att.io/app/main/activation/addVf/addVf.html b/d2ice.att.io/app/main/activation/addVf/addVf.html deleted file mode 100755 index 4dff7b0b..00000000 --- a/d2ice.att.io/app/main/activation/addVf/addVf.html +++ /dev/null @@ -1,130 +0,0 @@ - - -
-
-
-
-
-
- -
-
- -
- -
- 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. -
-
-
- -
-
VF Name
- -
- VF Name can be alphanumeric or/and Hyphen -
-
-
-
-

Key Metadata

-
- -
- -
-
Target Lab Entry Date
- - -
-
-
- - The virtual function is only developed internally inside AT&T. -
-
-
-
- -
-
-
-
-
diff --git a/d2ice.att.io/app/main/activation/addVf/addVf.less b/d2ice.att.io/app/main/activation/addVf/addVf.less deleted file mode 100755 index dd78bae3..00000000 --- a/d2ice.att.io/app/main/activation/addVf/addVf.less +++ /dev/null @@ -1,176 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.add-vf { - - .reject_large { - .actions-sprite; - .actions-sprite.reject_large; - cursor: pointer; - } - - .table{ - margin-bottom: 0; - } - - .table-container-flex { - - - .action-row-wrapper, .data-row-wrapper { - padding: 5px 10px; - margin-bottom:5px; - - } - - .data-row-wrapper:nth-child(even) { - background: rgba(158, 158, 158, 0.28); - - - } - - .data-row-wrapper:nth-child(odd) { - border-bottom: 1px solid; - border-top: 1px solid; - border-color: @main_color_q; - } - - .data-row-wrapper:first-child { - border-top: none; - } - - .data-row-wrapper:last-child { - border-bottom:none; - } - .flex-item { - padding-left:0px; - } - .flex-item:nth-child(1) { - padding: 5px 15px 5px 0px; - flex-grow: 25; - } - - .flex-item:nth-child(2) { - flex-grow: 25; - } - - .flex-item:nth-child(3) { - flex-grow: 25; - } - - .flex-item:nth-child(4) { - flex-grow: 25; - } - .flex-item:nth-child(5) { - flex-grow: 25; - } - - } - - .add-vf-confirm-checkbox { - display: block; - clear: both; - } - - .add-button { - display: block; - .add-text { - .a_16_m; - vertical-align: top; - margin-left: 6px; - } - .add-icon { - .sprite; - .sprite.add; - display: inline-block; - } - } - - .remove-button { - width:100px; - height:40px; - line-height:20px; - vertical-align:middle; - padding-left:10px; - float:left; - .a_16_m; - margin-top: 8px; - cursor: pointer; - - .remove-icon { - display: inline-block; - vertical-align: text-top; - margin-right: 6px; - .sprite; - .sprite.delete-circle; - cursor: pointer; - } - } - - .lineColor - { - margin: 2px; - } - - .addVf-form { - margin-top: 20px; - } - - .btn { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - - #skip-add-vf-singup { - margin-top: 10px; - display: block; - text-decoration: underline; - text-align: left; - .a_16_r; - } - - -} diff --git a/d2ice.att.io/app/main/activation/addVf/addVf.module.js b/d2ice.att.io/app/main/activation/addVf/addVf.module.js deleted file mode 100755 index bac2c90b..00000000 --- a/d2ice.att.io/app/main/activation/addVf/addVf.module.js +++ /dev/null @@ -1,67 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.addVf', []) - .config(config); - - function config($stateProvider) { - - $stateProvider - .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' - }); - - } - -})(); diff --git a/d2ice.att.io/app/main/activation/contactUs/contactUs.controller.js b/d2ice.att.io/app/main/activation/contactUs/contactUs.controller.js deleted file mode 100755 index bed33798..00000000 --- a/d2ice.att.io/app/main/activation/contactUs/contactUs.controller.js +++ /dev/null @@ -1,57 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.contactUs') - .controller('ContactUsController', ["$rootScope", ContactUsController]); - - function ContactUsController($rootScope) { - - var vm = this; - - $rootScope.headerTitle = "Contact Us"; - $rootScope.headerSubTitle = "Please fill in the details below"; - - } - -})(); - diff --git a/d2ice.att.io/app/main/activation/contactUs/contactUs.html b/d2ice.att.io/app/main/activation/contactUs/contactUs.html deleted file mode 100755 index 653ebc1d..00000000 --- a/d2ice.att.io/app/main/activation/contactUs/contactUs.html +++ /dev/null @@ -1,53 +0,0 @@ - -
- -
-
- -
- - - -
- -
-
- -
diff --git a/d2ice.att.io/app/main/activation/contactUs/contactUs.less b/d2ice.att.io/app/main/activation/contactUs/contactUs.less deleted file mode 100755 index befbb342..00000000 --- a/d2ice.att.io/app/main/activation/contactUs/contactUs.less +++ /dev/null @@ -1,59 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.contact-us { - - .contact-us-form { - margin-top: 20px; - } - - .btn { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - -} diff --git a/d2ice.att.io/app/main/activation/contactUs/contactUs.module.js b/d2ice.att.io/app/main/activation/contactUs/contactUs.module.js deleted file mode 100755 index 9259671d..00000000 --- a/d2ice.att.io/app/main/activation/contactUs/contactUs.module.js +++ /dev/null @@ -1,67 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.contactUs', []) - .config(config); - - function config($stateProvider) { - - $stateProvider - .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' - }); - - } - -})(); diff --git a/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.controller.js b/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.controller.js deleted file mode 100755 index 72ff43c0..00000000 --- a/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.controller.js +++ /dev/null @@ -1,97 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - angular - .module('ice.activation.inviteMembers') - .controller('InviteMembersController', ["$state", "vfService", "$rootScope", "$log", InviteMembersController]); - - function InviteMembersController($state, vfService, $rootScope, $log) { - var vm = this; - vm.data = []; - - var init = function() { - $rootScope.headerTitle = "Invite Team Members"; - $rootScope.headerSubTitle = "You can invite as many team members to collaborate around your virtual" + - " function as you would like. Please do remember that anyone invited to collaborate with you around" + - " the virtual function will have equal access."; - vm.choices = [{ Email: '' }]; - }; - - vm.submitForm = function () { - var jsonInviteMembers=[]; - angular.forEach(vm.choices, function(value, key) { - vm.item=[]; - var jsonItem = new Object(); - jsonItem.email = value.email; - jsonInviteMembers.push(jsonItem); - }); - - $rootScope.ice.loader.show = true; - vfService.inviteMembers(JSON.stringify(jsonInviteMembers)) - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - if (response.data.is_active) { - $state.go('app.dashboard.overview'); - } else { - $state.go('app.resend_activation'); - } - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - }; - - vm.addNewChoice = function () { - var newItemNo = vm.choices.length + 1; - vm.choices.push({ 'id': newItemNo }); - }; - - vm.removeChoice = function () { - var lastItem = vm.choices.length - 1; - vm.choices.splice(lastItem); - }; - - init(); - } -})(); - diff --git a/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.html b/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.html deleted file mode 100755 index 60fa01d5..00000000 --- a/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.html +++ /dev/null @@ -1,72 +0,0 @@ - - - -
- -
- -
- -
-
-
-
-
-
- -
- Email is a required field. - Enter a valid email. -
-
-
-
- Remove -
-
-
- - Invite another team member - - - -
-
-
diff --git a/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.less b/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.less deleted file mode 100755 index 9eb02dc3..00000000 --- a/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.less +++ /dev/null @@ -1,86 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.inviteMembers { - - .inviteMembers-title { - height: 130px; - display: flex; - flex-direction: column; - align-items: center; - justify-content: flex-start; - h1 {.p_24; margin: 20px 0 10px 0;} - h2 {.p_16_m; margin: 0;} - } - - .add-button { - &:after { - .sprite; - .sprite.add; - display: block; - } - } - - .remove-button { - width:100px; - height:40px; - line-height:20px; - vertical-align:middle; - padding-left:10px; - float:left; - } - - .inviteMembers-form { - margin-top: 20px; - } - - .btn { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - -} diff --git a/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.module.js b/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.module.js deleted file mode 100755 index 61d8f1f0..00000000 --- a/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.module.js +++ /dev/null @@ -1,67 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.inviteMembers', []) - .config(config); - - function config($stateProvider) { - - $stateProvider - .state('app.inviteMembers', { - url : '/inviteMembers', - views : { - 'main@': { - templateUrl: 'core/layouts/full-page-with-header/full-page-with-header.html', - controller : 'MainController as vm' - }, - 'content@app.inviteMembers': { - templateUrl: 'main/activation/inviteMembers/inviteMembers.html', - controller : 'InviteMembers as vm' - } - }, - bodyClass: 'inviteMembers' - }); - - } - -})(); diff --git a/d2ice.att.io/app/main/activation/login/login.controller.js b/d2ice.att.io/app/main/activation/login/login.controller.js deleted file mode 100755 index 9ed5f1be..00000000 --- a/d2ice.att.io/app/main/activation/login/login.controller.js +++ /dev/null @@ -1,119 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.login') - .controller('LoginController', ["$state", "usersService", "$log", "$rootScope", "$location", "toastService", - "$stateParams", LoginController]); - - function LoginController($state, usersService, $log, $rootScope, $location, toastService, $stateParams) { - var vm = this; - vm.data = {}; - $rootScope.headerTitle = "Login"; - $rootScope.headerSubTitle = "Please use the form below to login"; - usersService.resetUserData(); - var t=""; - - if ($state.params.message){ - toastService.setToast($state.params.message, 'danger'); - $log.warn($state.params.message); - } - - if ($location.search().t != undefined){ - t = "token"+$location.search().t - } - - vm.data.invitation = $location.search().invitation; - - vm.submitForm = function () { - $rootScope.ice.loader.show = true; - usersService.login(JSON.stringify(vm.data), t) - .then(function (response) { - if (response.status === 200) { - $rootScope.ice.loader.show = false; - - usersService.setUserActivationSuccess($state.params.activation_success); - - if(response.data.isResetPwdFlow!=undefined && response.data.isResetPwdFlow==true){ - $state.go("app.updatePassword"); - } - else{ - // This is a workaround to remove slash at the beginning. - // The slash is there because the ui-router does not support optional - // params in URL address, and I used regex: - // url: '/login{enggement_uuid: (?:/[^/]+)?}' and the value returned for engagement_uuid - // contains slash at the start. - var engagement_uuid = $state.params.engagement_uuid; - if (response.data.eng_uuid != undefined) - engagement_uuid = response.data.eng_uuid; - - if (engagement_uuid){ - engagement_uuid = engagement_uuid.replace('/',''); - $state.go("app.dashboard.overview", {"engagement_uuid": engagement_uuid}); - } else { - $state.go("app.dashboard.dashboard"); - } - } - } - }) - .catch(function (error) { - if(error && error.message && error.message.detail) { - toastService.setToast(error.message.detail, 'danger'); - } else { - toastService.setToast(error.message, 'danger'); - } - - $rootScope.ice.loader.show = false; - $log.error(error.message); - if(error.status===403){ // The server will return 403 if the user.is_active==false - $log.error('User is not active, redirecting to resend_activation page'); - $state.go("app.resend_activation", {"message": "Please activate your account first"}); - } - if(error.status===302){ // The server will return 302 if the temporary password has expired - $log.error('Temporary password has expired, redirecting to reset_password page'); - $state.go('app.resetPassword', {"message":"Your temporary password has expired, please" + - " generate a new one"}); - } - }); - }; - } -})(); diff --git a/d2ice.att.io/app/main/activation/login/login.html b/d2ice.att.io/app/main/activation/login/login.html deleted file mode 100755 index d095fda1..00000000 --- a/d2ice.att.io/app/main/activation/login/login.html +++ /dev/null @@ -1,90 +0,0 @@ - - - -
- -
-
- -
-
- -
diff --git a/d2ice.att.io/app/main/activation/login/login.less b/d2ice.att.io/app/main/activation/login/login.less deleted file mode 100755 index 9dd6a9f7..00000000 --- a/d2ice.att.io/app/main/activation/login/login.less +++ /dev/null @@ -1,109 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.login { - - .login-form { - margin-top: 20px; - } - - .btn { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - - a.register { - text-decoration: underline; - float: right; - margin: 10px 0 0 0; - } - - - .leftLink - { - padding-top:5px; - width:50%; - text-align:left; - float:left; - - a, - a:hover, - a:active, - a:focus - { - .m_14_r; - cursor: pointer; - } - - a{ - text-decoration:underline; - } - } - - .rightLink - { - font-size:14px; - padding-top:5px; - width:50%; - text-align:right; - float:left; - - a, - a:hover, - a:active, - a:focus - { - .m_14_r; - cursor: pointer; - } - - a{ - text-decoration:underline; - } - } - -} diff --git a/d2ice.att.io/app/main/activation/login/login.module.js b/d2ice.att.io/app/main/activation/login/login.module.js deleted file mode 100755 index 9953063b..00000000 --- a/d2ice.att.io/app/main/activation/login/login.module.js +++ /dev/null @@ -1,68 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.login', []) - .config(config); - - function config($stateProvider) { - - $stateProvider - .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: undefined}, - bodyClass: 'login' - }); - - } - -})(); diff --git a/d2ice.att.io/app/main/activation/register/register.controller.js b/d2ice.att.io/app/main/activation/register/register.controller.js deleted file mode 100755 index e4e525a7..00000000 --- a/d2ice.att.io/app/main/activation/register/register.controller.js +++ /dev/null @@ -1,122 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.register') - .controller('RegisterController', ["usersService", "$state", "$location", "vfService", "$rootScope", - "toastService", "$log",'$i18next', RegisterController]); - - function RegisterController(usersService, $state, $location, vfService, $rootScope, toastService, $log,$i18next) { - - var vm = this; - vm.data = {}; - var programName = $i18next.t('program.name'); - var init = function() - { - - $rootScope.headerTitle = "Sign Up"; - $rootScope.headerSubTitle = "Please use the form to Sign Up to " +programName; - - usersService.resetUserData(); - - var companyParam = $location.search().company; - - vm.data.full_name = $location.search().full_name; - vm.data.email = $location.search().email; - vm.data.phone_number = $location.search().phone_number; - - $rootScope.ice.loader.show = true; - vfService.getCompanies() - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200){ - vm.vendors = response.data; - if (companyParam != undefined) { - angular.forEach(vm.vendors, function (value, key) { - if (value.uuid === companyParam) { - vm.data.company = value.name; - }; - }); - } - } - }) - .catch(function (error){ - $rootScope.ice.loader.show = false; - $log.error(error); - }); - }; - - vm.submitForm = function () { - if(grecaptcha.getResponse().length != 0) - { - $rootScope.ice.loader.show = true; - if (vm.data.regular_email_updates != true) { - vm.data.regular_email_updates = false; - } - vm.data.inviter_uuid = $location.search().inviter_uuid; - vm.data.eng_uuid = $location.search().eng_uuid; - vm.data.invitation = $location.search().invitation; - vm.data.is_contact_user = ($location.search().is_contact_user === "true"); - vm.email = $location.search().email; - - usersService.register(vm.data) - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - $state.go('app.resend_activation'); - } - }) - .catch(function (error) { - toastService.setToast(error.message, 'danger'); - $rootScope.ice.loader.show = false; - $log.error(error.message); - }); - $rootScope.PleaseFill = ""; - } else { - toastService.setToast('Please fill CAPTCHA!', 'danger'); - $log.warn("Please fill CAPTCHA!"); - } - }; - - init(); - } -})(); diff --git a/d2ice.att.io/app/main/activation/register/register.html b/d2ice.att.io/app/main/activation/register/register.html deleted file mode 100755 index b6af8ce4..00000000 --- a/d2ice.att.io/app/main/activation/register/register.html +++ /dev/null @@ -1,127 +0,0 @@ - - - -
- -
-
- -
-
- - -
- Please select a company -
-
- -
- - -
- Name is a required field. - Full Name is too short. - Full Name is too long. - Full Name must be alphanumeric -
-
- -
- - -
- Email is a required field. - Enter a valid email. -
-
- -
- - -
- Phone is a required field. - Phone is too short. - Phone is too long. - Phone format invalid -
-
- -
- - -
- Password is a required field. - Password is too short. - Password is too long. -
-
- -
-  I agree to receive regular email updates from AT&T {{'program.name' | i18next}}. -
- - - -
- -
-
- - {{PleaseFill}} - - - - -
-
-
- -
diff --git a/d2ice.att.io/app/main/activation/register/register.less b/d2ice.att.io/app/main/activation/register/register.less deleted file mode 100755 index 7df0cce9..00000000 --- a/d2ice.att.io/app/main/activation/register/register.less +++ /dev/null @@ -1,100 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.register { - .phone-place-holder::-webkit-input-placeholder { - opacity: 0.7; - } - .phone-place-holder::-moz-placeholder { - opacity: 0.7; - } - .phone-place-holder:-moz-placeholder { - opacity: 0.7; - } - .phone-place-holder:-ms-input-placeholder { - opacity: 0.7; - } - - .register-form { - margin-top: 20px; - } - - .btn { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - - a, - a:hover, - a:active, - a:focus - { - .m_14_r; - cursor: pointer; - } - - a.login, a.login:hover{ - .m_14_r; - float: right; - margin: 5px 0 0 0; - } - - a.login{ - text-decoration: underline; - } - - .form-group { - a { - font-size:14px; - text-decoration:underline; - - &:hover { - font-size:14px; - } - } - } -} diff --git a/d2ice.att.io/app/main/activation/register/register.module.js b/d2ice.att.io/app/main/activation/register/register.module.js deleted file mode 100755 index e463ceb1..00000000 --- a/d2ice.att.io/app/main/activation/register/register.module.js +++ /dev/null @@ -1,67 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.register', []) - .config(config); - - function config($stateProvider) { - - $stateProvider - .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' - }); - - } - -})(); diff --git a/d2ice.att.io/app/main/activation/resendActivation/resendActivation.controller.js b/d2ice.att.io/app/main/activation/resendActivation/resendActivation.controller.js deleted file mode 100755 index 374d9005..00000000 --- a/d2ice.att.io/app/main/activation/resendActivation/resendActivation.controller.js +++ /dev/null @@ -1,79 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - angular - .module('ice.activation.resendActivation') - .controller('resendActivationController', ["usersService", "toastService", "$rootScope", "$state", "$log", - resendActivationController]); - - function resendActivationController(usersService, toastService, $rootScope, $state, $log) { - var vm = this; - vm.data = []; - - var init = function() { - $rootScope.headerTitle = "Activate Your Account"; - $rootScope.headerSubTitle = "Please follow the instructions below to activate your account."; - - if ($state.params.message){ - toastService.setToast($state.params.message, 'danger'); - } - - vm.activated=false; //True false - vm.showHideMsg = false; - vm.showHideWait = false; - }; - - vm.submitForm = function () { - $rootScope.ice.loader.show = true; - usersService.resendActivationMail() - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - }; - - init(); - } -})(); diff --git a/d2ice.att.io/app/main/activation/resendActivation/resendActivation.html b/d2ice.att.io/app/main/activation/resendActivation/resendActivation.html deleted file mode 100755 index cc2cc91b..00000000 --- a/d2ice.att.io/app/main/activation/resendActivation/resendActivation.html +++ /dev/null @@ -1,61 +0,0 @@ - - - -
- -
-
-
-

- 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. -

- Please note that sometimes activation emails end up in users spam/junk folders, so please check there. -

- If you have not received it, please click the resend the Activation Email button below. -

- - - -
-
-
-
diff --git a/d2ice.att.io/app/main/activation/resendActivation/resendActivation.less b/d2ice.att.io/app/main/activation/resendActivation/resendActivation.less deleted file mode 100755 index 5d2277cb..00000000 --- a/d2ice.att.io/app/main/activation/resendActivation/resendActivation.less +++ /dev/null @@ -1,67 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.resend-activation { - - .active-form { - margin-top: 20px; - } - - .btn { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - - .leftLink{ - padding-top:5px; - width:50%; - text-align:left; - float:left; - - } - -} diff --git a/d2ice.att.io/app/main/activation/resendActivation/resendActivation.module.js b/d2ice.att.io/app/main/activation/resendActivation/resendActivation.module.js deleted file mode 100755 index 90a28339..00000000 --- a/d2ice.att.io/app/main/activation/resendActivation/resendActivation.module.js +++ /dev/null @@ -1,68 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.resendActivation', []) - .config(config); - - function config($stateProvider) { - - $stateProvider - .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' - }); - - } - -})(); diff --git a/d2ice.att.io/app/main/activation/resetPassword/resetPassword.controller.js b/d2ice.att.io/app/main/activation/resetPassword/resetPassword.controller.js deleted file mode 100755 index 9702c2e4..00000000 --- a/d2ice.att.io/app/main/activation/resetPassword/resetPassword.controller.js +++ /dev/null @@ -1,95 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - angular - .module('ice.activation.resetPassword') - .controller('ResetPasswordController', ["$state", "usersService", "toastService", "$rootScope", "$window", - "$log", ResetPasswordController]); - - function ResetPasswordController($state, usersService, toastService, $rootScope, $window,$log) - { - var vm = this; - vm.data = {}; - var ngReq = true; - $rootScope.headerTitle = "Reset Your Password"; - $rootScope.headerSubTitle = "Please follow the instructions below to reset your password"; - - if($state.params.message!=undefined && $state.params.message!=""){ - toastService.setToast($state.params.message, 'danger'); - $rootScope.ice.loader.show = false; - $log.warn($state.params.message); - } - - vm.submitForm = function() - { - $rootScope.ice.loader.show = true; - var jsonEmail = - { - email : vm.data.email - }; - toastService.clearToast() - usersService.sendResetPwdInstructions(jsonEmail) - .then(function (response) { - if (response.status === 200) { - toastService.setToast('An email with detailed instructions on how to reset your password was sent to your Email.', 'success'); - ngReq = false; - vm.data.email = ""; - $rootScope.ice.loader.show = false; - } - else - { - toastService.setToast('Error sending reset password instructions email.', 'danger'); - $rootScope.ice.loader.show = false; - } - }) - .catch(function (error) - { - toastService.setToast(error.message, 'danger'); - $rootScope.ice.loader.show = false; - $log.error(error.message); - }); - }; - - vm.sendMail = function() - { - $window.open("mailto:d2ice@att.com","_self"); - } - } -})(); diff --git a/d2ice.att.io/app/main/activation/resetPassword/resetPassword.html b/d2ice.att.io/app/main/activation/resetPassword/resetPassword.html deleted file mode 100755 index 41d90a69..00000000 --- a/d2ice.att.io/app/main/activation/resetPassword/resetPassword.html +++ /dev/null @@ -1,64 +0,0 @@ - - - -
- -
-
-
-
- - -
- Email is a required field. - Enter a valid email. -
-
- - - - -
-
-
- -
diff --git a/d2ice.att.io/app/main/activation/resetPassword/resetPassword.less b/d2ice.att.io/app/main/activation/resetPassword/resetPassword.less deleted file mode 100755 index 18f79364..00000000 --- a/d2ice.att.io/app/main/activation/resetPassword/resetPassword.less +++ /dev/null @@ -1,84 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.resetPassword { - - .resetPassword-form { - margin-top: 20px; - } - - .btn { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - - a.register { - text-decoration: underline; - float: right; - margin: 10px 0 0 0; - } - - .leftLink { - width:100%; - padding-top:5px; - text-align:left; - - a, - a:hover, - a:active, - a:focus - { - .m_14_r; - cursor: pointer; - } - - a{ - text-decoration:underline; - } - } - -} diff --git a/d2ice.att.io/app/main/activation/resetPassword/resetPassword.module.js b/d2ice.att.io/app/main/activation/resetPassword/resetPassword.module.js deleted file mode 100755 index 792e51dd..00000000 --- a/d2ice.att.io/app/main/activation/resetPassword/resetPassword.module.js +++ /dev/null @@ -1,68 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.resetPassword',[]) - .config(config); - - function config($stateProvider) { - - $stateProvider - .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' - }); - - } - -})(); diff --git a/d2ice.att.io/app/main/activation/terms/terms.controller.js b/d2ice.att.io/app/main/activation/terms/terms.controller.js deleted file mode 100755 index 9eabdc25..00000000 --- a/d2ice.att.io/app/main/activation/terms/terms.controller.js +++ /dev/null @@ -1,56 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.terms') - .controller('TermsController', ["$rootScope", TermsController]); - - function TermsController($rootScope) - { - var vm = this; - vm.data = {}; - - $rootScope.headerTitle = "Terms of Service"; - $rootScope.headerSubTitle = "Last updated 2016-06-10"; - } - -})(); diff --git a/d2ice.att.io/app/main/activation/terms/terms.html b/d2ice.att.io/app/main/activation/terms/terms.html deleted file mode 100755 index fd39eb99..00000000 --- a/d2ice.att.io/app/main/activation/terms/terms.html +++ /dev/null @@ -1,105 +0,0 @@ - -
- -
-
- -
- -

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.

- -
    - -
  1. Content Ownership. 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

  2. - -
  3. Account Registration. 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.

  4. - -
  5. Limited License. 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. 

  6. - -
  7. Use Restrictions. 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. - -

  8. Forums. {{'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}}.

    - -

    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.

    - -

    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.

  9. - -
  10. Consent to Monitoring and Disclosure. 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.

  11. - -
  12. Copyright Complaints. {{'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@att.com.

  13. - -
  14. Privacy. 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.

  15. - -
  16. Subject to Change. {{'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.

  17. - -
  18. Term. 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}}.

  19. - -
  20. Termination of {{'serviceProvider.name' | i18next}} Web Site and Service. {{'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.

  21. - -
  22. Application Agreement(s).  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).

  23. - -
  24. Trademarks. 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.

  25. - -
  26. Connectivity; Delay in Service. 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.

  27. - -
  28. Limitation of Liability. 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.

  29. - -
  30. Disclaimer of Warranties. 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.

  31. - -
  32. Indemnification. 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. - -

  33. Severability. 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.

  34. - -
  35. Publicity. 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.

  36. - -
  37. International Use. {{'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.

  38. - -
  39. Governing Law. 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.

  40. - -
  41. Miscellaneous. {{'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. 

  42. - -
- -
- -
-
- -
diff --git a/d2ice.att.io/app/main/activation/terms/terms.less b/d2ice.att.io/app/main/activation/terms/terms.less deleted file mode 100755 index e809c9d6..00000000 --- a/d2ice.att.io/app/main/activation/terms/terms.less +++ /dev/null @@ -1,65 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.terms { - - .terms-form { - margin-top: 20px; - } - - .btn { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - - a.register { - text-decoration: underline; - float: right; - margin: 10px 0 0 0; - } - -} diff --git a/d2ice.att.io/app/main/activation/terms/terms.module.js b/d2ice.att.io/app/main/activation/terms/terms.module.js deleted file mode 100755 index 68a429cf..00000000 --- a/d2ice.att.io/app/main/activation/terms/terms.module.js +++ /dev/null @@ -1,68 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.terms', []) - .config(config); - - function config($stateProvider) { - - $stateProvider - .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' - }); - - } - -})(); diff --git a/d2ice.att.io/app/main/activation/updatePassword/updatePassword.controller.js b/d2ice.att.io/app/main/activation/updatePassword/updatePassword.controller.js deleted file mode 100755 index 364dcc77..00000000 --- a/d2ice.att.io/app/main/activation/updatePassword/updatePassword.controller.js +++ /dev/null @@ -1,95 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.updatePassword') - .controller('UpdatePasswordController', ["$state", "usersService", "localStorageService", "$rootScope", "toastService", "$window", UpdatePasswordController]); - - function UpdatePasswordController($state, usersService, localStorageService, $rootScope, toastService, $window) { - - var vm = this; - vm.data = {}; - - var ngReq = true; - - $rootScope.headerTitle = "Update Your Password"; - $rootScope.headerSubTitle = "Please follow the instructions below to update your password"; - - vm.submitForm = function() - { - $rootScope.ice.loader.show = true; - var jsonPasswordConfirm = - { - password : vm.data.password, - confirm_password : vm.data.confirm_password - } - - usersService.updatePassword(usersService.getUserData().uuid, jsonPasswordConfirm) - .then(function (response) { - if (response.status === 200) { - toastService.setToast('Password was updated Successfully!', 'success'); - ngReq = false; - vm.data.password = ""; - vm.data.confirm_password = ""; - $rootScope.ice.loader.show = false; - //$timeout(function() { $state.go("app.dashboard"); }, 2000); - $state.go('app.dashboard.dashboard', {"messagePass": "Password was updated Successfully!"}); - } - else - { - toastService.setToast('Error updating your password.', 'danger'); - $rootScope.ice.loader.show = false; - } - }) - .catch(function (error) { - toastService.setToast(error.message, 'danger'); - $rootScope.ice.loader.show = false; - }); - }; - - vm.sendMail = function() - { - $window.open("mailto:d2ice@att.com","_self"); - } - } - -})(); diff --git a/d2ice.att.io/app/main/activation/updatePassword/updatePassword.html b/d2ice.att.io/app/main/activation/updatePassword/updatePassword.html deleted file mode 100755 index 65569cdb..00000000 --- a/d2ice.att.io/app/main/activation/updatePassword/updatePassword.html +++ /dev/null @@ -1,76 +0,0 @@ - - - -
- -
-
-
-
- - -
- Password is required field. - Password is too short. - Password is too long. -
-
- -
- - -
- Confirm password is required field. - Passwords do not match. -
-
- - - - - - -
-
-
- -
diff --git a/d2ice.att.io/app/main/activation/updatePassword/updatePassword.less b/d2ice.att.io/app/main/activation/updatePassword/updatePassword.less deleted file mode 100755 index a6524df5..00000000 --- a/d2ice.att.io/app/main/activation/updatePassword/updatePassword.less +++ /dev/null @@ -1,85 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.updatePassword { - - .updatePassword-form { - margin-top: 20px; - } - - .btn { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - - a.register { - text-decoration: underline; - float: right; - margin: 10px 0 0 0; - } - - .leftLink{ - padding-top:5px; - width:50%; - text-align:left; - float:left; - - a, - a:hover, - a:active, - a:focus - { - .m_14_r; - cursor: pointer; - } - - a{ - text-decoration:underline; - } - } - -} diff --git a/d2ice.att.io/app/main/activation/updatePassword/updatePassword.module.js b/d2ice.att.io/app/main/activation/updatePassword/updatePassword.module.js deleted file mode 100755 index b00e619b..00000000 --- a/d2ice.att.io/app/main/activation/updatePassword/updatePassword.module.js +++ /dev/null @@ -1,68 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.updatePassword', []) - .config(config); - - function config($stateProvider) { - - $stateProvider - .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' - }); - - } - -})(); diff --git a/d2ice.att.io/app/main/admin/admin.module.js b/d2ice.att.io/app/main/admin/admin.module.js deleted file mode 100755 index 391461d0..00000000 --- a/d2ice.att.io/app/main/admin/admin.module.js +++ /dev/null @@ -1,89 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.main.admin') - .config(config); - - function config($stateProvider) { - $stateProvider - .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: authenticate } - }) - .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: undefined}, - bodyClass: 'checklist-template', - }); - - function authenticate(usersService, $q, $timeout, $state) { - var result = usersService.isAdmin(usersService.getUserData()); - - if(result === true) { - return $q.when(); - } else { - $timeout(function() { - $state.go('app.login'); - }); - } - - return $q.reject(); - } - } - - - -})(); diff --git a/d2ice.att.io/app/main/admin/checklist-template/checklist-template.controller.js b/d2ice.att.io/app/main/admin/checklist-template/checklist-template.controller.js deleted file mode 100755 index e3033544..00000000 --- a/d2ice.att.io/app/main/admin/checklist-template/checklist-template.controller.js +++ /dev/null @@ -1,241 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - angular - .module('ice.main.admin') - .controller('checklistTemplateController', ["_", "$scope", "checklistService", "$stateParams", "toastService", - "$uibModal", "$log", checklistTemplateController]); - - function checklistTemplateController(_, $scope, checklistService, $stateParams, toastService, $uibModal, $log) { - var vm = this; - var templateToRevert; - - var init = function(){ - if ($stateParams['template_uuid']){ - vm.inlineEditingElements = {}; - vm.wysiwyg_menu = [ - ['bold', 'italic', 'strikethrough', 'underline'], - ['unordered-list', 'ordered-list', 'outdent', 'indent'] - ]; - - checklistService.getChecklistTemplate($stateParams['template_uuid']) - .then(function (response) { - if (response.status === 200) { - vm.template = response.data; - registerWatchers(); - orderTemplateItems(); - templateToRevert = angular.copy(response.data); - initFirstLineItemSelection(); - } - }) - .catch(function (err){ - $log.error("got error with getChecklistTemplate"); - }); - } - }; - - vm.switchElementInlineEditing = function(elementName) { - vm.inlineEditingElements[elementName] = !vm.inlineEditingElements[elementName]; - }; - - vm.save = function() { - var modalInstance = $uibModal.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": vm.template.name, - "headline": 'Are you done editing?', - "is_message":true, - "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":false - }; - } - } - }); - - modalInstance.result.then(function (saveApproved) { - if(saveApproved) { - checklistService.saveChecklistTemplate(vm.template) - .then(function (response) { - if (response.status === 200) { - templateToRevert = angular.copy(vm.template); - toastService.setToast("Template was saved successfully.", 'success'); - } - }) - .catch(function (err){ - toastService.setToast("Problem occurred while saving template.", 'danger'); - $log.error("got error with saveChecklistTemplate"); - }); - } - }); - }; - - vm.cancel = function() { - var modalInstance = $uibModal.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": vm.template.name, - "headline": 'Are you sure you want to revert all changes?', - "is_message":false, - "approve": 'Yes', - "cancelText": 'No', - "is_close_modal_button":false - }; - } - } - }); - - modalInstance.result.then(function (revertApproved) { - if(revertApproved) { - vm.template = angular.copy(templateToRevert); - initFirstLineItemSelection(); - toastService.setToast("All changes discarded.", 'success'); - } - }); - }; - - vm.deleteSection = function(sectionToDelete) { - _.remove(vm.template.sections, function(section) {return sectionToDelete === section;}); - initFirstLineItemSelection(); - }; - - vm.selectLineItem = function(lineItem, section, $event) { - if(vm.selectedLineItem != lineItem) { - vm.selectedSection = section; - vm.selectedLineItem = lineItem; - $scope.$$postDigest(function () { - // Make extended window follow selected decision line - if ($event != undefined) - { - var line_item_bottom_offset = angular.element($event.target).prop('offsetHeight') + angular.element($event.target).prop('offsetTop'); - var extendended_item_height = angular.element("#line-item-extended").prop('offsetHeight'); - var diff_between_elements = line_item_bottom_offset - extendended_item_height; - if (diff_between_elements > 0) { - angular.element("#line-item-extended").css('margin-top',(20+diff_between_elements) +'px'); - } else { - angular.element("#line-item-extended").css('margin-top',''); - } - } - }); - } - }; - - vm.addLineItem = function(section) { - if(section) { - var maxWeight = _.maxBy(section.lineItems, function(lineItem) {return lineItem.weight;}) + 1; - var newLineItem = {"uuid": "newEntity", - "name": "Untitled line item", - "description": "Please add a description", - "weight": maxWeight, - "validation_instructions": "Please add validation instructions for the line item."}; - - section.lineItems.push(newLineItem); - } - }; - - vm.addSection = function() { - if(vm.template) { - var maxWeight = _.maxBy(vm.template.sections, function(section) {return section.weight;}) + 1; - var newSection = {"uuid": "newEntity", - "name": "Untitled section", - "description": "Section added from portal", - "validation_instructions": "valid instructions", - "weight": maxWeight, - "lineItems": []}; - - vm.template.sections.push(newSection); - } - }; - - vm.deleteLineItem = function(lineItemToDelete) { - _.remove(vm.selectedSection.lineItems, function(lineItem) {return lineItemToDelete === lineItem;}); - initFirstLineItemSelection(); - }; - - vm.isSaveInvalid = function() { - var result = false; - if(vm.template) { - result = _.find(vm.template.sections, function(section) { return section.lineItems.length === 0; }) != undefined; - } - - return result; - }; - - var registerWatchers = function() { - $scope.$watch('vm.template.name', function(newVal, OldVal){ - $stateParams.templateName = newVal; - }, true); - }; - - var initFirstLineItemSelection = function () { - vm.selectedSection = vm.template.sections && vm.template.sections.length > 0 - ? vm.template.sections[0] - : undefined; - - vm.selectedLineItem = vm.selectedSection ? vm.selectedSection.lineItems[0] : undefined; - - angular.element("#line-item-extended").css('margin-top',''); - }; - - var orderTemplateItems = function() { - if(vm.template) { - vm.template.sections = _.orderBy(vm.template.sections, 'weight'); - - _.forEach(vm.template.sections, function(section) { - section.lineItems = _.orderBy(section.lineItems, 'weight'); - }); - } - }; - - init(); - } -})(); diff --git a/d2ice.att.io/app/main/admin/checklist-template/checklist-template.html b/d2ice.att.io/app/main/admin/checklist-template/checklist-template.html deleted file mode 100755 index cea7b11b..00000000 --- a/d2ice.att.io/app/main/admin/checklist-template/checklist-template.html +++ /dev/null @@ -1,174 +0,0 @@ - -
-
-
-

- - Master Checklist Template: - {{vm.template.name}} - - -
- Template name is a required field. - Template name is too short. - Template name is too long. -
-
-

-
- Editing a master checklist template will affect all checklists currently created of that type - and will also restart the validation for all active engagements. -
-
- -
-
-
-
-
-
-
-
    -
  • -

    - Section {{$index+1}}: {{section.name}} - - - - -
    - Section name is a required field. - Section name is too short. - Section name is too long. -
    -
    -

    -
      -
    • - - - {{$parent.$index+1}}.{{$index+1}} - - {{lineItem.name}} -
       
      - -
    • -
    • - - Add Another line item -
    • -
    -
  • -
- -
-
-
- - Add Another Section -
diff --git a/d2ice.att.io/app/main/admin/checklist-template/checklist-template.less b/d2ice.att.io/app/main/admin/checklist-template/checklist-template.less deleted file mode 100755 index 7077958e..00000000 --- a/d2ice.att.io/app/main/admin/checklist-template/checklist-template.less +++ /dev/null @@ -1,552 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.cl-add-item-line { - width: 80%; - - .add-button { - .sprite; - .sprite.small-grey-add; - display: inline-block; - cursor: pointer; - position:relative; - top:3px; - } -} - -.cl-action-button{ - width: 30%; - margin-bottom: 2%; - margin-right: 3%; - &:last-child { - margin-right: 0; - } - -} - -.checklist-template-edit-item { - padding: 5px; - &.edit-template-name{ - .a_24_r; - } - - &.edit-section-name{ - .m_24; - } - - &.edit-lineitem-name{ - .m_18; - background-color: white; - line-height: normal; - } - &.edit-lineitem-description{ - .m_18; - width: 100%; - line-height: normal; - } -} - -.glyphicon-cursor-approve-changes { - display: inline-block; - cursor: pointer; - position:relative; - top:3px; - float: right; -} - -.lineitem-changed-icon { - .sprite; - .sprite.grey-check-mark; - display: inline-block; - cursor: pointer; - position:relative; - top:3px; - margin-left: -15px; -} - -.remove-item { - .sprite; - .sprite.red-delete; - display: inline-block; - cursor: pointer; - position:relative; - top:3px; - float: right; - margin-right: 1%; -} - -.template-edit-item { - .sprite; - .sprite.edit-medium; - display: inline-block; - cursor: pointer; - position:relative; - top:3px; - float: right; -} - -.add-another-section { - .sprite; - .sprite.big-grey-add; - display: inline-block; - cursor: pointer; - position:relative; - top:3px; -} - -.another-section { - border-top: 1px dashed ; - padding-top: 0.5%; -} - - -.checklist-template { - height:100%; - - #checklist-main-section { - padding-left: 12px; - } - - .ice-form-error { - text-transform: none; - } - - .section-topic{ - padding-left: 4%; - .m_24_m; - } - - .lineitem-index{ - padding-left: 5%; - } - - .lineitem-icon-and-index{ - padding-left: 0px; - } - - #cl-header { - height:12%; - padding-top:1%; - padding-bottom: 2%; - - .checklist-template-topic{ - border-right: 1px solid; - - #cl-title { - padding-left: 0px; - - .template-name { - .a_24_r; - } - - .template-topic { - .a_24_m; - } - } - - .edit-checklist { - display: inline-block; - margin-right: 5px; - cursor: pointer; - } - } - } - - - - - - #state-actions .btn { - width: 100%; - } - - .action-buttons{ - width: 100%; - margin-bottom: 7px; - } - - - - .add-icon { - .sprite; - .sprite.add; - display: inline-block; - } - - - .add-button { - margin-top: 8px; - .add-text { - .a_16_m; - vertical-align: top; - margin-left: 6px; - } - - } - - - - - #cl-title h1 { - .a_24_r; - margin: 0 0 30px 0; - } - - h3 { - .m_18_m; - } - h2 { - margin: 0 0 10px 0; - .a_24_m; - position: relative; - .add-people, - .add-step { - .sprite; - .sprite.add; - display: inline-block; - margin-left: 8px; - cursor: pointer; - } - } - - .main-section { - margin-top: 30px; - } - } - - - #state-bar { - float:none; - height: 5%; - - } - - - - #cl-header > #cl-title > span.bold { - .a_24_m; - } - - - .cl-action-buttons-frame{ - list-style: none; - display: inline; - padding-top: 20px; - } - - - - #line-item-list { - list-style: none; - padding-right:15px; - } - - - #line-item-list > li { - margin-bottom: 25px; - } - #line-item-list > li > h2 { - text-transform: capitalize; - border-bottom: 1px solid; - border-color: @main_color_q; - width: 100%; - margin-bottom: 0px; - padding-left: 5px; - .m_24; - } - #line-item-list > li > h2 > span.bold { - .m_24_m; - } - - #line-item-list > li > ul { - list-style: none; - } - #line-item-list > li > ul >li.line-item-row { - border-bottom: 1px solid; - border-color: @main_color_q; - line-height: 30px; - padding: 0px; - vertical-align: middle; - height: 30px; - .m_16_r; - cursor: pointer; - } - - #line-item-list > li > ul >li.line-item-row .value-icon { - padding: 0px; - } - - #line-item-list > li > ul >li.line-item-row .value-icon span { - display: inline-block; - position: relative; - top: 3px; - margin-right: 5px; - margin-left: 3px; - width:15px; - height:15px; - } - - #line-item-list > li > ul >li.line-item-row .auto-icon { - text-align:right; - padding: 0px; - } - - #line-item-list > li > ul >li.line-item-row .auto-icon span { - display: inline-block; - position: relative; - top: 3px; - margin-right: 3px; - } - - #line-item-list > li > ul >li.line-item-row.selected-line { - background-color: @bg_color_a; - border-left: 2px solid; - border-top: 2px solid; - border-bottom: 2px solid; - border-color: @main_color_a; - position:relative; - z-index:1; - top: -1px; - left: -2px; - } - - #line-item-list > li > ul >li.line-item-row.selected-line > .selected-line-connector { - position: absolute; - right: -19px; - width: 20px; - height: 30px; - top: -2px; - background-color: @bg_color_a; - border-top: 2px solid; - border-bottom: 2px solid; - border-color: @main_color_a; - } - #line-item-extended { - background-color: @bg_color_a; - border: 2px solid; - border-color: @main_color_a; - padding:15px; - @media (min-width: 992px) { - max-height: 100%; - overflow-y: auto; - } - } - #line-item-extended >header { - padding: 0 30px; - padding-bottom: 0px; - } - #line-item-extended >header > h2 { - text-transform: capitalize; - padding:0px; - margin:0px; - line-height:32px; - .m_18_r; - } - #line-item-extended > header > h2 > span.bold { - .m_18_m; - } - #line-item-extended >header > #decision-actions { - list-style: none; - text-align: right; - margin:0px; - } - #line-item-extended >header > #decision-actions > li { - display: inline-block; - margin-left: 2px; - .sprite; - } - #line-item-extended >header > #decision-actions.active > li { - cursor:pointer; - } - - #line-item-extended >header > #decision-actions > li.not-relevant-btn { - .sprite.not-relevant-btn; - } - - #line-item-extended >header > #decision-actions.active > li.not-relevant-btn:hover { - .sprite.not-relevant-btn-active; - } - #line-item-extended >header > #decision-actions > li.not-relevant-btn.active { - .sprite.not-relevant-btn-active; - } - #line-item-extended >header > #decision-actions > li.denied-cl-btn { - .sprite.denied-cl-btn; - } - #line-item-extended >header > #decision-actions.active > li.denied-cl-btn:hover { - .sprite.denied-cl-btn-active; - } - #line-item-extended >header > #decision-actions > li.denied-cl-btn.active { - .sprite.denied-cl-btn-active; - } - #line-item-extended >header > #decision-actions > li.approved-cl-btn { - .sprite.approved-cl-btn; - } - #line-item-extended >header > #decision-actions.active > li.approved-cl-btn:hover { - .sprite.approved-cl-btn-active; - } - #line-item-extended >header > #decision-actions > li.approved-cl-btn.active { - .sprite.approved-cl-btn-active; - } - - - #line-item-extended > #line-item-description { - margin: 0 15px; - .m_16_r; - } - - #line-item-extended > #line-item-validation-instructions { - .m_14_r; - background-color: #fff; - border: 1px solid; - border-color: @main_color_a; - padding: 15px; - margin-top: 15px; - } - - #line-item-extended > #line-item-validation-instructions h3 { - text-transform: capitalize; - margin: 0px; - .m_18_m; - } - - #line-item-extended > #line-item-validation-instructions p { - margin-top: 5px; - - } - - #line-item-extended > #line-item-validation-instructions p ul { - padding-left: 15px; - } - - #line-item-extended > #line-item-audit-logs { - padding:0 15px; - } - - #line-item-extended > #line-item-audit-logs > h3 { - text-transform: capitalize; - .m_18_m; - - } - #line-item-extended > #line-item-audit-logs > #audit-log-list { - list-style:none; - - } - #line-item-extended > #line-item-audit-logs > #audit-log-list > li { - margin: 0 15px 10px; - border-bottom: 2px solid; - border-color: @main_color_q; - } - #line-item-extended > #line-item-audit-logs > #audit-log-list > li > .audit-creator { - .m_16_m; - margin:0px; - padding:0px; - } - #line-item-extended > #line-item-audit-logs > #audit-log-list > li > .audit-date { - text-align:right; - .m_14_r; - padding:0px; - } - #line-item-extended > #line-item-audit-logs > #audit-log-list > li > .audit-text { - .m_16_r; - margin-bottom:0px; - padding:0px; - } - - #line-item-extended > #line-item-audit-logs > #new-audit-log-from { - margin: 0 0 15px; - } - - #line-item-extended > #line-item-audit-logs > #new-audit-log-from #new-audit-log-text { - border-color: @main_color_q; - margin-bottom:15px; - } - - .btn-gradient-primary { - font-weight: bold; - color: #FFFFFF; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #37B2E5; - *background-color: #37B2E5; - background-image: -moz-linear-gradient(top, #0079AB, #37B2E5); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0079AB), to(#37B2E5)); - background-image: -webkit-linear-gradient(top, #0079AB, #37B2E5); - background-image: -o-linear-gradient(top, #0079AB, #37B2E5); - background-image: linear-gradient(to bottom, #0079AB, #37B2E5); - background-repeat: repeat-x; - border-color: #37B2E5; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0079AB', endColorstr='#37B2E5', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); - } - - .btn-gradient-success { - font-weight: bold; - color: #FFFFFF; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #41A02C; - *background-color: #41A02C; - background-image: -moz-linear-gradient(top, #A2E652, #41A02C); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#A2E652), to(#41A02C)); - background-image: -webkit-linear-gradient(top, #A2E652, #41A02C); - background-image: -o-linear-gradient(top, #A2E652, #41A02C); - background-image: linear-gradient(to bottom, #A2E652, #41A02C); - background-repeat: repeat-x; - border-color: #41A02C; - border-color: #888; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#A2E652', endColorstr='#41A02C', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); - } - - .btn-gradient-danger { - font-weight: bold; - color: #FFFFFF; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #AE0020; - *background-color: #AE0020; - background-image: -moz-linear-gradient(top, #F74658, #AE0020); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#F74658), to(#AE0020)); - background-image: -webkit-linear-gradient(top, #F74658, #AE0020); - background-image: -o-linear-gradient(top, #F74658, #AE0020); - background-image: linear-gradient(to bottom, #F74658, #AE0020); - background-repeat: repeat-x; - border-color: #AE0020; - border-color: #888; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F74658', endColorstr='#AE0020', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); - } - diff --git a/d2ice.att.io/app/main/dashboard/account/account.controller.js b/d2ice.att.io/app/main/dashboard/account/account.controller.js deleted file mode 100755 index da648f73..00000000 --- a/d2ice.att.io/app/main/dashboard/account/account.controller.js +++ /dev/null @@ -1,150 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.dashboard.account') - .controller('DashboardAccountController', ["$state", "usersService", "vfService", "$log", - "$rootScope", "toastService", dashboardAccountController]); - - function dashboardAccountController($state,usersService,vfService, $log, $rootScope, toastService) { - - var vm = this; - vm.data = {}; - - var init = function() - { - - vm.user = usersService.getUserData(); - - if (vm.user == undefined) { - $state.go('app.login'); - return; - } - - var user_uuid = vm.user.uuid; - - $rootScope.ice.loader.show = true; - usersService.getIceUser(user_uuid) - .then - (function (response) - { - if (response.status === 200) - { - vm.data.full_name = response.data.full_name; - vm.data.email = response.data.email; - vm.data.phone_number = response.data.phone_number; - vm.data.password = ''; //user.password; - vm.data.ssh_key = response.data.ssh_public_key; - vm.data.company = response.data.company.name; - vm.data.access_key = response.data.rgwa_access_key; - vm.data.access_secret = "•••••••••••••••"; - $rootScope.ice.loader.show = false; - } - else - { - toastService.setToast('Error getting account', 'danger'); - $log.error("Error getting account: " + uuid); - $rootScope.ice.loader.show = false; - } - } - ).catch(function (error) { - toastService.setToast(error.message, 'danger'); - $log.error(error.message); - }); - - vfService.getCompanies() - .then(function (response) { - if (response.status === 200) - { - vm.companies = response.data; - } - }) - .catch(function (error) - { - $log.error(error.message); - }); - - - - }; - - init(); - - vm.getAccessSecret = function () - { - usersService.getRGWASecret() - .then - (function (response) - { - if (response.status === 200) - { - vm.data.access_secret = response.data.rgwa_secret_key; - } - else - { - toastService.setToast('Error getting user\'s access secret', 'danger'); - $log.error("Error getting access secret: " + uuid); - $rootScope.ice.loader.show = false; - } - } - ).catch(function (error) { - toastService.setToast(error.message, 'danger'); - $log.error(error.message); - }); - } - - vm.submitForm = function () - { - var user = usersService.getUserData(); - usersService.updateAccount(user.uuid, vm.data) - .then(function (response) { - if (response.status === 200) { - toastService.setToast('Account was updated successfully!', 'success'); - } - }) - .catch(function (error) { - toastService.setToast(error.message.detail, 'danger'); - }); - }; - } - -})(); diff --git a/d2ice.att.io/app/main/dashboard/account/account.html b/d2ice.att.io/app/main/dashboard/account/account.html deleted file mode 100755 index de792d3a..00000000 --- a/d2ice.att.io/app/main/dashboard/account/account.html +++ /dev/null @@ -1,159 +0,0 @@ - - - -

Account

- -
- -
- - -
- - - -
- - - -
- -
-
-
-

Your Storage Credentials

-
- -
Access Key: -
{{vm.data.access_key}}
-
- -
Access Secret (Show) -
{{vm.data.access_secret}}
-
- -
-
-
- -
- diff --git a/d2ice.att.io/app/main/dashboard/account/account.less b/d2ice.att.io/app/main/dashboard/account/account.less deleted file mode 100755 index d32db492..00000000 --- a/d2ice.att.io/app/main/dashboard/account/account.less +++ /dev/null @@ -1,215 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.account { - - .btn { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - - .content { - - .steps-progress-wrapper { - margin-top: 10px; - } - - h1 { - .a_36; - margin: 0 0 30px 0; - } - - h2 { - margin: 0 0 10px 0; - .a_24_m; - position: relative; - .add-people, - .add-step { - .sprite; - .sprite.add; - display: inline-block; - margin-left: 8px; - cursor: pointer; - } - } - - h3 { - .a_20_m; - } - - .main-section { - margin-top: 30px; - } - - .steps { - - border-right: dashed 1px @main_color_a; - height: 100%; - padding-right: 20px; - - ul { - li.step { - - &.selected { - background-color: #DEF3FF; - } - - list-style: none; - position: relative; - padding: 10px 10px 10px 4px; - - .description { - - .m_16_r; - border-bottom: dashed 1px @main_color_n; - padding: 10px 0; - - input { - position: absolute; - top: 10px; - left: 0; - margin-right: 20px; - } - - .step-text { - margin-left: 20px; - } - - .step-state { - position: absolute; - top: 24px; - &.todo { - .steps-sprite; - .steps-sprite.todo; - display: inline-block; - } - &.confirmed { - .steps-sprite; - .steps-sprite.confirmed; - display: inline-block; - } - &.completed { - .steps-sprite; - .steps-sprite.completed; - display: inline-block; - } - &.completed-non-el { - .steps-sprite; - .steps-sprite.completed-non-el; - display: inline-block; - } - } - } - .details { - .m_12_r; - margin-bottom: 20px; - .actions { - float: right; - margin-top: 4px; - - .moveto-confirmed { - .sprite; - .sprite.success; - display: inline-block; - cursor: pointer; - } - .moveto-todo { - .sprite; - .sprite.delete-circle; - display: inline-block; - cursor: pointer; - } - .moveto-delete { - .sprite; - .sprite.delete; - display: inline-block; - cursor: pointer; - } - } - } - } - } - } - - .right-panel { - height: 100%; - padding-left: 20px; - padding-bottom: 5px; - - .personImage - { - .profiles-sprite; - .profiles-sprite.profile-large; - display: block; - } - - .line-separator { - border-bottom: solid lightgrey; - margin: 20px 0; - } - - .storage-credentials { - .m_18_r; - } - - .access-key { - margin-bottom: 10px; - .m_16_r; - } - - .access-secret { - margin-bottom: 10px; - .m_16_r; - } - - .show-secret { - .underline; - cursor: pointer; - } - } - } -} diff --git a/d2ice.att.io/app/main/dashboard/account/account.module.js b/d2ice.att.io/app/main/dashboard/account/account.module.js deleted file mode 100755 index 052cbbfb..00000000 --- a/d2ice.att.io/app/main/dashboard/account/account.module.js +++ /dev/null @@ -1,85 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.dashboard.account') - .config(config); - - function config($stateProvider) { - $stateProvider - .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' - }); - } -})(); diff --git a/d2ice.att.io/app/main/dashboard/account/notifications/notifications.controller.js b/d2ice.att.io/app/main/dashboard/account/notifications/notifications.controller.js deleted file mode 100755 index 0e9542dd..00000000 --- a/d2ice.att.io/app/main/dashboard/account/notifications/notifications.controller.js +++ /dev/null @@ -1,140 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - angular - .module('ice.dashboard.account') - .controller('DashboardNotificationsController', ["$state","pageService","usersService", "toastService", "$rootScope", "$scope", "$log", dashboardNotificationsController]); - - function dashboardNotificationsController($state,pageService, usersService, toastService, $rootScope, $scope, $log) { - var vm = this; - vm.data = {}; - var init = function() - { - pageService.setPage('notification'); - $rootScope.timeGapLocal = moment().format("z");// timeGap(); - $rootScope.ampm = moment().format('A'); - $rootScope.mom =moment().tz( moment.tz.guess()).format('z'); - - vm.pagination_num_of_objects = 10; - vm.current_starting_offset = "0"; - vm.page_num = 1; - vm.user = usersService.getUserData(); - if (vm.user == undefined) { - $state.go('app.login'); - return; - } - vm.getNotifications(true) - } - - vm.getNotifications = function (reset) { - var user_uuid = vm.user.uuid; - $rootScope.ice.loader.show = true; - vm.current_starting_offset = (vm.page_num-1)*vm.pagination_num_of_objects; - usersService.getNotificationsDescription(vm.user.uuid,vm.current_starting_offset,vm.pagination_num_of_objects) - .then - (function (response) - { - if (response.status === 200) - { - vm.notifications = response.data['serilizedActivitySet']; - vm.num_of_returned_items = response.data['num_of_objects']; - vm.notifications_display_list = vm.notifications; - if (reset){ - usersService.resetNotificationNum(user_uuid) - .then - (function (response) - { - if (response.status === 200) - { - $scope.$emit('eventClearNotifications',0); - } - } - ) - .catch(function (error) { - toastService.setToast(error.message, 'danger'); - $rootScope.ice.loader.show = false; - $log.error(error); - }); - } - $rootScope.ice.loader.show = false; - } - else - { - toastService.setToast(response.error, 'danger'); - $rootScope.ice.loader.show = false; - } - } - ) - .catch(function (error) { - toastService.setToast(error.message, 'danger'); - $rootScope.ice.loader.show = false; - $log.error(error); - } - ); - }; - - vm.delNotification = function(uuid) - { - var itemIndex = 0; - - for(var i=0; i < vm.notifications.length; i++) - { - if (vm.notifications[i].uuid == uuid) - { - itemIndex = i; - break; - } - } - usersService.notificationsDelete(uuid) - .then - (function (response) { - if (response.status != 400){ - vm.notifications.splice(itemIndex , 1); - } - }) - .catch(function (error) { - toastService.setToast(error.message, 'danger'); - $rootScope.ice.loader.show = false; - $log.error(error); - }); - } - init(); - } -})(); \ No newline at end of file diff --git a/d2ice.att.io/app/main/dashboard/account/notifications/notifications.html b/d2ice.att.io/app/main/dashboard/account/notifications/notifications.html deleted file mode 100755 index f92cc41a..00000000 --- a/d2ice.att.io/app/main/dashboard/account/notifications/notifications.html +++ /dev/null @@ -1,60 +0,0 @@ - - - -
-
-

Notifications

-
-
-
- -
-
-
-
-
-
- - - -
-
diff --git a/d2ice.att.io/app/main/dashboard/account/notifications/notifications.less b/d2ice.att.io/app/main/dashboard/account/notifications/notifications.less deleted file mode 100755 index 7981be89..00000000 --- a/d2ice.att.io/app/main/dashboard/account/notifications/notifications.less +++ /dev/null @@ -1,348 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.engagement_link { - text-decoration: underline; - cursor:pointer; -} -.notifications { - - .table{ - margin-bottom: 0; - } - - .table-container-flex { - - .data-row-wrapper { - padding: 10px 20px; - } - - .flex-item:nth-child(1) { - padding-left: 5px; - padding-top: 15px; - flex-grow: 2; - } - - .flex-item:nth-child(2) { - padding-top: 12px; - flex-grow: 93; - } - - .flex-item:nth-child(3) { - padding-top: 12px; - flex-grow: 5; - } - - } - - .pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus - { - background-color: #DEF3FF; - border-color: #DDDDDD; - color: #000000; - cursor:pointer; - z-index:2; - } - - .btn { - width: 100%; - } - - .lineColor - { - background-color:#F6F3F3; - } - - .electricity - { - .sprite; - .sprite.electricity; - display: block; - margin-top: 10px; - margin-left: 10px; - } - - .delete - { - .sprite; - .sprite.delete-circle; - display: block; - cursor:pointer; - margin-top: 11px; - } - - - .fLeft - { - float:left; - height:50px; - } - - .hoverCyan - { - line-height: 40px; - &:hover { - background-color: #DEF3FF; - } - } - - .boldFont - { - font-weight: bold; - } - - .marginLeft60 - { - margin-left:-60px; - } - - .height510 - { - height:510px; - margin-top:-30px; - } - - .height50 - { - height:50px; - line-height:50px; - width:1100px; - } - - .marginLeft5 - { - margin-left:5px; - } - - .marginTop5 - { - margin-top:5px; - margin-left: 40px; - } - - .personImage - { - .profiles-sprite; - .profiles-sprite.profile-large; - display: block; - } - - .textAlignCenter - { - text-align:center; - width:1100px - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - - .pad17 - { - padding-top:17px; - display: block; - } - - .content { - - .steps-progress-wrapper { - margin-top: 10px; - } - - h1 { - .a_36; - margin: 0 0 30px 0; - } - - h2 { - margin: 0 0 10px 0; - .a_24_m; - position: relative; - .add-people, - .add-step { - .sprite; - .sprite.add; - display: inline-block; - margin-left: 8px; - cursor: pointer; - } - } - - .main-section { - margin-top: 30px; - } - - .steps { - - - height: 100%; - padding-right: 20px; - - ul { - li.step { - - &.selected { - background-color: #DEF3FF; - } - - list-style: none; - position: relative; - padding: 10px 10px 10px 4px; - - .description { - - .m_16_r; - - padding: 10px 0; - - input { - position: absolute; - top: 10px; - left: 0; - margin-right: 20px; - } - - .step-text { - margin-left: 20px; - } - - .step-state { - position: absolute; - top: 24px; - &.todo { - .steps-sprite; - .steps-sprite.todo; - display: inline-block; - } - &.confirmed { - .steps-sprite; - .steps-sprite.confirmed; - display: inline-block; - } - &.completed { - .steps-sprite; - .steps-sprite.completed; - display: inline-block; - } - &.completed-non-el { - .steps-sprite; - .steps-sprite.completed-non-el; - display: inline-block; - } - } - } - .details { - .m_12_r; - margin-bottom: 20px; - .actions { - float: right; - margin-top: 4px; - - .moveto-confirmed { - .sprite; - .sprite.success; - display: inline-block; - cursor: pointer; - } - .moveto-todo { - .sprite; - .sprite.delete-circle; - display: inline-block; - cursor: pointer; - } - .moveto-delete { - .sprite; - .sprite.delete; - display: inline-block; - cursor: pointer; - } - } - } - } - } - } - - .team-and-logs { - height: 100%; - padding-left: 20px; - .team { - ul.team-avatars { - - li { - list-style: none; - display: inline-block; - margin-right: 10px; - .profiles-sprite; - .profiles-sprite.profile-medium; - - &.me { - .profiles-sprite; - .profiles-sprite.avatar-blue; - } - } - } - } - - .activity-log { - ul.activity-log-details { - li { - list-style: none; - position: relative; - margin-left: 30px; - - &:before { - content: ''; - display: inline-block; - .sprite; - .sprite.electricity; - position: absolute; - top: 0; - left: -30px; - } - } - } - } - } - } -} diff --git a/d2ice.att.io/app/main/dashboard/account/user-profile-settings/user-profile-settings.controller.js b/d2ice.att.io/app/main/dashboard/account/user-profile-settings/user-profile-settings.controller.js deleted file mode 100755 index 6d51a440..00000000 --- a/d2ice.att.io/app/main/dashboard/account/user-profile-settings/user-profile-settings.controller.js +++ /dev/null @@ -1,98 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - angular - .module('ice.dashboard.account') - .controller('accountUserProfileSettingsController', ['toastService', 'usersService', - accountUserProfileSettingsController]); - - function accountUserProfileSettingsController(toastService, usersService) { - var vm = this; - - var init = function() - { - usersService.getIceUser() - .then - (function (response) { - vm.receiveEmails = response.data.regular_email_updates; - vm.receiveEmailsEveryTime = response.data.email_updates_on_every_notification; - vm.receiveDigestEmails = response.data.email_updates_daily_digest; - - vm.receiveNotifications = vm.receiveEmailsEveryTime || vm.receiveDigestEmails; - } - ).catch(function (error) { - toastService.setToast(error.message, 'danger'); - $log.error(error.message); - }); - }; - - vm.submitForm = function() { - var user = usersService.getUserData(); - var userData = {}; - - userData.regular_email_updates = vm.receiveEmails; - userData.email_updates_on_every_notification = vm.receiveEmailsEveryTime; - userData.email_updates_daily_digest = vm.receiveDigestEmails; - userData.company = user.company.name; - userData.full_name = user.full_name; - userData.email = user.email; - userData.phone_number = user.phone_number; - - usersService.updateAccount(user.uuid, userData) - .then(function (response) { - if (response.status === 200) { - toastService.setToast('User profile settings was updated successfully!', 'success'); - } - }) - .catch(function (error) { - toastService.setToast(error.message.detail, 'danger'); - }); - }; - - vm.changeReceiveNotifications = function() { - if(!vm.receiveNotifications) { - vm.receiveEmailsEveryTime = false; - vm.receiveDigestEmails = false; - } - }; - - init(); - } -})(); diff --git a/d2ice.att.io/app/main/dashboard/account/user-profile-settings/user-profile-settings.html b/d2ice.att.io/app/main/dashboard/account/user-profile-settings/user-profile-settings.html deleted file mode 100755 index 521c73ab..00000000 --- a/d2ice.att.io/app/main/dashboard/account/user-profile-settings/user-profile-settings.html +++ /dev/null @@ -1,66 +0,0 @@ - - -

Settings

- diff --git a/d2ice.att.io/app/main/dashboard/account/user-profile-settings/user-profile-settings.less b/d2ice.att.io/app/main/dashboard/account/user-profile-settings/user-profile-settings.less deleted file mode 100755 index 41ad47ec..00000000 --- a/d2ice.att.io/app/main/dashboard/account/user-profile-settings/user-profile-settings.less +++ /dev/null @@ -1,45 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.user-profile-settings-form { - .receive-email-options { - padding-left: 20px; - } -} - - diff --git a/d2ice.att.io/app/main/dashboard/checklist/checklist.controller.js b/d2ice.att.io/app/main/dashboard/checklist/checklist.controller.js deleted file mode 100755 index 293134cd..00000000 --- a/d2ice.att.io/app/main/dashboard/checklist/checklist.controller.js +++ /dev/null @@ -1,445 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - angular - .module('ice.dashboard.checklist',[]) - .controller('DashboardChecklistController', ["$scope", "$stateParams", "$rootScope", "checklistService", - "iceConstants", "usersService", "$uibModal", "toastService", "$log", DashboardChecklistController]); - function DashboardChecklistController($scope, $stateParams, $rootScope, checklistService, iceConstants, - usersService, $uibModal, toastService, $log) { - - var vm = this; - vm.data = {}; - var engagementUuid = $stateParams.engagement_uuid; - vm.checklistUuid = $stateParams.sub_id; - vm.selected_decision = false; - - var init = function() { - if (vm.checklistUuid == null) - return; - - checklistService.getChecklist(vm.checklistUuid) - .then(function (response) { - if (response.status === 200) { - vm.data = response.data; - vm.data.states = iceConstants.checklist_states; - vm.me = usersService.getUserData(); - vm.is_peer_reviewer = usersService.isPeerReviewer(vm.me, response.data.checklist.engagement.peer_reviewer.uuid); - // if state pending dont allow changing data manually - if(vm.data.checklist.associated_files) { - vm.has_files = true; - } - else { - vm.has_files = false; - } - vm.formatDecisions(); - - } - }) - .catch(function (error) { - if (error.status === 410) { - $rootScope.$broadcast('onUpdateEngagements',{ - select:{ - uuid: $stateParams.engagement_uuid, - view_type : 'overview', - sub_id: undefined - } - }); - } - else{ - $log.error(error.message); - return false; - } - }); - }; - - - vm.formatDecisions = function () { - var section_counter = 0; - vm.data.checklistDecisions = _.orderBy(vm.data.checklistDecisions, 'weight'); - angular.forEach(vm.data.checklistDecisions, function(section,section_key) { - section_counter ++; - section.counter = section_counter; - var decision_counter = 0; - section.decisions = _.orderBy(section.decisions, 'weight'); - angular.forEach(section.decisions,function(decision,decision_key) { - decision_counter++; - // add text of section and line number E.g 2.1 - decision.counter = section_counter+'.'+decision_counter; - - // set selected decision default value - if (vm.selected_decision == false) - { - vm.selected_decision = decision; - vm.selectDecision(decision); - } - - // choose which decision value to show - var view_value; - switch(vm.data.checklist.state) - { - case 'peer_review': - view_value = decision.peer_review_value; - break; - case 'review': - case 'approval': - case 'handoff': - case 'closed': - view_value = decision.review_value; - break; - } - - // choose which ucib to show - var view_value_css; - switch(view_value) - { - case 'approved': - view_value_css = 'sprite approved-cl'; - break; - case 'denied': - view_value_css = 'sprite denied-cl'; - break; - case 'not_relevant': - view_value_css = 'sprite not-relevant-cl'; - break; - } - - // choose which line item type icon to show - var auto_icon_css - switch(decision.lineitem.line_type) - { - case 'auto': - auto_icon_css = 'sprite automation-state'; - } - vm.data.checklistDecisions[section_key].decisions[decision_key]['selected-value'] = view_value - vm.data.checklistDecisions[section_key].decisions[decision_key]['view_value'] = view_value; - vm.data.checklistDecisions[section_key].decisions[decision_key]['view_value_css'] = view_value_css; - vm.data.checklistDecisions[section_key].decisions[decision_key]['auto_icon_css'] = auto_icon_css; - }); - }); - // after decision change refresh which state buttons to shows - vm.refreshStateOptions(); - - }; - - // set decision value - vm.setDecision = function(decision,value) { - checklistService.putChecklistDecision(decision.uuid,{value:value}) - .then(function (response) { - if (response.status === 200) { - switch(vm.data.checklist.state) - { - case 'peer_review': - decision.peer_review_value = value; - break; - case 'review': - decision.review_value = value; - break; - } - vm.formatDecisions(); - } - }); - - }; - - // decice which state change buttons to choose - vm.refreshStateOptions = function () { - var force_break = false; - vm.is_able_to_approve = true; - angular.forEach(vm.data.checklistDecisions, function (section,key) { - if (!force_break) - angular.forEach(section.decisions, function (decision,key) { - if (!force_break){ - // if not all decisions have value only only next_step - if ( decision['view_value'] != 'approved' && decision['view_value'] != 'not_relevant' ) { - vm.is_able_to_approve = false; - force_break=true; - } - } - }); - - }); - }; - - // set state - vm.stateAction = function(action) { - switch(action) - { - case 'approve': - var postData = {}; - postData["description"] = ''; - postData["decline"] = "False"; - checklistService.setState(vm.data.checklist.uuid, postData) - .then(function (response) { - if (response.status === 200) { - $rootScope.$broadcast('onUpdateEngagements',{select:{uuid:engagementUuid,page_type:'overview',sub_id:vm.data.checklist.uuid}}); - } - else { - toastService.setToast(response.error, 'danger'); - $rootScope.ice.loader.show = false; - } - }) - .catch(function (error) { - $log.error(error); - toastService.setToast(error.status + ': Error changing progress!', 'danger'); - }); - break; - case 'reject': - vm.openSetState(action,vm.data.checklist); - break; - case 'next_step': - vm.openNextSteps(vm.data.checklist); - break; - } - }; - - vm.formatDate = function (create_time) { - var region = moment().tz( moment.tz.guess()).format('z'); - var dt = ""; - dt = moment(create_time).local().format('YYYY-MM-DD hh:mm:ss A') + " " + region; - return dt; - }; - - // add decision log - vm.submitDecisionAuditLog = function () { - - var jsonPost = {"description":vm.selected_decision.new_audit_log_description}; - checklistService.createAuditlogDecisionChecklist(vm.selected_decision.uuid, jsonPost) - .then(function (response) { - if (response.status === 200) - { - if (vm.data.decisionAuditLogs[vm.selected_decision.uuid] == undefined) - vm.data.decisionAuditLogs[vm.selected_decision.uuid] = [] - vm.data.decisionAuditLogs[vm.selected_decision.uuid].push(response.data); - vm.selected_decision.new_audit_log_description = "" - } - else - { - toastService.setToast(response.error, 'danger'); - $rootScope.ice.loader.show = false; - } - }) - .catch(function (error) { - toastService.setToast(error.message, 'danger'); - $log.error(error.message); - }); - } - - // choose active decision - vm.selectDecision = function(decision,$event) { - if(vm.selected_decision != decision || vm.selected_decision.selected === undefined) { - // remove status from previos decision - vm.selected_decision.selected = false; - - // populate new decision - vm.selected_decision = decision; - vm.selected_decision.selected = true; - - $scope.$$postDigest(function () { - // Make extended window follow selected decision line - if ($event != undefined) - { - var line_item_bottom_offset = angular.element($event.target).prop('offsetHeight') + angular.element($event.target).prop('offsetTop'); - var extendended_item_height = angular.element("#line-item-extended").prop('offsetHeight'); - var diff_between_elements = line_item_bottom_offset - extendended_item_height; - if (diff_between_elements > 0) - { - angular.element("#line-item-extended").css('margin-top',(20+diff_between_elements) +'px') - } else { - angular.element("#line-item-extended").css('margin-top','') - } - } - }); - } - }; - - // next steps modal - vm.openNextSteps = function(checklist) { - var modalInstance = $uibModal.open( - { - templateUrl: 'main/modals/next-steps/next-steps.html', - controller: 'NextStepsModalController', - controllerAs: 'vm', - size: 'lg', - resolve: { - engagement_team: function () { - return checklist.engagement.engagement_team; - }, - title: function () { - return checklist.name; - }, - associated_files: function () { - return checklist.repo_associated_files; - }, - engagement_uuid: function () { - return checklist.engagement.uuid; - }, - checklist: function () { - return checklist; - }, - nextstep: function () { - return undefined; - } - - } - }); - - modalInstance.result.then(function (data) { - if (data === 200) { - $rootScope.$broadcast('onUpdateEngagements',{select:{uuid:engagementUuid,page_type:'overview',sub_id:checklist.uuid}}); - } - }, function () { - }); - }; - - // set state modal - vm.openSetState = function(action,checklist) { - var modalInstance = $uibModal.open( - { - templateUrl: 'main/modals/checklist/state-approve-or-reject/state-approve-or-reject.html', - controller: 'stateDecisionModalController', - controllerAs: 'vm', - resolve: { - checklist: function () {return checklist}, - action: function () {return action} - } - }); - - modalInstance.result.then(function (data) { - if (data) { - $rootScope.$broadcast('onUpdateEngagements',{select:{uuid:engagementUuid,page_type:'overview',sub_id:checklist.uuid}}); - } - }, function () { - }); - - }; - - vm.openJenkinsLogModal = function () { - var modalInstance = $uibModal.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": vm.data.checklist.jenkins_log, - }; - } - } - }); - }; - - // audit log modal - vm.auditLog = function() { - - var auditLogData = { - name:vm.data.checklist.name, - uuid:vm.data.checklist.uuid, - checklistAuditLogs: vm.data.checklistAuditLogs - - }; - - var modalInstance = $uibModal.open( - { - templateUrl: 'main/modals/audit-log/audit-log.html', - controller: 'AuditLogModalController', - controllerAs: 'vm', - size: 'lg' - - , - resolve: { - wizardData: function () { - return auditLogData; - } - } - }); - - modalInstance.result.then(function (data) { - if (data) { - vm.data.checklistAuditLogs.push(data); - } - }, function () { - $log.debug('Modal dismissed at: ' + new Date()); - }); - }; - - // edit checklist - vm.editChecklist = function() { - var checklistData = { - uuid:vm.data.checklist.uuid, - name:vm.data.checklist.name, - templates:vm.data.checklist.templates, - selectedTemplateUuid:vm.data.checklist.template.uuid, - selectedTemplateName:vm.data.checklist.template.name, - associatedFiles:vm.data.checklist.associated_files, - state:vm.data.checklist.state - }; - - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/checklist/checklist.html', - controller: 'ChecklistModalController', - controllerAs: 'vm', - size: 'lg' - , - resolve: { - wizardData: function () { - return checklistData; - }, - engagementUuid: function () { - return engagementUuid; - }, - modal_type: function () { - return 'update'; - } - } - }); - modalInstance.result.then(function (data) { - if (data) { - vm.data.checklist.name = data.checklist_name; - vm.data.checklist.associated_files = data.associated_files; - } - }); - }; - - init(); - } -})(); diff --git a/d2ice.att.io/app/main/dashboard/checklist/checklist.html b/d2ice.att.io/app/main/dashboard/checklist/checklist.html deleted file mode 100755 index b8da8836..00000000 --- a/d2ice.att.io/app/main/dashboard/checklist/checklist.html +++ /dev/null @@ -1,117 +0,0 @@ - -
-
- -
-
-

- - Checklist: - {{vm.data.checklist.name}} -

-
- -
- - - -
-
    -
  • Audit Log ({{vm.data.checklistAuditLogs.length}})
  • -
  • Jenkins Log
  • - -
-
-
- -
-
    -
  • Section {{section.counter}}: {{section.section.name}}

    -
      -
    • - {{decision.counter}} - {{decision.lineitem.name}} - - -
    • -
    -
  • -
- -
-
diff --git a/d2ice.att.io/app/main/dashboard/checklist/checklist.less b/d2ice.att.io/app/main/dashboard/checklist/checklist.less deleted file mode 100755 index 5e0d228e..00000000 --- a/d2ice.att.io/app/main/dashboard/checklist/checklist.less +++ /dev/null @@ -1,826 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.cl-action-button{ - width: 30%; - margin-bottom: 2%; - margin-right: 3%; - &:last-child { - margin-right: 0; - } - -} -#main .popover { - max-width: 330px; -} -// Pop over rules -.popover { - border: 2px solid #15B3E8; - .m_14_r; - z-index:100000; -} - -.popover .popover-title { - background-color: white; - margin-top: 5px; - .a_18_m; - padding: 5px 10px; -} - -.popover .popover-content { - padding: 5px 10px; - .m_16_r; -} -.popover .popover-content ul{ - list-style-type: none;// square; - padding-left:0px; - margin-left:0px; - .m_16_r; - word-wrap: break-word; -} -.cl-action-control { - padding-left:8% -} - -.checkList { - height:100%; - > #checklist-main-section { - height:80% !important; - } - - .blocked-area { - pointer-events: none; - opacity: 0.5; - filter: alpha(opacity=50); - background-color: white; - } - - #modal_header_checklist { - margin-top:0px; - padding: 0 29px; - } - - #modal-header-checklist-15 { - margin-top:0px; - padding: 0 15px; - } - - .rows { - - } - - - .font-deco { - text-decoration-line: underline; - text-decoration-style: dashed; - } - - .lineColor - { - background-color:#F6F3F3; - } - - .font_header - { - .m_18_m; - } - - .font_header_chk_name - { - .m_18_r; - } - - .font_user_name - { - .m_18_m; - } - - .font_date - { - .m_14_r; - } - - .font_line - { - border-bottom: 1px solid grey; - } - - .font_desc - { - .m_16_r; - text-align:left; - } - - .pad0 - { - padding:0px; - } - - .dash - { - border-bottom: dashed 1px; - border-color: @main_color_q; - padding: 0px; - } - - .italic - { - font-style:italic; - } - - - #modal-title { - margin: 0px; - } - - .checkList-form { - max-height: 100%; - //overflow-y: auto; - //overflow-x: hidden; - - #audit-log-lines { - - } - - - #checklist-subject - { - padding:0 15px; - margin-bottom: 0px; - } - - .checklist-modal-multi-select { - margin-top: 1%; - - .btn-group .btn { - .m_14_m; - } - } - - .btn { - width: 100%; - } - - .action-buttons{ - width: 100%; - margin-bottom: 7px; - } - - .col-no-pad - { - padding:0px; - } - - .col-no-top - { - margin:0px 0px 0px 0px; - } - - .text-right - { - text-align:right; - } - - .modal-header { - display: flex; - flex-direction: row; - - h2, h3 { - display: inline-block; - flex-grow: 10; - } - } - - .font_title - { - .a_16_m; - } - - .add-icon { - .sprite; - .sprite.add; - display: inline-block; - } - - - .add-button { - margin-top: 8px; - display: block; - .add-text { - .a_16_m; - vertical-align: top; - margin-left: 6px; - } - - } - - .margin_btm - { - margin-bottom:12px; - } - - .margin_top - { - margin-top:12px; - } - - .margin_btm5 - { - margin-bottom: 5px; - } - - - .personImage - { - .profiles-sprite; - .profiles-sprite.profile-large; - display: block; - } - - .table{ - margin-bottom: 0; - } - - .table-container-flex { - - .data-row-wrapper { - padding: 10px 20px; - } - - .flex-item:nth-child(1) { - padding-left: 0; - flex-grow: 25; - } - - .flex-item:nth-child(2) { - flex-grow: 25; - } - - .flex-item:nth-child(3) { - flex-grow: 25; - } - - .flex-item:nth-child(4) { - flex-grow: 25; - } - - } - - .table-container-flex-a { - - .data-row-wrapper { - padding: 10px 20px; - } - - .flex-item-a:nth-child(1) { - - padding-left: 0; - flex-grow: 40; - width:90%; - float:left; - } - - .flex-item-a:nth-child(2) { - - flex-grow: 25; - width:10%; - float:left; - } - } - //.a_16_m; - - .remove-icon { - cursor: pointer; - vertical-align: text-top; - //.sprite; - //.sprite.delete;//-circle; - .actions-sprite; - .actions-sprite.delete_large; - - display:block; - position:relative; - top:11px; - } - - - - - //.btn-primary-with-margin { - // border: 1px solid #8799A3; - // border-radius: 6px; - // background: #1E79B0; /* For browsers that do not support gradients */ - // background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - // background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - // background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - // background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - // margin-bottom:7px; - //} - // - //.btn-primary { - // border: 1px solid #8799A3; - // border-radius: 6px; - // background: #1E79B0; /* For browsers that do not support gradients */ - // background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - // background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - // background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - // background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - //} - - - .flex-item-a:nth-child(0) { - padding-left: 0; - flex-grow: 40; - width:80% - } - - .flex-item-a:nth-child(1) { - flex-grow: 25; - width:20%; - } - - //.content { - - .steps-progress-wrapper { - margin-top: 10px; - } - - .fnt - { - font-size:20px; - } - - h1 { - .a_36; - margin: 0 0 30px 0; - } - - h3 { - .m_18_m; - } - h2 { - margin: 0 0 10px 0; - .a_24_m; - position: relative; - .add-people, - .add-step { - .sprite; - .sprite.add; - display: inline-block; - margin-left: 8px; - cursor: pointer; - } - } - - .main-section { - margin-top: 30px; - } - } - - // dashboard css - padding:0 20px; - - #state-bar { - float:none; - height: 5%; - - } - #state-bar > ul { - border-bottom: dashed 1px; - border-color: @main_color_q; - padding-bottom:2px; - } - #state-bar > ul > li { - .m_14_r; - text-transform: uppercase; - text-align: left; - } - #state-bar > ul > li.active { - font-family:@font-omnes-bold; - } - - #state-bar > ul > li > .state-icon { - display: inline-block; - position: relative; - top: 2px; - margin-right:5px; - } - - #cl-header { - height:12%; - padding-top:1%; - } - - #cl-header > #cl-title { - padding-left: 0px; - .a_24; - } - #cl-header > #cl-title > span.bold { - .a_24_m; - } - #cl-header > #cl-title > #edit-checklist { - display: inline-block; - margin-right: 5px; - cursor: pointer; - } - - #cl-side-actions { - list-style: none; - margin-top: 5px; - } - - - #cl-side-actions > li { - display:inline-block; - margin-left:5px; - .n_12_m; - } - - .cl-action-buttons-frame{ - - list-style: none; - text-align: right; - } - - .cl-btn-associated { - border-bottom: 1px solid; - border-color: @main_color_l; - .a_26_m; - } - - .cl-btn-cl-audit { - margin-right: 15%; - border-bottom: 1px solid; - border-color: @main_color_l; - } - - - #state-actions { - display: inline-block; - border-bottom: 1px solid; - border-color: @main_color_q; - padding-bottom: 5px; - } - #state-actions button { - margin-left: 10px; - } - #state-actions button:first-child { - margin-left: 0px; - } - #cl-side-actions span { - cursor: pointer; - border-bottom: 2px solid @main_color_m; - //text-transform: uppercase; - border-bottom: 1px solid; - border-color: @main_color_q; - - } - - - #line-item-list { - list-style: none; - padding-right:15px; - } - - - #line-item-list > li { - margin-bottom: 25px; - } - #line-item-list > li > h2 { - text-transform: capitalize; - border-bottom: 1px solid; - border-color: @main_color_q; - width: 100%; - margin-bottom: 0px; - padding-left: 5px; - .m_24; - } - #line-item-list > li > h2 > span.bold { - .m_24_m; - } - - #line-item-list > li > ul { - list-style: none; - } - #line-item-list > li > ul >li.line-item-row { - border-bottom: 1px solid; - border-color: @main_color_q; - line-height: 30px; - padding: 0px; - vertical-align: middle; - height: 30px; - .m_16_r; - cursor: pointer; - } - - #line-item-list > li > ul >li.line-item-row .value-icon { - padding: 0px; - } - - #line-item-list > li > ul >li.line-item-row .value-icon span { - display: inline-block; - position: relative; - top: 3px; - margin-right: 5px; - margin-left: 3px; - width:15px; - height:15px; - } - - #line-item-list > li > ul >li.line-item-row .auto-icon { - text-align:right; - padding: 0px; - } - - #line-item-list > li > ul >li.line-item-row .auto-icon span { - display: inline-block; - position: relative; - top: 3px; - margin-right: 3px; - } - - #line-item-list > li > ul >li.line-item-row.selected-line { - background-color: @bg_color_a; - border-left: 2px solid; - border-top: 2px solid; - border-bottom: 2px solid; - border-color: @main_color_a; - position:relative; - z-index:1; - top: -1px; - left: -2px; - } - - #line-item-list > li > ul >li.line-item-row.selected-line > .selected-line-connector { - position: absolute; - right: -19px; - width: 20px; - height: 30px; - top: -2px; - background-color: @bg_color_a; - border-top: 2px solid; - border-bottom: 2px solid; - border-color: @main_color_a; - } - #line-item-extended { - background-color: @bg_color_a; - border: 2px solid; - border-color: @main_color_a; - padding:15px; - @media (min-width: 992px) { - max-height: 100%; - overflow-y: auto; - } - } - #line-item-extended >header { - padding: 0 30px; - padding-bottom: 0px; - } - #line-item-extended >header > h2 { - text-transform: capitalize; - padding:0px; - margin:0px; - line-height:32px; - .m_18_r; - } - #line-item-extended > header > h2 > span.bold { - .m_18_m; - } - #line-item-extended >header > #decision-actions { - list-style: none; - text-align: right; - margin:0px; - } - #line-item-extended >header > #decision-actions > li { - display: inline-block; - margin-left: 2px; - .sprite; - } - #line-item-extended >header > #decision-actions.active > li { - cursor:pointer; - } - - #line-item-extended >header > #decision-actions > li.not-relevant-btn { - .sprite.not-relevant-btn; - } - - #line-item-extended >header > #decision-actions.active > li.not-relevant-btn:hover { - .sprite.not-relevant-btn-active; - } - #line-item-extended >header > #decision-actions > li.not-relevant-btn.active { - .sprite.not-relevant-btn-active; - } - #line-item-extended >header > #decision-actions > li.denied-cl-btn { - .sprite.denied-cl-btn; - } - #line-item-extended >header > #decision-actions.active > li.denied-cl-btn:hover { - .sprite.denied-cl-btn-active; - } - #line-item-extended >header > #decision-actions > li.denied-cl-btn.active { - .sprite.denied-cl-btn-active; - } - #line-item-extended >header > #decision-actions > li.approved-cl-btn { - .sprite.approved-cl-btn; - } - #line-item-extended >header > #decision-actions.active > li.approved-cl-btn:hover { - .sprite.approved-cl-btn-active; - } - #line-item-extended >header > #decision-actions > li.approved-cl-btn.active { - .sprite.approved-cl-btn-active; - } - - - #line-item-extended > #line-item-description { - margin: 0 15px; - .m_16_r; - } - - #line-item-extended > #line-item-validation-instructions { - .m_14_r; - background-color: #fff; - border: 1px solid; - border-color: @main_color_a; - padding: 15px; - margin-top: 15px; - } - - #line-item-extended > #line-item-validation-instructions h3 { - text-transform: capitalize; - margin: 0px; - .m_18_m; - } - - #line-item-extended > #line-item-validation-instructions p { - margin-top: 5px; - - } - - #line-item-extended > #line-item-validation-instructions p ul { - padding-left: 15px; - } - - #line-item-extended > #line-item-audit-logs { - padding:0 15px; - } - - #line-item-extended > #line-item-audit-logs > h3 { - text-transform: capitalize; - .m_18_m; - - } - #line-item-extended > #line-item-audit-logs > #audit-log-list { - list-style:none; - - } - #line-item-extended > #line-item-audit-logs > #audit-log-list > li { - margin: 0 15px 10px; - border-bottom: 2px solid; - border-color: @main_color_q; - } - #line-item-extended > #line-item-audit-logs > #audit-log-list > li > .audit-creator { - .m_16_m; - margin:0px; - padding:0px; - } - #line-item-extended > #line-item-audit-logs > #audit-log-list > li > .audit-date { - text-align:right; - .m_14_r; - padding:0px; - } - #line-item-extended > #line-item-audit-logs > #audit-log-list > li > .audit-text { - .m_16_r; - margin-bottom:0px; - padding:0px; - } - - #line-item-extended > #line-item-audit-logs > #new-audit-log-from { - margin: 0 0 15px; - } - - #line-item-extended > #line-item-audit-logs > #new-audit-log-from #new-audit-log-text { - border-color: @main_color_q; - margin-bottom:15px; - } - - .btn-gradient-primary { - font-weight: bold; - color: #FFFFFF; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #37B2E5; - *background-color: #37B2E5; - background-image: -moz-linear-gradient(top, #0079AB, #37B2E5); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0079AB), to(#37B2E5)); - background-image: -webkit-linear-gradient(top, #0079AB, #37B2E5); - background-image: -o-linear-gradient(top, #0079AB, #37B2E5); - background-image: linear-gradient(to bottom, #0079AB, #37B2E5); - background-repeat: repeat-x; - border-color: #37B2E5; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0079AB', endColorstr='#37B2E5', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); - } - .btn-sample:hover, - .btn-sample:focus, - .btn-sample:active, - .btn-sample.active, - .btn-sample.disabled, - .btn-sample[disabled] { - color: #FFFFFF; - background-color: #37B2E5; - *background-color: #003bb3; - } - - .btn-gradient-success { - font-weight: bold; - color: #FFFFFF; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #41A02C; - *background-color: #41A02C; - background-image: -moz-linear-gradient(top, #A2E652, #41A02C); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#A2E652), to(#41A02C)); - background-image: -webkit-linear-gradient(top, #A2E652, #41A02C); - background-image: -o-linear-gradient(top, #A2E652, #41A02C); - background-image: linear-gradient(to bottom, #A2E652, #41A02C); - background-repeat: repeat-x; - border-color: #41A02C; - border-color: #888; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#A2E652', endColorstr='#41A02C', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); - } - .btn-sample:hover, - .btn-sample:focus, - .btn-sample:active, - .btn-sample.active, - .btn-sample.disabled, - .btn-sample[disabled] { - color: #FFFFFF; - background-color: #41A02C; - *background-color: #003bb3; - } - - .btn-gradient-danger { - font-weight: bold; - color: #FFFFFF; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #AE0020; - *background-color: #AE0020; - background-image: -moz-linear-gradient(top, #F74658, #AE0020); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#F74658), to(#AE0020)); - background-image: -webkit-linear-gradient(top, #F74658, #AE0020); - background-image: -o-linear-gradient(top, #F74658, #AE0020); - background-image: linear-gradient(to bottom, #F74658, #AE0020); - background-repeat: repeat-x; - border-color: #AE0020; - border-color: #888; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F74658', endColorstr='#AE0020', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); - } - .btn-sample:hover, - .btn-sample:focus, - .btn-sample:active, - .btn-sample.active, - .btn-sample.disabled, - .btn-sample[disabled] { - color: #FFFFFF; - background-color: #AE0020; - *background-color: #003bb3; - } - - - - -} diff --git a/d2ice.att.io/app/main/dashboard/dashboard/dashboard.controller.js b/d2ice.att.io/app/main/dashboard/dashboard/dashboard.controller.js deleted file mode 100755 index b6183b79..00000000 --- a/d2ice.att.io/app/main/dashboard/dashboard/dashboard.controller.js +++ /dev/null @@ -1,235 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - angular - .module('ice.dashboard.dashboard',['angularUtils.directives.dirPagination', 'ngFileSaver']) - .controller('DashboardMainController', ["$rootScope", "pageService", "stepsService", "vfService", "usersService", - "iceConstants", "localStorageService", "FileSaver", "Blob", "cmsService", "$uibModal", "$log", dashboardMainController]); - - function dashboardMainController($rootScope, pageService, stepsService, vfService, usersService, iceConstants, - localStorageService, FileSaver, Blob, cmsService, $uibModal, $log) { - var vm = this; - - var init = function () { - pageService.setPage('dashboard'); - cmsService.setAnnouncementToast(); - localStorageService.setJson("ice.settings.eng_uuid",undefined); - vm.stages = iceConstants.stages; - vm.stages.all = 'All'; - vm.search_keyword = ''; - vm.search_stage = 'All'; - vm.statistic_stage_filter = 'All'; - vm.current_starting_offset = "0"; - vm.num_of_returned_items = 0; - vm.pagination_num_of_objects = 8; - vm.me = vm.user = usersService.getUserData(); - vm.isAdminRo = usersService.isUserInRole(iceConstants.roles.admin_ro); - vm.isEngagmentEL = usersService.isUserInRole(iceConstants.roles.el); - vm.isEngagmentLead = usersService.isEngagementEL(vm.team); - vm.isAdmin = usersService.isAdmin(vm.me); - vm.page_num = 1; - vm.searchEngagements(1); - vm.request_statistics_data(); - getUserNextSteps(); - }; - - vm.request_statistics_data = function(){ - vfService.getEngagements(vm.me.uuid) - .then(function (response) { - if (response.status === 200 && response.data && response.data !== '') { - vm.enagements_search_list = response.data; - var vfc_array = undefined; - var vfc_num = 0; - var eng_num = 0; - vm.enagements_search_list.forEach(function (engagement) { - if(vm.statistic_stage_filter == "All") { - eng_num++; - if (engagement.engagement_stage == "Validated" || engagement.engagement_stage == "Completed") { - if (engagement.vfc.length > 1) { - vfc_array = engagement.vfc.split(", ").length; - vfc_num += vfc_array; - } - } - } - else { - if(engagement.engagement_stage == vm.statistic_stage_filter){ - eng_num++; - if (engagement.vfc.length > 1 && (engagement.engagement_stage == "Validated" || engagement.engagement_stage == "Completed")) { - vfc_array = engagement.vfc.split(", ").length; - vfc_num += vfc_array; - } - } - } - - }); - - vm.vfc_num = vfc_num; - vm.eng_num = eng_num; - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - - }; - - vm.onStageChange = function() { - vm.page_num = 1; - - vm.searchEngagements(); - }; - - vm.onKeywordChange = function() { - vm.page_num = 1; - - vm.searchEngagements(); - }; - - vm.searchEngagements = function () { - vm.current_starting_offset = (vm.page_num-1)*vm.pagination_num_of_objects; - vm.postData = {'stage': vm.search_stage, 'keyword': vm.search_keyword, 'offset': vm.current_starting_offset, 'limit': vm.pagination_num_of_objects}; - vfService.getExpandedEngagements(vm.postData) - .then(function (response) { - if (response.status === 200 && response.data && response.data !== '') { - vm.vf_search_list = response.data['array']; - vm.num_of_returned_items = response.data['num_of_objects']; - vm.vf_search_list.forEach(function (vf){ - var progress_needed_data = { - enable_edit: false, - completion_date: vf.engagement__target_completion_date, - ecomp_release: vf.ecomp_release__name, - vnf_version: vf.version, - aic_version: vf.deployment_target__version, - aic_instantiation_time:vf.engagement__aic_instantiation_time, - asdc_onboarding_time:vf.engagement__asdc_onboarding_time, - heat_validated_time:vf.engagement__heat_validated_time, - image_scan_time: vf.engagement__image_scan_time, - engagement_uuid: vf.engagement__uuid, - manual_id: vf.engagement__engagement_manual_id, - name: vf.vf__name, - starred: false - }; - vf.progress_needed_data = progress_needed_data; - vf.starred_users.forEach(function (user) { - if (vm.me.uuid == user) { - vf.progress_needed_data.starred = true; - } - }); - - - }); - vm.vf_display_list = vm.vf_search_list; - - addStatusesLoadedAttr(); - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - }; - - vm.goToEngagement = function(uuid){ - $rootScope.$broadcast('searchSelectEngagement',uuid); - }; - - vm.exportEngagementCSV = function() { - var stage = vm.search_stage || ""; - var keyword = vm.search_keyword || ""; - $rootScope.ice.loader.show = true; - - vfService.exportEngagementsCSV(stage, keyword) - .then(function(response) { - if(response && response.data) { - var data = new Blob([response.data], {type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'}); - FileSaver.saveAs(data, 'D2Ice.xlsx'); - $rootScope.ice.loader.show = false; - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - }; - - vm.openCMSReadMoreModal = function(cmsPost) { - if(cmsPost) { - $uibModal.open({ - templateUrl: 'main/modals/cms-post-modal/cms-post-modal.html', - controller: 'cmsPostModalController', - controllerAs: 'vm', - size: 'cms-post-read-more', - resolve: { - post: function () { - return cmsPost; - } - } - }); - } else { - $log.warn("Cannot open cms post.") - } - }; - - function getUserNextSteps() { - vm.userNextSteps = []; - - stepsService.getByUser() - .then(function(response) { - vm.userNextSteps = response.data.data; - vm.userNextStepsCount = response.data.count; - }) - .catch(function (error) { - $log.error(error); - }); - }; - - function addStatusesLoadedAttr() { - angular.element(document).ready(function () { - var statusesTitleElement = angular.element( document.querySelector('#dashboard-title')); - if(statusesTitleElement && statusesTitleElement.length === 1) { - statusesTitleElement.attr('list-loaded', 'true'); - } - }); - }; - - init(); - } -})(); diff --git a/d2ice.att.io/app/main/dashboard/dashboard/dashboard.html b/d2ice.att.io/app/main/dashboard/dashboard/dashboard.html deleted file mode 100755 index c03251b9..00000000 --- a/d2ice.att.io/app/main/dashboard/dashboard/dashboard.html +++ /dev/null @@ -1,111 +0,0 @@ - -
-
-
-

Statuses

- - Stage - - - -
- -
- - -
- Export to Excel >> - -
-
- -
diff --git a/d2ice.att.io/app/main/dashboard/dashboard/dashboard.less b/d2ice.att.io/app/main/dashboard/dashboard/dashboard.less deleted file mode 100755 index 4c824796..00000000 --- a/d2ice.att.io/app/main/dashboard/dashboard/dashboard.less +++ /dev/null @@ -1,189 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. - .dashboard .content-container #content { - height: 100%; - overflow-y: auto; - } -.dashboard-view { - padding: 10px; - - .steps-progress-wrapper { - border:none; - background-color: @main_color_p; - } - - - #dashboard-main-panel { - #dashboard-header { - #dashboard-title { - .a_26_m; - margin:0px; - line-height:40px; - } - .search-filters { - text-align: right; - .m_16_m; - line-height:40px; - .search-filter-stage { - margin-left:10px; - display: inline-block; - width: 40%; - } - #search-filter-keyword { - margin-left:10px; - display: inline-block; - width: 40%; - } - - } - } - #search-results { - .progress-bar-row { - padding:0px; - } - - .progress-bar-row:nth-child(even) .steps-progress-wrapper { - background-color: @func_color_r; - } - - #export-to-csv { - text-align : right; - .m_14_m; - text-decoration: underline; - cursor:pointer; - } - #engagements-pagination { - text-align:center; - .pagination { - margin:0px; - } - } - - } - - } - #dashboard-side-panel { - border-left: solid 1px @main_color_gray; - - #assgined-nextsteps { - border: 1px solid @toolbar_background_color; - padding:0px; - - #next-steps-header { - background-color: @toolbar_background_color; - .p_22_m; - padding: 10px 10px 0; - } - #next-steps-list { - list-style:none; - padding: 0 15px; - .next-step-details { - border-bottom: 1px dashed @main_color_a; - padding-bottom:10px; - - .next-step-details-header { - .engagement-title { - cursor:pointer; - .m_14_m; - margin-top: 15px; - margin-bottom: 0px; - .engagement-name { - text-decoration: underline; - } - } - .due-date { - .m_14_m; - margin-top: 10px; - margin-bottom: 0px; - text-align:right; - .due-date-icon { - } - } - } - .next-step-description { - .m_18_r; - margin: 3px 0px; - line-height: 20px; - } - .next-step-creation { - .m_14_r; - } - - } - .next-step-details:last-child { - padding:0px; - border:none; - } - } - } - .line-seperator { - border-bottom: dashed 1px @main_color_gray; - margin: 20px 0; - } - #statistics { - - border: 1px solid @main_color_gray; - padding:15px; - - #statistics-header { - margin-bottom: 10px; - h2 { - .m_24_m; - color: @main_color_gray; - margin: 0px; - } - .search-filters { - text-align: right; - .search-filter-stage { - margin-left:10px; - width:50%; - - } - } - } - #statistics-list { - .statistic-name { - } - .statistic-count { - text-align:right; - } - } - } - } -} diff --git a/d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.controller.js b/d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.controller.js deleted file mode 100755 index c8af53f7..00000000 --- a/d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.controller.js +++ /dev/null @@ -1,245 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - angular - .module('ice.dashboard.main') - .controller('detailedViewController', ["$rootScope", "$stateParams", "vfcService", "dtsiteService", "usersService", - "$uibModal", "vfService", "$log", "_", detailedViewController]); - - function detailedViewController($rootScope, $stateParams, vfcService, dtsiteService, usersService, $uibModal, vfService, $log, _) { - var vm = this; - - var init = function () { - $rootScope.timeGapLocal = moment().format("z");// timeGap(); - $rootScope.ampm = moment().format('A'); - $rootScope.mom = moment().tz(moment.tz.guess()).format('z'); - vm.is_aic_edit_mode = false; - vm.is_ecomp_edit_mode = false; - vm.aic_loaded = false; - vm.ecomp_loaded = false; - - if($stateParams.engagement != undefined) { - vm.engagement = $stateParams.engagement; - } - - if (vm.engagement != undefined) - { - vm.me = usersService.getUserData(); - vfService.getSingleEngagement(vm.me.uuid,vm.engagement.uuid) - .then(function (response) { - $rootScope.ice.loader.show = false; - - if (response.status === 200 && response.data && response.data !== '') { - var vf_data = response.data; - - vm.engagement_manual_id = vf_data.engagement.engagement_manual_id; - vm.vf_name = vf_data.name; - vm.vf_version = vf_data.version; - vm.vf_uuid = vf_data.uuid; - vm.ecomp_release = vf_data.ecomp_release; - vm.target_lab = new Date(vf_data.target_lab_entry_date); - vm.dtversion = vf_data.deployment_target; - vm.selected_dt_uuid = vm.dtversion.uuid; - vm.selected_ecomp_uuid = vm.ecomp_release.uuid; - vm.me = usersService.getUserData(); - vm.name = vm.engagement.name; - vm.isEngagementEL = usersService.isEngagementEL(vf_data.engagement.engagement_team); - vm.isAdmin = usersService.isAdmin(vm.me); - initDTsites(); - initVfcs(); - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - - } - }; - - - vm.addVfc = function () { - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/detailed-view/vfc/detailed-view-vfc-modal.html', - controller: 'detailedViewVFCModalController', - controllerAs: 'vm', - resolve: { - vf_uuid: function () { - return vm.vf_uuid; - }, - } - }); - modalInstance.result.then(function (data) { - if (data) { - initVfcs(); - } - }); - }; - this.personArray = [vm.dtversion,vm.vf_uuid]; - - vm.editValidationDetails = function () { - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/validation-details/detailed-view-validation-details-modal.html', - controller: 'validationDetailsModalController', - controllerAs: 'vm', - resolve: { - vf_uuid: function () { - return vm.vf_uuid; - } - } - }); - modalInstance.result.then(function (data) { - if (data) { - init(); - } - }); - }; - - vm.addDTS = function () { - if(vm.isEngagementEL || vm.isAdmin) { - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/detailed-view/dtsite/detailed-view-dtsites-modal.html', - controller: 'detailedViewDtsitesModalController', - controllerAs: 'vm', - resolve: { - vf_uuid: function () { - return vm.vf_uuid; - }, - } - }); - - modalInstance.result.then(function (data) { - if (data) { - if(data === 200) { - initDTsites(); - } - } - }); - } - }; - - - vm.changeTargetLabEntry = function(){ - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/target-lab-entry/change-lab-entry-date.html', - controller: 'ChangeLabEntryDateModalController', - controllerAs: 'vm', - resolve: { - targetLabDate: function () { - return vm.target_lab; - }, - engagementUuid: function () { - return vm.engagement.uuid; - } - } - }); - modalInstance.result.then(function (data) { - if (!data){ - return; - } - else { - vm.target_lab = new Date(data.target_date); - $log.debug("data.target_date",data.target_date) - $log.debug("vm.target_lab",vm.target_lab) - } - }, function () { - $log.error('Modal dismissed at: ' + new Date()); - }); - }; - //In case user press the delete icon next to a VFC, this function would be activated - vm.deleteVfc = function(vfc_uuid){ - vfcService.delete(vfc_uuid,vm.vf_uuid) - .then(function (response) { - if (response.status === 204) { - initVfcs(); - } - }) - .catch(function (error) { - $log.error(error); - }); - }; - - vm.deleteDTSite = function(vfUuid, dtsUuid){ - dtsiteService.delete(vm.vf_uuid, dtsUuid) - .then(function (response) { - if (response.status === 204) { - initDTsites(); - } - }) - .catch(function (error) { - $log.error(error); - }); - }; - - - var initDTsites = function() { - if(vm.isEngagementEL || vm.isAdmin) { - $rootScope.ice.loader.show = true; - dtsiteService.getVFSites(vm.vf_uuid) - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - vm.dtsites = response.data; - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - } - }; - - var initVfcs = function() { - $rootScope.ice.loader.show = true; - vfcService.get(vm.vf_uuid) - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - vm.vfcs = response.data; - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - }; - init(); - } -})(); diff --git a/d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.html b/d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.html deleted file mode 100755 index 02eb760a..00000000 --- a/d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.html +++ /dev/null @@ -1,109 +0,0 @@ - -
-
-

{{vm.engagement_manual_id + ': '}}{{vm.vf_name}}

-
-
-
-
-
- Validation Details - -
-
-
-
ECOMP Release: {{vm.ecomp_release.name}}
-
-
-
Target AIC Version:{{vm.dtversion.version}}
-
-
-
VF Version: {{vm.vf_version}}
-
-
-
-
-
- Target Lab Entry - -
-
-

{{vm.target_lab | date:'shortDate'}}

-
-
-
-
- Deployment Targets - -
-
-
    -
  • - {{dts.name}} - - - - -
  • -
-
-
-
-
-
-
- Virtual Function Components - -
-
-
    -
  • - {{vfc.name +' (' + vfc.external_ref_id + ')'}} - - - - -
  • -
-
-
-
-
-
diff --git a/d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.less b/d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.less deleted file mode 100755 index dbac5c2d..00000000 --- a/d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.less +++ /dev/null @@ -1,400 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -#detailed-view { - - padding:0px 30px 0px 30px; - - .glyphicon-cursor-detailed-view { - cursor: pointer; - margin-left: 0.5%; - } - - .detailed-view-edit-mode { - cursor: pointer; - margin-left: 0.5%; - display: inline-block; - position: relative; - top: 3px; - .sprite; - .sprite.edit-medium; - } - - .hide-element { - display:none; - } - - .show-select { - display:block; - margin-bottom: 3%; - } - - .row > h1 { - padding: 0px; - margin-bottom: 0px; - - .a_36; - - .bold { - .a_36_m; - } - } - - .remove-button { - height: 10px; - .a_16_m; - cursor: pointer; - - - .remove-icon { - .sprite; - .sprite.delete; - cursor: pointer; - display: block; - position: relative; - } - } - - .steps-progress-wrapper { - margin-top: 10px; - } - - - - h2 { - display: inline-block; - margin: 0 0 10px 0; - .a_24_m; - font-size: 20px; - position: relative; - .add-vfc { - .sprite; - .sprite.add; - display: inline-block; - margin-left: 8px; - cursor: pointer; - position: relative; - top: 3px; - } - } - - .main-section { - margin-top: 30px; - } - - .steps-header { - - .steps-filter { - display: inline-block; - float: right; - .a_16_m; - .todo { - .sprite; - .sprite.todo; - display: inline-block; - cursor: pointer; - } - .completed { - .sprite; - .sprite.pending; - display: inline-block; - cursor: pointer; - } - .confirmed { - .sprite; - .sprite.approved; - display: inline-block; - cursor: pointer; - } - } - } - - .vfc-column { - height: 100%; - padding-right: 20px; - padding-left: 20px; - padding-top: 20px; - - ul { - li.step { - - list-style: none; - position: relative; - padding: 5px 10px 0px 4px; - font-size: 16px; - } - } - } - - .vfc-steps { - border-right: dashed 1px @main_color_a; - height: 100%; - padding-right: 20px; - padding-left: 0px; - padding-top: 20px; - - ul { - li.step { - - list-style: none; - position: relative; - padding: 5px 10px 0px 4px; - font-size: 16px; - &:hover { - background-color: #DEF3FF; - - .details { - .actions { - span { - visibility: visible; - } - } - } - - } - - &.completed { - background-color: #dddddd; - opacity: 0.7; - } - - .description { - - .m_16_r; - border-bottom: dashed 1px @main_color_n; - padding: 10px 0; - - input { - position: absolute; - top: 10px; - left: 0; - margin-right: 20px; - } - - .step-text { - margin-left: 20px; - } - - .step-state { - - position: absolute; - top: 24px; - - &.todo { - .steps-sprite; - .steps-sprite.todo; - display: inline-block; - } - &.confirmed { - .steps-sprite; - .steps-sprite.confirmed; - display: inline-block; - } - &.completed { - .steps-sprite; - .steps-sprite.completed; - display: inline-block; - } - &.completed-non-el { - .steps-sprite; - .steps-sprite.completed-non-el; - display: inline-block; - } - } - - } - .details { - .m_12_r; - margin: 6px 0 10px 0; - - .actions { - float: right; - margin-top: 2px; - - span { - visibility: hidden; - } - - .moveto-confirmed { - .actions-sprite; - .actions-sprite.approve_large; - display: inline-block; - cursor: pointer; - } - .moveto-todo { - .actions-sprite; - .actions-sprite.reject_large; - display: inline-block; - cursor: pointer; - } - .moveto-delete { - .actions-sprite; - .actions-sprite.delete_large; - display: inline-block; - cursor: pointer; - } - } - } - } - } - - } - #deployment-targets { - border: 1px solid @engagement_team_color; - padding:0px; - margin-bottom: 20px; - - #deployment-targets-header { - background-color: @engagement_team_color; - .p_18_m; - padding: 5px 5px 0; - line-height: 35px; - - .edit-target-completion { - font-size: 21px; - vertical-align: middle; - padding-left: 6px; - cursor:pointer; - } - } - - #deployment-targets-content { - .f-type._16_r; - margin: 15px; - } - } - #virtual-function-components { - border: 1px solid @engagement_status_color; - padding:0px; - margin-bottom: 20px; - - #virtual-function-header { - background-color: @engagement_status_color; - .p_18_m; - padding: 5px 5px 0; - line-height: 35px; - - .edit-target-completion { - font-size: 21px; - vertical-align: middle; - padding-left: 6px; - cursor:pointer; - } - } - - #virtual-function-content { - .f-type._16_r; - margin: 15px; - } - } - - #target-lab-entry { - border: 1px solid @target_completion_color; - padding:0px; - margin-bottom: 20px; - - #target-lab-entry-header { - background-color: @target_completion_color; - .p_18_m; - padding: 5px 5px 0; - line-height: 35px; - - .edit-target-completion { - font-size: 21px; - vertical-align: middle; - padding-left: 6px; - cursor:pointer; - } - } - - #target-lab-entry-content { - .f-type._16_r; - margin: 15px; - } - } - #validation-details { - border: 1px solid #4990E2; - padding:0px; - margin-bottom: 20px; - - #validation-details-header { - background-color: #4990E2; - .p_18_m; - padding: 5px 5px 0; - line-height: 35px; - - .edit-target-completion { - font-size: 21px; - vertical-align: middle; - padding-left: 6px; - cursor:pointer; - } - } - - #validation-details-content { - .f-type._16_r; - margin: 15px; - } - } - .team-and-logs { - height: 100%; - padding-left: 20px; - padding-top: 20px; - margin-left: -1px; - border-left: dashed 1px @main_color_a; - - .line{ - margin-bottom: 10px; - } - - } - - .add-next-step-form { - .ice-wysiwyg { - height: 200px; - .wysiwyg-menu > div { - background-color: #f1f1f1; - padding: 2px; - } - } - } - - .vfc-main-section { - margin-top: 0px; - } -} diff --git a/d2ice.att.io/app/main/dashboard/get-started-modal/get-started-modal.directive.js b/d2ice.att.io/app/main/dashboard/get-started-modal/get-started-modal.directive.js deleted file mode 100755 index 3676e51c..00000000 --- a/d2ice.att.io/app/main/dashboard/get-started-modal/get-started-modal.directive.js +++ /dev/null @@ -1,308 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - angular - .module('ice.dashboard.get-started-modal') - .directive('getStartedModal', function () { - return { - restrict: 'AEC', - scope: {}, - link: function (scope, elm, attrs) { - scope.$emit('openGettingStartedWizardLoaded'); - }, - controller: ['$rootScope', '$scope', '$uibModal', 'toastService', '$log', - function ($rootScope, $scope, $uibModal, toastService, $log) { - - var gm = this; - gm.data = {}; - - gm.openModal = function () { - toastService.clearToast(); - var modalInstance = $uibModal.open({ - templateUrl: 'main/dashboard/get-started-modal/wizard/wizard-container.html', - controller: 'ModalCtrl', - controllerAs: 'wizard', - resolve: { - wizardData: function () { - return gm.wizardData; - } - }, - backdrop: 'static' - }); - }; - - $scope.$on('openGettingStartedWizard', function (event, args) { - - gm.wizardData = args; - gm.openModal(); - }); - }], - controllerAs: 'gm' - }; - }) - .controller('ModalCtrl', ['$rootScope', '$scope', '$uibModalInstance', 'vfService', 'usersService', 'localStorageService', 'wizardData', 'toastService', '$log', '$i18next', - function ($rootScope, $scope, $uibModalInstance, vfService, usersService, localStorageService, wizardData, toastService, $log, $i18next) { - - var wizard = this; - wizard.steps = []; - wizard.data = {}; - wizard.user = wizardData.user; - wizard.is_service_provider_internal = wizardData.is_service_provider_internal; - wizard.eng_uuid = wizardData.eng_uuid; - wizard.requiredStep = wizardData.requiredStep; - - var serviceProviderName = $i18next.t('serviceProvider.name'); - - var availableSteps = { - addVF: {name: 'addVF', title: 'Add a VF'}, - addSponsor: { - name: 'addContact', - title: 'Add ' + serviceProviderName +' Sponsor', - mode: 'sponsor', - submitButton: 'Add ' + serviceProviderName + ' 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'} - }; - - wizard.setStep = function (step) { - wizard.currentStep = step - wizard.title = step.title; - step.completed = true; - }; - - function initWizard() { - - $rootScope.ice.loader.show = true; - - if (wizardData.showActivationMessage) { - toastService.setToast('You have successfully activated your account!', 'success', {displayFor: 'modal'}); - } - - wizard.stepIndex = 0; - - if (wizard.requiredStep) { - wizard.steps.push(availableSteps[wizard.requiredStep]); - wizard.setStep(wizard.steps[wizard.stepIndex]); - $rootScope.ice.loader.show = false; - return; - } - - if (!wizard.eng_uuid || wizard.eng_uuid === "") { - wizard.steps.push(availableSteps.addVF); - } - if (wizard.user.is_service_provider_contact === true && !wizard.is_service_provider_internal) { - wizard.steps.push(availableSteps.addVendor); - } else if (!wizard.user.is_service_provider_contact) { - wizard.steps.push(availableSteps.addSponsor); - } - - getCompanies(); - - wizard.steps.push(availableSteps.inviteMembers); - - var userData = usersService.getUserData() || {}; - var ssh_public_key = userData.ssh_public_key; - if ((wizard.user.ssh_public_key === "" || wizard.user.ssh_public_key === null) && - (ssh_public_key === "" || ssh_public_key === null)) { - wizard.steps.push(availableSteps.addSSH); - } - - $rootScope.ice.loader.show = false; - wizard.setStep(wizard.steps[wizard.stepIndex]); - } - - initWizard(); - - wizard.getCurrentStep = function () { - return wizard.currentStep.name; - }; - - wizard.nextStep = function () { - wizard.clearMessage(); - wizard.stepIndex++; - - if (wizard.stepIndex === (wizard.steps.length)) { - wizard.closeWizard(); - return; - } - - wizard.setStep(wizard.steps[wizard.stepIndex]); - }; - - wizard.closeWizard = function () { - wizard.clearMessage(); - $uibModalInstance.close(); - - }; - - wizard.clearMessage = function () { - toastService.clearToast(); - }; - - wizard.onAddContactSubmit = function () { - $rootScope.ice.loader.show = true; - wizard.data.addContact.eng_uuid = wizard.eng_uuid; - - if (wizard.user.is_main_vendor_contact === true && !wizard.is_service_provider_internal) { - wizard.data.addContact.company = wizard.data.addContact.company; - } else if (!wizard.user.is_main_vendor_contact) { - wizard.data.addContact.company = wizard.data.attCompanyUuid; - } - - usersService.addVendorContact(wizard.data.addContact) - .then(function (response) { - if (response.status === 200) { - $rootScope.ice.loader.show = false; - wizard.nextStep(); - } - }, function (error) { - toastService.setToast(error.message, 'danger', {displayFor: 'modal'}); - $log.error(error.message); - $rootScope.ice.loader.show = false; - }) - .catch(function (error) { - wizard.Msg = error.status + " : " + error.statusText; - wizard.bgColor = "#FFEBEB"; // RED #FFEBEB green DFF0D9 - $log.error(error); - $rootScope.ice.loader.show = false; - }); - }; - - wizard.onInviteSubmit = function () { - $rootScope.ice.loader.show = true; - var is_service_provider_internal; - var jsonInviteMembers = []; - angular.forEach(wizard.inviteMembers.choices, function (value, key) { - wizard.item = []; - var jsonItem = new Object(); - jsonItem.email = value.email; - jsonItem.eng_uuid = wizard.eng_uuid; - jsonInviteMembers.push(jsonItem); - }); - - vfService.inviteMembers(JSON.stringify(jsonInviteMembers)) - .then(function (response) { - if (response.status === 200) { - wizard.nextStep(); - } - $rootScope.ice.loader.show = false; - }) - .catch(function (error) { - toastService.setToast(error.message.detail, 'danger', {displayFor: 'modal'}); - $rootScope.ice.loader.show = false; - $log.error(error.message); - }); - }; - - wizard.inviteMembers = { - choices: [ - { - email: '', - eng_uuid: '' - }] - }; - - wizard.addNewChoice = function () { - var newItemNo = wizard.inviteMembers.choices.length + 1; - wizard.inviteMembers.choices.push({'id': newItemNo}); - }; - - wizard.removeChoice = function () { - var lastItem = wizard.inviteMembers.choices.length - 1; - wizard.inviteMembers.choices.splice(lastItem); - }; - - wizard.onAddSSHSubmit = function () { - $rootScope.ice.loader.show = true; - usersService.setSSHKey(wizard.user.uuid, wizard.data.addSSH) - .then(function (response) { - if (response.status === 200) { - usersService.getIceUser() - .then(function (response) { - if (response.status === 200 && response.data && response.data !== '') { - wizard.user = response.data; - $rootScope.ice.loader.show = false; - $scope.$emit('onUpdateEngagements'); - } - }); - wizard.nextStep(); - } - - }).catch(function (error) { - toastService.setToast(error.message.detail, 'danger', {displayFor: 'modal'}); - $rootScope.ice.loader.show = false; - $log.error(error.message.detail); - }); - }; - - $scope.$on('moveWizardNextStep', function (event, args) { - wizard.is_service_provider_internal = args.is_service_provider_internal; - wizard.eng_uuid = args.engagement.uuid; - wizard.nextStep(); - }); - - function getCompanies() { - vfService.getCompanies() - .then(function (response) { - if (response.status === 200) { - wizard.companies = response.data; - if(wizard.companies!=undefined){ - for(var i=0; i diff --git a/d2ice.att.io/app/main/dashboard/get-started-modal/get-started-modal.less b/d2ice.att.io/app/main/dashboard/get-started-modal/get-started-modal.less deleted file mode 100755 index 81381198..00000000 --- a/d2ice.att.io/app/main/dashboard/get-started-modal/get-started-modal.less +++ /dev/null @@ -1,47 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. - -.getting-started-wizard { - - ul.step-indication { - li { - display: inline; - } - } -} diff --git a/d2ice.att.io/app/main/dashboard/get-started-modal/get-started-modal.module.js b/d2ice.att.io/app/main/dashboard/get-started-modal/get-started-modal.module.js deleted file mode 100755 index 6e54399a..00000000 --- a/d2ice.att.io/app/main/dashboard/get-started-modal/get-started-modal.module.js +++ /dev/null @@ -1,48 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. - -(function () { - - 'use strict'; - - angular - .module('ice.dashboard.get-started-modal', ['ngAnimate', 'ui.bootstrap', 'ice.activation.addVf']); - - -})(); diff --git a/d2ice.att.io/app/main/dashboard/get-started-modal/wizard/wizard-container.html b/d2ice.att.io/app/main/dashboard/get-started-modal/wizard/wizard-container.html deleted file mode 100755 index 97628a62..00000000 --- a/d2ice.att.io/app/main/dashboard/get-started-modal/wizard/wizard-container.html +++ /dev/null @@ -1,192 +0,0 @@ - - -
- - - - - -
diff --git a/d2ice.att.io/app/main/dashboard/get-started-modal/wizard/wizard.less b/d2ice.att.io/app/main/dashboard/get-started-modal/wizard/wizard.less deleted file mode 100755 index 4398d975..00000000 --- a/d2ice.att.io/app/main/dashboard/get-started-modal/wizard/wizard.less +++ /dev/null @@ -1,255 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.dev-button { - position: absolute; - top: 0; - left: 0; -} - -.reject_large { - .actions-sprite; - .actions-sprite.reject_large; - cursor: pointer; -} - -.modal-content { - .getting-started-wizard { - .modal-header { - display: flex; - flex-direction: row; - - h2, h3 { - display: inline-block; - flex-grow: 10; - } - } - - .modal-body { - .btn { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - } - } -} - -.getting-started-wizard { - - - - - - md-datepicker.btn.datepicker_btn { - .md-datepicker-input { - width: 100%; - text-align: center; - line-height: 32px; - } - } - #vf-name-title { - font-size: 16px; - } - #title-key-metadata{ - font-size: 16px; - position: relative; - top: 20px; - left: 30px; - background: white; - padding: 0 20px; - margin-top: -15px; - } - .fields_key_metadata{ - border:1px solid #ccc; - padding: 26px 10px; - - } - /* Override addVf pages styles */ - .container { - width: auto; - - .col-md-2 { width: 0; } - .col-md-8 { width: 100%; } - - .table-container-flex .flex-item { - padding: 5px 5px; - } - - .remove-button { - display: none; - } - } - - .table-container-flex { - - .flex-item:nth-child(1) { - padding-left: 0; - flex-grow: 33; - } - - .flex-item:nth-child(2) { - flex-grow: 33; - } - - .flex-item:nth-child(3) { - flex-grow: 33; - } - - } - - ul.step-indication { - list-style: none; - display: inline-block; - - li { - display: inline-block; - background-color: #DDDDDD; - width: 30px; - height: 30px; - margin-right: 10px; - padding: 6px 11px; - .m_14_m; - - &.selected { - .p_14_m; - background-color: #1370A3; - } - - &:last-child { - margin-right: 0; - } - } - } - - .addVendorContact-form { - padding: 20px 0 0 0; - - button { - margin-top: 10px; - } - } - - .inviteMembers-form { - padding: 20px 0 0 0; - - button { - margin-top: 10px; - } - - .add-button { - margin-top: 8px; - display: block; - .add-text { - .a_16_m; - vertical-align: top; - margin-left: 6px; - } - .add-icon { - .sprite; - .sprite.add; - display: inline-block; - } - } - - .remove-button { - vertical-align:middle; - .a_16_m; - cursor: pointer; - - .remove-icon { - display: inline-block; - vertical-align: text-top; - margin-right: 6px; - .sprite; - .sprite.delete-circle; - cursor: pointer; - } - } - - - .remove-button { - vertical-align:middle; - .a_16_m; - cursor: pointer; - - .reject-large { - display: inline-block; - vertical-align: text-top; - margin-right: 6px; - .sprite; - .sprite.delete-circle; - cursor: pointer; - } - } - - .input-wrapper { - margin-bottom: 10px; - } - - } - - .addVf-form { - padding: 0; - } - - .addSsh-form { - padding: 0; - - .form-group { - margin-top: 20px; - } - - button { - margin-top: 10px; - } - - textarea { - min-height: 80px; - } - } - -} diff --git a/d2ice.att.io/app/main/dashboard/main.module.js b/d2ice.att.io/app/main/dashboard/main.module.js deleted file mode 100755 index 01a34a84..00000000 --- a/d2ice.att.io/app/main/dashboard/main.module.js +++ /dev/null @@ -1,107 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.dashboard.main', ['ice.dashboard.get-started-modal']) - .config(config); - - function config($stateProvider) { - - $stateProvider - .state('app.dashboard', { - abstract: true, - 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' - }); - - } - -})(); diff --git a/d2ice.att.io/app/main/dashboard/main/main.html b/d2ice.att.io/app/main/dashboard/main/main.html deleted file mode 100755 index f768619e..00000000 --- a/d2ice.att.io/app/main/dashboard/main/main.html +++ /dev/null @@ -1,172 +0,0 @@ - -
- - -
-
- -

{{vm.name}}

-
- GIT: {{vm.git_repo_url}} -
- -
- -
-
-
-
-

Next Steps

- - Files - - States - - -
-
    -
  • -
    - -
    -
    - - {{step.last_updater && step.last_updater.full_name || step.creator.full_name}} -  {{step.last_update_type}}:  - - {{(step.last_update_time) | date2: 'EEEE MMMM doo yyyy'}} at {{(step.last_update_time) | date: 'hh:mm' : timeGapLocal }} {{ampm}} {{mom}} -
    -
    -
    -
    -
    - {{(step['due_date']) | date2: 'EEEE MMMM doo yyyy'}} - - -
      - -
    • -
    • -
    - Associated Files ({{step.files.length}}) - -
    -
    -
  • -
-
-
- -
-

Current 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}} - -

{{vm.status.description == undefined && 'No status update has been provided yet.' || vm.status.description }}

-
- -
-

Team Members

-
    -
  • - -
  • -
-
- -
-

Activity Log

-
    -
  • - -
  • -
-
- -
- -
-
diff --git a/d2ice.att.io/app/main/dashboard/overview/overview.controller.js b/d2ice.att.io/app/main/dashboard/overview/overview.controller.js deleted file mode 100755 index 19d9839f..00000000 --- a/d2ice.att.io/app/main/dashboard/overview/overview.controller.js +++ /dev/null @@ -1,833 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { -//test - 'use strict'; - - angular - .module('ice.dashboard.overview',[]) - .controller('OverviewMainController', ["$scope","$rootScope", "_","$stateParams", "statusService", "stepsService", "vfService", "usersService", "iceConstants", "$uibModal", "cmsService", "toastService", "$state", "$log", overviewMainController]); - - function overviewMainController($scope,$rootScope,_, $stateParams, statusService, stepsService, vfService, usersService, iceConstants, $uibModal, cmsService, toastService, $state, $log) { - var vm = this; - - vm.sortableOptions = { - handle: ' .order-nextstep', - axis: 'y', - update: function(e, ui) { - stepsService.order_next_steps(vm.engagement.uuid, vm.steps) - .then(function (response) { - if (response.status === 200) { - $log.debug('updated'); - } - }) - .catch(function (error) { - $log.error(error); - }); - } - }; - - var init = function () { - cmsService.setAnnouncementToast(); - $rootScope.timeGapLocal = moment().format("z");// timeGap(); - $rootScope.ampm = moment().format('A'); - $rootScope.mom =moment().tz( moment.tz.guess()).format('z'); - - vm.engagement = $stateParams.engagement; - - if (vm.engagement != undefined) - { - vm.me = usersService.getUserData(); - vfService.getSingleEngagement(vm.me.uuid,vm.engagement.uuid) - .then(function (response) { - $rootScope.ice.loader.show = false; - - if (response.status === 200 && response.data && response.data !== '') { - vm.vf = response.data; - vm.is_service_provider_internal = vm.vf.is_service_provider_internal; - vm.name = vm.vf.name; - vm.manual_id = vm.vf.engagement.engagement_manual_id; - if(!vm.vf.git_repo_url || vm.vf.git_repo_url==-1){ - vm.git_repo_url = false; - } - else { - vm.git_repo_url = vm.vf.git_repo_url; - } - vm.storage_bucket_url = vm.manual_id + '_' + vm.name.toLowerCase(); - vm.team = vm.vf.engagement.engagement_team; - vm.me = usersService.getUserData(); - vm.stages = iceConstants.stages; - vm.stage = vm.vf.engagement.engagement_stage; - vm.stage_num = 0; - vm.set_stage_num(vm.stage); - vm.in_overview_page = true; - vm.uuid = vm.engagement.uuid; - vm.progress = vm.vf.engagement.progress; - vm.completion_date = vm.vf.engagement.target_completion_date; - vm.starred = false; - vm.isEngagmentLead = usersService.isUserInRole('el'); - vm.isEngagementEL = usersService.isEngagementEL(vm.team); - vm.isAdmin = usersService.isAdmin(vm.me); - vm.does_user_role_allow_action_array = [vm.isAdmin, vm.isEngagementEL]; - vm.unremoveable_users_from_eng_team_array = [vm.vf.engagement.reviewer.uuid, vm.vf.engagement.peer_reviewer.uuid, - vm.vf.engagement.creator.uuid] - if (vm.vf.engagement.contact_user != null) { - vm.unremoveable_users_from_eng_team_array.push(vm.vf.engagement.contact_user.uuid); - } - vm.states = iceConstants.states; - vm.states_select = serializeStates(iceConstants.states); - vm.selected_state_filter = getSelectedStatesByUserType(); - vm.steps = []; - vm.vf_name = vm.vf.name; - vm.vf.engagement.starred_engagement.forEach(function(user) { - if (vm.me.uuid == user.uuid) - vm.starred = true; - }); - vm.all_states = false; - vm.all_files = true; - initSteps(); - vm.initActivityLogs(); - vm.files = vm.vf.files; - vm.files_filter_options = []; - vm.files_filter_options = vm.files_filter_options.concat(vm.files); - vm.files_filter_options.push("Any file"); - vm.chosen_files_filter = ["Any file"]; - vm.show_step = true; - vm.status = false; - statusService.get(vm.uuid) - .then(function (response) { - if (response.status === 200) - { - vm.status = response.data; - } else - { - $log.error(response); - } - }) - .catch(function (error) { - vm.status = false; - $log.error(error.message); - }); - vm.progress_needed_data = getEngagementProgressData(); - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - - } - }; - - vm.set_stage_num = function(state) { - switch (state) { - case 'Intake': - vm.stage_num = 1; - break; - case 'Active': - vm.stage_num = 2; - break; - case 'Validated': - vm.stage_num = 3; - break; - case 'Completed': - vm.stage_num = 4; - break; - }; - }; - - vm.checkIfAdmin = function(user){ - return usersService.isAdmin(user); - }; - - - vm.is_user_allowed = function(){ - if(_.includes(vm.does_user_role_allow_action_array, true) == true){ - return true; - } - else { - return false; - } - } - - - vm.is_able_to_delete = function(requested_user){ - if(vm.is_user_allowed() && !_.includes(vm.unremoveable_users_from_eng_team_array, requested_user.uuid) - && !vm.checkIfAdmin(requested_user)) { - return true; - } - else { - return false; - } - }; - - - vm.remove_user_from_eng = function(requested_user){ - if(vm.is_able_to_delete(requested_user)) { - var modalInstance = $uibModal.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": requested_user.full_name, - "headline": 'Are you sure you would like to remove the user out of the team members?', - "is_message":false, - "message": '', - "approve": 'Yes', - "cancelText": 'No', - "is_close_modal_button":true - }; - } - } - }); - //in order to close the ui-popover before opening the confirmation modal. - angular.element('body').click(); - - modalInstance.result.then(function (approve_deletion) { - if(approve_deletion) { - var data = {'eng_uuid': vm.vf.engagement.uuid, 'user_uuid': requested_user.uuid} - vfService.remove_user_from_eng(data).then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 204) { - $rootScope.$broadcast('onUpdateEngagements',{select : {uuid:vm.engagement.uuid,page_type:'overview',sub_id:undefined}}); - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - } - }); - } - else { - toastService.setToast('Action is not allowed.', 'danger'); - $rootScope.ice.loader.show = false; - return; - } - }; - - - $scope.is_match_both_filters = function () { - return function (step) { - - var result = false; - - if(vm.all_files && vm.all_states) { - result = true; - } - else if (vm.all_states && vm.is_contain_files(step)){ - result = true; - } - else if (vm.all_files && vm.is_same_state(step.state)){ - result = true; - } - else if (vm.is_contain_files(step) && vm.is_same_state(step.state)){ - result = true; - } - - if (result) { - return step; - } - return false; - } - } - - vm.is_all_files = function() { - vm.all_files = vm.chosen_files_filter.indexOf("Any file") !== -1; - } - - vm.is_contain_files = function(step) { - if (step.files) { - for (var i = 0; i < step.files.length; i++) { - if (vm.chosen_files_filter.indexOf(step.files[i]) !== -1) { - return true; - } - } - } - - return false; - }; - - vm.is_same_state = function(step_state){ - return vm.selected_state_filter.indexOf(step_state) !== -1; - }; - - vm.update_next_steps_choice = function(){ - if(vm.selected_state_filter.indexOf("All") !== -1){ - vm.all_states = true; - } - else { - vm.all_states = false; - } - }; - - vm.editStatus = function () { - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/status/status.html', - controller: 'StatusModalController', - controllerAs: 'vm', - size: 'lg', - resolve: { - - engagement_uuid: function () { - return vm.engagement.uuid; - }, - action: function () { - return 'edit'; - } - } - }); - - // Update the progress after modal closed. - modalInstance.result.then(function (data) { - if (data) { - vm.status = data; - } - }, function () { - $log.debug('Modal dismissed at: ' + new Date()); - }); - }; - - vm.addStatus = function () { - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/status/status.html', - controller: 'StatusModalController', - controllerAs: 'vm', - size: 'lg', - resolve: { - - engagement_uuid: function () { - return vm.engagement.uuid; - }, - action: function () { - return 'add'; - } - } - }); - - // Update the progress after modal closed. - modalInstance.result.then(function (data) { - if (data) { - vm.status = data; - } - }, function () { - $log.debug('Modal dismissed at: ' + new Date()); - }); - }; - - vm.deleteStep = function(step_uuid){ - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/general-prompt-modal/general-prompt-modal.html', - controller: 'generalPromptModalController', - controllerAs: 'vm', - resolve: { - modalDetails: function () { - return { - "headline": 'Delete Step', - "is_message":true, - "message": 'Are you sure you want to delete this step?', - "approve": 'Delete Step', - "is_close_modal_button":true - }; - } - } - }); - - modalInstance.result.then(function (deletionApproved) { - if(deletionApproved) { - stepsService.delete(step_uuid) - .then(function (response) { - if (response.status === 204) { - initSteps(); - initActivityLogs(); - } - }) - .catch(function (error) { - $log.error(error); - }); - } - }); - }; - - // next steps modal - vm.editStep = function (nextstep) { - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/next-steps/next-steps.html', - controller: 'NextStepsModalController', - controllerAs: 'vm', - size: 'lg', - resolve: { - - engagement_team: function () { - return vm.team; - }, - title: function () { - return vm.engagement.name; - }, - associated_files: function () { - return vm.files; - }, - engagement_uuid: function () { - return vm.engagement.uuid; - }, - checklist: function () { - return undefined; - }, - nextstep: function () { - return nextstep; - } - } - }); - - // Update the progress after modal closed. - modalInstance.result.then(function (data) { - if (data) { - initSteps(); - } - }, function () { - $log.debug('Modal dismissed at: ' + new Date()); - }); - }; - - vm.addStep = function () { - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/next-steps/next-steps.html', - controller: 'NextStepsModalController', - controllerAs: 'vm', - size: 'lg', - resolve: { - engagement_team: function () { - return vm.team; - }, - title: function () { - return vm.engagement.name; - }, - associated_files: function () { - return vm.files; - }, - engagement_uuid: function () { - return vm.engagement.uuid; - }, - checklist: function () { - return undefined; - }, - nextstep: function () { - return undefined; - } - } - }); - - // Update the progress after modal closed. - modalInstance.result.then(function (data) { - if (data) { - data.forEach(function (step) { - step['creator'] = vm.me; - vm.steps.push(step); - }); - initSteps(); - } - }, function () { - $log.debug('Modal dismissed at: ' + new Date()); - }); - }; - - $rootScope.$on('onUpdateNextSteps', function (event, args) { - if(args.eng_uuid && args.stage){ - vm.uuid = args.eng_uuid; - vm.stage = args.stage; - } - else{ - $log.error("onUpdateNextStep expecting args"); - return; - } - initSteps(); - }); - - vm.starEngagement = function () { - - vfService.putStarredEngagements(vm.engagement.uuid) - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200 && response.data && response.data !== '') { - if (vm.starred == true) - vm.starred = false - else - vm.starred = true - $rootScope.$broadcast('onUpdateEngagements',{select : {uuid:vm.engagement.uuid,page_type:'overview',sub_id:undefined}}); - - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - } - - vm.updateStep = function (stepUuid, stepState) { - var data = {"state":stepState}; - stepsService.update(stepUuid, data) - .then(function (response) { - if (response.status === 200) { - var step = getStepByUuid(stepUuid); - if (step){ - initSteps(); - vm.initActivityLogs(); - } - } - }) - .catch(function (error) { - $log.error(error); - }); - }; - - vm.toggleCompleted = function (stepUuid) { - var step = getStepByUuid(stepUuid); - if (step){ - if(step.state == vm.states.incomplete){ - vm.updateStep(stepUuid, iceConstants.states.completed); - }else if(step.state == vm.states.completed){ - vm.updateStep(stepUuid, iceConstants.states.incomplete); - } - - } - }; - - vm.updateProgress = function(data) { - if (data && data.progress){ - vm.progress = data.progress; - } else if (data && data.target_date){ - vm.completion_date = data.target_date; - vm.target_completion_date = data.target_date; - } - }; - - vm.addPeople = function () { - - var args = { - user: vm.me, - eng_uuid: vm.engagement.uuid, - is_service_provider_internal: vm.is_service_provider_internal, - requiredStep: 'inviteMembers' - }; - - $rootScope.$broadcast('openGettingStartedWizard', args); - }; - - var initSteps = function() { - $rootScope.ice.loader.show = true; - stepsService.get(vm.uuid, vm.stage) - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - vm.steps = []; - response.data.forEach(function (step) { - vm.steps.push(step); - }); - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - }; - - vm.initActivityLogs = function() { - $rootScope.ice.loader.show = true; - vfService.getActivities(vm.uuid) - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - vm.activities = response.data; - - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - }; - - var getStepByUuid = function(stepUuid) { - var foundStep; - if (vm.steps) { - vm.steps.forEach(function (step) { - if (step.uuid === stepUuid) { - foundStep = step; - } - }); - } - return foundStep; - }; - - var serializeStates = function(states) { - var result = [] - for(var key in states) { - result.push(states[key]) - } - - return result; - }; - - var getSelectedStatesByUserType = function() { - var result = []; - -// if(vm.isEngagementEL || vm.isAdmin) { -// result.push("All","Completed","Incomplete"); -// } else { //For normal users: - result.push("Incomplete") -// } - - return result; - }; - - var getEngagementProgressData = function() { - var result = { - "enable_edit": ((vm.isEngagementEL || vm.isAdmin) && vm.in_overview_page), - "completion_date":vm.vf.engagement.target_completion_date, - "ecomp_release": vm.vf.ecomp_release.name, - "vnf_version": vm.vf.version, - "aic_version":vm.vf.deployment_target.version, - "aic_instantiation_time":vm.vf.engagement.aic_instantiation_time, - "asdc_onboarding_time":vm.vf.engagement.asdc_onboarding_time, - "heat_validated_time":vm.vf.engagement.heat_validated_time, - "image_scan_time":vm.vf.engagement.image_scan_time, - "engagement_uuid": vm.uuid, manual_id: vm.manual_id - }; - - return result; - }; - - vm.archiveEngagement = function() { - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/archive-engagement-modal/archive-engagement-modal.html', - controller: 'archiveEngagementModalController', - controllerAs: 'vm', - resolve: { - engagementDetails: function () { - return { - "manual_id": vm.manual_id, - "name": vm.name, - "engagement": vm.engagement - }; - } - } - }); - - modalInstance.result.then(function (archiveReason) { - if(archiveReason && vm.engagement && vm.engagement.uuid) { - vfService.archiveEngagement(vm.engagement.uuid, archiveReason) - .then(function() { - $state.go('app.dashboard.dashboard'); - toastService.setToast("Engagement '" + vm.engagement.name + "' archived successfully.", 'success'); - }) - .catch (function(error) { - toastService.setToast("Server failed archiving engagement.", 'danger'); - $rootScope.ice.loader.show = false; - $log.error(error); - }); - } else { - toastService.setToast("No reason was supplied, therefor engagement cannot be archived.", 'danger'); - } - }); - }; - - vm.changeReviewer = function() { - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/select-el-modal/select-el-modal.html', - controller: 'selectELModalController', - controllerAs: 'vm', - resolve: { - // We are not allow the reviewer and peer reviewer to be the same: - excludeUuids: function () { - return [vm.engagement.peer_reviewer_uuid]; - }, - selectedOption: function() { - return vm.engagement.reviewer_uuid; - } - } - }); - - modalInstance.result.then(function (userUuid) { - if(vm.engagement && vm.engagement.uuid) { - - if (userUuid == vm.engagement.peer_reviewer_uuid) { - vfService.switchEngagementReviewers(vm.engagement.uuid, userUuid, vm.engagement.reviewer_uuid) - .then(function (response) { - vm.engagement.reviewer_uuid = response.data.reviewer; - vm.engagement.peer_reviewer_uuid = response.data.peerreviewer; - toastService.setToast("Reviewer and peer reviewer updated successfully.", 'success'); - }) - .catch(function (error) { - toastService.setToast("Server failed to update engagement reviewers.", 'danger'); - $rootScope.ice.loader.show = false; - $log.error(error); - }); - } else { - vfService.updateEngagementReviewer(vm.engagement.uuid, userUuid) - .then(function(response){ - _.remove(vm.team, function(user) {return user.uuid === vm.engagement.reviewer_uuid;}); - vm.team.push(response.data); - vm.engagement.reviewer_uuid = response.data.uuid; - toastService.setToast("Reviewer updated successfully.", 'success'); - }) - .catch(function(error) { - toastService.setToast("Server failed to update engagement reviewer.", 'danger'); - $rootScope.ice.loader.show = false; - $log.error(error); - }); - }} else { - toastService.setToast("Problem occurred while updating reviewer - missing engagement uuid.", 'danger'); - } - }) - }; - - vm.changePeerReviewer = function() { - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/select-el-modal/select-el-modal.html', - controller: 'selectELModalController', - controllerAs: 'vm', - resolve: { - // We are not allow the reviewer and peer reviewer to be the same: - excludeUuids: function () { - return [vm.engagement.reviewer_uuid]; - }, - selectedOption: function() { - return vm.engagement.peer_reviewer_uuid; - } - } - }); - - modalInstance.result.then(function (userUuid) { - if(vm.engagement && vm.engagement.uuid) { - - if (userUuid == vm.engagement.reviewer_uuid) { - vfService.switchEngagementReviewers(vm.engagement.uuid, vm.engagement.peer_reviewer_uuid, userUuid) - .then(function (response) { - vm.engagement.reviewer_uuid = response.data.reviewer; - vm.engagement.peer_reviewer_uuid = response.data.peerreviewer; - toastService.setToast("Peer reviewer and reviewer updated successfully.", 'success'); - }) - .catch(function (error) { - toastService.setToast("Server failed to update engagement reviewers.", 'danger'); - $rootScope.ice.loader.show = false; - $log.error(error); - }); - } else { - vfService.updateEngagementPeerReviewer(vm.engagement.uuid, userUuid) - .then(function(response) { - $log.debug("vm.team", vm.team); - _.remove(vm.team, function(user) {return user.uuid === vm.engagement.peer_reviewer_uuid;}); - vm.team.push(response.data); - vm.engagement.peer_reviewer_uuid = response.data.uuid; - toastService.setToast("Peer reviewer updated successfully.", 'success'); - }) - .catch(function(error) { - toastService.setToast("Server failed to update engagement peer reviewer.", 'danger'); - $rootScope.ice.loader.show = false; - $log.error(error); - }); - }} else { - toastService.setToast("Problem occurred while updating peer reviewer - missing engagement uuid.", 'danger'); - } - }) - }; - - vm.updateEngagementStatus = function() { - vm.vf.engagement.progress = parseInt(vm.progress); - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/update-engagement-status-modal/update-engagement-status-modal.html', - controller: 'updateEngagementStatusModalController', - controllerAs: 'vm', - resolve: { - engagement: function () { - // We will deliver a copy of the engagement so if the user hit 'Cancel' we won't change the original: - return angular.copy(vm.vf.engagement); - } - } - }); - - modalInstance.result.then(function (result) { - vfService.updateEngagement(result.engagement, result.status) - .then(function(response) { - vm.vf.engagement = result.engagement; - vm.progress = vm.vf.engagement.progress; - vm.progress_needed_data = getEngagementProgressData(); - vm.status = response.data; - toastService.setToast("Engagement status updated successfully.", 'success'); - }) - .catch(function(error){ - toastService.setToast("Server failed to update engagement status.", 'danger'); - $rootScope.ice.loader.show = false; - $log.error(error); - }); - }) - }; - - vm.changeTargetCompletion = function(){ - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/change-date/change-date.html', - controller: 'ChangeDateModalController', - controllerAs: 'vm', - resolve: { - completionDate: function () { - return vm.vf.engagement.target_completion_date; - }, - engagementUuid: function () { - return vm.engagement.uuid; - } - } - }); - - modalInstance.result.then(function (data) { - if (!data){ - return; - } - vm.completion_date = data.target_date || vm.vf.engagement.target_completion_date; - vm.vf.engagement.target_completion_date = vm.completion_date; - }, function () { - $log.debug('Modal dismissed at: ' + new Date()); - }); - }; - - init(); - } -})(); diff --git a/d2ice.att.io/app/main/dashboard/overview/overview.html b/d2ice.att.io/app/main/dashboard/overview/overview.html deleted file mode 100755 index d1b3fc40..00000000 --- a/d2ice.att.io/app/main/dashboard/overview/overview.html +++ /dev/null @@ -1,212 +0,0 @@ - -
- -
- - -
-
- -

- {{vm.manual_id}}: {{vm.name}} -

- - - -
-
- GIT: {{vm.git_repo_url}} - - STORAGE BUCKET: {{vm.storage_bucket_url}} -
-
- -
- - -
- -
-
-
-

Next Steps

- - Files - - States - - -
-
    -
  • - -
    - -
    -
    - - - {{step.engagement ? (step.last_updater && step.last_updater.full_name || step.creator.full_name) : "System Next Step"}} -  {{step.last_update_type}}:  - - {{(step.last_update_time) | date2: 'EEEE MMMM doo yyyy'}} at {{(step.last_update_time) | date: 'hh:mm' : timeGapLocal }} {{ampm}} {{mom}} -
    -
    -
    -
    -
    - {{(step['due_date']) | date2: 'EEEE MMMM doo yyyy'}} -
      -
    • -
    • -
    - Associated Files - -
    -
    -
  • -

    No next steps matching filtered results.

    -
-
-
-
-
- Target Completion - -
-
-

{{vm.completion_date | date:'shortDate'}}

-
-
-
-
- Current Status - -
-
- -
-
-
-
- Team Members - -
- -
- -
-
Activity Log
-
    -
  • - -
  • -
-
-
-
-
diff --git a/d2ice.att.io/app/main/dashboard/overview/overview.less b/d2ice.att.io/app/main/dashboard/overview/overview.less deleted file mode 100755 index 48f76a47..00000000 --- a/d2ice.att.io/app/main/dashboard/overview/overview.less +++ /dev/null @@ -1,575 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.dashboard { - - .remove-user-from-eng { - .x_16_r; - float: right; - cursor: pointer; - .remove-icon { - .sprite; - .sprite.red-delete; - display: inline-block; - margin-left: 8px; - position: relative; - top: 3px; - } - } - - .popover-title-name { - .a_18_m; - } - - .popover-title-company { - .a_18_r; - } - - .popover-role-title { - .n_16_i; - } - - .popover-details { - .popover-details-topic { - .m_16_m; - } - .popover-details-detail { - word-wrap: break-word; - - .m_16_r; - } - } - - .content-container #content .main-wrapper { - height: 100%; - overflow-y: auto; - overflow-x: hidden; - padding: 10px ; - } - - .no-display-text{ - .a_36_m; - } - - .no-display{ - display: none; - } - - .overview { - #engagement-title { - color: @toolbar_background_color; - } - .manual-id { - .m_36_m; - color: @toolbar_background_color; - } - - .filter-wrapper { - text-align: right; - padding:0px; - span { - padding: 0px; - margin-left: 5px; - - } - .form-control-main-view{ - margin-left: 5px; - display: inline; - padding: 6px; - font-size: 14px; - line-height: 1.42857143; - color: #555; - background-color: #fff; - background-image: none; - border: 1px solid #ccc; - border-radius: 4px; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; - } - } - - .state-filter { - button { - padding: 0px 5px 0px 8px; - margin-bottom: 1px; - } - - span { - right: 6px !important; - top: 9px !important; - } - - a { - font-size: 14px; - } - } - - .steps-progress-wrapper { - margin-top: 10px; - } - - h1 { - display: inline-block; - .a_36; - margin: 0 0 30px 0; - } - - h2 { - display: inline-block; - margin: 0 0 10px 0; - .a_24_m; - position: relative; - .add-people, - .add-step { - display: inline-block; - margin-left: 8px; - cursor: pointer; - position: relative; - top: 2px; - } - } - - .main-section { - margin-top: 30px; - } - - .steps-header { - background-color: @toolbar_background_color; - color: @main_color_p; - padding: 10px 0px 0px 0px; - margin: 0px 0px 0px -5px; - - h2 { - font-size: 20px; - color: @main_color_p; - } - - .steps-filter { - display: inline-block; - float: right; - .a_16_m; - .todo { - .sprite; - .sprite.todo; - display: inline-block; - cursor: pointer; - } - .completed { - .sprite; - .sprite.pending; - display: inline-block; - cursor: pointer; - } - .confirmed { - .sprite; - .sprite.approved; - display: inline-block; - cursor: pointer; - } - } - } - - #engagement-target-completion { - border: 1px solid @target_completion_color; - padding:0px; - margin-bottom: 20px; - - #target-completion-header { - background-color: @target_completion_color; - .p_18_m; - padding: 5px 5px 0; - line-height: 35px; - - .edit-target-completion { - font-size: 21px; - vertical-align: middle; - padding-left: 6px; - cursor:pointer; - } - } - - .target-completion-content { - .f-type._16_r; - margin: 15px; - } - } - - #engagement-status { - border: 1px solid @engagement_status_color; - padding:0px; - margin-bottom: 20px; - - #engagement-status-header { - background-color: @engagement_status_color; - .p_18_m; - padding: 5px 5px 0; - line-height: 35px; - - .add-engagement-status { - font-size: 21px; - vertical-align: middle; - padding-left: 6px; - cursor:pointer; - } - } - - .engagement-status-content { - .f-type._16_r; - margin: 15px; - - #status-update-details { - display:block; - .m_12_r; - } - - #status-description { - margin: 3px 0px 0px 0px; - .m_16_r; - } - - .edit-engagement-status { - font-size: 21px; - padding-left: 6px; - cursor:pointer; - color: @main_color_m; - } - } - } - - #engagement-team { - border: 1px solid @engagement_team_color; - padding:0px; - margin-bottom: 20px; - - #engagement-team-header { - background-color: @engagement_team_color; - .p_18_m; - padding: 5px 5px 0; - line-height: 35px; - - .add-team-member { - font-size: 21px; - vertical-align: middle; - padding-left: 6px; - cursor:pointer; - } - } - - .engagement-team-content { - .f-type._16_r; - margin: 15px; - - ul.team-avatars { - li.team-member-avatar { - font-size: 40px; - cursor:pointer; - color: @engagement_team_color; - } - - li { - list-style: none; - display: inline-block; - margin-right: 10px; - } - } - } - } - - #star-engagement-action { - display: inline-block; - cursor:pointer; - position: relative; - bottom: 3px; - margin-right: 5px; - } - - #star-engagement-action.not_starred{ - .sprite.starred; - } - - #star-engagement-action.is_starred { - .sprite.starred-selected; - } - - #star-engagement-action.not_starred:hover{ - .sprite.starred-selected; - } - - #star-engagement-action.is_starred:hover { - .sprite.starred; - } - - .steps { - padding-bottom: 140px; - padding-right: 20px; - padding-left: 20px; - - ul { - li.step { - border-bottom: dashed 1px @main_color_n; - .step-wrapper { - border-left: 2px solid transparent; - margin: 7px 0px 7px 1px; - &:hover { - border-left: 2px solid @main_color_a; - background-color: #DEF3FF; - - .description { - .step-state { - &.incomplete { - color: @main_color_d; - opacity: 0.7; - } - } - } - } - } - .next-step-actions { - display:none; - height: 100%; - width: 20px; - position: relative; - padding-top: 10px; - float: left; - left: -18px; - margin-right: -20px; - - > span { - margin-bottom: 3px; - cursor: pointer; - display:block; - } - .order-nextstep { - color: @main_color_o; - cursor:pointer; - } - .edit-next-step { - cursor:pointer; - color: @main_color_o; - } - .moveto-confirmed { - .actions-sprite; - .actions-sprite.approve_large; - - } - .moveto-todo { - .actions-sprite; - .actions-sprite.reject_large; - } - .moveto-delete { - cursor:pointer; - color: @main_color_o; - } - - } - &:hover { - .next-step-actions { - display:block; - } - .details { - .actions { - span { - visibility: visible; - } - } - } - } - - div.completed { - opacity: 0.7; - } - div.confirmed { - opacity: 0.7; - } - - .details { - text-align: right; - .next-step-due-date { - color: @main_color_m; - font-weight: bold; - - .icon { - display: inline-block; - margin-right: 5px; - position: relative; - } - } - - .associated-files { - color: @main_color_m; - font-weight: bold; - cursor: pointer; - } - - ul.next-step-team-mates { - li { - list-style: none; - display: inline-block; - font-size: 27px; - padding-left: 5px; - color: @engagement_team_color; - - &.me { - color: @main_color_a; - } - } - - } - - } - list-style: none; - position: relative; - - .description { - .m_16_r; - - padding:5px; - - input { - position: absolute; - top: 10px; - left: 0; - margin-right: 20px; - } - - .step-text { - margin-left: 35px; - } - .last-action-details { - .m_12_r; - .name { - font-weight: bold; - .m_12_m; - - } - } - .step-state { - position: absolute; - top: 25px; - font-size: 25px; - - &.incomplete { - color: @main_color_o; - display: inline-block; - } - &.completed { - color: @main_color_d; - display: inline-block; - } - } - } - } - } - } - - .team-and-logs { - border-left: dashed 1px @main_color_a; - padding-left: 20px; - padding-right: 20px; - - .activity-log { - - border: 1px solid @engagement_team_color; - padding:0px; - margin-bottom: 20px; - - #activity-log-header { - background-color: @engagement_team_color; - .p_18_m; - padding: 5px 5px 0; - line-height: 35px; - } - ul.activity-log-details { - margin:15px; - li { - list-style: none; - position: relative; - margin: 0 0 10px; - - } - } - } - - } - - .admin-actions-dropdown { - .sprite.admin-dropdown; - color: @main_color_a; - font-size: 20px; - vertical-align: 4px; - margin-left: 5px; - cursor: pointer; - display: inline-block; - } - } - - .add-next-step-form { - .ice-wysiwyg { - height: 200px; - .wysiwyg-menu > div { - background-color: #f1f1f1; - padding: 2px; - } - } - } - - .git-repo-url{ - text-align: left; - .m_16_m; - } - - .storage-bucket-url{ - text-align: left; - .m_16_m; - } - - .line-separator { - border-bottom: solid thin; - margin-top: 5px; - margin-bottom: 7px; - align-items: left; - } -} - -.intl-tel-input { - width: 100%; -} - -.iti-flag { - background-image: url(images/flags.png); -} diff --git a/d2ice.att.io/app/main/documentation/documentation.controller.js b/d2ice.att.io/app/main/documentation/documentation.controller.js deleted file mode 100755 index 6e3ebb27..00000000 --- a/d2ice.att.io/app/main/documentation/documentation.controller.js +++ /dev/null @@ -1,74 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.documentation') - .controller('documentationController', ["cmsService", "$stateParams", "$log", documentationController]); - - function documentationController(cmsService, $stateParams, $log) { - var vm = this; - - var init = function() - { - loadPageData(); - }; - - function loadPageData() { - if($stateParams.page_id) { - cmsService.getPage($stateParams.page_id) - .then(function(response) { - if(response && response.data) { - vm.pageId = $stateParams.page_id; - vm.pageTitle = response.data["title"]; - vm.pageContent = response.data["content"]; - vm.publishDate = response.data["publish_date"]; - } - }) - .catch(function(error) { - $log.error(error); - }); - } - } - - init(); - } -})(); diff --git a/d2ice.att.io/app/main/documentation/documentation.html b/d2ice.att.io/app/main/documentation/documentation.html deleted file mode 100755 index 44b7c0d8..00000000 --- a/d2ice.att.io/app/main/documentation/documentation.html +++ /dev/null @@ -1,47 +0,0 @@ - - -
-
-

{{vm.pageTitle}}

- Updated at {{vm.publishDate | date2: 'EEEE MMMM doo yyyy'}} -
-
-
- diff --git a/d2ice.att.io/app/main/documentation/documentation.less b/d2ice.att.io/app/main/documentation/documentation.less deleted file mode 100755 index 7b7f188b..00000000 --- a/d2ice.att.io/app/main/documentation/documentation.less +++ /dev/null @@ -1,96 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.documentation-container { - .page-title { - .a_26_m; - margin:0px; - } - - .page-publish { - .f-type._14_m; - - bottom: 10px; - } - - .page-content{ - .f-type._16_r; - margin-top: 10px; - - ul { - padding-left: 30px; - } - - h1 { - font-weight: bold; - } - - h2 { - font-weight: bold; - } - - h3 { - font-weight: bold; - } - - table { - border-right: 1px solid @main_color_c; - border-left: 1px solid @main_color_c; - - tr { - border-bottom: 1px solid @main_color_c; - border-top: 1px solid @main_color_c; - border-collapse: collapse; - - td { - padding: 0 0 0 7px; - } - } - - thead { - background-color: @main_color_c; - color: @main_color_p; - font-weight: bold; - } - } - } -} - -#documentation-side-panel { - border-left: dashed 1px @main_color_a; -} diff --git a/d2ice.att.io/app/main/documentation/documentation.module.js b/d2ice.att.io/app/main/documentation/documentation.module.js deleted file mode 100755 index fb944e0d..00000000 --- a/d2ice.att.io/app/main/documentation/documentation.module.js +++ /dev/null @@ -1,74 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.documentation') - .config(config); - - function config($stateProvider) { - $stateProvider - .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: true} - }) - .state('app.documentation.page', { - url: '/documentation', - views: { - 'content@app': { - templateUrl: 'main/documentation/documentation.html', - controller: 'documentationController as vm' - } - }, - bodyClass: 'documentation', - params: {displaySidebar: true, page_id: undefined} - }); - } -})(); diff --git a/d2ice.att.io/app/main/documentation/sidebar/documentation.sidebar.html b/d2ice.att.io/app/main/documentation/sidebar/documentation.sidebar.html deleted file mode 100755 index c6381a7d..00000000 --- a/d2ice.att.io/app/main/documentation/sidebar/documentation.sidebar.html +++ /dev/null @@ -1,41 +0,0 @@ - - diff --git a/d2ice.att.io/app/main/documentation/sidebar/documentation.sidebar.less b/d2ice.att.io/app/main/documentation/sidebar/documentation.sidebar.less deleted file mode 100755 index 51694fe9..00000000 --- a/d2ice.att.io/app/main/documentation/sidebar/documentation.sidebar.less +++ /dev/null @@ -1,61 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -#documentation-side-panel { - .tooltip-title { - font-size: 18px; - } - - #tooltip-description { - font-size: 16px; - } - - #news-and-announcements-header { - font-size: 18px; - } - - #news-and-announcements-list { - .news-and-announcements-details { - .news-and-announcements-details-header { - .news-and-announcements-details-title { - font-size: 16px; - } - } - } - } -} diff --git a/d2ice.att.io/app/main/errors/404.html b/d2ice.att.io/app/main/errors/404.html deleted file mode 100755 index 62309745..00000000 --- a/d2ice.att.io/app/main/errors/404.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - Page Not Found :( - - - -
-

Not found :(

-

Sorry, but the page you were trying to view does not exist.

-

It looks like this was the result of either:

-
    -
  • a mistyped address
  • -
  • an out-of-date link
  • -
- - -
- - diff --git a/d2ice.att.io/app/main/main.controller.js b/d2ice.att.io/app/main/main.controller.js deleted file mode 100755 index 9c91aae9..00000000 --- a/d2ice.att.io/app/main/main.controller.js +++ /dev/null @@ -1,60 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - - angular - .module('ice.main',[]) - .controller('MainController', MainController)//; - .config(function($mdDateLocaleProvider) { - $mdDateLocaleProvider.formatDate = function (date) { - return date ? moment(date).format('MMMM Do YYYY') : ''; - }; - - $mdDateLocaleProvider.parseDate = function (dateString) { - var m = moment(dateString, 'YYYY-MM-DD', true); - return m.isValid() ? m.toDate() : new Date(NaN); - }; - }); - - function MainController($scope, $rootScope) { - - } - -})(); \ No newline at end of file diff --git a/d2ice.att.io/app/main/modals/archive-engagement-modal/archive-engagement-modal.controller.js b/d2ice.att.io/app/main/modals/archive-engagement-modal/archive-engagement-modal.controller.js deleted file mode 100755 index 3c1226cb..00000000 --- a/d2ice.att.io/app/main/modals/archive-engagement-modal/archive-engagement-modal.controller.js +++ /dev/null @@ -1,66 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. - -(function () { - 'use strict'; - - angular - .module('ice.modals') - .controller('archiveEngagementModalController', ['$uibModalInstance','engagementDetails',archiveEngagementModalController]); - - function archiveEngagementModalController($uibModalInstance, engagementDetails) { - - var vm = this; - var init = function () { - if(engagementDetails) { - vm.engagement = engagementDetails; - } - }; - - vm.closeModal = function () { - $uibModalInstance.dismiss(); - }; - - vm.archiveEngagement = function() { - $uibModalInstance.close(vm.reason); - }; - - init(); - } -})(); diff --git a/d2ice.att.io/app/main/modals/archive-engagement-modal/archive-engagement-modal.html b/d2ice.att.io/app/main/modals/archive-engagement-modal/archive-engagement-modal.html deleted file mode 100755 index 7d4b5b07..00000000 --- a/d2ice.att.io/app/main/modals/archive-engagement-modal/archive-engagement-modal.html +++ /dev/null @@ -1,56 +0,0 @@ - -
- - -
diff --git a/d2ice.att.io/app/main/modals/archive-engagement-modal/archive-engagement-modal.less b/d2ice.att.io/app/main/modals/archive-engagement-modal/archive-engagement-modal.less deleted file mode 100755 index da2f8503..00000000 --- a/d2ice.att.io/app/main/modals/archive-engagement-modal/archive-engagement-modal.less +++ /dev/null @@ -1,54 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.archive-engagement-modal { - padding: 0px 15px 0px 15px; - - .archive-engagement-title { - .a_24_m;; - } - - .archive-engagement-reason { - .m_16_r; - } - - .modal-body { - top: 10px; - } -} - diff --git a/d2ice.att.io/app/main/modals/audit-log/audit-log.controller.js b/d2ice.att.io/app/main/modals/audit-log/audit-log.controller.js deleted file mode 100755 index 84e7fbc6..00000000 --- a/d2ice.att.io/app/main/modals/audit-log/audit-log.controller.js +++ /dev/null @@ -1,95 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - - angular - .module('ice.modals') - .controller('AuditLogModalController', ['$rootScope', '$uibModalInstance', 'checklistService', 'wizardData', - 'toastService', '$log', AuditLogModalController]); - - function AuditLogModalController($rootScope, $uibModalInstance, checklistService, wizardData, toastService, $log) { - var vm = this; - - var init = function() - { - var arr = []; - var i; - var region = moment().tz( moment.tz.guess()).format('z'); - var dt = ""; - vm.name = wizardData.name; - vm.checklistAuditLogs = wizardData.checklistAuditLogs; - vm.checklistAuditLogs.forEach(function (cl) - { - dt = moment(cl.create_time).local().format('YYYY-MM-DD hh:mm:ss A') + " " + region; - arr.push({"name":cl.creator.full_name,"dt":dt,"desc":cl.description}); - }); - vm.checklistAuditLogs = arr; - } - - init(); - - vm.submitForm = function () - { - var jsonPost = {"description":vm.description}; - checklistService.createAuditlogChecklist(wizardData.uuid, jsonPost) - .then(function (response) { - if (response.status === 200) - { - $uibModalInstance.close(response.data); - vm.closeModal(); - } - else - { - toastService.setToast(response.error, 'danger', {displayFor: 'modal'}); - $rootScope.ice.loader.show = false; - } - }) - .catch(function (error) { - toastService.setToast(error.message, 'danger', {displayFor: 'modal'}); - $log.error(error.message); - }); - }; - - vm.closeModal = function(){ - toastService.clearToast(); - $uibModalInstance.close(); - }; - } -})(); diff --git a/d2ice.att.io/app/main/modals/audit-log/audit-log.html b/d2ice.att.io/app/main/modals/audit-log/audit-log.html deleted file mode 100755 index a4ad06f7..00000000 --- a/d2ice.att.io/app/main/modals/audit-log/audit-log.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - diff --git a/d2ice.att.io/app/main/modals/audit-log/audit-log.less b/d2ice.att.io/app/main/modals/audit-log/audit-log.less deleted file mode 100755 index 7ba728e6..00000000 --- a/d2ice.att.io/app/main/modals/audit-log/audit-log.less +++ /dev/null @@ -1,49 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.auditlog { - - .audit-log-items { - border-bottom: 1px solid; - margin-bottom: 5px; - } - - .textarea-checklist-audit { - resize: none; - } -} diff --git a/d2ice.att.io/app/main/modals/change-date/change-date.controller.js b/d2ice.att.io/app/main/modals/change-date/change-date.controller.js deleted file mode 100755 index 35290c99..00000000 --- a/d2ice.att.io/app/main/modals/change-date/change-date.controller.js +++ /dev/null @@ -1,75 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.modals') - .controller('ChangeDateModalController', ["$uibModalInstance", "completionDate", "engagementUuid", "vfService", "$rootScope", "toastService", changeDateModalController]); - - function changeDateModalController($uibModalInstance, completionDate, engagementUuid, vfService, $rootScope, toastService) { - - var vm = this; - //vm.completionDate = new Date(completionDate); - vm.completionDate = completionDate; - - vm.dateOptions = { - minDate: new Date(), - showWeeks: true - }; - - vm.closeModal = function(){ - $uibModalInstance.close(); - }; - - vm.submitForm = function(){ - var postData={"target_date": moment(vm.completionDate).format("YYYY-MM-DD")}; - vfService.updateDaysLeft(engagementUuid, postData) - .then(function (response) { - if (response.status === 200) { - $uibModalInstance.close(postData); - } - }) - .catch(function (error) { - toastService.setToast(error.status + ': Error changing completion date!', 'danger'); - }); - }; - } -})(); diff --git a/d2ice.att.io/app/main/modals/change-date/change-date.html b/d2ice.att.io/app/main/modals/change-date/change-date.html deleted file mode 100755 index 4d3e0b59..00000000 --- a/d2ice.att.io/app/main/modals/change-date/change-date.html +++ /dev/null @@ -1,62 +0,0 @@ - -
- - - -
diff --git a/d2ice.att.io/app/main/modals/change-progress/change-progress.controller.js b/d2ice.att.io/app/main/modals/change-progress/change-progress.controller.js deleted file mode 100755 index e28b2528..00000000 --- a/d2ice.att.io/app/main/modals/change-progress/change-progress.controller.js +++ /dev/null @@ -1,71 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.modals',[]) - .controller('ChangeProgressModalController', ["$uibModalInstance", "progress", "engagementUuid", "vfService", - "$log", "toastService", ChangeProgressModalController]); - - function ChangeProgressModalController($uibModalInstance, progress, engagementUuid, vfService, $log, toastService) { - - var vm = this; - vm.progress = progress; - - vm.closeModal = function(){ - $uibModalInstance.close(); - }; - - vm.submitForm = function(){ - var postData={"progress": vm.progress}; - vfService.updateProgress(engagementUuid, postData) - .then(function (response) { - if (response.status === 202) { - $uibModalInstance.close(postData); - } - }) - .catch(function (error) { - $log.error(error); - toastService.setToast(error.status + ': Error changing progress!', 'danger'); - }); - }; - } -})(); diff --git a/d2ice.att.io/app/main/modals/change-progress/change-progress.html b/d2ice.att.io/app/main/modals/change-progress/change-progress.html deleted file mode 100755 index adfb7e7a..00000000 --- a/d2ice.att.io/app/main/modals/change-progress/change-progress.html +++ /dev/null @@ -1,65 +0,0 @@ - -
- - - - -
diff --git a/d2ice.att.io/app/main/modals/checklist/checklist.controller.js b/d2ice.att.io/app/main/modals/checklist/checklist.controller.js deleted file mode 100755 index 4a20b53d..00000000 --- a/d2ice.att.io/app/main/modals/checklist/checklist.controller.js +++ /dev/null @@ -1,238 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - - angular - .module('ice.modals') - .controller('ChecklistModalController', ['toastService', '$rootScope', '$uibModalInstance', 'checklistService', - 'engagementUuid', 'modal_type', 'wizardData', '$log', ChecklistModalController]); - - function ChecklistModalController(toastService, $rootScope, $uibModalInstance, checklistService, engagementUuid, - modal_type, wizardData, $log) { - var vm = this; - vm.checkListAssociatedFiles = []; - vm.selectedCheckListAssociatedFiles = []; - vm.isDisabled = false; - - var init = function() { - switch(modal_type) { - case 'create': - vm.create = true; - vm.createUpadeTitle = "Create"; - vm.modalType = 'create'; - vm.modalTitle = "Create"; - checklistService.getDataForCreateChecklist(engagementUuid) - .then(function (response) { - if (response.status === 200) { - vm.checkListTemplatesLists = []; - vm.checkListTemplates = response.data.checkListTemplates; - angular.forEach(response.data.checkListAssociatedFiles, function (value, key) { - vm.checkListAssociatedFiles.push({File: value}); - }); - $rootScope.ice.loader.show = false; - } - }) - .catch(function (error) { - toastService.setToast(error.message, 'danger', {displayFor: 'modal'}); - $rootScope.ice.loader.show = false; - $log.error(error.message); - }); - break; - case 'update': - vm.update = true; - vm.createUpadeTitle = "Update"; - vm.modalType = 'udpate'; - vm.modalTitle = "Update"; - vm.checklistUuid = wizardData.uuid; - vm.checkListName = wizardData.name; - checklistService.getDataForCreateChecklist(engagementUuid) - .then(function (response) { - if (response.status === 200) { - vm.checkListAssociatedFiles = [] - angular.forEach(response.data.checkListAssociatedFiles, function (value, key) { - vm.checkListAssociatedFiles.push({File: value}); - }); - $rootScope.ice.loader.show = false; - - vm.selectedCheckListAssociatedFiles =[] - - angular.forEach(wizardData.associatedFiles, function(val, key1) { - vm.selectedCheckListAssociatedFiles.push({File: val}); - }); - - } - }) - .catch(function (error) { - toastService.setToast(error.message, 'danger', {displayFor: 'modal'}); - $rootScope.ice.loader.show = false; - $log.error(error.message); - }); - vm.selectedTemplateUuid = wizardData.selectedTemplateUuid; - vm.selectedTemplateName = wizardData.selectedTemplateName; - - break; - } - } - init(); - - vm.addFile = function () - { - var newItemNo = vm.selectedCheckListAssociatedFiles.length + 1; - vm.selectedCheckListAssociatedFiles.push({'id': newItemNo}); - }; - - vm.removeFile = function (index) - { - vm.selectedCheckListAssociatedFiles.splice(index,1); - }; - - vm.closeModal = function(){ - toastService.clearToast(); - $rootScope.$emit('onChecklistUpdate'); - $uibModalInstance.close(vm.checkListName); - $uibModalInstance.close(); - }; - - - vm.submitForm = function () - { - vm.isDisabled = true; - var checklist_files = []; - switch(modal_type){ - case 'create': - angular.forEach(vm.selectedCheckListAssociatedFiles, function(val, key1) { - checklist_files.push(val.File); - }); - var jsonPost = { - "checkListAssociatedFiles": checklist_files, - "checkListName": vm.checkListName, - "checkListTemplateUuid" : vm.selectedTemplateUuid - }; - - checklistService.createChecklist(engagementUuid, jsonPost) - .then(function (response) { - if (response.status === 200) { - $uibModalInstance.close(response.data); - $rootScope.ice.loader.show = false; - vm.closeModal(); - } - }) - .catch(function (error) { - toastService.setToast(error.message || 'Error creating check list.', 'danger', {displayFor: 'modal'}); - $rootScope.ice.loader.show = false; - vm.isDisabled = false; - $log.error(error.message); - }); - break; - case 'update': - - var updated_file_list = []; - angular.forEach(vm.selectedCheckListAssociatedFiles, function(val, key1) { - updated_file_list.push(val.File); - }); - $log.debug("update", updated_file_list); - var jsonPut = { - "checklistUuid": vm.checklistUuid, - "checkListAssociatedFiles": updated_file_list, - "checkListName": vm.checkListName, - "checkListTemplateUuid" : vm.selectedTemplateUuid - }; - checklistService.putDataForChecklist(vm.checklistUuid, jsonPut) - .then(function (response) { - if (response.status === 200) { - $rootScope.$broadcast('onUpdateEngagements',{select:{uuid: engagementUuid, view_type : 'checklist', sub_id: vm.checklistUuid}}); - $rootScope.ice.loader.show = false; - - var response_data = {}; - response_data.checklist_name = vm.checkListName; - response_data.associated_files = updated_file_list; - var array1 = vm.checkListAssociatedFiles.sort(); - var array2 = updated_file_list.sort(); - - var is_same_files = (array1.length == array2.length) && array1.every(function(element, index) { - return element === array2[index]; - }); - // if file list changed reject checklist - if (!is_same_files && wizardData.state != 'pending') - { - var postData = {}; - postData["description"] = "Rejected due to file list change"; - postData["decline"] = "True"; - - checklistService.setState(vm.checklistUuid, postData) - .then(function (response) { - if (response.status === 200) { - $rootScope.$broadcast('onUpdateEngagements'); - } - else { - toastService.setToast(response.error, 'danger', {displayFor: 'modal'}); - $rootScope.ice.loader.show = false; - vm.isDisabled = false; - return; - } - }) - .catch(function (error) { - $log.error(error); - toastService.setToast(error.status + ': Error changing progress!', 'danger'); - vm.isDisabled = false; - return; - }); - } - - $uibModalInstance.close(response_data); - vm.closeModal(); - } - }) - .catch(function (error) { - toastService.setToast(error.message, 'danger', {displayFor: 'modal'}); - $rootScope.ice.loader.show = false; - $log.error(error.message); - vm.isDisabled = false; - - }); - break; - default: - $log.debug('no submit action found'); - vm.isDisabled = false; - break; - } - } - } -})(); diff --git a/d2ice.att.io/app/main/modals/checklist/checklist.html b/d2ice.att.io/app/main/modals/checklist/checklist.html deleted file mode 100755 index d308c9d2..00000000 --- a/d2ice.att.io/app/main/modals/checklist/checklist.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - diff --git a/d2ice.att.io/app/main/modals/checklist/state-approve-or-reject/state-approve-or-reject.controller.js b/d2ice.att.io/app/main/modals/checklist/state-approve-or-reject/state-approve-or-reject.controller.js deleted file mode 100755 index 160b57cc..00000000 --- a/d2ice.att.io/app/main/modals/checklist/state-approve-or-reject/state-approve-or-reject.controller.js +++ /dev/null @@ -1,105 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. - -(function () { - 'use strict'; - - angular - .module('ice.modals') - .controller('stateDecisionModalController', ['$rootScope','$uibModalInstance', 'checklistService', - 'toastService', 'action', 'checklist', '$log', stateDecisionModalController]); - - function stateDecisionModalController($rootScope, $uibModalInstance, checklistService, toastService, action, - checklist, $log) { - - var vm = this; - - var init = function () { - vm.description = null; - vm.checklist_name = checklist.name; - vm.state = checklist.state; - vm.action = action; - vm.modalText = (vm.state == 'pending') ? "Are you sure you want to move the checklist state to Automation?": - "Please use the button below to either approve or reject the " + - "checklist.
You can also add a log entry comment."; - }; - - vm.submitForm = function(decision) { - var postData = {}; - if (vm.description != null) { - postData["description"] = vm.description; - } - else{ - postData["description"] = ''; - } - - if (decision === true) { - postData["decline"] = "False"; - } - else { - postData["decline"] = "True"; - } - - - - checklistService.setState(checklist.uuid, postData) - .then(function (response) { - if (response.status === 200) { - $uibModalInstance.close(response.data); - vm.closeModal(); - } - else { - toastService.setToast(response.error, 'danger'); - $rootScope.ice.loader.show = false; - } - }) - .catch(function (error) { - $log.error(error); - toastService.setToast(error.status + ': Error changing progress!', 'danger'); - }); - - }; - - vm.closeModal = function () { - $uibModalInstance.close(); - }; - - init(); - } -})(); diff --git a/d2ice.att.io/app/main/modals/checklist/state-approve-or-reject/state-approve-or-reject.html b/d2ice.att.io/app/main/modals/checklist/state-approve-or-reject/state-approve-or-reject.html deleted file mode 100755 index 4db81b1f..00000000 --- a/d2ice.att.io/app/main/modals/checklist/state-approve-or-reject/state-approve-or-reject.html +++ /dev/null @@ -1,58 +0,0 @@ - - -
- -
- -
- -
-
- Inserted text should not include any special chars such as: \%_*." -
- -
diff --git a/d2ice.att.io/app/main/modals/checklist/state-approve-or-reject/state-approve-or-reject.less b/d2ice.att.io/app/main/modals/checklist/state-approve-or-reject/state-approve-or-reject.less deleted file mode 100755 index 08bf14e9..00000000 --- a/d2ice.att.io/app/main/modals/checklist/state-approve-or-reject/state-approve-or-reject.less +++ /dev/null @@ -1,173 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.modal-open .modal { - z-index: 30000 !important; -} - -#approve-or-reject-state { - - .modal-title { - .a_22_m; - } - - .decision-modal-body { - margin-bottom: 8px; - margin-top: 10px; - } - - .decision-comment { - .m_14_r;; - } - - .modal_buttons { - .custom-button { - position: relative; - width: 30%; - float: left; - display: inline-block; - } - .custom-space { - position: relative; - width: 5%; - float: left; - min-height: 1px; - } - } - - .state-title .bold { - .m_18_m; - } - .state-title { - .m_18_r; - } - .state-title-border { - border-bottom: dashed 1px; - border-color: @main_color_q; - margin-left: 0px; - } - - .comment-textarea { - resize: vertical; - } - - .btn-gradient-success { - font-weight: bold; - color: #FFFFFF; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #41A02C; - *background-color: #41A02C; - background-image: -moz-linear-gradient(top, #A2E652, #41A02C); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#A2E652), to(#41A02C)); - background-image: -webkit-linear-gradient(top, #A2E652, #41A02C); - background-image: -o-linear-gradient(top, #A2E652, #41A02C); - background-image: linear-gradient(to bottom, #A2E652, #41A02C); - background-repeat: repeat-x; - border-color: #41A02C; - border-color: #888; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#A2E652', endColorstr='#41A02C', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); - } - .btn-sample:hover, - .btn-sample:focus, - .btn-sample:active, - .btn-sample.active, - .btn-sample.disabled, - .btn-sample[disabled] { - color: #FFFFFF; - background-color: #41A02C; - *background-color: #003bb3; - } - - .btn-gradient-danger { - font-weight: bold; - color: #FFFFFF; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #AE0020; - *background-color: #AE0020; - background-image: -moz-linear-gradient(top, #F74658, #AE0020); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#F74658), to(#AE0020)); - background-image: -webkit-linear-gradient(top, #F74658, #AE0020); - background-image: -o-linear-gradient(top, #F74658, #AE0020); - background-image: linear-gradient(to bottom, #F74658, #AE0020); - background-repeat: repeat-x; - border-color: #AE0020; - border-color: #888; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F74658', endColorstr='#AE0020', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); - } - .btn-sample:hover, - .btn-sample:focus, - .btn-sample:active, - .btn-sample.active, - .btn-sample.disabled, - .btn-sample[disabled] { - color: #FFFFFF; - background-color: #AE0020; - *background-color: #003bb3; - } - - .btn-gradient-default { - font-weight: bold; - color: #B3B3B3; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #D0D0D0; - *background-color: #D0D0D0; - background-image: -moz-linear-gradient(top, #FCFCFC, #D0D0D0); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#FCFCFC), to(#D0D0D0)); - background-image: -webkit-linear-gradient(top, #FCFCFC, #D0D0D0); - background-image: -o-linear-gradient(top, #FCFCFC, #D0D0D0); - background-image: linear-gradient(to bottom, #FCFCFC, #D0D0D0); - background-repeat: repeat-x; - border-color: #D0D0D0; - border-color: #888; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FCFCFC', endColorstr='#D0D0D0', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); - } - .btn-sample:hover, - .btn-sample:focus, - .btn-sample:active, - .btn-sample.active, - .btn-sample.disabled, - .btn-sample[disabled] { - color: #FFFFFF; - background-color: #D0D0D0; - *background-color: #003bb3; - } - -} diff --git a/d2ice.att.io/app/main/modals/cms-post-modal/cms-post-modal.controller.js b/d2ice.att.io/app/main/modals/cms-post-modal/cms-post-modal.controller.js deleted file mode 100755 index 09773283..00000000 --- a/d2ice.att.io/app/main/modals/cms-post-modal/cms-post-modal.controller.js +++ /dev/null @@ -1,92 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - - angular - .module('ice.modals') - .controller('cmsPostModalController', ['$uibModalInstance', 'cmsService','post', '$log', cmsPostModalController]); - - function cmsPostModalController($uibModalInstance, cmsService, post, $log) { - - var vm = this; - var init = function () { - if(post) { - vm.post = post; - } else { - cmsService.getLastAnnouncementPost() - .then(function(response) { - if(response && response.data && response.data.length === 1) { - vm.post = response.data[0]; - } - }) - .catch(function(error) { - $log.error(error); - }); - } - - loadRecentPosts(); - }; - - vm.closeModal = function (bool) { - $uibModalInstance.close(bool); - }; - - vm.loadSelectedPostData = function(post) { - if(post) { - vm.post = post; - } - }; - - function loadRecentPosts() { - var limit = 5; - var fromLastDays = ""; - - cmsService.getPosts(limit, fromLastDays, ['Announcement', 'News']) - .then(function(response) { - vm.recentPosts = response.data; - }) - .catch(function(error) { - $log.error(error); - }); - } - - init(); - } -})(); diff --git a/d2ice.att.io/app/main/modals/cms-post-modal/cms-post-modal.html b/d2ice.att.io/app/main/modals/cms-post-modal/cms-post-modal.html deleted file mode 100755 index cd51c5e3..00000000 --- a/d2ice.att.io/app/main/modals/cms-post-modal/cms-post-modal.html +++ /dev/null @@ -1,55 +0,0 @@ - -
- - -
-
- Most recent news & announcements -
    -
  • - {{post.title}}Posted at {{post.publish_date | date2: 'EEEE MMMM doo yyyy'}} by {{post.user.username}} -
  • -
-
-
diff --git a/d2ice.att.io/app/main/modals/cms-post-modal/cms-post-modal.less b/d2ice.att.io/app/main/modals/cms-post-modal/cms-post-modal.less deleted file mode 100755 index 832ef012..00000000 --- a/d2ice.att.io/app/main/modals/cms-post-modal/cms-post-modal.less +++ /dev/null @@ -1,106 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.toast-read-more-container { - padding: 0 20px; - word-wrap: break-word; - - .recent-cms-posts-container { - .line-separator { - border-bottom: solid 1px @main_color_m; - margin: 20px 0; - } - - .recent-cms-posts-title { - .a_16_m; - - } - - ul.recent-cms-posts { - margin-top: 3px; - - li { - .f-type._16_m; - list-style: none; - position: relative; - line-height: 28px; - cursor: pointer; - - .post-creation { - .f-type._12_r; - } - - &:before { - content: ''; - display: inline-block; - position: absolute; - top: 0; - } - } - - li.selected { - background-color: @func_color_r; - } - } - } -} - -.toast-read-more-title { - .a_26_m; - line-height: 26px; -} - -.toast-read-more-creation { - display: block; -} - -.toast-read-more-content { - .m_18_r; - line-height: 20px; - padding: 10px 20px 0; -} - -.modal-cms-post-read-more { - width: 70%; - margin: 0px auto; - height: 100%; - - .modal-content { - height: 100%; - } -} diff --git a/d2ice.att.io/app/main/modals/detailed-view/dtsite/detailed-view-dtsites-modal.controller.js b/d2ice.att.io/app/main/modals/detailed-view/dtsite/detailed-view-dtsites-modal.controller.js deleted file mode 100755 index e14a9f88..00000000 --- a/d2ice.att.io/app/main/modals/detailed-view/dtsite/detailed-view-dtsites-modal.controller.js +++ /dev/null @@ -1,100 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - - angular - .module('ice.modals') - .controller('detailedViewDtsitesModalController', ["$rootScope", "$uibModalInstance", "$stateParams", - "dtsiteService", "toastService", "vf_uuid", "$log", detailedViewDtsitesModalController]); - - function detailedViewDtsitesModalController($rootScope, $uibModalInstance, $stateParams, dtsiteService, toastService, - vf_uuid, $log) { - - var vm = this; - - var init = function () { - if($stateParams.engagement != undefined) { - vm.vf = $stateParams.engagement.vf; - } - getDTsites(); - - }; - - vm.closeModal = function(){ - $uibModalInstance.close(); - }; - - vm.json = ''; - - vm.submitForm = function(){ - var postData={ - "name": vm.json, - "vf_uuid": vf_uuid - }; - - dtsiteService.add(postData) - .then(function (response) { - $uibModalInstance.close(response.status); - }) - .catch(function (error) { - $log.error(error); - toastService.setToast(error.status + ': Error changing progress!', 'danger'); - }); - }; - - var getDTsites = function() { - $rootScope.ice.loader.show = true; - dtsiteService.get() - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - vm.dtsites = response.data; - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - }; - - init(); - } - -})(); diff --git a/d2ice.att.io/app/main/modals/detailed-view/dtsite/detailed-view-dtsites-modal.html b/d2ice.att.io/app/main/modals/detailed-view/dtsite/detailed-view-dtsites-modal.html deleted file mode 100755 index 901cd624..00000000 --- a/d2ice.att.io/app/main/modals/detailed-view/dtsite/detailed-view-dtsites-modal.html +++ /dev/null @@ -1,62 +0,0 @@ - -
- - - - - -
diff --git a/d2ice.att.io/app/main/modals/detailed-view/vfc/detailed-view-vfc-modal.controller.js b/d2ice.att.io/app/main/modals/detailed-view/vfc/detailed-view-vfc-modal.controller.js deleted file mode 100755 index 983d8d99..00000000 --- a/d2ice.att.io/app/main/modals/detailed-view/vfc/detailed-view-vfc-modal.controller.js +++ /dev/null @@ -1,124 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - - 'use strict'; - - angular - .module('ice.modals') - .controller('detailedViewVFCModalController', ["$rootScope", "$uibModalInstance", "vfcService", "toastService", - "vf_uuid", "usersService", "$log", detailedViewVFCModalController]); - - function detailedViewVFCModalController($rootScope, $uibModalInstance, vfcService, toastService, vf_uuid, usersService, $log) { - - var vm = this; - - var init = function () { - vm.me = usersService.getUserData(); - - getVendors() - }; - - vm.vfcs = [{name:'',external_ref_id:'',company:''}]; - vm.companies = []; - - vm.closeModal = function(){ - $uibModalInstance.close(); - }; - - vm.addNewChoice = function () { - var newItemNo = vm.vfcs.length + 1; - vm.vfcs.push({'id': newItemNo}); - }; - - vm.removeChoice = function (index) { - vm.vfcs.splice(index,1); - }; - - vm.submitForm = function(){ - var jsonAddVfc = []; - angular.forEach(vm.vfcs, function (value, key) { - vm.item = []; - var jsonItem = new Object(); - jsonItem.name = value.name; - jsonItem.external_ref_id = value.external_ref_id; - jsonItem.company = value.company; - jsonAddVfc.push(jsonItem); - }); - - var postData={ - "vfcs": jsonAddVfc, - "vf_uuid": vf_uuid, - "creator": vm.me, - }; - - vfcService.add(postData) - .then(function (response) { - if (response.status === 200) { - $uibModalInstance.close(response.status); - } - }) - .catch(function (error) { - $log.error(error); - toastService.setToast(error.status + ': Error changing progress!', 'danger'); - }); - }; - - var getVendors = function() { - $rootScope.ice.loader.show = true; - vfcService.getCompanies() - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - vm.companies = response.data; - if(vm.companies.length === 0 ){ - console.warn("No vendors pulled, request was successfull") - } - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - }; - - init(); - } -})(); diff --git a/d2ice.att.io/app/main/modals/detailed-view/vfc/detailed-view-vfc-modal.html b/d2ice.att.io/app/main/modals/detailed-view/vfc/detailed-view-vfc-modal.html deleted file mode 100755 index 7ac2097f..00000000 --- a/d2ice.att.io/app/main/modals/detailed-view/vfc/detailed-view-vfc-modal.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - diff --git a/d2ice.att.io/app/main/modals/detailed-view/vfc/detailed-view-vfc-modal.less b/d2ice.att.io/app/main/modals/detailed-view/vfc/detailed-view-vfc-modal.less deleted file mode 100755 index 5ce9098d..00000000 --- a/d2ice.att.io/app/main/modals/detailed-view/vfc/detailed-view-vfc-modal.less +++ /dev/null @@ -1,68 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.vfc-remove-button { - width: 20px; - height: 40px; - float: right; - .a_16_m; - cursor: pointer; - margin: 14px 0 0 0; - - .remove-icon { - .sprite; - .sprite.delete-circle; - cursor: pointer; - display: block; - } -} - -.modal-add-vfc { - margin-top: 8px; - display: block; - .add-text { - .a_16_m; - vertical-align: top; - margin-left: 6px; - } - .add-icon { - .sprite; - .sprite.add; - display: inline-block; - } -} diff --git a/d2ice.att.io/app/main/modals/feedback/feedback.controller.js b/d2ice.att.io/app/main/modals/feedback/feedback.controller.js deleted file mode 100755 index acee617b..00000000 --- a/d2ice.att.io/app/main/modals/feedback/feedback.controller.js +++ /dev/null @@ -1,82 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - - angular - .module('ice.modals') - .controller('FeedbackModalController', ['$rootScope','$uibModalInstance', 'feedbackService', - 'action', 'toastService', '$log', FeedbackModalController]); - - function FeedbackModalController($rootScope, $uibModalInstance, feedbackService, action, toastService, $log) { - var vm = this; - - var init = function() { - vm.action = action; - vm.feedback_modal_description = ''; - }; - - init(); - - vm.submitForm = function () - { - var feedbackPostData = {"description":vm.feedback_modal_description}; - if (action == 'add') { - feedbackService.add(feedbackPostData) - .then(function (response) { - if (response.status === 200) { - $uibModalInstance.close(response.data); - toastService.setToast('Feedback was sent successfully.', 'success'); - } else { - toastService.setToast(response.error, 'danger'); - $rootScope.ice.loader.show = false; - } - }) - .catch(function (error) { - toastService.setToast(error.message, 'danger'); - $log.error(error.message); - }); - } - }; - - vm.closeModal = function(){ - $uibModalInstance.close(); - }; - } -})(); diff --git a/d2ice.att.io/app/main/modals/feedback/feedback.html b/d2ice.att.io/app/main/modals/feedback/feedback.html deleted file mode 100755 index 88912c84..00000000 --- a/d2ice.att.io/app/main/modals/feedback/feedback.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - diff --git a/d2ice.att.io/app/main/modals/feedback/feedback.less b/d2ice.att.io/app/main/modals/feedback/feedback.less deleted file mode 100755 index 5d7fd8b3..00000000 --- a/d2ice.att.io/app/main/modals/feedback/feedback.less +++ /dev/null @@ -1,44 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.feedback-modal-body { - .feedback-modal-description { - border-color: @main_color_q; - margin-bottom:15px; - } -} diff --git a/d2ice.att.io/app/main/modals/general-log-modal/general-log-modal.controller.js b/d2ice.att.io/app/main/modals/general-log-modal/general-log-modal.controller.js deleted file mode 100755 index 98fb2c14..00000000 --- a/d2ice.att.io/app/main/modals/general-log-modal/general-log-modal.controller.js +++ /dev/null @@ -1,63 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - - angular - .module('ice.modals') - .controller('GeneralLogModalController', ['$uibModalInstance', 'modalDetails', GeneralLogModalController]); - - function GeneralLogModalController($uibModalInstance, modalDetails) { - - var vm = this; - - var init = function() { - if(modalDetails) { - vm.headline = modalDetails.headline || 'General log modal'; - vm.body = modalDetails.body || 'There is no body'; - } - }; - - init(); - - vm.closeModal = function(){ - $uibModalInstance.close(); - }; - } -})(); diff --git a/d2ice.att.io/app/main/modals/general-log-modal/general-log-modal.html b/d2ice.att.io/app/main/modals/general-log-modal/general-log-modal.html deleted file mode 100755 index f87a8ac7..00000000 --- a/d2ice.att.io/app/main/modals/general-log-modal/general-log-modal.html +++ /dev/null @@ -1,45 +0,0 @@ - -
- - -
diff --git a/d2ice.att.io/app/main/modals/general-log-modal/general-log-modal.less b/d2ice.att.io/app/main/modals/general-log-modal/general-log-modal.less deleted file mode 100755 index e48ed525..00000000 --- a/d2ice.att.io/app/main/modals/general-log-modal/general-log-modal.less +++ /dev/null @@ -1,72 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. - - -.general-log-containter { - height: inherit; - padding: 0 20px 30px; - word-wrap: break-word; - - .general-log-subtitle { - padding-bottom: 10px; - } - - .general-log-body { - height: inherit; - overflow:scroll; - padding: 0px 20px 0; - .m_18_r; - line-height: 20px; - } -} - -.general-log-modal-title { - .a_26_m; - line-height: 26px; -} - -.modal-general-log-modal { - width: 70%; - margin: 0px auto; - height: 100%; - - .modal-content { - height: 100%; - } -} diff --git a/d2ice.att.io/app/main/modals/general-prompt-modal/general-prompt-modal.controller.js b/d2ice.att.io/app/main/modals/general-prompt-modal/general-prompt-modal.controller.js deleted file mode 100755 index f887a5ee..00000000 --- a/d2ice.att.io/app/main/modals/general-prompt-modal/general-prompt-modal.controller.js +++ /dev/null @@ -1,74 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. - -(function () { - 'use strict'; - - angular - .module('ice.modals') - .controller('generalPromptModalController', ['$uibModalInstance','modalDetails',generalPromptModalController]); - - function generalPromptModalController($uibModalInstance, modalDetails) { - - var vm = this; - var init = function () { - if(modalDetails) { - vm.upper_headline = modalDetails.upper_headline; - vm.upper_headline_value = modalDetails.upper_headline_value; - vm.headline = modalDetails.headline || 'D2ICE'; - vm.message = modalDetails.message || 'Are you sure?'; - vm.closeCallback = modalDetails.closeCallback; - vm.approveText = modalDetails.approve || 'Approve'; - vm.cancelText = modalDetails.cancel || 'Cancel'; - vm.is_close_modal_button = modalDetails.is_close_modal_button; - vm.is_message = modalDetails.is_message; - } - }; - - vm.closeModal = function (bool) { - if(vm.closeCallback) { - vm.closeCallback(bool); - } - - $uibModalInstance.close(bool); - }; - - init(); - } -})(); diff --git a/d2ice.att.io/app/main/modals/general-prompt-modal/general-prompt-modal.html b/d2ice.att.io/app/main/modals/general-prompt-modal/general-prompt-modal.html deleted file mode 100755 index 3bd31887..00000000 --- a/d2ice.att.io/app/main/modals/general-prompt-modal/general-prompt-modal.html +++ /dev/null @@ -1,52 +0,0 @@ - - - diff --git a/d2ice.att.io/app/main/modals/general-prompt-modal/general-prompt-modal.less b/d2ice.att.io/app/main/modals/general-prompt-modal/general-prompt-modal.less deleted file mode 100755 index d367cdaa..00000000 --- a/d2ice.att.io/app/main/modals/general-prompt-modal/general-prompt-modal.less +++ /dev/null @@ -1,151 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.general-prompt-text-details { - .l_14_r; - padding: 3% 0% 3% 0%; -} - -.general-prompt-upper-headline { - .l_14_m; -} -.general-prompt-upper-dash { - border-bottom: dashed 1px #5a5a5a; - margin-bottom: 15px; -} -.upper-headline-value{ - .l_14_i; -} - -.general-prompt-body{ - margin: 0px; -} - -.general-prompt-title { - .m_18_r; - - .bold { - .a_18_m; - } - -} - - -.btn-gradient-success { - font-weight: bold; - color: #FFFFFF; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #41A02C; - *background-color: #41A02C; - background-image: -moz-linear-gradient(top, #A2E652, #41A02C); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#A2E652), to(#41A02C)); - background-image: -webkit-linear-gradient(top, #A2E652, #41A02C); - background-image: -o-linear-gradient(top, #A2E652, #41A02C); - background-image: linear-gradient(to bottom, #A2E652, #41A02C); - background-repeat: repeat-x; - border-color: #41A02C; - border-color: #888; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#A2E652', endColorstr='#41A02C', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); -} -.btn-sample:hover, -.btn-sample:focus, -.btn-sample:active, -.btn-sample.active, -.btn-sample.disabled, -.btn-sample[disabled] { - color: #FFFFFF; - background-color: #41A02C; - *background-color: #003bb3; -} - -.btn-gradient-danger { - font-weight: bold; - color: #FFFFFF; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #AE0020; - *background-color: #AE0020; - background-image: -moz-linear-gradient(top, #F74658, #AE0020); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#F74658), to(#AE0020)); - background-image: -webkit-linear-gradient(top, #F74658, #AE0020); - background-image: -o-linear-gradient(top, #F74658, #AE0020); - background-image: linear-gradient(to bottom, #F74658, #AE0020); - background-repeat: repeat-x; - border-color: #AE0020; - border-color: #888; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F74658', endColorstr='#AE0020', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); -} -.btn-sample:hover, -.btn-sample:focus, -.btn-sample:active, -.btn-sample.active, -.btn-sample.disabled, -.btn-sample[disabled] { - color: #FFFFFF; - background-color: #AE0020; - *background-color: #003bb3; -} - -.btn-gradient-default { - font-weight: bold; - color: #B3B3B3; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #D0D0D0; - *background-color: #D0D0D0; - background-image: -moz-linear-gradient(top, #FCFCFC, #D0D0D0); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#FCFCFC), to(#D0D0D0)); - background-image: -webkit-linear-gradient(top, #FCFCFC, #D0D0D0); - background-image: -o-linear-gradient(top, #FCFCFC, #D0D0D0); - background-image: linear-gradient(to bottom, #FCFCFC, #D0D0D0); - background-repeat: repeat-x; - border-color: #D0D0D0; - border-color: #888; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FCFCFC', endColorstr='#D0D0D0', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); -} -.btn-sample:hover, -.btn-sample:focus, -.btn-sample:active, -.btn-sample.active, -.btn-sample.disabled, -.btn-sample[disabled] { - color: #FFFFFF; - background-color: #D0D0D0; - *background-color: #003bb3; -} diff --git a/d2ice.att.io/app/main/modals/next-steps/next-steps.controller.js b/d2ice.att.io/app/main/modals/next-steps/next-steps.controller.js deleted file mode 100755 index b90921ff..00000000 --- a/d2ice.att.io/app/main/modals/next-steps/next-steps.controller.js +++ /dev/null @@ -1,278 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - - angular - .module('ice.modals') - .controller('NextStepsModalController', ['$rootScope', '$uibModalInstance', 'stepsService', 'engagement_team', - 'title', 'associated_files', 'engagement_uuid', 'checklist', 'nextstep', 'toastService', '$log', NextStepsModalController]); - - function NextStepsModalController($rootScope, $uibModalInstance, stepsService, engagement_team, title, - associated_files, engagement_uuid, checklist, nextstep, toastService, $log) { - - var vm = this; - vm.nextSteps = [{assigneesUuids: '',description: '', files: '', duedate: ''}]; - - var init = function() { - - vm.myDate = new Date(); - vm.minDate = new Date( - vm.myDate.getFullYear(), - vm.myDate.getMonth(), - vm.myDate.getDate()); - vm.maxDate = new Date( - vm.myDate.getFullYear() + 2, - vm.myDate.getMonth(), - vm.myDate.getDate()); - vm.onlyWeekendsPredicate = function (date) { - var day = date.getDay(); - return day === 0 || day === 6; - }; - - vm.wysiwyg_menu = [ - ['bold', 'italic', 'strikethrough', 'underline'], - ['unordered-list', 'ordered-list', 'outdent', 'indent'] - ]; - vm.select_str = {File: 'Select All'}; - vm.select_all_flag = false; - vm.associated_files = []; - vm.associated_files.push( vm.select_str); - vm.assigness = []; - vm.title = title; - if (checklist == undefined) - { - vm.checklist = {}; - vm.checklist.uuid = undefined; - } else { - vm.checklist = checklist; - } - - var unique_files = []; - angular.forEach(associated_files, function (value, key) { - if (unique_files.indexOf(value) == -1) { - unique_files.push(value); - vm.associated_files.push({File: value}); - } - }); - angular.forEach(engagement_team, function (value, key) { - vm.assigness.push({name: value.full_name, id: value.uuid}); - }); - vm.edit = false; - - if (nextstep != undefined) - { - vm.edit = true; - var current = {}; - current.description = nextstep.description; - current.files = []; - current.duedate = new Date(nextstep.due_date); - var unique_files = []; - angular.forEach(nextstep.files, function(val, key1) { - if (unique_files.indexOf(value) == -1) { - unique_files.push(value); - current.files.push({File: val}); - } - }); - - current.assigneesUuids = []; - angular.forEach(nextstep.assignees, function(val, key1) { - current.assigneesUuids.push({name : val.full_name, id :val.uuid}); - - }); - vm.nextSteps = [current]; - } - }; - - init(); - - vm.get_chosen_files_num = function(ns){ - if (ns.files.length == associated_files.length+1) { - return ns.files.length - 1; - } - return ns.files.length - } - - vm.add_all_associated_files = function (ns , choose_option){ - if (choose_option == true) { - ns.files = []; - ns.files.push({File: 'Select All'}); - _.forEach(associated_files, function (value, key) { - ns.files.push({File: value}); - }); - } - else { - vm.select_all_flag = false; - ns.files = []; - } - return; - } - - vm.pull_select_all_from_list = function(ns){ - var shortened_files_list = []; - _.forEach(ns.files, function(item) { - if (!_.isEqual(item, vm.select_str)) { - shortened_files_list.push(item); - } - }); - ns.files = shortened_files_list; - } - - vm.verify_files_choice = function(ns){ - _.forEach(ns.files, function(item) { - if (ns.files.length == associated_files.length && vm.select_all_flag) { - if (item === vm.select_str) { - vm.select_all_flag = false; - vm.pull_select_all_from_list(ns); - } - else { - vm.add_all_associated_files(ns, false) - } - } - else if (ns.files.length == associated_files.length && !vm.select_all_flag) { - ns.files.push({File: 'Select All'}); - vm.select_all_flag = true; - } - else if (item === vm.select_str) { - vm.select_all_flag = true; - vm.add_all_associated_files(ns, true) - } - }) - } - - vm.addNewStep = function () { - var newItemNo = vm.nextSteps.length + 1; - vm.nextSteps.push({'id': newItemNo}); - }; - - vm.removeStep = function (index) { - vm.nextSteps.splice(index,1); - }; - - vm.closeModal = function(){ - $rootScope.ice.loader.show = false; - toastService.clearToast(); - $uibModalInstance.close(); - }; - - vm.submitForm = function () { - - var jsonNextSteps = []; - - var objDate; - var strDate; - angular.forEach(vm.nextSteps, function(value, key) { - var next_step = {}; - next_step.files = []; - if (value.files.length > associated_files.length) { - vm.pull_select_all_from_list(value); - } - angular.forEach(value.files, function(val, key1) { - next_step.files.push(val.File); - }); - next_step.assigneesUuids = []; - angular.forEach(value.assigneesUuids, function(val, key1) { - next_step.assigneesUuids.push(val.id); - }); - - // TODO exho correct format in one command - objDate = new Date(Date.parse((value.duedate) + moment().format("z"))); - next_step.duedate = objDate.getFullYear() + "-" + addZero(objDate.getMonth()+1) + "-" + addZero(objDate.getDate()); - next_step.description = value.description; - jsonNextSteps.push(next_step); - }); - var checklist_uuid = vm.checklist.uuid; - var engUuid = engagement_uuid; - if (vm.edit){ - stepsService.edit(engagement_uuid, nextstep.uuid,jsonNextSteps[0]) - .then(function (response) { - if (response.status === 202) { - $uibModalInstance.close(response.data); - } - }) - .catch(function (error) { - $log.error(error); - toastService.setToast(error.status + ': Error adding next step!', 'danger', {displayFor: 'modal'}); - }); - } else if (vm.checklist.uuid == undefined) { - - stepsService.add(engagement_uuid, jsonNextSteps) - .then(function (response) { - if (response.status === 200) { - $uibModalInstance.close(response.data); - } - }) - .catch(function (error) { - $log.error(error); - toastService.setToast(error.status + ': Error adding next step!', 'danger', {displayFor: 'modal'}); - }); - } else { - stepsService.createChecklistNextStep(checklist_uuid, engUuid, jsonNextSteps) - .then(function (response) { - if (response.status === 200) { - $uibModalInstance.close(response.status); - vm.closeModal(); - } - else - { - toastService.setToast(error.message, 'danger', {displayFor: 'modal'}); - $rootScope.ice.loader.show = false; - $log.error(error); - } - }) - .catch(function (error) { - toastService.setToast(error.message, 'danger', {displayFor: 'modal'}); - $rootScope.ice.loader.show = false; - $log.error(error); - }); - } - }; - - var addZero = function(x) - { - if (x<10) - { - return("0"+x); - } else - { - return(x); - } - } - } -})(); diff --git a/d2ice.att.io/app/main/modals/next-steps/next-steps.html b/d2ice.att.io/app/main/modals/next-steps/next-steps.html deleted file mode 100755 index 588247e8..00000000 --- a/d2ice.att.io/app/main/modals/next-steps/next-steps.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - diff --git a/d2ice.att.io/app/main/modals/next-steps/next-steps.less b/d2ice.att.io/app/main/modals/next-steps/next-steps.less deleted file mode 100755 index faf3eb9e..00000000 --- a/d2ice.att.io/app/main/modals/next-steps/next-steps.less +++ /dev/null @@ -1,307 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.md-datepicker-calendar-pane { - z-index:30001; -} -md-datepicker.btn { - width:100%; - padding: 0px; - position: relative; - - .md-button.md-icon-button.md-datepicker-button { - float:left; - min-height: 0px; - height: 32px; - z-index: 2; - width: 100%; - padding: 0px; - margin: 0px; - md-icon { - display:none; - } - } - - .md-datepicker-input-container{ - - line-height: 28px; - border-bottom:none; - margin-left: 0px; - position: absolute; - left: 0px; - padding-left: 0px; - width: 100% - } - - .md-datepicker-input { - width: 100%; - text-align: left; - line-height: 32px; - padding-left: 10px; - margin: 0px; - } - .md-datepicker-input::-webkit-input-placeholder { - color: #555; - } - .md-datepicker-triangle-button { - top: 7px; - } - .md-datepicker-triangle-button .md-datepicker-expand-triangle { - border-left: 4px solid transparent; - border-right: 4px solid transparent; - border-top: 4px solid transparent; - border-bottom: 4px solid transparent; - } - - .md-datepicker-triangle-button .md-datepicker-expand-triangle:before { - position: absolute; - top: -13px; - left: -3px; - display: inline-block; - border-left: 3.8px solid transparent; - border-right: 3.8px solid transparent; - border-top: 7px solid transparent; - border-bottom: 5.9px solid #555555; - content: ''; - } - - .md-datepicker-triangle-button .md-datepicker-expand-triangle:after { - position: absolute; - top: 1px; - left: -3px; - display: inline-block; - border-left: 3.8px solid transparent; - border-right: 3.8px solid transparent; - border-top: 5.9px solid #555555; - border-bottom: 7px solid transparent; - content: ''; - } - -} - -.dropdown-menu li[data-ng-if="modelValue().length > 0"] { - display:none; -} -.next-steps -{ - md-datepicker .md-datepicker-input { - text-align: center; - } - -} - -.next-steps { - - .checklist-name - { - padding-left:0px; - border-bottom:1px dashed; - } - - .addNextSteps - { - - margin-bottom:10px;margin-top:10px; - } - - .repeaterNextStep - { - - margin-bottom:10px; - padding-left:10px; - padding-right:10px; - padding-left:10px; - padding-top:10px; - padding-bottom:10px; - border:1px solid; - border-color:#CCCCCC; - } - - .padTop4 - { - padding-top:4px; - } - - .padTop10 - { - padding-top:10px; - } - - .padLeft0 - { - padding-left:0px; - } - - .add-header - { - .a_16_m; - } - - .ice-wysiwyg { - height: 200px; - .wysiwyg-menu > div { - background-color: #f1f1f1; - padding: 2px; - } - } - - .font-deco { - text-decoration-line: underline; - text-decoration-style: dashed; - } - - .text-right - { - text-align:right; - } - - .font_header - { - margin_top:0px; - .m_18_m; - } - - .font_header_add_next - { - .a_24_m; - } - - .font_header_chk_name - { - .m_18_r; - } - - .margin_btm - { - margin-bottom:12px; - } - - .ms - { - background-color:yellow; - } - - multiselect > .btn-group - { - width:100%; - } - multiselect > .btn-group > .btn - { - width:100%; - } - multiselect > .btn-group > .dropdown-menu - { - width:100%; - } - - form > .lineColor - { - background-color:#F6F3F3; - } - - .add-icon { - .sprite; - .sprite.add; - display: inline-block; - } - - .add-button { - margin-top: 8px; - display: block; - .add-text { - .a_16_m; - vertical-align: top; - margin-left: 6px; - } - } - - .remove-icon { - cursor: pointer; - vertical-align: text-top; - //.sprite; - //.sprite.delete;//-circle; - .actions-sprite; - .actions-sprite.delete_large; - - display:block; - position:relative; - top:11px; - } - - .posRelative - { - position:relative; - } - - .posAbsDelBtn - { - position:absolute; - top:10px; - right:20px; - z-index:40000; - } - - #btn-submit { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - - - - .datepickerdemoBasicUsage { - /** Demo styles for mdCalendar. */ } - .datepickerdemoBasicUsage md-content { - padding-bottom: 200px; } - .datepickerdemoBasicUsage .validation-messages { - font-size: 12px; - color: #dd2c00; - margin-left: 15px; } - - - - -} diff --git a/d2ice.att.io/app/main/modals/select-el-modal/select-el-modal.controller.js b/d2ice.att.io/app/main/modals/select-el-modal/select-el-modal.controller.js deleted file mode 100755 index 9b73e706..00000000 --- a/d2ice.att.io/app/main/modals/select-el-modal/select-el-modal.controller.js +++ /dev/null @@ -1,78 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. - -(function () { - 'use strict'; - - angular - .module('ice.modals') - .controller('selectELModalController', ['$uibModalInstance', 'excludeUuids', 'selectedOption', 'usersService', - '_', '$log', selectELModalController]); - - function selectELModalController($uibModalInstance, excludeUuids, selectedOption, usersService, _, $log) { - var vm = this; - vm.show_warning = false; - var init = function () { - usersService.getEngagementLeads() - .then(function(response) { - vm.engagementLeads = _.filter(response.data, function(el) { - return el.uuid; - }); - - vm.selectedUserUuid = _.find(vm.engagementLeads, ['uuid', selectedOption]); - }) - .catch(function(error) { - $log.error(error); - vm.closeModal(); - }); - }; - - vm.closeModal = function () { - $uibModalInstance.dismiss(); - }; - - vm.onUserSelect = function() { - if(vm.selectedUserUuid) { - $uibModalInstance.close(vm.selectedUserUuid); - } - }; - - init(); - } -})(); diff --git a/d2ice.att.io/app/main/modals/select-el-modal/select-el-modal.html b/d2ice.att.io/app/main/modals/select-el-modal/select-el-modal.html deleted file mode 100755 index fa285a6d..00000000 --- a/d2ice.att.io/app/main/modals/select-el-modal/select-el-modal.html +++ /dev/null @@ -1,56 +0,0 @@ - -
- - -
diff --git a/d2ice.att.io/app/main/modals/select-el-modal/select-el-modal.less b/d2ice.att.io/app/main/modals/select-el-modal/select-el-modal.less deleted file mode 100755 index 6371cf7e..00000000 --- a/d2ice.att.io/app/main/modals/select-el-modal/select-el-modal.less +++ /dev/null @@ -1,54 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.select-engagement-lead-modal { - padding: 0px 15px 0px 15px; - - .select-engagement-lead-title { - .a_24_m;; - } - - .select-engagement-lead-description { - .m_16_r; - } - - .modal-body { - top: 10px; - } -} - diff --git a/d2ice.att.io/app/main/modals/set-eng-stage/set-eng-stage-modal.controller.js b/d2ice.att.io/app/main/modals/set-eng-stage/set-eng-stage-modal.controller.js deleted file mode 100755 index 3824870d..00000000 --- a/d2ice.att.io/app/main/modals/set-eng-stage/set-eng-stage-modal.controller.js +++ /dev/null @@ -1,63 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. - -(function () { - 'use strict'; - - angular - .module('ice.modals') - .controller('setEngStageModalController', ['$rootScope','$uibModalInstance','stage','eng_name','current_stage', setEngStageModalController]); - - function setEngStageModalController($rootScope, $uibModalInstance,stage, eng_name, current_stage) { - - var vm = this; - var init = function () { - vm.stage = stage; - vm.current_stage = current_stage; - vm.modalText = "Are you sure you want to set the Engagement's stage to "+vm.stage+"?"; - vm.eng_name = eng_name; - } - - vm.closeModal = function (bool) { - $uibModalInstance.close(bool); - }; - - init(); - } -})(); diff --git a/d2ice.att.io/app/main/modals/set-eng-stage/set-eng-stage-modal.html b/d2ice.att.io/app/main/modals/set-eng-stage/set-eng-stage-modal.html deleted file mode 100755 index 362eb93b..00000000 --- a/d2ice.att.io/app/main/modals/set-eng-stage/set-eng-stage-modal.html +++ /dev/null @@ -1,49 +0,0 @@ - - - diff --git a/d2ice.att.io/app/main/modals/set-eng-stage/set-eng-stage-modal.less b/d2ice.att.io/app/main/modals/set-eng-stage/set-eng-stage-modal.less deleted file mode 100755 index af7d5ba1..00000000 --- a/d2ice.att.io/app/main/modals/set-eng-stage/set-eng-stage-modal.less +++ /dev/null @@ -1,135 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.set-stage-modal-text-details { - .m_18_r; - padding: 3% 0% 3% 0%; -} - -.set-stage-title { - .m_18_r; - - .bold { - .a_18_m; - } - -} - -.btn-gradient-success { - font-weight: bold; - color: #FFFFFF; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #41A02C; - *background-color: #41A02C; - background-image: -moz-linear-gradient(top, #A2E652, #41A02C); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#A2E652), to(#41A02C)); - background-image: -webkit-linear-gradient(top, #A2E652, #41A02C); - background-image: -o-linear-gradient(top, #A2E652, #41A02C); - background-image: linear-gradient(to bottom, #A2E652, #41A02C); - background-repeat: repeat-x; - border-color: #41A02C; - border-color: #888; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#A2E652', endColorstr='#41A02C', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); -} -.btn-sample:hover, -.btn-sample:focus, -.btn-sample:active, -.btn-sample.active, -.btn-sample.disabled, -.btn-sample[disabled] { - color: #FFFFFF; - background-color: #41A02C; - *background-color: #003bb3; -} - -.btn-gradient-danger { - font-weight: bold; - color: #FFFFFF; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #AE0020; - *background-color: #AE0020; - background-image: -moz-linear-gradient(top, #F74658, #AE0020); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#F74658), to(#AE0020)); - background-image: -webkit-linear-gradient(top, #F74658, #AE0020); - background-image: -o-linear-gradient(top, #F74658, #AE0020); - background-image: linear-gradient(to bottom, #F74658, #AE0020); - background-repeat: repeat-x; - border-color: #AE0020; - border-color: #888; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F74658', endColorstr='#AE0020', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); -} -.btn-sample:hover, -.btn-sample:focus, -.btn-sample:active, -.btn-sample.active, -.btn-sample.disabled, -.btn-sample[disabled] { - color: #FFFFFF; - background-color: #AE0020; - *background-color: #003bb3; -} - -.btn-gradient-default { - font-weight: bold; - color: #B3B3B3; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #D0D0D0; - *background-color: #D0D0D0; - background-image: -moz-linear-gradient(top, #FCFCFC, #D0D0D0); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#FCFCFC), to(#D0D0D0)); - background-image: -webkit-linear-gradient(top, #FCFCFC, #D0D0D0); - background-image: -o-linear-gradient(top, #FCFCFC, #D0D0D0); - background-image: linear-gradient(to bottom, #FCFCFC, #D0D0D0); - background-repeat: repeat-x; - border-color: #D0D0D0; - border-color: #888; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FCFCFC', endColorstr='#D0D0D0', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); -} -.btn-sample:hover, -.btn-sample:focus, -.btn-sample:active, -.btn-sample.active, -.btn-sample.disabled, -.btn-sample[disabled] { - color: #FFFFFF; - background-color: #D0D0D0; - *background-color: #003bb3; -} diff --git a/d2ice.att.io/app/main/modals/set-eng-stage/set_eng_stage_modal.html b/d2ice.att.io/app/main/modals/set-eng-stage/set_eng_stage_modal.html deleted file mode 100755 index adf81be3..00000000 --- a/d2ice.att.io/app/main/modals/set-eng-stage/set_eng_stage_modal.html +++ /dev/null @@ -1,58 +0,0 @@ - - -
- - - -
- -
-
- - -
diff --git a/d2ice.att.io/app/main/modals/status/status.controller.js b/d2ice.att.io/app/main/modals/status/status.controller.js deleted file mode 100755 index 9a90ec52..00000000 --- a/d2ice.att.io/app/main/modals/status/status.controller.js +++ /dev/null @@ -1,125 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - - angular - .module('ice.modals') - .controller('StatusModalController', ['$rootScope', '$uibModalInstance', 'statusService', 'engagement_uuid', - 'action', 'toastService', '$log', StatusModalController]); - - function StatusModalController($rootScope, $uibModalInstance, statusService, engagement_uuid, action, toastService, $log) { - var vm = this; - - var init = function() { - vm.engagement_uuid = engagement_uuid; - vm.action = action; - if (action == 'edit') { - statusService.get(engagement_uuid) - .then(function (response) { - if (response.status === 200) - { - vm.status = response.data; - vm.status_modal_description = vm.status.description; - vm.eng_status_uuid = vm.status.uuid; - } else - { - $log.error(response); - } - }) - .catch(function (error) { - vm.status = false; - $log.error(error.message); - }); - } else { - vm.status_modal_description = ''; - } - }; - - init(); - - vm.submitForm = function () - { - var jsonPost = {"description":vm.status_modal_description}; - if (action == 'edit') { - jsonPost.eng_status_uuid = vm.eng_status_uuid; - statusService.update(vm.engagement_uuid, jsonPost) - .then(function (response) { - if (response.status === 200) - { - $uibModalInstance.close(response.data); - vm.closeModal(); - } - else - { - toastService.setToast(response.error, 'danger'); - $rootScope.ice.loader.show = false; - } - }) - .catch(function (error) { - toastService.setToast(error.message, 'danger'); - $log.error(error.message); - }); - } else { - statusService.add(vm.engagement_uuid, jsonPost) - .then(function (response) { - if (response.status === 200) - { - - $uibModalInstance.close(response.data); - vm.closeModal(); - } - else - { - toastService.setToast(response.error, 'danger'); - $rootScope.ice.loader.show = false; - } - }) - .catch(function (error) { - toastService.setToast(error.message, 'danger'); - $log.error(error.message); - }); - } - }; - - vm.closeModal = function(){ - $uibModalInstance.close(); - }; - } -})(); diff --git a/d2ice.att.io/app/main/modals/status/status.html b/d2ice.att.io/app/main/modals/status/status.html deleted file mode 100755 index 83c50d2b..00000000 --- a/d2ice.att.io/app/main/modals/status/status.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - diff --git a/d2ice.att.io/app/main/modals/status/status.less b/d2ice.att.io/app/main/modals/status/status.less deleted file mode 100755 index ae5f7945..00000000 --- a/d2ice.att.io/app/main/modals/status/status.less +++ /dev/null @@ -1,44 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.status-modal-body { - .status-modal-description { - border-color: @main_color_q; - margin-bottom:15px; - } -} diff --git a/d2ice.att.io/app/main/modals/target-lab-entry/change-lab-entry-date.controller.js b/d2ice.att.io/app/main/modals/target-lab-entry/change-lab-entry-date.controller.js deleted file mode 100755 index a300d3da..00000000 --- a/d2ice.att.io/app/main/modals/target-lab-entry/change-lab-entry-date.controller.js +++ /dev/null @@ -1,78 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.modals') - .controller('ChangeLabEntryDateModalController', ["$uibModalInstance", "targetLabDate", "engagementUuid", "vfService", "$rootScope", "toastService", changeLabEntryDateModalController]); - - function changeLabEntryDateModalController($uibModalInstance, targetLabDate, engagementUuid, vfService, $rootScope, toastService) { - - var vm = this; - //vm.completionDate = new Date(completionDate); - vm.targetLabDate = targetLabDate; - vm.dateOptions = { - minDate: new Date(), - showWeeks: true - }; - - vm.closeModal = function(){ - $uibModalInstance.close(); - }; - - vm.myDate = new Date(); - vm.minDate = moment(vm.myDate).format("YYYY-MM-DD") - vm.maxDate = moment(vm.myDate).add(2, 'years').format("YYYY-MM-DD"); - - vm.submitForm = function(){ - var postData={"target_date": moment(vm.targetLabDate).format("YYYY-MM-DD")}; - vfService.updateLabEntryDaysLeft(engagementUuid, postData) - .then(function (response) { - if (response.status === 200) { - $uibModalInstance.close(postData); - } - }) - .catch(function (error) { - toastService.setToast(error.status + ': Error changing completion date!', 'danger'); - }); - }; - } -})(); diff --git a/d2ice.att.io/app/main/modals/target-lab-entry/change-lab-entry-date.html b/d2ice.att.io/app/main/modals/target-lab-entry/change-lab-entry-date.html deleted file mode 100755 index cfd30f79..00000000 --- a/d2ice.att.io/app/main/modals/target-lab-entry/change-lab-entry-date.html +++ /dev/null @@ -1,55 +0,0 @@ - -
- - -
- - diff --git a/d2ice.att.io/app/main/modals/target-lab-entry/change-lab-entry-date.less b/d2ice.att.io/app/main/modals/target-lab-entry/change-lab-entry-date.less deleted file mode 100755 index 8aa6f3be..00000000 --- a/d2ice.att.io/app/main/modals/target-lab-entry/change-lab-entry-date.less +++ /dev/null @@ -1,49 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. - .edit-target-lab-date-modal { - .md-datepicker-input-container { - .md-datepicker-input { - width: 100%; - text-align: left; - line-height: 32px; - padding-left: 95px; - margin: 0px; - } - } - } \ No newline at end of file diff --git a/d2ice.att.io/app/main/modals/update-engagement-status-modal/update-engagement-status-modal.controller.js b/d2ice.att.io/app/main/modals/update-engagement-status-modal/update-engagement-status-modal.controller.js deleted file mode 100755 index f9afa320..00000000 --- a/d2ice.att.io/app/main/modals/update-engagement-status-modal/update-engagement-status-modal.controller.js +++ /dev/null @@ -1,73 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. - -(function () { - 'use strict'; - - angular - .module('ice.modals') - .controller('updateEngagementStatusModalController', ['$uibModalInstance', 'engagement', updateEngagementStatusModalController]); - - function updateEngagementStatusModalController($uibModalInstance, engagement) { - var vm = this; - var init = function () { - vm.engagement = engagement; - formatDates(); - }; - - vm.closeModal = function () { - $uibModalInstance.dismiss(); - }; - - vm.updateEngagement = function() { - formatDates(); - $uibModalInstance.close({"engagement": vm.engagement, "status": vm.status}); - }; - - var formatDates = function() { - if(vm.engagement.target_completion_date){ vm.engagement.target_completion_date = new Date(vm.engagement.target_completion_date); } - if(vm.engagement.heat_validated_time){ vm.engagement.heat_validated_time = new Date(vm.engagement.heat_validated_time); } - if(vm.engagement.image_scan_time){ vm.engagement.image_scan_time = new Date(vm.engagement.image_scan_time); } - if(vm.engagement.aic_instantiation_time){ vm.engagement.aic_instantiation_time = new Date(vm.engagement.aic_instantiation_time); } - if(vm.engagement.asdc_onboarding_time){ vm.engagement.asdc_onboarding_time = new Date(vm.engagement.asdc_onboarding_time); } - }; - - init(); - } -})(); diff --git a/d2ice.att.io/app/main/modals/update-engagement-status-modal/update-engagement-status-modal.html b/d2ice.att.io/app/main/modals/update-engagement-status-modal/update-engagement-status-modal.html deleted file mode 100755 index 29abb24e..00000000 --- a/d2ice.att.io/app/main/modals/update-engagement-status-modal/update-engagement-status-modal.html +++ /dev/null @@ -1,97 +0,0 @@ - -
- - -
diff --git a/d2ice.att.io/app/main/modals/update-engagement-status-modal/update-engagement-status-modal.less b/d2ice.att.io/app/main/modals/update-engagement-status-modal/update-engagement-status-modal.less deleted file mode 100755 index 8bce9da3..00000000 --- a/d2ice.att.io/app/main/modals/update-engagement-status-modal/update-engagement-status-modal.less +++ /dev/null @@ -1,61 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.update-engagement-status-modal { - padding: 0px 15px 0px 15px; - - .update-engagement-status-title { - .a_24_m;; - } - - .update-engagement-status-description { - .m_16_r; - } - - .form-field-title{ - .m_16_r; - } - - .modal-body { - top: 10px; - } - - .md-datepicker-input { - max-width: none; - } -} diff --git a/d2ice.att.io/app/main/modals/validation-details/detailed-view-validation-details-modal.controller.js b/d2ice.att.io/app/main/modals/validation-details/detailed-view-validation-details-modal.controller.js deleted file mode 100755 index 1370e367..00000000 --- a/d2ice.att.io/app/main/modals/validation-details/detailed-view-validation-details-modal.controller.js +++ /dev/null @@ -1,202 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - - 'use strict'; - - angular - .module('ice.modals') - .controller('validationDetailsModalController', ["$rootScope", "$uibModalInstance", "vfcService", "vfService", "$stateParams", "toastService", "vf_uuid", "usersService", "$log", "_", validationDetailsModalController]); - - function validationDetailsModalController($rootScope, $uibModalInstance, vfcService,vfService, $stateParams,toastService, vf_uuid, usersService,$log,_) { - - var vm = this; - var init = function () { - if($stateParams.engagement) { - vm.engagement = $stateParams.engagement; - } - vm.me = usersService.getUserData(); - vfService.getSingleEngagement(vm.me.uuid,vm.engagement.uuid) - .then(function (response) { - $rootScope.ice.loader.show = false; - - if (response.status === 200 && response.data && response.data !== '') { - var vf_data = response.data; - vm.engagement_manual_id = vf_data.engagement.engagement_manual_id; - vm.vf_name = vf_data.name; - vm.vf_uuid = vf_data.uuid; - vm.ecomp_release = vf_data.ecomp_release; - vm.target_lab = new Date(vf_data.target_lab_entry_date); - vm.dtversion = vf_data.deployment_target; - vm.selected_dt_uuid = vm.dtversion.uuid; - vm.selected_ecomp_uuid = vm.ecomp_release.uuid; - vm.me = usersService.getUserData(); - vm.name = vm.engagement.name; - vm.isEngagementEL = usersService.isEngagementEL(vf_data.engagement.engagement_team); - vm.isAdmin = usersService.isAdmin(vm.me); - vm.choices = [{TargetLab: '', TargetAic: ''}]; - getDeployTargets(); - getECOMPReleases(); - getVFVersion(); - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - }; - - vm.closeModal = function(){ - $uibModalInstance.close(); - }; - - vm.addNewChoice = function () { - var newItemNo = vm.choices.length + 1; - vm.choices.push({'id': newItemNo}); - }; - - function getDeployTargets() { - vfService.getDeployTargets() - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - vm.deployTargets = response.data; - if (_.filter(vm.deployTargets, {'uuid': vm.dtversion.uuid}).length === 0) { - vm.dtversion.disabled = true; - vm.deployTargets.push(vm.dtversion); - } - } - }).catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - } - function getECOMPReleases(){ - vfService.getECOMPReleases() - .then(function (response) { - if (response.status === 200) { - vm.ECOMPReleases = response.data; - if (_.filter(vm.ECOMPReleases, {'uuid':vm.ecomp_release.uuid}).length === 0) { - vm.ecomp_release.disabled = true; - vm.ECOMPReleases.push(vm.ecomp_release); - } - } - }).catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - } - function getVFVersion(){ - vfService.getVFVersion(vf_uuid) - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - vm.VFVersion = response.data; - } - }).catch(function (error) { - $rootScope.ice.loader.show = false; - $log.debug(error); - }); - } - vm.removeChoice = function (index) { - vm.choices.splice(index,1); - }; - - vm.submitForm = function(){ - var validationDetailsSelection = { - "vf_uuid": vm.vf_uuid, - "version": vm.VFVersion, - "target_aic_uuid": vm.TargetAic, - "ecomp_release": vm.ECOMPRelease - }; - - vfService.updateVfs(validationDetailsSelection,vm.vf_uuid) - .then(function (response) { - if (response.status === 200) { - $uibModalInstance.close(response.status); - } - }) - .catch(function (error) { - $log.error(error); - toastService.setToast(error.status + ': Error changing progress!', 'danger'); - }); - }; - - vm.update_deployment_target = function(){ - if(vm.dtversion.uuid == vm.selected_dt_uuid){ - return - } - angular.forEach(vm.dt_AIC_versions, function (value, key) { - if (value.uuid === vm.selected_dt_uuid) { - vm.dtversion = value; - }; - }); - vfService.updateDeployTargets(vm.engagement.uuid, vm.selected_dt_uuid) - .then(function (response) { - $rootScope.ice.loader.show = false; - }).catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - vm.set_edit_mode('aic'); - }; - vm.update_ECOMP_release = function(){ - if( vm.ecomp_release.uuid == vm.selected_ecomp_uuid){ - return; - } - _.each(vm.ECOMPReleases, function (value, key) { - if (value.uuid === vm.selected_ecomp_uuid) { - vm.ecomp_release = value; - }; - }); - vfService.updateECOMPReleases(vm.engagement.uuid, vm.selected_ecomp_uuid) - .then(function (response) { - $rootScope.ice.loader.show = false; - }).catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - vm.set_edit_mode('ecomp'); - }; - - init(); - } - -})(); diff --git a/d2ice.att.io/app/main/modals/validation-details/detailed-view-validation-details-modal.html b/d2ice.att.io/app/main/modals/validation-details/detailed-view-validation-details-modal.html deleted file mode 100755 index 48e3fe2a..00000000 --- a/d2ice.att.io/app/main/modals/validation-details/detailed-view-validation-details-modal.html +++ /dev/null @@ -1,101 +0,0 @@ - - - diff --git a/d2ice.att.io/app/main/modals/validation-details/detailed-view-validation-details-modal.less b/d2ice.att.io/app/main/modals/validation-details/detailed-view-validation-details-modal.less deleted file mode 100755 index 08fd5ea8..00000000 --- a/d2ice.att.io/app/main/modals/validation-details/detailed-view-validation-details-modal.less +++ /dev/null @@ -1,49 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -#validation-details-form { - #edit-validation-setails-save-button { - margin-top: 15px; - } - - .field-title { - .m_16_m; - margin-bottom: 2px; - margin-top: 5px; - } -} diff --git a/d2ice.att.io/app/robots.txt b/d2ice.att.io/app/robots.txt deleted file mode 100755 index 4d521f95..00000000 --- a/d2ice.att.io/app/robots.txt +++ /dev/null @@ -1,4 +0,0 @@ -# robotstxt.org - -User-agent: * -Disallow: diff --git a/d2ice.att.io/app/services/cache.service.js b/d2ice.att.io/app/services/cache.service.js deleted file mode 100755 index 6897e785..00000000 --- a/d2ice.att.io/app/services/cache.service.js +++ /dev/null @@ -1,89 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.services.cacheService', []) - .service('cacheService', function () { - - var data = {}; - - this.get = function (key) { - return data[key]; - }; - - this.delete = function (key) { - return data[key] = undefined; - }; - - this.deleteAll = function () { - return data = {}; - }; - - this.set = function (key, value) { - if (data[key] === undefined) { - data[key] = value; - } else { - data[key] = $.extend({}, value, data[key]); - } - }; - - this.toString = function() { - return data; - }; - - }) - - .factory('pageService', function () { - var page = ''; - return { - getPage: function () { - return page; - }, - setPage: function (new_page) { - page = new_page; - } - }; - }); - - - -})(); diff --git a/d2ice.att.io/app/services/checklist.service.js b/d2ice.att.io/app/services/checklist.service.js deleted file mode 100755 index c2aae9ee..00000000 --- a/d2ice.att.io/app/services/checklist.service.js +++ /dev/null @@ -1,213 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - var current_checklist; - - angular.module('ice.services.checklist', []) - - .factory('checklistService', ['$rootScope', '$http', '$q', 'cacheService', '$log', - function ($rootScope,$http, $q, cacheService, $log) { - - var urls = cacheService.get("configuration").urls; - - var vm = this; - - this.setState = function (clUuid, postData) { - var deferred = $q.defer(); - $http.put(urls.checklist.state.put.replace('@cl_uuid',clUuid) ,postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.createChecklist = function (engUuid, postData) { - var deferred = $q.defer(); - $http.post(urls.checklist.createChecklist.replace("@engUuid", engUuid), postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.getDataForCreateChecklist = function (engUuid) { - var deferred = $q.defer(); - $http.get(urls.checklist.getDataForChecklist.replace('@engUuid',engUuid)). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.getChecklist = function (checklistUuid) { - var deferred = $q.defer(); - $http.get(urls.checklist.getChecklist.replace('@checklistUuid',checklistUuid)). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.putDataForChecklist = function (checklist_uuid,putData) { - var deferred = $q.defer(); - $http.put(urls.checklist.putDataForChecklist.replace('@checklist_uuid',checklist_uuid),putData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - this.putChecklistDecision = function (decisionUuid, putData) { - var deferred = $q.defer(); - $http.put(urls.checklist.checklistDecision.replace('@decisionUuid',decisionUuid),putData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.createAuditlogChecklist = function (checklist_uuid, postData) { - var deferred = $q.defer(); - $http.post(urls.checklist.createAuditlogChecklist.replace('@checklist_uuid',checklist_uuid),postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.createAuditlogDecisionChecklist = function (decision_uuid,postData) { - var deferred = $q.defer(); - $http.post(urls.checklist.createAuditlogDecisionChecklist.replace('@decision_uuid',decision_uuid),postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - - this.setChecklistExitEntity = function(checklist_data) { - current_checklist = checklist_data; - $log.debug("set checklist"); - } - - - this.callChecklistExit = function(page_view) { - if (current_checklist != undefined && page_view == 'checklist') { - - var modal_type = 'set_state'; - angular.forEach(current_checklist.data.checklistDecisions, function (section,key) { - angular.forEach(section.decisions, function (decision,key) { - if (decision['view_value'] != 'approved' && decision['view_value'] != 'not_relevant' || decision['view_value'] == '') { - modal_type = 'next_step'; - } - }); - }); - if (modal_type == 'next_step') - this.openNextSteps(); - else if (modal_type == 'set_state') - this.openSetState(); - } - } - - this.getChecklistTemplates = function () { - var deferred = $q.defer(); - $http.get(urls.checklist.getChecklistTemplates). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.getChecklistTemplate = function (templateUuid) { - var deferred = $q.defer(); - $http.get(urls.checklist.getChecklistTemplate.replace('@templateUuid', templateUuid)). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.saveChecklistTemplate = function (putData) { - var deferred = $q.defer(); - $http.put(urls.checklist.saveChecklistTemplate, putData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - return this; - - }]); - -})(); diff --git a/d2ice.att.io/app/services/cms.service.js b/d2ice.att.io/app/services/cms.service.js deleted file mode 100755 index 15a3ac32..00000000 --- a/d2ice.att.io/app/services/cms.service.js +++ /dev/null @@ -1,162 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -/** - * Created by almog on 17/01/2017. - */ -(function () { - 'use strict'; - - angular.module('ice.services.cms', []) - .service('cmsService', ['$http', '$q', 'cacheService', 'localStorageService', '$uibModal', '$rootScope', '$log', cmsService]); - - function cmsService($http, $q, cacheService, localStorageService, $uibModal, $rootScope, $log) { - var urls = cacheService.get("configuration").urls; - var lastAnnouncementStorageKey = 'lastAnnouncement'; - var lastAnnouncementMessage; - - this.getPosts = function(limit, fromLastDays, categories) { - var deferred = $q.defer(); - var categoriesParam = categories && categories instanceof Array ? categories.join() : ''; - - $http.get(urls.cms.posts.get.replace('@limit',limit).replace('@offset',0).replace('@fromLastDays',fromLastDays).replace('@category',categoriesParam)). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - - return deferred.promise; - }; - - this.getLastAnnouncementPost = function() { - var deferred = $q.defer(); - var limit = 1; - - $http.get(urls.cms.posts.get.replace('@limit', limit).replace('@offset',0).replace('@fromLastDays','').replace('@category','Announcement')). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - - return deferred.promise; - }; - - this.setAnnouncementToast = function() { - var openCMSPostModal = function() { - $uibModal.open({ - templateUrl: 'main/modals/cms-post-modal/cms-post-modal.html', - controller: 'cmsPostModalController', - controllerAs: 'vm', - size: 'cms-post-read-more', - resolve: { - post: function () { - return undefined; - } - } - }); - }; - - this.getLastAnnouncementPost() - .then(function(response) { - if(response && response.data && response.data.length === 1) { - var lastAnnouncement = localStorageService.getJson(lastAnnouncementStorageKey); - if(!lastAnnouncement || lastAnnouncement.id != response.data[0].id || !lastAnnouncement.closed) { - localStorageService.setJson(lastAnnouncementStorageKey, {"id": response.data[0].id, "closed": false}); - var toastMessage = "Important announcement: " + response.data[0].title + "."; - lastAnnouncementMessage = {message: toastMessage, readMore: openCMSPostModal, type: 'warning', show: true, displayFor: 'all', publishDate: response.data[0].publish_date}; - $rootScope.showAnnouncement = !$rootScope.showAnnouncement; - } - } - }) - .catch(function(error) { - $log.error(error); - }); - }; - - this.getAnnouncement = function() { - return lastAnnouncementMessage; - }; - - this.getPages = function(title) { - var deferred = $q.defer(); - - if(!title) { title = ''; } - $http.get(urls.cms.pages.get.replace('@title',title)) - .success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }) - .error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - - return deferred.promise; - }; - - this.getPage = function(id) { - var deferred = $q.defer(); - - $http.get(urls.cms.pages.getById.replace('@id',id)) - .success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }) - .error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - - return deferred.promise; - }; - - this.searchPages = function(keyword) { - var deferred = $q.defer(); - - $http.get(urls.cms.pages.search.replace('@keyword',keyword)) - .success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }) - .error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - - return deferred.promise; - } - }; -})(); diff --git a/d2ice.att.io/app/services/dtsite.service.js b/d2ice.att.io/app/services/dtsite.service.js deleted file mode 100755 index 26fca386..00000000 --- a/d2ice.att.io/app/services/dtsite.service.js +++ /dev/null @@ -1,100 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular.module('ice.services.dtsite', []) - - .service('dtsiteService', ['$http', '$q', 'cacheService', function ($http, $q, cacheService) { - - var urls = cacheService.get("configuration").urls; - - - this.getVFSites = function (vfUuid) { - var deferred = $q.defer(); - $http.get(urls.dtsite.getVFSites.replace('@vfUuid',vfUuid)). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.get = function () { - var deferred = $q.defer(); - $http.get(urls.dtsite.get). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.delete = function (vfUuid, dtsUuid) { - var deferred = $q.defer(); - $http.delete(urls.dtsite.delete.replace('@vfUuid',vfUuid).replace('@dtsUuid',dtsUuid)). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.add = function (postData) { - var deferred = $q.defer(); - $http.post(urls.dtsite.add ,postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - }]); - -})(); diff --git a/d2ice.att.io/app/services/feedback.service.js b/d2ice.att.io/app/services/feedback.service.js deleted file mode 100755 index 4d8e8ae7..00000000 --- a/d2ice.att.io/app/services/feedback.service.js +++ /dev/null @@ -1,63 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular.module('ice.services.feedback', []) - - .service('feedbackService', ['$http', '$q', 'cacheService', function ($http, $q, cacheService) { - - var urls = cacheService.get("configuration").urls; - - this.add = function ( postData) { - var deferred = $q.defer(); - $http.post(urls.feedback.add.replace(), postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - }]); - -})(); \ No newline at end of file diff --git a/d2ice.att.io/app/services/localstorage.service.js b/d2ice.att.io/app/services/localstorage.service.js deleted file mode 100755 index f17d8009..00000000 --- a/d2ice.att.io/app/services/localstorage.service.js +++ /dev/null @@ -1,63 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -'use strict'; - -angular.module('ice.services.localStorage', []) - - .service('localStorageService', function ($window) { - - this.setJson = function (key, val) { - $window.localStorage && $window.localStorage.setItem(key, JSON.stringify(val)); - return this; - }; - - this.getJson = function (key) { - var val = $window.localStorage && $window.localStorage.getItem(key); - var returnVal; - try { - returnVal = val ? JSON.parse(val) : undefined; - } catch(err){} - return returnVal; - }; - - this.delete = function (key) { - return $window.localStorage && $window.localStorage.removeItem(key); - }; - - }); diff --git a/d2ice.att.io/app/services/sessionStorage.service.js b/d2ice.att.io/app/services/sessionStorage.service.js deleted file mode 100755 index da3a91de..00000000 --- a/d2ice.att.io/app/services/sessionStorage.service.js +++ /dev/null @@ -1,65 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - - angular.module('ice.services.sessionStorage', []) - .service('sessionStorageService', ['$window', sessionStorageService]); - - function sessionStorageService($window) { - this.setJson = function (key, val) { - $window.sessionStorage && $window.sessionStorage.setItem(key, JSON.stringify(val)); - return this; - }; - - this.getJson = function (key) { - var val = $window.sessionStorage && $window.sessionStorage.getItem(key); - var returnVal; - try { - returnVal = val ? JSON.parse(val) : undefined; - } catch (err) { - } - return returnVal; - }; - - this.delete = function (key) { - return $window.sessionStorage && $window.sessionStorage.removeItem(key); - }; - } -})(); diff --git a/d2ice.att.io/app/services/status.service.js b/d2ice.att.io/app/services/status.service.js deleted file mode 100755 index 985b1898..00000000 --- a/d2ice.att.io/app/services/status.service.js +++ /dev/null @@ -1,87 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular.module('ice.services.status', []) - - .service('statusService', ['$http', '$q', 'cacheService', function ($http, $q, cacheService) { - - var urls = cacheService.get("configuration").urls; - - this.get = function (engagement) { - var deferred = $q.defer(); - $http.get(urls.status.get.replace('@engagement',engagement)). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.update = function (engagement, postData) { - var deferred = $q.defer(); - $http.put(urls.status.update.replace('@engagement',engagement), postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.add = function (engagement, postData) { - var deferred = $q.defer(); - $http.post(urls.status.update.replace('@engagement',engagement), postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - }]); - -})(); \ No newline at end of file diff --git a/d2ice.att.io/app/services/steps.service.js b/d2ice.att.io/app/services/steps.service.js deleted file mode 100755 index eef4dc99..00000000 --- a/d2ice.att.io/app/services/steps.service.js +++ /dev/null @@ -1,162 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular.module('ice.services.steps', []) - - .service('stepsService', ['$http', '$q', 'cacheService', function ($http, $q, cacheService) { - - var urls = cacheService.get("configuration").urls; - - this.getByUser = function() { - var deferred = $q.defer(); - - $http.get(urls.steps.getByUser) - .success(function(data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }) - .error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - - return deferred.promise; - }; - - this.get = function (engagement, progress) { - var deferred = $q.defer(); - $http.get(urls.steps.get.replace('@engagement',engagement).replace('@progress',progress)). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.update = function (stepUuid, postData) { - var deferred = $q.defer(); - $http.put(urls.steps.update.replace('@stepUuid',stepUuid), postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.delete = function (stepUuid) { - var deferred = $q.defer(); - $http.delete(urls.steps.delete.replace('@stepUuid',stepUuid)). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.add = function (engagement, postData) { - var deferred = $q.defer(); - $http.post(urls.steps.add.replace('@engagement',engagement), postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.edit = function (engagement_uuid, nextstep_uuid,postData) { - var deferred = $q.defer(); - $http.put(urls.steps.edit.replace('@stepUuid',nextstep_uuid).replace('@engUuid',engagement_uuid), postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.order_next_steps = function (engagement_uuid, postData) { - var deferred = $q.defer(); - $http.put(urls.steps.order_next_steps.replace('@engUuid',engagement_uuid), postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.createNextStep = function (checklist_uuid, engUuid, postData) { - var deferred = $q.defer(); - $http.post(urls.steps.createNextStep.replace('@engUuid',engUuid),postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.createChecklistNextStep = function (checklist_uuid, engUuid, postData) { - var deferred = $q.defer(); - $http.post(urls.steps.createChecklistNextStep.replace('@checkListUuid',checklist_uuid).replace('@engUuid',engUuid),postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - - }]); - -})(); diff --git a/d2ice.att.io/app/services/toast.service.js b/d2ice.att.io/app/services/toast.service.js deleted file mode 100755 index 15c2e12a..00000000 --- a/d2ice.att.io/app/services/toast.service.js +++ /dev/null @@ -1,92 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - - angular.module('ice.services.toast', []) - .service('toastService', ['$rootScope', function ($rootScope) { - var message; - var messageType; - var sticky; - var showMessage = false; - var readMore; - var displayFor = 'all'; - - var setToast = function(incomingMessage, incomingType, options) { - if (incomingMessage && incomingMessage.detail != undefined) - incomingMessage = incomingMessage.detail - if(incomingMessage && incomingType) { - message = incomingMessage; - messageType = incomingType; - sticky = options && options.sticky ? options.sticky : false; - readMore = options && options.readMoreCallback ? options.readMoreCallback : undefined; - displayFor = options && options.displayFor ? options.displayFor : 'all'; - showMessage = true; - $rootScope.showToast = true; - } else { - throw "You must provide both message an type in order to set new message toast" - } - }; - - var clearToast = function() { - message = undefined; - messageType = undefined; - showMessage = false; - displayFor = 'all'; - $rootScope.showToast = false; - }; - - var getToast = function() { - return { - "message": message, - "type": messageType, - "show": showMessage, - "sticky": sticky, - "readMore": readMore, - "displayFor": displayFor - }; - }; - - return { - setToast: setToast, - clearToast: clearToast, - getToast: getToast - }; - }]); -})(); diff --git a/d2ice.att.io/app/services/users.service.js b/d2ice.att.io/app/services/users.service.js deleted file mode 100755 index 7d8afcc7..00000000 --- a/d2ice.att.io/app/services/users.service.js +++ /dev/null @@ -1,322 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular.module('ice.services.users', []) - .service('usersService', ['$http', '$q', 'cacheService','iceConstants', 'localStorageService', '$state', - 'sessionStorageService', '_', '$log', userService]); - - function userService ($http, $q, cacheService, iceConstants, localStorageService, $state, sessionStorageService, - _, $log) { - var urls = cacheService.get("configuration").urls; - var userDataSessionStorageKey = 'user'; - var userData = sessionStorageService.getJson(userDataSessionStorageKey); - - this.isEngagementEL = function(engagement_team) { - var found_uuid = _.find(engagement_team, {'uuid': userData.uuid}); - if (found_uuid == undefined) - return false; - if (userData && userData.role.name === iceConstants.roles.el) - return true; - return false; - } - - this.isUserInRole = function(role) { - return userData && userData.role && userData.role.name === role; - } - - this.isReviewer = function(user, reviewer_uuid) { - return user && reviewer_uuid && user.uuid == reviewer_uuid; - } - - this.isPeerReviewer = function(user, peer_reviewer_uuid) { - return user && peer_reviewer_uuid && user.uuid == peer_reviewer_uuid; - } - - this.isAdmin = function(user) { - return user && user.role && user.role.name === iceConstants.roles.admin; - }; - - this.updatePassword = function (userUuid, postData) { - var deferred = $q.defer(); - $http.put(urls.auth.updatePassword, postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.sendResetPwdInstructions = function (postData) { - var deferred = $q.defer(); - $http.post(urls.auth.sendResetPwdInstructions, postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.login = function (postData, t) { - var deferred = $q.defer(); - $http.post(urls.auth.login.replace("/@t", t), postData). - success(function (data, status, headers, config) { - userData = data; - delete userData.password; - userData.jwtToken = data.token; - sessionStorageService.setJson(userDataSessionStorageKey, userData); - - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.register = function (postData) { - var deferred = $q.defer(); - $http.post(urls.auth.register, postData). - success(function (data, status, headers, config) { - userData = data; - userData.jwtToken = data.token; - sessionStorageService.setJson(userDataSessionStorageKey, userData); - - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.addVendorContact = function (postData) { - var deferred = $q.defer(); - $http.post(urls.auth.addVendorContact, postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.resendActivationMail = function (user_uuid) { - var deferred = $q.defer(); - $http.get(urls.auth.resendActivationMail.replace("@user_uuid", user_uuid), {skipAuth: true}). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.getNotifications = function (userUuid) { - var deferred = $q.defer(); - $http.get(urls.notifications.getNotifications). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.resetNotificationNum = function (userUuid) { - var deferred = $q.defer(); - $http.put(urls.notifications.resetNotificationNum). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.notificationsDelete = function (uuid) { - var deferred = $q.defer(); - $http.delete(urls.notifications.notificationsDelete.replace("@uuid", uuid)). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.getNotificationsDescription = function (userUuid,offset,limit) { - var deferred = $q.defer(); - $http.get(urls.notifications.getNotificationsDescription.replace("@userUuid", userUuid).replace("@offset", offset).replace("@limit", limit)). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.getIceUser = function () { - var deferred = $q.defer(); - $http.get(urls.auth.getIceUser). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.updateAccount = function (userUuid, putData) { - var deferred = $q.defer(); - $http.put(urls.auth.account, putData). - success(function (data, status, headers, config) { - var oldToken = userData.jwtToken; - userData = data; - userData.jwtToken = oldToken; - sessionStorageService.setJson(userDataSessionStorageKey, userData); - - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.setSSHKey = function (userUuid, postData) { - var deferred = $q.defer(); - $http.post(urls.auth.setSSHKey, postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.getUserData = function(undefinedCallback) { - if(!userData) { - if(undefinedCallback) { - $log.debug("There is no user data, will invoke callback pass as argument."); - undefinedCallback(); - } else { - $log.debug("There is no user data, will be redirected into /login page."); - $state.go('app.login'); - } - } - - return userData; - }; - - this.resetUserData = function() { - $log.debug('Clearing user from cache...'); - userData = undefined; - sessionStorageService.delete(userDataSessionStorageKey); - localStorageService.setJson("ice.settings.view_type", undefined); - localStorageService.setJson("ice.settings.eng_uuid", undefined); - localStorageService.setJson("ice.settings.sub_id", undefined); - }; - - this.setUserActivationSuccess = function(activationSuccess) { - if(userData) { - userData.activationSuccess = activationSuccess; - sessionStorageService.setJson(userDataSessionStorageKey, userData); - } - }; - - this.getEngagementLeads = function() { - var deferred = $q.defer(); - var user = this.getUserData(); - if(this.isAdmin(user)) { - $http.get(urls.users.engagementleads.get) - .success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }) - .error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - } else { - deferred.reject("Just admin allowed to get engagement leads list."); - } - - return deferred.promise; - }; - - this.activateUser = function(userId, token) { - var deferred = $q.defer(); - - $http.get(urls.users.activate.replace("@userid", userId).replace("@token", token), {skipAuth: true}) - .success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }) - .error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - - return deferred.promise; - }; - - this.getRGWASecret = function () { - var deferred = $q.defer(); - $http.get(urls.auth.getRGWASecret). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - }; -})(); diff --git a/d2ice.att.io/app/services/vf.service.js b/d2ice.att.io/app/services/vf.service.js deleted file mode 100755 index 8207562a..00000000 --- a/d2ice.att.io/app/services/vf.service.js +++ /dev/null @@ -1,403 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular.module('ice.services.vf', []) - - .service('vfService', ['$http', '$q', 'cacheService', function ($http, $q, cacheService) { - - var urls = cacheService.get("configuration").urls; - - this.addVfs = function (postData) { - var deferred = $q.defer(); - $http.post(urls.auth.addVfs, postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.updateVfs = function (putData,vf_uuid) { - var deferred = $q.defer(); - $http.put(urls.vf.updateVfs.put.replace('@vf_uuid',vf_uuid),putData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.inviteMembers = function (postData) { - var deferred = $q.defer(); - $http.post(urls.auth.inviteMembers, postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.getCompanies = function () { - var deferred = $q.defer(); - $http.get(urls.auth.getCompanies). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.getDeployTargets = function () { - var deferred = $q.defer(); - $http.get(urls.vf.deployment_target.getDeployTargets). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.getECOMPReleases = function () { - var deferred = $q.defer(); - $http.get(urls.vf.ecomp.getECOMPReleases). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - this.getVFVersion = function (vfUuid) { - var deferred = $q.defer(); - $http.get(urls.vf.version.getVFVersion.replace('@vfUuid',vfUuid)). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.getEngagements = function (userUuid) { - var deferred = $q.defer(); - $http.get(urls.auth.engagements). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.getExpandedEngagements = function (postData) { - var deferred = $q.defer(); - $http.post(urls.engagement.engagementsExpanded, postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.getSingleEngagement = function (userUuid,engagementUuid) { - var deferred = $q.defer(); - $http.get(urls.auth.single_engagement.replace('@engagementUuid',engagementUuid)). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.getStarredEngagements = function(){ - var deferred = $q.defer(); - $http.get(urls.engagement.starred_engagement.get). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.putStarredEngagements = function(engagementUuid){ - var deferred = $q.defer(); - var data = {} - data['engagement_uuid'] = engagementUuid; - $http.put(urls.engagement.starred_engagement.put,data). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.getRecentEngagements = function(){ - var deferred = $q.defer(); - $http.get(urls.engagement.recent_engagement.get). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.getActivities = function (engagementUuid) { - var deferred = $q.defer(); - $http.get(urls.auth.activities.replace('@engagementUuid',engagementUuid)). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.updateProgress = function (engagementUuid, postData) { - var deferred = $q.defer(); - $http.put(urls.engagement.updateProgress.replace('@engagementUuid',engagementUuid), postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.updateDeployTargets = function (engagementUuid, dt_uuid) { - var deferred = $q.defer(); - $http.put(urls.vf.deployment_target.updateDeployTargets.replace('@engagementUuid',engagementUuid). - replace('@deployment_target_uuid',dt_uuid)). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.updateECOMPReleases = function (engagementUuid, ECOMP_uuid) { - var deferred = $q.defer(); - $http.put(urls.vf.ecomp.updateECOMPReleases.replace('@engagementUuid',engagementUuid). - replace('@ecomp_uuid', ECOMP_uuid)). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.updateDaysLeft = function (engagementUuid, postData) { - var deferred = $q.defer(); - $http.post(urls.auth.updateDaysLeft.replace('@engagementUuid',engagementUuid), postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.updateLabEntryDaysLeft = function (engagementUuid, postData) { - var deferred = $q.defer(); - $http.post(urls.auth.updateLabEntryDaysLeft.replace('@engagementUuid',engagementUuid), postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - - this.set_engagement_stage = function(engagementUuid, requested_stage){ - var deferred = $q.defer(); - $http.put(urls.engagement.setStage.replace('@engagementUuid',engagementUuid).replace('@stage',requested_stage)). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.exportEngagementsCSV = function (stage, keyword) { - var deferred = $q.defer(); - - if(stage == null || keyword == null) { - deferred.reject("Invalid arguments on engagements export csv.") - } else { - $http({method: 'GET', url: urls.engagement.exportEngagementsCSV.replace('@stage',stage).replace("@keyword", keyword), - headers: {'Content-Type': "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}, responseType: "arraybuffer"}). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - } - - return deferred.promise; - }; - - this.archiveEngagement = function(engagementUuid, reason) { - var deferred = $q.defer(); - var putData = {"reason": reason}; - $http.put(urls.engagement.archive.put.replace('@engagementUuid',engagementUuid), putData) - .success(function (data, status, headers, config) { - deferred.resolve(); - }) - .error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - - return deferred.promise; - }; - - this.updateEngagementReviewer = function(engagementUuid, userUuid) { - var deferred = $q.defer(); - var putData = {"reviewer": userUuid}; - - $http.put(urls.engagement.reviewer.put.replace('@engagementUuid',engagementUuid), putData) - .success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }) - .error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - - return deferred.promise; - }; - - this.updateEngagementPeerReviewer = function(engagementUuid, userUuid) { - var deferred = $q.defer(); - var putData = {"peerreviewer": userUuid}; - - $http.put(urls.engagement.peerreviewer.put.replace('@engagementUuid',engagementUuid), putData) - .success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }) - .error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - - return deferred.promise; - }; - - this.switchEngagementReviewers = function(engagementUuid, reviewer_uuid, peer_reviewer_uuid) { - var deferred = $q.defer(); - var putData = {"reviewer": reviewer_uuid, "peerreviewer": peer_reviewer_uuid}; - - $http.put(urls.engagement.switchReviewers.put.replace('@engagementUuid',engagementUuid), putData) - .success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }) - .error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - - return deferred.promise; - }; - - this.updateEngagement = function(engagement, status) { - var deferred = $q.defer(); - var putData = {"engagement": engagement, "status": status}; - - $http.put(urls.engagement.put.replace('@engagementUuid',engagement.uuid), putData) - .success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }) - .error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - - return deferred.promise; - }; - - - this.remove_user_from_eng = function(postData) { - var deferred = $q.defer(); - if (postData == null) { - deferred.reject("Invalid arguments on remove_user_from_eng.") - } - else { - $http.put(urls.engagement.engagement_team.put, postData).success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }).error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - } - return deferred.promise; - }; - }]); - -})(); diff --git a/d2ice.att.io/app/services/vfc.service.js b/d2ice.att.io/app/services/vfc.service.js deleted file mode 100755 index a6ab0f9f..00000000 --- a/d2ice.att.io/app/services/vfc.service.js +++ /dev/null @@ -1,99 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular.module('ice.services.vfc', []) - - .service('vfcService', ['$http', '$q', 'cacheService', function ($http, $q, cacheService) { - - var urls = cacheService.get("configuration").urls; - - this.get = function (vfUuid) { - var deferred = $q.defer(); - $http.get(urls.vfcs.get.replace('@vfUuid',vfUuid)). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.delete = function (vfcUuid,vfUuid) { - var deferred = $q.defer(); - $http.delete(urls.vfcs.delete.replace('@vfUuid',vfUuid).replace('@vfcUuid',vfcUuid)). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.add = function (postData) { - var deferred = $q.defer(); - $http.post(urls.vfcs.add ,postData). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - this.getCompanies = function () { - var deferred = $q.defer(); - $http.get(urls.auth.getCompanies). - success(function (data, status, headers, config) { - deferred.resolve({data: data, status: status}); - }). - error(function (data, status, headers, config) { - deferred.reject({message: data, status: status}); - }); - return deferred.promise; - }; - - }]); - -})(); diff --git a/d2ice.att.io/app/styles/buttons.less b/d2ice.att.io/app/styles/buttons.less deleted file mode 100755 index 9b3c10e8..00000000 --- a/d2ice.att.io/app/styles/buttons.less +++ /dev/null @@ -1,38 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. diff --git a/d2ice.att.io/app/styles/fonts.less b/d2ice.att.io/app/styles/fonts.less deleted file mode 100755 index 822a9606..00000000 --- a/d2ice.att.io/app/styles/fonts.less +++ /dev/null @@ -1,110 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -//Omnes_ATT W02 Italic -@font-face { - font-family: omnes-italic; - src: url('fonts/OmnesATT/Omnes_ATTW02Italic.eot'); - src: url('fonts/OmnesATT/Omnes_ATTW02Italic.eot?#iefix') format('embedded-opentype'), - url('fonts/OmnesATT/Omnes_ATTW02Italic.ttf'); -} - -//Omnes_ATT W02 Light -@font-face { - font-family: omnes-light; - src: url('fonts/OmnesATT/Omnes_ATTW02Light.eot'); - src: url('fonts/OmnesATT/Omnes_ATTW02Light.eot?#iefix') format('embedded-opentype'), - url('fonts/OmnesATT/Omnes_ATTW02Light.ttf'); -} - -//Omnes_ATT W02 Light Italic -@font-face { - font-family: omnes-light-italic; - src: url('fonts/OmnesATT/Omnes_ATTW02LightItalic.eot'); - src: url('fonts/OmnesATT/Omnes_ATTW02LightItalic.eot?#iefix') format('embedded-opentype'), - url('fonts/OmnesATT/Omnes_ATTW02LightItalic.ttf'); -} - -//Omnes_ATT W02 Medium -@font-face { - font-family: omnes-medium; - src: url('fonts/OmnesATT/Omnes_ATTW02Medium.eot'); - src: url('fonts/OmnesATT/Omnes_ATTW02Medium.eot?#iefix') format('embedded-opentype'), - url('fonts/OmnesATT/Omnes_ATTW02Medium.ttf'); -} - -//Omnes_ATT W02 Medium Italic -@font-face { - font-family: omnes-medium-italic; - src: url('fonts/OmnesATT/Omnes_ATTW02MediumItalic.eot'); - src: url('fonts/OmnesATT/Omnes_ATTW02MediumItalic.eot?#iefix') format('embedded-opentype'), - url('fonts/OmnesATT/Omnes_ATTW02MediumItalic.ttf'); -} - -//Omnes_ATT W02 Regular -@font-face { - font-family: omnes-regular; - src: url('fonts/OmnesATT/Omnes_ATTW02.eot'); - src: url('fonts/OmnesATT/Omnes_ATTW02.eot?#iefix') format('embedded-opentype'), - url('fonts/OmnesATT/Omnes_ATTW02.ttf'); -} - -//Omnes_ATT W02 Bold -@font-face { - font-family: omnes-bold; - src: url('fonts/OmnesATT/Omnes_ATTW02Bold.eot'); - src: url('fonts/OmnesATT/Omnes_ATTW02Bold.eot?#iefix') format('embedded-opentype'), - url('fonts/OmnesATT/Omnes_ATTW02Bold.ttf'); -} - -//Omnes_ATT W02 Bold Italic -@font-face { - font-family: omnes-bold-italic; - src: url('fonts/OmnesATT/OmnesATTW02BoldItalic.eot'); - src: url('fonts/OmnesATT/OmnesATTW02BoldItalic.eot?#iefix') format('embedded-opentype'), - url('fonts/OmnesATT/OmnesATTW02BoldItalic.ttf'); -} - - -//ClearviewATT Book -@font-face { - font-family: clearview-book; - src: url('fonts/ClearviewATT/ClearviewATT-Bk.eot'); - src: url('fonts/ClearviewATT/ClearviewATT-Bk.eot?#iefix') format('embedded-opentype'), - url('fonts/ClearviewATT/ClearviewATT-Bk.ttf'); -} diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bd.eot b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bd.eot deleted file mode 100755 index 83074fbe..00000000 Binary files a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bd.eot and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bd.svg b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bd.svg deleted file mode 100755 index 564f750d..00000000 --- a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bd.svg +++ /dev/null @@ -1,424 +0,0 @@ - - - - -1.0 -ClearviewATT Bd -Monotype Imaging Inc. - -Fonts.com WebFonts -http://webfonts.fonts.com -Home of the Web fonts - - -http://webfonts.fonts.com/Legal - -Copyright (c) Terminal Design, Inc, 2005. All rights reserved. -Clearview is a trademark of Terminal Design, Inc. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz AÁÀÂÄÅÃÆ CÇ DÐ EÉÈÊË I Í Ì Î Ï NÑ -OÓÒÔÖÕØŒ SŠ UÚÙÛÜ YÝŸ ZŽ Þ aáàâäåãæ cç dð eéèêë i ı í ì î ï nñ oóòôöõøœ sšß uúùûü yýÿ zž -þ 1234567890 ½ ¼ ¾ % ‰ $¢£¥ƒ€¤ † ‡ § ¶ # ^~µ +×± < = > ÷¬ !¡?¿ " & ' * ° . , : ; () [ \ ] {} / | -¦ _ ‚ „ … ‹› «» ‘ ’ “ ” • ­ - – — @ © ® ™ ªº ¹²³ ´ ` ˆ ˜ ¨ ¯ · ¸ - diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bd.ttf b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bd.ttf deleted file mode 100755 index 7bfb9d5c..00000000 Binary files a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bd.ttf and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bd.woff b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bd.woff deleted file mode 100755 index b1f00eea..00000000 Binary files a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bd.woff and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BdIt.eot b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BdIt.eot deleted file mode 100755 index 22646213..00000000 Binary files a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BdIt.eot and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BdIt.svg b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BdIt.svg deleted file mode 100755 index 0996bb5e..00000000 --- a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BdIt.svg +++ /dev/null @@ -1,425 +0,0 @@ - - - - -1.0 -ClearviewATT BdIt -Monotype Imaging Inc. - -Fonts.com WebFonts -http://webfonts.fonts.com -Home of the Web fonts - - -http://webfonts.fonts.com/Legal - -Copyright (c) Terminal Design, Inc, 2005. All rights reserved. -Clearview is a trademark of Terminal Design, Inc. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz AÁÀÂÄÅÃÆ CÇ DÐ EÉÈÊË I Í Ì Î Ï NÑ -OÓÒÔÖÕØŒ SŠ UÚÙÛÜ YÝŸ ZŽ Þ aáàâäåãæ cç dð eéèêë i ı í ì î ï nñ oóòôöõøœ sšß uúùûü yýÿ zž -þ 1234567890 ½ ¼ ¾ % ‰ $¢£¥ƒ€¤ † ‡ § ¶ # ^~µ +×± < = > ÷¬ !¡?¿ " & ' * ° . , : ; () [ \ ] {} / | -¦ _ ‚ „ … ‹› «» ‘ ’ “ ” • ­ - – — @ © ® ™ ªº ¹²³ ´ ` ˆ ˜ ¨ ¯ · ¸ - diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BdIt.ttf b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BdIt.ttf deleted file mode 100755 index 69b3c834..00000000 Binary files a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BdIt.ttf and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BdIt.woff b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BdIt.woff deleted file mode 100755 index f2850a6f..00000000 Binary files a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BdIt.woff and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bk.eot b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bk.eot deleted file mode 100755 index a945fb35..00000000 Binary files a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bk.eot and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bk.svg b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bk.svg deleted file mode 100755 index 27920494..00000000 --- a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bk.svg +++ /dev/null @@ -1,425 +0,0 @@ - - - - -1.0 -ClearviewATT Bk -Monotype Imaging Inc. - -Fonts.com WebFonts -http://webfonts.fonts.com -Home of the Web fonts - - -http://webfonts.fonts.com/Legal - -Copyright (c) Terminal Design, Inc, 2005. All rights reserved. -Clearview is a trademark of Terminal Design, Inc. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz AÁÀÂÄÅÃÆ CÇ DÐ EÉÈÊË I Í Ì Î Ï NÑ -OÓÒÔÖÕØŒ SŠ UÚÙÛÜ YÝŸ ZŽ Þ aáàâäåãæ cç dð eéèêë i ı í ì î ï nñ oóòôöõøœ sšß uúùûü yýÿ zž -þ 1234567890 ½ ¼ ¾ % ‰ $¢£¥ƒ€¤ † ‡ § ¶ # ^~µ +×± < = > ÷¬ !¡?¿ " & ' * ° . , : ; () [ \ ] {} / | -¦ _ ‚ „ … ‹› «» ‘ ’ “ ” • ­ - – — @ © ® ™ ªº ¹²³ ´ ` ˆ ˜ ¨ ¯ · ¸ - diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bk.ttf b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bk.ttf deleted file mode 100755 index b4390461..00000000 Binary files a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bk.ttf and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bk.woff b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bk.woff deleted file mode 100755 index 53735678..00000000 Binary files a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Bk.woff and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BkIt.eot b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BkIt.eot deleted file mode 100755 index 4ab66957..00000000 Binary files a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BkIt.eot and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BkIt.svg b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BkIt.svg deleted file mode 100755 index c2337a7f..00000000 --- a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BkIt.svg +++ /dev/null @@ -1,425 +0,0 @@ - - - - -1.0 -ClearviewATT BkIt -Monotype Imaging Inc. - -Fonts.com WebFonts -http://webfonts.fonts.com -Home of the Web fonts - - -http://webfonts.fonts.com/Legal - -Copyright (c) Terminal Design, Inc, 2005. All rights reserved. -Clearview is a trademark of Terminal Design, Inc. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz AÁÀÂÄÅÃÆ CÇ DÐ EÉÈÊË I Í Ì Î Ï NÑ -OÓÒÔÖÕØŒ SŠ UÚÙÛÜ YÝŸ ZŽ Þ aáàâäåãæ cç dð eéèêë i ı í ì î ï nñ oóòôöõøœ sšß uúùûü yýÿ zž -þ 1234567890 ½ ¼ ¾ % ‰ $¢£¥ƒ€¤ † ‡ § ¶ # ^~µ +×± < = > ÷¬ !¡?¿ " & ' * ° . , : ; () [ \ ] {} / | -¦ _ ‚ „ … ‹› «» ‘ ’ “ ” • ­ - – — @ © ® ™ ªº ¹²³ ´ ` ˆ ˜ ¨ ¯ · ¸ - diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BkIt.ttf b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BkIt.ttf deleted file mode 100755 index 7e7aa057..00000000 Binary files a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BkIt.ttf and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BkIt.woff b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BkIt.woff deleted file mode 100755 index 55fbfd68..00000000 Binary files a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-BkIt.woff and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Lt.eot b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Lt.eot deleted file mode 100755 index 06a4bf99..00000000 Binary files a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Lt.eot and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Lt.svg b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Lt.svg deleted file mode 100755 index 40656e14..00000000 --- a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Lt.svg +++ /dev/null @@ -1,425 +0,0 @@ - - - - -1.0 -ClearviewATT Lt -Monotype Imaging Inc. - -Fonts.com WebFonts -http://webfonts.fonts.com -Home of the Web fonts - - -http://webfonts.fonts.com/Legal - -Copyright (c) Terminal Design, Inc, 2005. All rights reserved. -Clearview is a trademark of Terminal Design, Inc. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz AÁÀÂÄÅÃÆ CÇ DÐ EÉÈÊË I Í Ì Î Ï NÑ -OÓÒÔÖÕØŒ SŠ UÚÙÛÜ YÝŸ ZŽ Þ aáàâäåãæ cç dð eéèêë i ı í ì î ï nñ oóòôöõøœ sšß uúùûü yýÿ zž -þ 1234567890 ½ ¼ ¾ % ‰ $¢£¥ƒ€¤ † ‡ § ¶ # ^~µ +×± < = > ÷¬ !¡?¿ " & ' * ° . , : ; () [ \ ] {} / | -¦ _ ‚ „ … ‹› «» ‘ ’ “ ” • ­ - – — @ © ® ™ ªº ¹²³ ´ ` ˆ ˜ ¨ ¯ · ¸ - diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Lt.ttf b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Lt.ttf deleted file mode 100755 index c9a45c0e..00000000 Binary files a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Lt.ttf and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Lt.woff b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Lt.woff deleted file mode 100755 index 521ee2e9..00000000 Binary files a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-Lt.woff and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-LtIt.eot b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-LtIt.eot deleted file mode 100755 index 06772919..00000000 Binary files a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-LtIt.eot and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-LtIt.svg b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-LtIt.svg deleted file mode 100755 index bff63e55..00000000 --- a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-LtIt.svg +++ /dev/null @@ -1,424 +0,0 @@ - - - - -1.0 -ClearviewATT LtIt -Monotype Imaging Inc. - -Fonts.com WebFonts -http://webfonts.fonts.com -Home of the Web fonts - - -http://webfonts.fonts.com/Legal - -Copyright (c) Terminal Design, Inc, 2005. All rights reserved. -Clearview is a trademark of Terminal Design, Inc. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz AÁÀÂÄÅÃÆ CÇ DÐ EÉÈÊË I Í Ì Î Ï NÑ -OÓÒÔÖÕØŒ SŠ UÚÙÛÜ YÝŸ ZŽ Þ aáàâäåãæ cç dð eéèêë i ı í ì î ï nñ oóòôöõøœ sšß uúùûü yýÿ zž -þ 1234567890 ½ ¼ ¾ % ‰ $¢£¥ƒ€¤ † ‡ § ¶ # ^~µ +×± < = > ÷¬ !¡?¿ " & ' * ° . , : ; () [ \ ] {} / | -¦ _ ‚ „ … ‹› «» ‘ ’ “ ” • ­ - – — @ © ® ™ ªº ¹²³ ´ ` ˆ ˜ ¨ ¯ · ¸ - diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-LtIt.ttf b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-LtIt.ttf deleted file mode 100755 index bd7ac471..00000000 Binary files a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-LtIt.ttf and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-LtIt.woff b/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-LtIt.woff deleted file mode 100755 index 7f8a2741..00000000 Binary files a/d2ice.att.io/app/styles/fonts/ClearviewATT/ClearviewATT-LtIt.woff and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/AT&T Variation ID.tab b/d2ice.att.io/app/styles/fonts/OmnesATT/AT&T Variation ID.tab deleted file mode 100755 index e0085fd9..00000000 --- a/d2ice.att.io/app/styles/fonts/OmnesATT/AT&T Variation ID.tab +++ /dev/null @@ -1,9 +0,0 @@ - Variation ID tier -602 24875 1243116 Omnes_ATT W02 Italic 1243117 38 CUS24875W02 -602 24872 1243119 Omnes_ATT W02 Light 1243120 38 CUS24872W02 -602 24873 1243122 Omnes_ATT W02 Light Italic 1243123 38 CUS24873W02 -602 24876 1243125 Omnes_ATT W02 Medium 1243126 38 CUS24876W02 -602 24877 1243128 Omnes_ATT W02 Medium Italic 1243129 38 CUS24877W02 -602 24874 1243131 Omnes_ATT W02 Regular 1243132 38 CUS24874W02 -602 26730 1418220 Omnes_ATT W02 Bold 1418221 38 CUS26730W02 -602 26731 1418223 Omnes_ATT W02 Bold Italic 1418224 38 CUS26731W02 diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/OmnesATTW02BoldItalic.eot b/d2ice.att.io/app/styles/fonts/OmnesATT/OmnesATTW02BoldItalic.eot deleted file mode 100755 index da1c1d1e..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/OmnesATTW02BoldItalic.eot and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/OmnesATTW02BoldItalic.svg b/d2ice.att.io/app/styles/fonts/OmnesATT/OmnesATTW02BoldItalic.svg deleted file mode 100755 index 916075aa..00000000 --- a/d2ice.att.io/app/styles/fonts/OmnesATT/OmnesATTW02BoldItalic.svg +++ /dev/null @@ -1,3671 +0,0 @@ - - - - -1.0 -Omnes_ATT W02 Bold Italic -Monotype Imaging Inc. - -Fonts.com WebFonts -http://webfonts.fonts.com -Home of the Web fonts - - -http://webfonts.fonts.com/Legal - -Generated in 2010 by FontLab Studio. Copyright info pending. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz AÁÀÂÄÅÃÆ CÇ DÐ EÉÈÊË I Í Ì Î Ï NÑ -OÓÒÔÖÕØŒ SŠ UÚÙÛÜ YÝŸ ZŽ Þ aáàâäåãæ cç dð eéèêë i ı í ì î ï nñ oóòôöõøœ sšß uúùûü yýÿ zž -þ 1234567890 ½ ¼ ¾ % ‰ $¢£¥ƒ€¤ † ‡ § ¶ # ^~µ +×± < = > ÷¬ !¡?¿ " & ' * ° . , : ; () [ \ ] {} / | -¦ _ ‚ „ … ‹› «» ‘ ’ “ ” • ­ - – — @ © ® ™ ªº ¹²³ ´ ` ˆ ˜ ¨ ¯ · ¸ - diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/OmnesATTW02BoldItalic.ttf b/d2ice.att.io/app/styles/fonts/OmnesATT/OmnesATTW02BoldItalic.ttf deleted file mode 100755 index 4f35e1f9..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/OmnesATTW02BoldItalic.ttf and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/OmnesATTW02BoldItalic.woff b/d2ice.att.io/app/styles/fonts/OmnesATT/OmnesATTW02BoldItalic.woff deleted file mode 100755 index 1722dce9..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/OmnesATTW02BoldItalic.woff and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02.eot b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02.eot deleted file mode 100755 index 39e1eae7..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02.eot and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02.svg b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02.svg deleted file mode 100755 index 73923de0..00000000 --- a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02.svg +++ /dev/null @@ -1,3694 +0,0 @@ - - - - -1.0 -Omnes_ATT W02 -Monotype Imaging Inc. - -Fonts.com WebFonts -http://webfonts.fonts.com -Home of the Web fonts - - -http://webfonts.fonts.com/Legal - -Generated by RoboFog - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz AÁÀÂÄÅÃÆ CÇ DÐ EÉÈÊË I Í Ì Î Ï NÑ -OÓÒÔÖÕØŒ SŠ UÚÙÛÜ YÝŸ ZŽ Þ aáàâäåãæ cç dð eéèêë i ı í ì î ï nñ oóòôöõøœ sšß uúùûü yýÿ zž -þ 1234567890 ½ ¼ ¾ % ‰ $¢£¥ƒ€¤ † ‡ § ¶ # ^~µ +×± < = > ÷¬ !¡?¿ " & ' * ° . , : ; () [ \ ] {} / | -¦ _ ‚ „ … ‹› «» ‘ ’ “ ” • ­ - – — @ © ® ™ ªº ¹²³ ´ ` ˆ ˜ ¨ ¯ · ¸ - diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02.ttf b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02.ttf deleted file mode 100755 index 2342be4b..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02.ttf and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02.woff b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02.woff deleted file mode 100755 index 0acf1f02..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02.woff and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Bold.eot b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Bold.eot deleted file mode 100755 index 0e5892d1..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Bold.eot and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Bold.svg b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Bold.svg deleted file mode 100755 index 9670981b..00000000 --- a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Bold.svg +++ /dev/null @@ -1,4365 +0,0 @@ - - - - -1.0 -Omnes_ATT W02 Bold -Monotype Imaging Inc. - -Fonts.com WebFonts -http://webfonts.fonts.com -Home of the Web fonts - - -http://webfonts.fonts.com/Legal - -Generated in 2010 by FontLab Studio. Copyright info pending. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz AÁÀÂÄÅÃÆ CÇ DÐ EÉÈÊË I Í Ì Î Ï NÑ -OÓÒÔÖÕØŒ SŠ UÚÙÛÜ YÝŸ ZŽ Þ aáàâäåãæ cç dð eéèêë i ı í ì î ï nñ oóòôöõøœ sšß uúùûü yýÿ zž -þ 1234567890 ½ ¼ ¾ % ‰ $¢£¥ƒ€¤ † ‡ § ¶ # ^~µ +×± < = > ÷¬ !¡?¿ " & ' * ° . , : ; () [ \ ] {} / | -¦ _ ‚ „ … ‹› «» ‘ ’ “ ” • ­ - – — @ © ® ™ ªº ¹²³ ´ ` ˆ ˜ ¨ ¯ · ¸ - diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Bold.ttf b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Bold.ttf deleted file mode 100755 index 94934087..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Bold.ttf and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Bold.woff b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Bold.woff deleted file mode 100755 index 1dfd28f2..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Bold.woff and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Italic.eot b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Italic.eot deleted file mode 100755 index 8723e66f..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Italic.eot and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Italic.svg b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Italic.svg deleted file mode 100755 index dbf33a97..00000000 --- a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Italic.svg +++ /dev/null @@ -1,3799 +0,0 @@ - - - - -1.0 -Omnes_ATT W02 Italic -Monotype Imaging Inc. - -Fonts.com WebFonts -http://webfonts.fonts.com -Home of the Web fonts - - -http://webfonts.fonts.com/Legal - -Generated by RoboFog - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz AÁÀÂÄÅÃÆ CÇ DÐ EÉÈÊË I Í Ì Î Ï NÑ -OÓÒÔÖÕØŒ SŠ UÚÙÛÜ YÝŸ ZŽ Þ aáàâäåãæ cç dð eéèêë i ı í ì î ï nñ oóòôöõøœ sšß uúùûü yýÿ zž -þ 1234567890 ½ ¼ ¾ % ‰ $¢£¥ƒ€¤ † ‡ § ¶ # ^~µ +×± < = > ÷¬ !¡?¿ " & ' * ° . , : ; () [ \ ] {} / | -¦ _ ‚ „ … ‹› «» ‘ ’ “ ” • ­ - – — @ © ® ™ ªº ¹²³ ´ ` ˆ ˜ ¨ ¯ · ¸ - diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Italic.ttf b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Italic.ttf deleted file mode 100755 index 4ef76763..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Italic.ttf and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Italic.woff b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Italic.woff deleted file mode 100755 index 750d90d3..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Italic.woff and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Light.eot b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Light.eot deleted file mode 100755 index 280d111f..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Light.eot and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Light.svg b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Light.svg deleted file mode 100755 index 85f39f50..00000000 --- a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Light.svg +++ /dev/null @@ -1,3872 +0,0 @@ - - - - -1.0 -Omnes_ATT W02 Light -Monotype Imaging Inc. - -Fonts.com WebFonts -http://webfonts.fonts.com -Home of the Web fonts - - -http://webfonts.fonts.com/Legal - -Generated in 2010 by FontLab Studio. Copyright info pending. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz AÁÀÂÄÅÃÆ CÇ DÐ EÉÈÊË I Í Ì Î Ï NÑ -OÓÒÔÖÕØŒ SŠ UÚÙÛÜ YÝŸ ZŽ Þ aáàâäåãæ cç dð eéèêë i ı í ì î ï nñ oóòôöõøœ sšß uúùûü yýÿ zž -þ 1234567890 ½ ¼ ¾ % ‰ $¢£¥ƒ€¤ † ‡ § ¶ # ^~µ +×± < = > ÷¬ !¡?¿ " & ' * ° . , : ; () [ \ ] {} / | -¦ _ ‚ „ … ‹› «» ‘ ’ “ ” • ­ - – — @ © ® ™ ªº ¹²³ ´ ` ˆ ˜ ¨ ¯ · ¸ - diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Light.ttf b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Light.ttf deleted file mode 100755 index 273761ab..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Light.ttf and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Light.woff b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Light.woff deleted file mode 100755 index b12120a8..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Light.woff and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02LightItalic.eot b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02LightItalic.eot deleted file mode 100755 index 2da6a99e..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02LightItalic.eot and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02LightItalic.svg b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02LightItalic.svg deleted file mode 100755 index ab6936ce..00000000 --- a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02LightItalic.svg +++ /dev/null @@ -1,3030 +0,0 @@ - - - - -1.0 -Omnes_ATT W02 Light Italic -Monotype Imaging Inc. - -Fonts.com WebFonts -http://webfonts.fonts.com -Home of the Web fonts - - -http://webfonts.fonts.com/Legal - -Generated in 2010 by FontLab Studio. Copyright info pending. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz AÁÀÂÄÅÃÆ CÇ DÐ EÉÈÊË I Í Ì Î Ï NÑ -OÓÒÔÖÕØŒ SŠ UÚÙÛÜ YÝŸ ZŽ Þ aáàâäåãæ cç dð eéèêë i ı í ì î ï nñ oóòôöõøœ sšß uúùûü yýÿ zž -þ 1234567890 ½ ¼ ¾ % ‰ $¢£¥ƒ€¤ † ‡ § ¶ # ^~µ +×± < = > ÷¬ !¡?¿ " & ' * ° . , : ; () [ \ ] {} / | -¦ _ ‚ „ … ‹› «» ‘ ’ “ ” • ­ - – — @ © ® ™ ªº ¹²³ ´ ` ˆ ˜ ¨ ¯ · ¸ - diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02LightItalic.ttf b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02LightItalic.ttf deleted file mode 100755 index 5153cee6..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02LightItalic.ttf and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02LightItalic.woff b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02LightItalic.woff deleted file mode 100755 index cf9993a1..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02LightItalic.woff and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Medium.eot b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Medium.eot deleted file mode 100755 index 37c715f5..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Medium.eot and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Medium.svg b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Medium.svg deleted file mode 100755 index ad72d0be..00000000 --- a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Medium.svg +++ /dev/null @@ -1,2473 +0,0 @@ - - - - -1.0 -Omnes_ATT W02 Medium -Monotype Imaging Inc. - -Fonts.com WebFonts -http://webfonts.fonts.com -Home of the Web fonts - - -http://webfonts.fonts.com/Legal - -Generated in 2010 by FontLab Studio. Copyright info pending. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz AÁÀÂÄÅÃÆ CÇ DÐ EÉÈÊË I Í Ì Î Ï NÑ -OÓÒÔÖÕØŒ SŠ UÚÙÛÜ YÝŸ ZŽ Þ aáàâäåãæ cç dð eéèêë i ı í ì î ï nñ oóòôöõøœ sšß uúùûü yýÿ zž -þ 1234567890 ½ ¼ ¾ % ‰ $¢£¥ƒ€¤ † ‡ § ¶ # ^~µ +×± < = > ÷¬ !¡?¿ " & ' * ° . , : ; () [ \ ] {} / | -¦ _ ‚ „ … ‹› «» ‘ ’ “ ” • ­ - – — @ © ® ™ ªº ¹²³ ´ ` ˆ ˜ ¨ ¯ · ¸ - diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Medium.ttf b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Medium.ttf deleted file mode 100755 index 27404254..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Medium.ttf and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Medium.woff b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Medium.woff deleted file mode 100755 index 5cff69ad..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02Medium.woff and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02MediumItalic.eot b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02MediumItalic.eot deleted file mode 100755 index 84ba4acc..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02MediumItalic.eot and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02MediumItalic.svg b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02MediumItalic.svg deleted file mode 100755 index eca8f738..00000000 --- a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02MediumItalic.svg +++ /dev/null @@ -1,3837 +0,0 @@ - - - - -1.0 -Omnes_ATT W02 Medium Italic -Monotype Imaging Inc. - -Fonts.com WebFonts -http://webfonts.fonts.com -Home of the Web fonts - - -http://webfonts.fonts.com/Legal - -Generated in 2010 by FontLab Studio. Copyright info pending. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz AÁÀÂÄÅÃÆ CÇ DÐ EÉÈÊË I Í Ì Î Ï NÑ -OÓÒÔÖÕØŒ SŠ UÚÙÛÜ YÝŸ ZŽ Þ aáàâäåãæ cç dð eéèêë i ı í ì î ï nñ oóòôöõøœ sšß uúùûü yýÿ zž -þ 1234567890 ½ ¼ ¾ % ‰ $¢£¥ƒ€¤ † ‡ § ¶ # ^~µ +×± < = > ÷¬ !¡?¿ " & ' * ° . , : ; () [ \ ] {} / | -¦ _ ‚ „ … ‹› «» ‘ ’ “ ” • ­ - – — @ © ® ™ ªº ¹²³ ´ ` ˆ ˜ ¨ ¯ · ¸ - diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02MediumItalic.ttf b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02MediumItalic.ttf deleted file mode 100755 index 46bfd531..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02MediumItalic.ttf and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02MediumItalic.woff b/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02MediumItalic.woff deleted file mode 100755 index 20419ed3..00000000 Binary files a/d2ice.att.io/app/styles/fonts/OmnesATT/Omnes_ATTW02MediumItalic.woff and /dev/null differ diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/demo-async.htm b/d2ice.att.io/app/styles/fonts/OmnesATT/demo-async.htm deleted file mode 100755 index f7a43e6a..00000000 --- a/d2ice.att.io/app/styles/fonts/OmnesATT/demo-async.htm +++ /dev/null @@ -1,169 +0,0 @@ - - - - Webfonts Demo - - - - - - -
-

Fonts.com Web fonts

-

@font-face implementation instructions

-

The asynchronous script loads in the background allowing the other elements of your website to load first and undeterred.

-
-

The fonts contained in this kit are:

-
-
Omnes_ATT W02 Italic
-
Omnes_ATT W02 Light
-
Omnes_ATT W02 Light Italic
-
Omnes_ATT W02 Medium
-
Omnes_ATT W02 Medium Italic
-
Omnes_ATT W02 Regular
-
Omnes_ATT W02 Bold
-
Omnes_ATT W02 Bold Italic
- -
-
- Click here for css only web fonts implementation -
-
-

CSS Implementation Guidelines

-

You and any third party web font hosting service are responsible for ensuring that the font software in the self-hosting kit, in its original format, can only be used on the Web Sites for which the self-hosting kit was downloaded and cannot be used or referenced by any other web site. This includes, but is not limited to installing adequate technical protection measures that restrict the use and/or access to the font software, for instance by utilizing JavaScript or access control mechanism for cross-origin resource sharing and protecting against use on web sites other than the Web Sites for which the self-hosting kit was downloaded by restricting domain access only to such Web Sites. You must also retain the pageview tracking code on any Web Site that you self-host. In the event this Agreement terminates for any reason, the font software included with the self-hosting kit must be deleted from the server and all copies must be destroyed or returned to Monotype Imaging.

-

View "WEB FONT SOFTWARE" LICENSE AGREEMENT

-

Asynchronous Implementation (Requires JavaScript)

-

Font file names have been obfuscated to protect the font software. You can identify font format based on file ending:

-
    -
  • 1 - TrueType (ttf)
  • -
  • 2 - Embedded OpenType (eot)
  • -
  • 3 - Web Open Font Format (woff)
  • -
  • 4 - Scalable Vector Graphics (svg)
  • -
-

Copy and paste following code in head section of the page

-
- -

Licensing information should be included within the CSS

-
/*
-This CSS resource incorporates links to font software which is the valuable copyrighted
-property of Monotype Imaging and/or its suppliers. You may not attempt to copy, install,
-redistribute, convert, modify or reverse engineer this font software. Please contact Monotype
-Imaging with any questions regarding Web Fonts:  http://webfonts.fonts.com
-*/
-
-
- - diff --git a/d2ice.att.io/app/styles/fonts/OmnesATT/demo.htm b/d2ice.att.io/app/styles/fonts/OmnesATT/demo.htm deleted file mode 100755 index edb62ad3..00000000 --- a/d2ice.att.io/app/styles/fonts/OmnesATT/demo.htm +++ /dev/null @@ -1,155 +0,0 @@ - - - - Webfonts Demo - - - - - -
-

Fonts.com Web fonts

-

@font-face implementation instructions

-
-

The fonts contained in this kit are:

-
-
Omnes_ATT W02 Italic
-
Omnes_ATT W02 Light
-
Omnes_ATT W02 Light Italic
-
Omnes_ATT W02 Medium
-
Omnes_ATT W02 Medium Italic
-
Omnes_ATT W02 Regular
-
Omnes_ATT W02 Bold
-
Omnes_ATT W02 Bold Italic
- -
-
- Click here for asynchronous web fonts implementation -
-
-

CSS Implementation Guidelines

-

You and any third party web font hosting service are responsible for ensuring that the font software in the self-hosting kit, in its original format, can only be used on the Web Sites for which the self-hosting kit was downloaded and cannot be used or referenced by any other web site. This includes, but is not limited to installing adequate technical protection measures that restrict the use and/or access to the font software, for instance by utilizing JavaScript or access control mechanism for cross-origin resource sharing and protecting against use on web sites other than the Web Sites for which the self-hosting kit was downloaded by restricting domain access only to such Web Sites. You must also retain the pageview tracking code on any Web Site that you self-host. In the event this Agreement terminates for any reason, the font software included with the self-hosting kit must be deleted from the server and all copies must be destroyed or returned to Monotype Imaging.

-

View "WEB FONT SOFTWARE" LICENSE AGREEMENT

-

Font file names have been obfuscated to protect the font software. You can identify font format based on file ending:

-
    -
  • 1 - TrueType (ttf)
  • -
  • 2 - Embedded OpenType (eot)
  • -
  • 3 - Web Open Font Format (woff)
  • -
  • 4 - Scalable Vector Graphics (svg)
  • -
-

Copy and paste following code in head section of the page

-
- -

Licensing information should be included within the CSS

-
/*
-This CSS resource incorporates links to font software which is the valuable copyrighted
-property of Monotype Imaging and/or its suppliers. You may not attempt to copy, install,
-redistribute, convert, modify or reverse engineer this font software. Please contact Monotype
-Imaging with any questions regarding Web Fonts:  http://webfonts.fonts.com
-*/
-
-
- - diff --git a/d2ice.att.io/app/styles/form.less b/d2ice.att.io/app/styles/form.less deleted file mode 100755 index 98d221e6..00000000 --- a/d2ice.att.io/app/styles/form.less +++ /dev/null @@ -1,54 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -label { - font-weight: 400; -} - -.ice-form-label { - .s_14_r; - - &.required:before { - content: '* '; - .q_14_m; - } -} - -.ice-form-error { - .q_14_r; -} diff --git a/d2ice.att.io/app/styles/global.less b/d2ice.att.io/app/styles/global.less deleted file mode 100755 index 5a521ed6..00000000 --- a/d2ice.att.io/app/styles/global.less +++ /dev/null @@ -1,174 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -html { - height: 100%; -} - -body { - .m_14_r; - height: 100%; -} - -* { - box-sizing: border-box; - margin: 0; - outline: none; - -webkit-transition: none !important; - transition: none !important; -} - - - -/* Extra small devices (phones, less than 768px) */ -/* No media query since this is the default in Bootstrap */ -@media (max-width: 992px) { - .navbar-header { - float: none; - } - .navbar-left,.navbar-right { - float: none !important; - } - .navbar-toggle { - display: block; - } - .navbar-collapse { - border-top: 1px solid transparent; - box-shadow: inset 0 1px 0 rgba(255,255,255,0.1); - } - .navbar-fixed-top { - top: 0; - border-width: 0 0 1px; - } - .navbar-collapse.collapse { - display: none!important; - } - .navbar-nav { - float: none!important; - margin-top: 7.5px; - } - .navbar-nav>li { - float: none; - } - .navbar-nav>li>a { - padding-top: 10px; - padding-bottom: 10px; - } - .collapse.in{ - display:block !important; - } -} - - - - -/* Small devices (tablets, 768px and up) */ -@media (min-width:768px) { html, body { - // height: 100%; - // overflow: auto; - } } - - - - - - -/* Medium devices (desktops, 992px and up) */ -@media (min-width: 998px) { html, body { - height: 100%; - overflow: hidden; - } } - - - - - - -body.ice { - - .container-fluid { height: 100%; } - .container-fluid > .row { height: 100%; } - .container-fluid > .row > #main { height: 100%; } - - #header-title { - height: 130px; - display: flex; - flex-direction: column; - align-items: center; - justify-content: flex-start; - h1 {.p_24; margin: 20px 0 10px 0;} - h2 {.p_16_m; margin: 0;} - } - - #content { - padding: 20px; - /*height: 100%;*/ - - .row { - height: 100%; - } - } - - a, - a:hover, - a:active, - a:focus - { - .m_16_r; - text-decoration: none; - cursor: pointer; - } - - ul { - padding: 0; - } - -} - -.bold { - font-weight: bold; -} -.italic { - font-style: italic; -} -.line-through { - text-decoration-line: line-through; -} -.underline { - text-decoration-line: underline; -} \ No newline at end of file diff --git a/d2ice.att.io/app/styles/images/Collaborate.png b/d2ice.att.io/app/styles/images/Collaborate.png deleted file mode 100755 index 97a7b52d..00000000 Binary files a/d2ice.att.io/app/styles/images/Collaborate.png and /dev/null differ diff --git a/d2ice.att.io/app/styles/images/Incubate.png b/d2ice.att.io/app/styles/images/Incubate.png deleted file mode 100755 index bd30eb84..00000000 Binary files a/d2ice.att.io/app/styles/images/Incubate.png and /dev/null differ diff --git a/d2ice.att.io/app/styles/images/Validate.png b/d2ice.att.io/app/styles/images/Validate.png deleted file mode 100755 index 993f7efe..00000000 Binary files a/d2ice.att.io/app/styles/images/Validate.png and /dev/null differ diff --git a/d2ice.att.io/app/styles/images/actions-sprite.png b/d2ice.att.io/app/styles/images/actions-sprite.png deleted file mode 100755 index df1b6f14..00000000 Binary files a/d2ice.att.io/app/styles/images/actions-sprite.png and /dev/null differ diff --git a/d2ice.att.io/app/styles/images/btn1.png b/d2ice.att.io/app/styles/images/btn1.png deleted file mode 100755 index 16d4c049..00000000 Binary files a/d2ice.att.io/app/styles/images/btn1.png and /dev/null differ diff --git a/d2ice.att.io/app/styles/images/btn2.png b/d2ice.att.io/app/styles/images/btn2.png deleted file mode 100755 index fb47af39..00000000 Binary files a/d2ice.att.io/app/styles/images/btn2.png and /dev/null differ diff --git a/d2ice.att.io/app/styles/images/btn3.png b/d2ice.att.io/app/styles/images/btn3.png deleted file mode 100755 index c8599120..00000000 Binary files a/d2ice.att.io/app/styles/images/btn3.png and /dev/null differ diff --git a/d2ice.att.io/app/styles/images/btnX.png b/d2ice.att.io/app/styles/images/btnX.png deleted file mode 100755 index 08b2136f..00000000 Binary files a/d2ice.att.io/app/styles/images/btnX.png and /dev/null differ diff --git a/d2ice.att.io/app/styles/images/d2sandbox_logos-150x30.png b/d2ice.att.io/app/styles/images/d2sandbox_logos-150x30.png deleted file mode 100755 index ceb58efb..00000000 Binary files a/d2ice.att.io/app/styles/images/d2sandbox_logos-150x30.png and /dev/null differ diff --git a/d2ice.att.io/app/styles/images/d2sandbox_logos_color-150x30.png b/d2ice.att.io/app/styles/images/d2sandbox_logos_color-150x30.png deleted file mode 100755 index e17fd63e..00000000 Binary files a/d2ice.att.io/app/styles/images/d2sandbox_logos_color-150x30.png and /dev/null differ diff --git a/d2ice.att.io/app/styles/images/flags.png b/d2ice.att.io/app/styles/images/flags.png deleted file mode 100755 index 89b1f1cd..00000000 Binary files a/d2ice.att.io/app/styles/images/flags.png and /dev/null differ diff --git a/d2ice.att.io/app/styles/images/flags@2x.png b/d2ice.att.io/app/styles/images/flags@2x.png deleted file mode 100755 index 3624e635..00000000 Binary files a/d2ice.att.io/app/styles/images/flags@2x.png and /dev/null differ diff --git a/d2ice.att.io/app/styles/images/home_bg1-1920x1138.jpg b/d2ice.att.io/app/styles/images/home_bg1-1920x1138.jpg deleted file mode 100755 index 1a56a1eb..00000000 Binary files a/d2ice.att.io/app/styles/images/home_bg1-1920x1138.jpg and /dev/null differ diff --git a/d2ice.att.io/app/styles/images/icons-sprite-v2.png b/d2ice.att.io/app/styles/images/icons-sprite-v2.png deleted file mode 100755 index ebba7cb4..00000000 Binary files a/d2ice.att.io/app/styles/images/icons-sprite-v2.png and /dev/null differ diff --git a/d2ice.att.io/app/styles/images/icons-sprite-v3.png b/d2ice.att.io/app/styles/images/icons-sprite-v3.png deleted file mode 100755 index 0c39540a..00000000 Binary files a/d2ice.att.io/app/styles/images/icons-sprite-v3.png and /dev/null differ diff --git a/d2ice.att.io/app/styles/images/icons-sprite-v4.png b/d2ice.att.io/app/styles/images/icons-sprite-v4.png deleted file mode 100755 index 757006e0..00000000 Binary files a/d2ice.att.io/app/styles/images/icons-sprite-v4.png and /dev/null differ diff --git a/d2ice.att.io/app/styles/images/icons-sprite-v5.png b/d2ice.att.io/app/styles/images/icons-sprite-v5.png deleted file mode 100755 index ab0d5a25..00000000 Binary files a/d2ice.att.io/app/styles/images/icons-sprite-v5.png and /dev/null differ diff --git a/d2ice.att.io/app/styles/images/icons-sprite.png b/d2ice.att.io/app/styles/images/icons-sprite.png deleted file mode 100755 index 97b98b4b..00000000 Binary files a/d2ice.att.io/app/styles/images/icons-sprite.png and /dev/null differ diff --git a/d2ice.att.io/app/styles/images/profiles-sprite.png b/d2ice.att.io/app/styles/images/profiles-sprite.png deleted file mode 100755 index fda15cc3..00000000 Binary files a/d2ice.att.io/app/styles/images/profiles-sprite.png and /dev/null differ diff --git a/d2ice.att.io/app/styles/images/steps-sprite.png b/d2ice.att.io/app/styles/images/steps-sprite.png deleted file mode 100755 index f71abf72..00000000 Binary files a/d2ice.att.io/app/styles/images/steps-sprite.png and /dev/null differ diff --git a/d2ice.att.io/app/styles/images/top.jpg b/d2ice.att.io/app/styles/images/top.jpg deleted file mode 100755 index 7764a937..00000000 Binary files a/d2ice.att.io/app/styles/images/top.jpg and /dev/null differ diff --git a/d2ice.att.io/app/styles/images/wait.gif b/d2ice.att.io/app/styles/images/wait.gif deleted file mode 100755 index 32446bd7..00000000 Binary files a/d2ice.att.io/app/styles/images/wait.gif and /dev/null differ diff --git a/d2ice.att.io/app/styles/mixins.less b/d2ice.att.io/app/styles/mixins.less deleted file mode 100755 index e34c4344..00000000 --- a/d2ice.att.io/app/styles/mixins.less +++ /dev/null @@ -1,381 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -@import "variables"; - -.f-color { - .a {color: @main_color_a;} - .b {color: @main_color_b;} - .c {color: @main_color_c;} - .d {color: @main_color_d;} - .e {color: @main_color_e;} - .f {color: @main_color_f;} - .g {color: @main_color_g;} - .h {color: @main_color_h;} - .i {color: @main_color_i;} - .j {color: @main_color_j;} - .k {color: @main_color_k;} - .l {color: @main_color_l;} - .m {color: @main_color_m;} - .n {color: @main_color_n;} - .o {color: @main_color_o;} - .p {color: @main_color_p;} - - .q {color: @func_color_q;} - .r {color: @func_color_r;} - .s {color: @func_color_s;} - .x {color: @func_color_x;} - - - .t {color: @tlv_color_t;} - .u {color: @tlv_color_u;} - .v {color: @tlv_color_v;} - - .w {color: @bg_color_a;} - - -} - -.f-type { - ._36 { - font-family: @font-omnes-light; - font-size: 36px; - } - ._36_m { - font-family: @font-omnes-medium; - font-size: 36px; - } - ._26 { - font-family: @font-omnes-light; - font-size: 26px; - } - ._26_m { - font-family: @font-omnes-medium; - font-size: 26px; - } - ._24 { - font-family: @font-omnes-light; - font-size: 24px; - } - ._24_m { - font-family: @font-omnes-medium; - font-size: 24px; - } - ._24_r { - font-family: @font-omnes-regular; - font-size: 24px; - } - ._22 { - font-family: @font-omnes-light; - font-size: 22px; - } - ._22_m { - font-family: @font-omnes-medium; - font-size: 22px; - } - ._20 { - font-family: @font-omnes-light; - font-size: 20px; - } - ._20_m { - font-family: @font-omnes-medium; - font-size: 20px; - } - ._18 { - font-family: @font-omnes-light; - font-size: 18px; - } - ._18_r { - font-family: @font-omnes-regular; - font-size: 18px; - } - ._18_m { - font-family: @font-omnes-medium; - font-size: 18px; - } - ._16_i { - font-family: @font-omnes-medium-italic; - font-size: 16px; - } - ._16_r { - font-family: @font-omnes-regular; - font-size: 16px; - } - ._16_m { - font-family: @font-omnes-medium; - font-size: 16px; - } - ._14_r { - font-family: @font-omnes-regular; - font-size: 14px; - } - ._14_m { - font-family: @font-omnes-medium; - font-size: 14px; - } - ._14_i { - font-family: @font-omnes-medium-italic; - font-size: 14px; - } - ._13_r { - font-family: @font-omnes-regular; - font-size: 13px; - } - ._13_m { - font-family: @font-omnes-medium; - font-size: 13px; - } - ._13_i { - font-family: @font-omnes-medium-italic; - font-size: 13px; - } - ._12_r { - font-family: @font-omnes-regular; - font-size: 12px; - } - ._12_m { - font-family: @font-omnes-medium; - font-size: 12px; - } - ._12_i { - font-family: @font-omnes-medium-italic; - font-size: 12px; - } - ._10_r { - font-family: @font-omnes-regular; - font-size: 10px; - } - ._10_m { - font-family: @font-omnes-medium; - font-size: 10px; - } -} - -.buildForColor(a); -.buildForColor(b); -.buildForColor(c); -.buildForColor(d); -.buildForColor(e); -.buildForColor(f); -.buildForColor(g); -.buildForColor(h); -.buildForColor(i); -.buildForColor(j); -.buildForColor(k); -.buildForColor(l); -.buildForColor(m); -.buildForColor(n); -.buildForColor(o); -.buildForColor(p); - -.buildForFuncColor(q); -.buildForFuncColor(r); -.buildForFuncColor(s); -.buildForFuncColor(x); - -.buildForTlvColor(t); -.buildForTlvColor(u); -.buildForTlvColor(v); - - -.buildForColor(@c){ - .@{c}_36 { color: ~"@{main_color_@{c}}"; .f-type > ._36;} - .@{c}_36_m { color: ~"@{main_color_@{c}}"; .f-type > ._36_m;} - .@{c}_26 { color: ~"@{main_color_@{c}}"; .f-type > ._26;} - .@{c}_26_m { color: ~"@{main_color_@{c}}"; .f-type > ._26_m;} - .@{c}_24 { color: ~"@{main_color_@{c}}"; .f-type > ._24;} - .@{c}_24_m { color: ~"@{main_color_@{c}}"; .f-type > ._24_m;} - .@{c}_24_r { color: ~"@{main_color_@{c}}"; .f-type > ._24_r;} - .@{c}_22 { color: ~"@{main_color_@{c}}"; .f-type > ._22;} - .@{c}_22_m { color: ~"@{main_color_@{c}}"; .f-type > ._22_m;} - .@{c}_20 { color: ~"@{main_color_@{c}}"; .f-type > ._20;} - .@{c}_20_m { color: ~"@{main_color_@{c}}"; .f-type > ._20_m;} - .@{c}_18 { color: ~"@{main_color_@{c}}"; .f-type > ._18;} - .@{c}_18_r { color: ~"@{main_color_@{c}}"; .f-type > ._18_r;} - .@{c}_18_m { color: ~"@{main_color_@{c}}"; .f-type > ._18_m;} - .@{c}_16_i { color: ~"@{main_color_@{c}}"; .f-type > ._16_i;} - .@{c}_16_r { color: ~"@{main_color_@{c}}"; .f-type > ._16_r;} - .@{c}_16_m { color: ~"@{main_color_@{c}}"; .f-type > ._16_m;} - .@{c}_14_r { color: ~"@{main_color_@{c}}"; .f-type > ._14_r;} - .@{c}_14_m { color: ~"@{main_color_@{c}}"; .f-type > ._14_m;} - .@{c}_14_i { color: ~"@{main_color_@{c}}"; .f-type > ._14_i;} - .@{c}_13_r { color: ~"@{main_color_@{c}}"; .f-type > ._13_r;} - .@{c}_13_m { color: ~"@{main_color_@{c}}"; .f-type > ._13_m;} - .@{c}_13_i { color: ~"@{main_color_@{c}}"; .f-type > ._13_i;} - .@{c}_12_r { color: ~"@{main_color_@{c}}"; .f-type > ._12_r;} - .@{c}_12_m { color: ~"@{main_color_@{c}}"; .f-type > ._12_m;} - .@{c}_12_i { color: ~"@{main_color_@{c}}"; .f-type > ._12_i;} - .@{c}_10_r { color: ~"@{main_color_@{c}}"; .f-type > ._10_r;} - .@{c}_10_m { color: ~"@{main_color_@{c}}"; .f-type > ._10_m;} - -} - -.buildForFuncColor(@c){ - .@{c}_36 { color: ~"@{func_color_@{c}}"; .f-type > ._36;} - .@{c}_36_m { color: ~"@{func_color_@{c}}"; .f-type > ._36_m;} - .@{c}_26 { color: ~"@{func_color_@{c}}"; .f-type > ._26;} - .@{c}_26_m { color: ~"@{func_color_@{c}}"; .f-type > ._26_m;} - .@{c}_24 { color: ~"@{func_color_@{c}}"; .f-type > ._24;} - .@{c}_24_m { color: ~"@{func_color_@{c}}"; .f-type > ._24_m;} - .@{c}_24_r { color: ~"@{func_color_@{c}}"; .f-type > ._24_r;} - .@{c}_22 { color: ~"@{func_color_@{c}}"; .f-type > ._22;} - .@{c}_22_m { color: ~"@{func_color_@{c}}"; .f-type > ._22_m;} - .@{c}_20 { color: ~"@{func_color_@{c}}"; .f-type > ._20;} - .@{c}_20_m { color: ~"@{func_color_@{c}}"; .f-type > ._20_m;} - .@{c}_18 { color: ~"@{func_color_@{c}}"; .f-type > ._18;} - .@{c}_18_r { color: ~"@{func_color_@{c}}"; .f-type > ._18_r;} - .@{c}_18_m { color: ~"@{func_color_@{c}}"; .f-type > ._18_m;} - .@{c}_16_r { color: ~"@{func_color_@{c}}"; .f-type > ._16_r;} - .@{c}_16_m { color: ~"@{func_color_@{c}}"; .f-type > ._16_m;} - .@{c}_14_r { color: ~"@{func_color_@{c}}"; .f-type > ._14_r;} - .@{c}_14_m { color: ~"@{func_color_@{c}}"; .f-type > ._14_m;} - .@{c}_14_i { color: ~"@{func_color_@{c}}"; .f-type > ._14_i;} - .@{c}_13_r { color: ~"@{func_color_@{c}}"; .f-type > ._13_r;} - .@{c}_13_m { color: ~"@{func_color_@{c}}"; .f-type > ._13_m;} - .@{c}_13_i { color: ~"@{func_color_@{c}}"; .f-type > ._13_i;} - .@{c}_12_r { color: ~"@{func_color_@{c}}"; .f-type > ._12_r;} - .@{c}_12_m { color: ~"@{func_color_@{c}}"; .f-type > ._12_m;} - .@{c}_12_i { color: ~"@{func_color_@{c}}"; .f-type > ._12_i;} -} - - -.buildForTlvColor(@c){ - .@{c}_36 { color: ~"@{tlv_color_@{c}}"; .f-type > ._36;} - .@{c}_36_m { color: ~"@{tlv_color_@{c}}"; .f-type > ._36_m;} - .@{c}_26 { color: ~"@{tlv_color_@{c}}"; .f-type > ._26;} - .@{c}_26_m { color: ~"@{tlv_color_@{c}}"; .f-type > ._26_m;} - .@{c}_24 { color: ~"@{tlv_color_@{c}}"; .f-type > ._24;} - .@{c}_24_m { color: ~"@{tlv_color_@{c}}"; .f-type > ._24_m;} - .@{c}_24_r { color: ~"@{tlv_color_@{c}}"; .f-type > ._24_r;} - .@{c}_22 { color: ~"@{tlv_color_@{c}}"; .f-type > ._22;} - .@{c}_22_m { color: ~"@{tlv_color_@{c}}"; .f-type > ._22_m;} - .@{c}_20 { color: ~"@{tlv_color_@{c}}"; .f-type > ._20;} - .@{c}_20_m { color: ~"@{tlv_color_@{c}}"; .f-type > ._20_m;} - .@{c}_18 { color: ~"@{tlv_color_@{c}}"; .f-type > ._18;} - .@{c}_18_r { color: ~"@{tlv_color_@{c}}"; .f-type > ._18_r;} - .@{c}_18_m { color: ~"@{tlv_color_@{c}}"; .f-type > ._18_m;} - .@{c}_16_r { color: ~"@{tlv_color_@{c}}"; .f-type > ._16_r;} - .@{c}_16_m { color: ~"@{tlv_color_@{c}}"; .f-type > ._16_m;} - .@{c}_14_r { color: ~"@{tlv_color_@{c}}"; .f-type > ._14_r;} - .@{c}_14_m { color: ~"@{tlv_color_@{c}}"; .f-type > ._14_m;} - .@{c}_14_i { color: ~"@{tlv_color_@{c}}"; .f-type > ._14_i;} - .@{c}_13_r { color: ~"@{tlv_color_@{c}}"; .f-type > ._13_r;} - .@{c}_13_m { color: ~"@{tlv_color_@{c}}"; .f-type > ._13_m;} - .@{c}_13_i { color: ~"@{tlv_color_@{c}}"; .f-type > ._13_i;} - .@{c}_12_r { color: ~"@{tlv_color_@{c}}"; .f-type > ._12_r;} - .@{c}_12_m { color: ~"@{tlv_color_@{c}}"; .f-type > ._12_m;} - .@{c}_12_i { color: ~"@{tlv_color_@{c}}"; .f-type > ._12_i;} -} - -.disabled { - opacity: 0.4 !important; - cursor: auto; - background-color: transparent; - pointer-events: none; -} - -.circle(@size) { - border-radius: 50%; - width: @size; - height: @size; -} - -.step-progress(@size, @color, @width) { - position: relative; - .circle { - .circle(@size); - display: inline-block; - background-color: @color; - } - .line { - border-bottom: solid 2px @color; - position: absolute; - top: @size/2-1; - width: @width; - } - .text { - position: absolute; - top: -5px; - margin-left: 10px; - .a_16_m; - } -} - -.step-progress-dashed(@size, @color, @width) { - position: relative; - .circle { - .circle(@size); - display: inline-block; - background-color: #ffffff; - border: dashed 1px @color; - } - .line { - border-bottom: dashed 1px @color; - position: absolute; - top: @size/2-1; - width: @width; - } - .text { - position: absolute; - top: -5px; - margin-left: 10px; - .a_16_m; - } -} - -.step-progress-solid(@size, @color, @width) { - position: relative; - .circle { - .circle(@size); - display: inline-block; - background-color: #ffffff; - border: solid 1px @color; - } - .line { - border-bottom: solid 1px @color; - position: absolute; - top: @size/2-1; - width: @width; - } - .text { - position: absolute; - top: -5px; - margin-left: 10px; - .a_16_m; - } -} diff --git a/d2ice.att.io/app/styles/modals.less b/d2ice.att.io/app/styles/modals.less deleted file mode 100755 index b6bf1205..00000000 --- a/d2ice.att.io/app/styles/modals.less +++ /dev/null @@ -1,102 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -/* Overrides bootstrap modal */ -.modal-content { - border: 6px solid #1370A3; - border-radius: 0; - padding: 30px 30px; - - .modal-header { - - border-bottom: none; - border-top: none; - padding: 0; - - h2, h3 { - .a_24_m; - margin-bottom: 10px; - } - - .close { - outline: none; - .sprite; - .sprite.close; - display: block; - opacity: 1; - position: absolute; - top: 10px; - right: 7px; - - span { - display: none; - } - } - } - - .modal-body { - padding: 0; - } - - .modal-footer { - border-top: none; - padding: 0; - - .btn { - width: 100%; - } - - .btn4Confirmation { - width: 20%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - - } - -} - - diff --git a/d2ice.att.io/app/styles/sprite.less b/d2ice.att.io/app/styles/sprite.less deleted file mode 100755 index ec729a15..00000000 --- a/d2ice.att.io/app/styles/sprite.less +++ /dev/null @@ -1,128 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.sprite { background: url('images/icons-sprite-v5.png') no-repeat top left; width: 20px; height: 20px; } -.profiles-sprite { background: url('images/profiles-sprite.png') no-repeat top left; width: 40px; height: 28px; } -.steps-sprite {background-image: url(images/steps-sprite.png); background-repeat: no-repeat; display: block;} -.actions-sprite { background: url('images/actions-sprite.png') no-repeat top left; width: 15px; height: 15px; } - -.actions-sprite.delete_large { background-position: 0 0; } -.actions-sprite.reject_large { background-position: -25px 0; } -.actions-sprite.approve_large { background-position: -50px 0; } - -.sprite.added { background-position: 0 0; } -.sprite.approve { background-position: -30px 0; } -.sprite.complete { background-position: -60px 0; } -.sprite.electricity { background-position: -90px 0; } -.sprite.invite { background-position: -120px 0; } -.sprite.upload { background-position: -150px 0; } -.sprite.add { background-position: -180px 0; width: 18px; height: 18px; } -.sprite.success { background-position: -208px 0; width: 15px; height: 15px; } -.sprite.delete { background-position: -233px 0; width: 15px; height: 15px; } -.sprite.edit-large { background-position: -258px 0; height: 18px; } -.sprite.edit-medium { background-position: -288px 0; width: 17px; height: 16px; } -.sprite.edit-small { background-position: -315px 0; width: 15px; height: 14px; } -.sprite.approved { background-position: -340px 0; width: 12px; height: 12px; } -.sprite.pendingnon-el { background-position: -362px 0; width: 12px; height: 12px; } -.sprite.pending { background-position: -384px 0; width: 12px; height: 12px; } -.sprite.todo { background-position: -406px 0; width: 12px; height: 12px; } -.sprite.amburger { background-position: -428px 0; width: 12px; height: 12px; } -.sprite.question-mark { background-position: -450px 0; width: 18px; height: 18px; } -.sprite.delete-circle { background-position: -478px 0; width: 15px; height: 15px; } -.sprite.close { background-position: -503px 0; width: 15px; height: 15px; } - -.sprite.automation-state { background-position: -529px 0; width:15px; height:15px;} -.sprite.review-state-active { background-position: -554px 0; width:15px; height:15px;} -.sprite.review-state { background-position: -579px 0; width:15px; height:15px;} -.sprite.peer_review-state-active { background-position: -604px 0; width:15px; height:15px;} -.sprite.peer_review-state { background-position: -629px 0; width:15px; height:15px;} -.sprite.approval-state-active { background-position: -654px 0; width:15px; height:15px;} -.sprite.approval-state { background-position: -679px 0; width:15px; height:15px;} -.sprite.handoff-state-active { background-position: -704px 0; width:15px; height:15px;} -.sprite.handoff-state { background-position: -729px 0; width:15px; height:15px;} -.sprite.closed-state-active { background-position: -754px 0; width:15px; height:15px;} -.sprite.closed-state { background-position: -779px 0; width:15px; height:15px;} -.sprite.active-cl { background-position: -804px 0; width:15px; height:15px;} -.sprite.delete-cl { background-position: -829px 0; width:15px; height:15px;} -.sprite.denied-cl { background-position: -854px 0; width:15px; height:15px;} -.sprite.approved-cl { background-position: -879px 0; width: 15px;height:15px;} -.sprite.denied-cl-btn-active { background-position: -904px 0; width: 25px; height: 25px; } -.sprite.denied-cl-btn { background-position: -939px 0; width: 25px; height: 25px; } -.sprite.approved-cl-btn-active { background-position: -974px 0; width: 25px; height: 25px; } -.sprite.approved-cl-btn { background-position: -1009px 0; width: 25px; height: 25px; } -.sprite.not-relevant-btn-active { background-position: -1044px 0; width: 25px; height: 25px; } -.sprite.not-relevant-btn { background-position: -1079px 0; width: 25px; height: 25px; } -.sprite.items-todo { background-position: -1114px 0; width: 8px; height: 8px; } -.sprite.duedate { background-position: -1132px 0; width: 12px; height: 12px; } -.sprite.small-edit { background-position: -1154px 0; height: 14px; } -.sprite.not-relevant-cl { background-position: -1179px 0; width:15px; height:15px; } -.sprite.pending-state { background-position: -1204px 0; width:15px; height:15px; } -.sprite.starred { background-position: -1230px 0; width:19px; height:19px; } -.sprite.starred-selected { background-position: -1260px 0; width:19px; height:19px; } -.sprite.small-grey-add { background-position: -1288px 0; width:17px; height:15px; } -.sprite.big-grey-add { background-position: -1313px 0; width:19px; height:18px; } -.sprite.red-delete { background-position: -1341px 0; width:17px; height:16px; } -.sprite.grey-check-mark { background-position: -1390px 0; width:17px; height:15px; } -.sprite.order { background-position: -1417px 0; width: 14px; height: 12px;} -.sprite.admin-dropdown { background-position: 0 -63px; width: 14px; height: 14px; } - - -.profiles-sprite.avatar-blue { background-position: 0 0; height: 40px; } -.profiles-sprite.notification { background-position: 0 -50px; width: 25px; } -.profiles-sprite.profile-large { background-position: 0 -88px; width: 150px; height: 140px; } -.profiles-sprite.profile-medium { background-position: 0 -238px; height: 40px; } -.profiles-sprite.profile-white { background-position: 0 -288px; width: 32px; } -.profiles-sprite.avatar-white { background-position: 0 -326px; width: 30px; height: 30px; } - -.steps-sprite.confirmed { width: 12px; height: 12px; background-position: -5px -5px;} -.steps-sprite.completed {width: 12px;height: 12px;background-position: -27px -5px;} -.steps-sprite.completed-non-el {width: 12px;height: 12px;background-position: -49px -5px;} -.steps-sprite.todo {width: 12px;height: 12px;background-position: -71px -5px;} - - -.logo-white { - background: url('images/d2sandbox_logos-150x30.png') no-repeat 0 0; - width: 150px; - height: 30px; -} - -.logo-color { - background: url('images/d2sandbox_logos_color-150x30.png') no-repeat 0 0; - width: 150px; - height: 30px; -} diff --git a/d2ice.att.io/app/styles/table-flex.less b/d2ice.att.io/app/styles/table-flex.less deleted file mode 100755 index d25c679b..00000000 --- a/d2ice.att.io/app/styles/table-flex.less +++ /dev/null @@ -1,77 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.table-container-flex { - clear: both; - - .table { - width: 100%; - - .head { - - .head-row { - text-align: center; - padding: 8px 15px; - .l_14_m; - - &:last-child { - border-right: none; - } - - } - } - .body { - - } - - } - - .flex-container { - display: flex; - } - - .flex-item { - width:10px; - line-height: 25px; - padding: 5px 15px; - flex-grow: 1; - text-align: left; - - } - -} diff --git a/d2ice.att.io/app/styles/variables.less b/d2ice.att.io/app/styles/variables.less deleted file mode 100755 index c8b6163b..00000000 --- a/d2ice.att.io/app/styles/variables.less +++ /dev/null @@ -1,122 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -// Fonts -@font-omnes-light: omnes-light, sans-serif; -@font-omnes-regular: omnes-regular, sans-serif; -@font-omnes-medium: omnes-medium, sans-serif; -@font-omnes-medium-italic: omnes-medium-italic, sans-serif; -@font-omnes-bold: omnes-bold, sans-serif; - -/*---------------------------------------------- General ----------------------------------------------*/ -@images: "images"; - - - -// Main Colors -@main_color_a: #1370a3; -@main_color_b: #1370a3; -@main_color_c: #1370a3; -@main_color_d: #4ca90c; -@main_color_e: #007a3e; -@main_color_f: #b5bd00; -@main_color_g: #ea7499; -@main_color_h: #ffb81c; -@main_color_i: #702f8a; -@main_color_j: #9063cd; -@main_color_k: #caa2dd; -@main_color_l: #000000; -@main_color_m: #5a5a5a; -@main_color_n: #959595; -@main_color_o: #d2d2d2; -@main_color_p: #ffffff; -@main_color_q: #abb8c0; -@main_color_r: #1370A3; -@main_color_s: #dddddd; -@main_color_gray: #9B9B9B; - -// Functional Colors -@func_color_q: #cf2a2a; -@func_color_r: #f2f2f2; -@func_color_s: #191919; -@func_color_b: #0568ae; -@func_color_e: #007a3e; -@func_color_h: #ffb81c; -@func_color_x: #D74854; - - -// Tlv Colors -@tlv_color_t: #faf8f8; -@tlv_color_u: #eaeaea; -@tlv_color_v: #e6f6fb; - -// BG color -@bg_color_a: #EEF9FF; -@bg_color_b: #f6f3f3; -@bg_color_navigation: #DEF3FF; - -// Welcome page colors: -@welcome_box_text_color: #5c5c5c; -@welcome_button_gradient1: #1E79B0; -@welcome_button_gradient2: #62ADD5; -@welcome_button_border: #8799A3; -@welcome_navbar_hr: #585858; -@welcome_footer_bg: #2e2e2e; -@welcome_footer_text: #cbcbcb; - -// Tooltip colors: -@tooltip_header_color: #444141; - -//Toolbar colors: -@toolbar_background_color: #4990E2; - -//Progress directive colors: -@gradient_left: #4990E2; -@gradient_right: #DCEEFC; - -//Target completion box colors: -@target_completion_color: #FAC05F; - -//Engagement status box colors: -@engagement_status_color: #98C678; - -//Engagement team box colors: -@engagement_team_color: @main_color_gray; - -/*---------------------------------------------- Parameters ----------------------------------------------*/ -@header_height: 90px; diff --git a/d2ice.att.io/app/welcome/index.html b/d2ice.att.io/app/welcome/index.html deleted file mode 100755 index 63a921b1..00000000 --- a/d2ice.att.io/app/welcome/index.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - AT&T | {{'program.name' | i18next}} - - - - diff --git a/d2ice.att.io/app/welcome/welcome.controller.js b/d2ice.att.io/app/welcome/welcome.controller.js deleted file mode 100755 index 8f5aa1a8..00000000 --- a/d2ice.att.io/app/welcome/welcome.controller.js +++ /dev/null @@ -1,58 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -/** - * Created by almog on 26/12/2016. - */ -(function() { - 'use strict'; - - angular - .module('ice.welcome') - .controller('WelcomeController', ["$state", "$location", "localStorageService", WelcomeController]); - - function WelcomeController($state, $location, localStorageService) { - var vm = this; - - var init = function() { - - } - - init(); - } -})(); diff --git a/d2ice.att.io/app/welcome/welcome.html b/d2ice.att.io/app/welcome/welcome.html deleted file mode 100755 index 14292a6a..00000000 --- a/d2ice.att.io/app/welcome/welcome.html +++ /dev/null @@ -1,114 +0,0 @@ - - - -
-
-
-

Welcome to {{'program.name' | i18next}}

-

{{'program.name' | i18next}} is a process allowing VFs to be incubated & validated against the {{'serviceProvider.name' | i18next}} Domain 2.0 architecture.

- Get Started -
-
-
- -
-
-
-
- -

Incubate

-

{{'program.name' | i18next}} encourages you to engage early to make sure the process is as iterative and collaborative as possible.

-
-
-
-
- -

Validate

-

{{'program.name' | i18next}} is focused to help validate your VF according the {{'serviceProvider.name' | i18next}} guidelines and requirements to allow for seamless onboarding.

-
-
-
-
- -

Collaborate

-

{{'program.name' | i18next}} allows and encourages you to collaborate with your VF team to validate your VF both internally and externally.

-
-
-
-
- - diff --git a/d2ice.att.io/app/welcome/welcome.less b/d2ice.att.io/app/welcome/welcome.less deleted file mode 100755 index 426e1dfd..00000000 --- a/d2ice.att.io/app/welcome/welcome.less +++ /dev/null @@ -1,208 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.welcome-boxes { - margin-top: 60px; -} - -.welcome-box { - h3 { - font-weight: bold; - } - - p { - font-size: 16px; - padding: 0 15px; - color: @welcome_box_text_color; - margin-bottom: 0; - } -} - -.get-started-button { - width:190px; - margin-top:20px; - text-align:center; - margin-left:auto; - margin-right:auto; - color:white !important; - height:48px; - font-size:18px !important; - font-weight: bold; - line-height:38px; - vertical-align: middle; - background: linear-gradient(@welcome_button_gradient1, @welcome_button_gradient2); - border: 1px solid @welcome_button_border; - border-radius: 6px; -} - -.welcome-body { - overflow: auto; -} - -.welcome-navbar { - background-color: black; - padding-left: 10%; - padding-right: 10%; - border-color: @welcome_navbar_hr; - border-left: black; - z-index: 1030; - left: 0; - right: 0; - position: absolute; - border-radius: 0; - top: 0; -} - -.welcome-nav-link { - color: @main_color_p !important; - font-weight: 600; - line-height: 20px; - margin-top: 7px; -} - -.welcome { - position: relative; - width: 100%; - //min-height: auto; - -webkit-background-size: cover; - -moz-background-size: cover; - background-size: cover; - -o-background-size: cover; - background: url('../styles/images/home_bg1-1920x1138.jpg') center; - text-align: center; - color: white; -} - -.welcome .header-content { - position: relative; - text-align: center; - padding: 100px 15px 100px; - width: 100%; -} -.welcome .header-content .header-content-inner h1 { - font-weight: 700; - margin-top: 0; - margin-bottom: 0; - font-size: 30px; - color: @main_color_p; -} - -.welcome .header-content .header-content-inner p { - font-weight: 300; - font-size: 16px; - margin-bottom: 50px; - color: @main_color_p; -} - -@media (min-width: 768px) { - .welcome { - min-height: 73%; - } - - .welcome .header-content { - position: absolute; - top: 50%; - -webkit-transform: translateY(-50%); - -ms-transform: translateY(-50%); - transform: translateY(-50%); - padding: 0 50px; - } - - .welcome .header-content .header-content-inner { - max-width: 100%; - margin-left: auto; - margin-right: auto; - } - - .welcome .header-content .header-content-inner h1 { - font-size: 50px; - } - - .welcome .header-content .header-content-inner p { - font-size: 18px; - max-width: 90%; - margin-left: auto; - margin-right: auto; - } -} - -.welcome-footer { - background: @welcome_footer_bg; - color: @welcome_footer_text; - padding: 60px 0 0; - margin-top: 60px; -} - -.welcome-footer-copyright { - color: @welcome_footer_text; - font-size: 17px; - line-height: 25px; - padding-bottom: 5px; - text-align: center; -} - -.welcome-logo { - margin-top: -8px; -} - -.navbar-collapse .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus { - background: none; -} - -.navbar-collapse .navbar-nav > li > a:hover:after, -.navbar-collapse .navbar-nav > li.active > a:after, -.navbar-collapse .navbar-nav > li.active > a:hover:after, -.navbar-collapse .navbar-nav > li.active > a:focus:after { - position:absolute; - bottom:9px; - left:50%; - content:''; - width:20px; - height:2px; - margin-left:-10px; - background-color:#fff; -} - - -.navbar-nav > li + li {margin-left:2px} -.navbar-collapse .navbar-nav > li.active > a, -.navbar-collapse .navbar-nav > li.active > a:hover, -.navbar-collapse .navbar-nav > li.active > a:focus { - color:#828282; - background-color:transparent; -} diff --git a/d2ice.att.io/app/welcome/welcome.module.js b/d2ice.att.io/app/welcome/welcome.module.js deleted file mode 100755 index a17e3680..00000000 --- a/d2ice.att.io/app/welcome/welcome.module.js +++ /dev/null @@ -1,63 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -/** - * Created by almog on 26/12/2016. - */ -(function () { - 'use strict'; - - angular - .module('ice.welcome', []) - .config(config); - - function config($stateProvider) { - $stateProvider - .state('app.welcome', { - url: '/', - views: { - 'main@': { - templateUrl: 'welcome/welcome.html', - controller: 'WelcomeController as vm' - } - }, - params: {}, - bodyClass: 'welcome-body' - }); - } -})(); -- cgit 1.2.3-korg