mno-enterprise-frontend 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +1 -0
- data/Rakefile +12 -0
- data/app/assets/images/favicon.ico +0 -0
- data/app/assets/images/mno_enterprise/impac/close-widget-pink.png +0 -0
- data/app/assets/images/mno_enterprise/impac/close-widget.png +0 -0
- data/app/assets/images/mno_enterprise/loader-32x32-bg-inverse.gif +0 -0
- data/app/assets/images/mno_enterprise/loader-32x32-bg-main.gif +0 -0
- data/app/assets/images/mno_enterprise/maestrano/logo-whitebg.png +0 -0
- data/app/assets/javascripts/mno_enterprise/angular/app.js.coffee.erb +173 -0
- data/app/assets/javascripts/mno_enterprise/angular/controllers/maestrano-controllers.js.coffee +4 -0
- data/app/assets/javascripts/mno_enterprise/angular/controllers/modals/modals-ctrl.js.coffee +62 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/dashboard-account.js.coffee +157 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/dashboard-app-deletion-request.js.coffee +62 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/dashboard-apps-list.js.coffee +127 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/dashboard-components.js.coffee +25 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/dashboard-marketplace-app.js.coffee +77 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/dashboard-marketplace.js.coffee +51 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/dashboard-menu.js.coffee +174 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/arrears.js.coffee +70 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/billing.js.coffee +48 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/credit-card.js.coffee +142 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/index.js.coffee +61 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/invoices.js.coffee +42 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/members.js.coffee +280 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/settings.js.coffee +91 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/team-list.js.coffee +179 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/teams.js.coffee +268 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/file-model.js.coffee +33 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/maestrano-components.js.coffee +22 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-autostop-app.js.coffee +123 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-compile.js.coffee +18 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-currency-widget.js.coffee +43 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-current-currency.js.coffee +22 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-editable.js.coffee +68 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-flash-msg.js.coffee +40 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-helptext.js.coffee +38 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-loading-lounge.js.coffee +184 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-match.js.coffee +14 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-message-modal.js.coffee +56 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-notification-widget.js.coffee +192 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-partner-code-popup.js.coffee +74 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-partner-contact.js.coffee +59 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-password-strength.js.coffee +154 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-password.js.coffee +40 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-price-converter.js.coffee +49 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-scroll-to.js.coffee +14 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-typeahead.js.coffee +89 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/user-setup/components.js.coffee +7 -0
- data/app/assets/javascripts/mno_enterprise/angular/directives/user-setup/index.js.coffee +256 -0
- data/app/assets/javascripts/mno_enterprise/angular/filters/maestrano-app-by-category.js.coffee +5 -0
- data/app/assets/javascripts/mno_enterprise/angular/filters/maestrano-currency.js.coffee +30 -0
- data/app/assets/javascripts/mno_enterprise/angular/filters/maestrano-filters.js.coffee +7 -0
- data/app/assets/javascripts/mno_enterprise/angular/filters/maestrano-replace-underscore-with-space.js.coffee +4 -0
- data/app/assets/javascripts/mno_enterprise/angular/filters/maestrano-titleize.js.coffee +7 -0
- data/app/assets/javascripts/mno_enterprise/angular/filters/maestrano-truncate.js.coffee +24 -0
- data/app/assets/javascripts/mno_enterprise/angular/services/dashboard/maestrano-app-instance.js.coffee +15 -0
- data/app/assets/javascripts/mno_enterprise/angular/services/dashboard/maestrano-apps-document.js.coffee +83 -0
- data/app/assets/javascripts/mno_enterprise/angular/services/dashboard/maestrano-user.js.coffee +27 -0
- data/app/assets/javascripts/mno_enterprise/angular/services/dashboard/organization-svc.js.coffee +318 -0
- data/app/assets/javascripts/mno_enterprise/angular/services/dashboard/team-svc.js.coffee +180 -0
- data/app/assets/javascripts/mno_enterprise/angular/services/dashboard/tickets-svc.js.coffee +109 -0
- data/app/assets/javascripts/mno_enterprise/angular/services/impac-config.svc.js.coffee +35 -0
- data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-apps-list-helper.js.coffee +337 -0
- data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-assets.js.coffee.erb +21 -0
- data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-current-currency.js.coffee +7 -0
- data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-current-user-svc.js.coffee +99 -0
- data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-exchange-rates.js.coffee +102 -0
- data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-message-svc.js.coffee +71 -0
- data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-miscellaneous.js.coffee.erb +46 -0
- data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-modal.js.coffee +67 -0
- data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-msg-bus.js.coffee +50 -0
- data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-services.js.coffee +21 -0
- data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-shopping-cart.js.coffee +361 -0
- data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-utilities.js.coffee +61 -0
- data/app/assets/javascripts/mno_enterprise/angular/services/marketplace-svc.js.coffee +59 -0
- data/app/assets/javascripts/mno_enterprise/application.js +17 -0
- data/app/assets/javascripts/mno_enterprise/application_lib.js +14 -0
- data/app/assets/javascripts/mno_enterprise/lib/angular-really-click.js +17 -0
- data/app/assets/javascripts/mno_enterprise/lib/sortable.js +315 -0
- data/app/assets/javascripts/mno_enterprise/lib/ui-bootstrap-tpls-0.13.4.js +5836 -0
- data/app/assets/javascripts/mno_enterprise/lib/xeditable.js +1588 -0
- data/app/assets/javascripts/mno_enterprise/twitter/bootstrap.js +12 -0
- data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/affix.js +162 -0
- data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/alert.js +94 -0
- data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/button.js +116 -0
- data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/carousel.js +237 -0
- data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/collapse.js +211 -0
- data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/dropdown.js +161 -0
- data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/modal.js +324 -0
- data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/popover.js +113 -0
- data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/scrollspy.js +175 -0
- data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/tab.js +153 -0
- data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/tooltip.js +472 -0
- data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/transition.js +59 -0
- data/app/assets/javascripts/ng-performance/ngPerformance.html +109 -0
- data/app/assets/javascripts/ng-performance/ngPerformance.js +211 -0
- data/app/assets/stylesheets/mno_enterprise/application.css +13 -0
- data/app/assets/stylesheets/mno_enterprise/custom/accordion.less +90 -0
- data/app/assets/stylesheets/mno_enterprise/custom/alert.less +30 -0
- data/app/assets/stylesheets/mno_enterprise/custom/angular-animate.less +42 -0
- data/app/assets/stylesheets/mno_enterprise/custom/angular-material.less +56 -0
- data/app/assets/stylesheets/mno_enterprise/custom/bootstrap-on-juice.less +22 -0
- data/app/assets/stylesheets/mno_enterprise/custom/button.less +84 -0
- data/app/assets/stylesheets/mno_enterprise/custom/footer.less +44 -0
- data/app/assets/stylesheets/mno_enterprise/custom/form.less +191 -0
- data/app/assets/stylesheets/mno_enterprise/custom/header.less +281 -0
- data/app/assets/stylesheets/mno_enterprise/custom/impac-variables-override.less +65 -0
- data/app/assets/stylesheets/mno_enterprise/custom/modal.less +183 -0
- data/app/assets/stylesheets/mno_enterprise/custom/utilities.less +729 -0
- data/app/assets/stylesheets/mno_enterprise/custom/utility/app-presentation.less +77 -0
- data/app/assets/stylesheets/mno_enterprise/custom/utility/banners.less +145 -0
- data/app/assets/stylesheets/mno_enterprise/custom/utility/carousel.less +68 -0
- data/app/assets/stylesheets/mno_enterprise/custom/utility/helptext.less +40 -0
- data/app/assets/stylesheets/mno_enterprise/custom/utility/miscellaneous.less +134 -0
- data/app/assets/stylesheets/mno_enterprise/custom/utility/progress-bar.less +55 -0
- data/app/assets/stylesheets/mno_enterprise/custom/utility/step.less +101 -0
- data/app/assets/stylesheets/mno_enterprise/custom/utility/tabset.less +87 -0
- data/app/assets/stylesheets/mno_enterprise/custom/utility/testimonial.less +118 -0
- data/app/assets/stylesheets/mno_enterprise/custom/utility/text.less +23 -0
- data/app/assets/stylesheets/mno_enterprise/custom/views/apps.less +243 -0
- data/app/assets/stylesheets/mno_enterprise/custom/views/myspace.less +477 -0
- data/app/assets/stylesheets/mno_enterprise/custom/views/pages/confirmation_lounge.less +31 -0
- data/app/assets/stylesheets/mno_enterprise/custom/views/pages/home.less +57 -0
- data/app/assets/stylesheets/mno_enterprise/custom/views/pages/oauth-config-page.less +6 -0
- data/app/assets/stylesheets/mno_enterprise/custom/views/registration.less +84 -0
- data/app/assets/stylesheets/mno_enterprise/custom/views/star.less +18 -0
- data/app/assets/stylesheets/mno_enterprise/custom/views/templates/dashboard/bootstrap-wizard.less +63 -0
- data/app/assets/stylesheets/mno_enterprise/custom/views/templates/dashboard/dashboard-marketplace.less +187 -0
- data/app/assets/stylesheets/mno_enterprise/custom/views/templates/dashboard/dashboard-organization.less +149 -0
- data/app/assets/stylesheets/mno_enterprise/custom/views/templates/dashboard/dashboard-teams.less +119 -0
- data/app/assets/stylesheets/mno_enterprise/custom/views/templates/dashboard/support.less +42 -0
- data/app/assets/stylesheets/mno_enterprise/custom/views/templates/dashboard/tickets.less +80 -0
- data/app/assets/stylesheets/mno_enterprise/custom/views/templates/mno-editable.less +60 -0
- data/app/assets/stylesheets/mno_enterprise/custom/views/templates/notification-widget.less +49 -0
- data/app/assets/stylesheets/mno_enterprise/custom/views/templates/password-strength.less +28 -0
- data/app/assets/stylesheets/mno_enterprise/custom/views/templates/shopping-cart.less +333 -0
- data/app/assets/stylesheets/mno_enterprise/custom/views/templates/star-wizard.less +49 -0
- data/app/assets/stylesheets/mno_enterprise/custom/views/user-setup.less +10 -0
- data/app/assets/stylesheets/mno_enterprise/custom/xeditable.less +40 -0
- data/app/assets/stylesheets/mno_enterprise/font-awesome/font-awesome-regular.less +13 -0
- data/app/assets/stylesheets/mno_enterprise/font-awesome/font-awesome-sprockets.less +13 -0
- data/app/assets/stylesheets/mno_enterprise/font-awesome/font-awesome.less +16 -0
- data/app/assets/stylesheets/mno_enterprise/font-awesome/fonts/FontAwesome.otf +0 -0
- data/app/assets/stylesheets/mno_enterprise/font-awesome/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/stylesheets/mno_enterprise/font-awesome/fonts/fontawesome-webfont.svg +640 -0
- data/app/assets/stylesheets/mno_enterprise/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/stylesheets/mno_enterprise/font-awesome/fonts/fontawesome-webfont.woff +0 -0
- data/app/assets/stylesheets/mno_enterprise/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
- data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/animated.less +34 -0
- data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/bordered-pulled.less +25 -0
- data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/core.less +12 -0
- data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/extras.less +2 -0
- data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/fixed-width.less +6 -0
- data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/icons.less +677 -0
- data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/larger.less +13 -0
- data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/list.less +19 -0
- data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/mixins.less +26 -0
- data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/rotated-flipped.less +20 -0
- data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/stacked.less +20 -0
- data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/variables.less +687 -0
- data/app/assets/stylesheets/mno_enterprise/main.less +132 -0
- data/app/assets/stylesheets/mno_enterprise/mixins.less +75 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/alerts.less +73 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/badges.less +65 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/bootstrap.less +50 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/breadcrumbs.less +26 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/button-groups.less +243 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/buttons.less +160 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/carousel.less +269 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/close.less +34 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/code.less +69 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/component-animations.less +34 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/dropdowns.less +214 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/forms.less +566 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/glyphicons.less +301 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/grid.less +84 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/input-groups.less +166 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/jumbotron.less +50 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/labels.less +64 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/list-group.less +124 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/media.less +61 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins.less +39 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/alerts.less +14 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/background-variant.less +8 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/border-radius.less +18 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/buttons.less +52 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/center-block.less +7 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/clearfix.less +22 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/forms.less +85 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/gradients.less +59 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/grid-framework.less +91 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/grid.less +122 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/hide-text.less +21 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/image.less +33 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/labels.less +12 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/list-group.less +29 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/nav-divider.less +10 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/nav-vertical-align.less +9 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/opacity.less +8 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/pagination.less +23 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/panels.less +24 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/progress-bar.less +10 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/reset-filter.less +8 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/resize.less +6 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/responsive-visibility.less +15 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/size.less +10 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/tab-focus.less +9 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/table-row.less +28 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/text-emphasis.less +8 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/text-overflow.less +8 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/vendor-prefixes.less +227 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/modals.less +148 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/navbar.less +661 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/navs.less +244 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/normalize.less +427 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/pager.less +54 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/pagination.less +88 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/panels.less +265 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/popovers.less +135 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/print.less +107 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/progress-bars.less +87 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/responsive-embed.less +35 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/responsive-utilities.less +194 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/scaffolding.less +150 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/tables.less +234 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/theme.less +273 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/thumbnails.less +36 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/tooltip.less +103 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/type.less +302 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/utilities.less +56 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/variables.less +857 -0
- data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/wells.less +29 -0
- data/app/assets/stylesheets/mno_enterprise/variables.less +226 -0
- data/app/assets/templates/mno_enterprise/dashboard/account.html +131 -0
- data/app/assets/templates/mno_enterprise/dashboard/app_deletion.html +36 -0
- data/app/assets/templates/mno_enterprise/dashboard/apps_list.html +103 -0
- data/app/assets/templates/mno_enterprise/dashboard/horizontal_menu.html +85 -0
- data/app/assets/templates/mno_enterprise/dashboard/marketplace/index.html +60 -0
- data/app/assets/templates/mno_enterprise/dashboard/marketplace/show.html +133 -0
- data/app/assets/templates/mno_enterprise/dashboard/menu.html +161 -0
- data/app/assets/templates/mno_enterprise/dashboard/organization/arrears.html +37 -0
- data/app/assets/templates/mno_enterprise/dashboard/organization/billing.html +37 -0
- data/app/assets/templates/mno_enterprise/dashboard/organization/credit-card.html +156 -0
- data/app/assets/templates/mno_enterprise/dashboard/organization/index.full.html +181 -0
- data/app/assets/templates/mno_enterprise/dashboard/organization/index.html +173 -0
- data/app/assets/templates/mno_enterprise/dashboard/organization/invoices.html +27 -0
- data/app/assets/templates/mno_enterprise/dashboard/organization/members.html +288 -0
- data/app/assets/templates/mno_enterprise/dashboard/organization/settings.html +55 -0
- data/app/assets/templates/mno_enterprise/dashboard/teams/index.html +175 -0
- data/app/assets/templates/mno_enterprise/dashboard/teams/member-add-modal.html +60 -0
- data/app/assets/templates/mno_enterprise/dashboard/teams/member-removal-modal.html +35 -0
- data/app/assets/templates/mno_enterprise/dashboard/teams/team-add-modal.html +35 -0
- data/app/assets/templates/mno_enterprise/dashboard/teams/team-delete-modal.html +35 -0
- data/app/assets/templates/mno_enterprise/dashboard/teams/team-list.html +107 -0
- data/app/assets/templates/mno_enterprise/default_template.html +20 -0
- data/app/assets/templates/mno_enterprise/maestrano-components/autostop_app.html +42 -0
- data/app/assets/templates/mno_enterprise/maestrano-components/currency_widget.html +1 -0
- data/app/assets/templates/mno_enterprise/maestrano-components/editable.html +28 -0
- data/app/assets/templates/mno_enterprise/maestrano-components/loading_lounge.html +63 -0
- data/app/assets/templates/mno_enterprise/maestrano-components/modal-messages/congratulations.html +8 -0
- data/app/assets/templates/mno_enterprise/maestrano-components/modal-messages/default.html +1 -0
- data/app/assets/templates/mno_enterprise/maestrano-components/modal-messages/information.html +8 -0
- data/app/assets/templates/mno_enterprise/maestrano-components/notification-widget.html +31 -0
- data/app/assets/templates/mno_enterprise/maestrano-components/password.html +55 -0
- data/app/assets/templates/mno_enterprise/maestrano-components/star_wizard.html +254 -0
- data/app/assets/templates/mno_enterprise/maestrano-components/upload_spreadsheet.html +191 -0
- data/app/assets/templates/mno_enterprise/modals/new-organization-reseller-req.html +35 -0
- data/app/assets/templates/mno_enterprise/modals/new-organization.html +35 -0
- data/app/assets/templates/mno_enterprise/user-setup/index.html +312 -0
- data/app/controllers/mno_enterprise/invoices_controller.rb +22 -0
- data/app/controllers/mno_enterprise/pages_controller.rb +9 -0
- data/app/controllers/mno_enterprise/user_setup_controller.rb +11 -0
- data/app/views/layouts/mno_enterprise/_application_js.html.haml +17 -0
- data/app/views/layouts/mno_enterprise/_common_cdn_lib_js.html.haml +19 -0
- data/app/views/layouts/mno_enterprise/_footer_files.html.haml +5 -0
- data/app/views/layouts/mno_enterprise/_header_files.html.haml +31 -0
- data/app/views/layouts/mno_enterprise/_impersonate_header.html.haml +7 -0
- data/app/views/layouts/mno_enterprise/_public_page_header.html.haml +2 -0
- data/app/views/layouts/mno_enterprise/application.html.haml +18 -0
- data/app/views/layouts/mno_enterprise/application_dashboard.html.haml +22 -0
- data/app/views/layouts/mno_enterprise/third_party/_google_tag_container.html.haml +10 -0
- data/app/views/mno_enterprise/pages/app_access_unauthorized.html.haml +19 -0
- data/app/views/mno_enterprise/pages/app_logout.html.haml +18 -0
- data/app/views/mno_enterprise/pages/billing_details_required.html.haml +19 -0
- data/app/views/mno_enterprise/pages/loading.html.haml +3 -0
- data/app/views/mno_enterprise/pages/myspace.html.haml +6 -0
- data/app/views/mno_enterprise/provision/_provision_apps.html.haml +43 -0
- data/app/views/mno_enterprise/provision/_select_organization.html.haml +17 -0
- data/app/views/mno_enterprise/provision/new.html.haml +4 -0
- data/app/views/mno_enterprise/user_setup/index.html.haml +2 -0
- data/config/initializers/ng-annotate.rb +3 -0
- data/config/initializers/ng-performance.rb +3 -0
- data/config/routes.rb +19 -0
- data/lib/assets/javascripts/impac-angular.js +8719 -0
- data/lib/assets/stylesheets/impac-angular.less +2352 -0
- data/lib/mno-enterprise-frontend.rb +1 -0
- data/lib/mno_enterprise/frontend.rb +13 -0
- data/lib/mno_enterprise/frontend/assets_util.rb +47 -0
- data/lib/mno_enterprise/frontend/concerns/README.md +6 -0
- data/lib/mno_enterprise/frontend/concerns/controllers/pages_controller.rb +25 -0
- data/lib/mno_enterprise/frontend/engine.rb +13 -0
- data/spec/controllers/mno_enterprise/auth/confirmations_controller_spec.rb +84 -0
- data/spec/controllers/mno_enterprise/invoices_controller_spec.rb +34 -0
- data/spec/controllers/mno_enterprise/pages_controller_spec.rb +42 -0
- data/spec/controllers/mno_enterprise/user_setup_controller_spec.rb +33 -0
- data/spec/controllers/mno_enterprise/webhook/o_auth_controller_spec.rb +76 -0
- data/spec/rails_helper.rb +92 -0
- data/spec/routing/mno_enterprise/invoices_controller_routing_spec.rb +11 -0
- data/spec/routing/mno_enterprise/pages_controller_routing_spec.rb +18 -0
- data/spec/routing/mno_enterprise/user_setup_controller_routing_spec.rb +11 -0
- data/spec/spec_helper.rb +78 -0
- metadata +464 -0
@@ -0,0 +1,27 @@
|
|
1
|
+
<div class="table-cell">
|
2
|
+
<div class="row th-row hidden-xs">
|
3
|
+
<div class="cell col-sm-3">Period</div>
|
4
|
+
<div class="cell col-sm-3">Amount</div>
|
5
|
+
<div class="cell col-sm-3">Paid</div>
|
6
|
+
<div class="cell col-sm-3 text-center">Download</div>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
<div class="row td-row" ng-repeat="invoice in invoices">
|
10
|
+
<div class="cell col-sm-3">
|
11
|
+
<span class="cell-label visible-xs-inline">Period: <br/></span>
|
12
|
+
{{ invoice.period }}
|
13
|
+
</div>
|
14
|
+
|
15
|
+
<div class="cell col-sm-3">
|
16
|
+
<span class="cell-label visible-xs-inline">Amount: </span>{{ invoice.amount.value | currency: invoice.amount.options.symbol }} ({{ invoice.amount.options.iso_code }})</div>
|
17
|
+
|
18
|
+
<div class="cell col-sm-3"><span class="cell-label visible-xs-inline">Paid: </span>{{ {true: 'Yes', false:'No'}[invoice.paid] }}</div>
|
19
|
+
|
20
|
+
<div class="cell col-sm-3 text-center">
|
21
|
+
<a ng-href="{{invoice.link}}" target="_blank" class="btn btn-sm">
|
22
|
+
<i class="fa fa-cloud-download"></i>
|
23
|
+
<span class="cell-label visible-xs-inline"><br/>Download</span>
|
24
|
+
</a>
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
</div>
|
@@ -0,0 +1,288 @@
|
|
1
|
+
<!--
|
2
|
+
List of Members
|
3
|
+
-->
|
4
|
+
<div class="row" ng-show="isInviteShown()">
|
5
|
+
<button class="btn btn-sm btn-warning" ng-click="inviteMembers()">
|
6
|
+
<i class="fa fa-plus"></i>
|
7
|
+
<i class="fa fa-user"></i>
|
8
|
+
Invite Users
|
9
|
+
</button>
|
10
|
+
</div>
|
11
|
+
<div class="clearfix"></div>
|
12
|
+
<div class="spacer1"></div>
|
13
|
+
|
14
|
+
<div class="table-cell">
|
15
|
+
<div class="row th-row hidden-xs">
|
16
|
+
<div class="cell col-sm-2">Name</div>
|
17
|
+
<div class="cell col-sm-2">Surname</div>
|
18
|
+
<div class="cell col-sm-4">Email</div>
|
19
|
+
<div class="cell col-sm-2">Role</div>
|
20
|
+
</div>
|
21
|
+
|
22
|
+
<div class="row td-row" ng-repeat="member in members">
|
23
|
+
<div class="cell col-sm-2">
|
24
|
+
<span class="cell-label visible-xs-inline">Name:</span>
|
25
|
+
{{ member.name }}
|
26
|
+
</div>
|
27
|
+
|
28
|
+
<div class="cell col-sm-2">
|
29
|
+
<span class="cell-label visible-xs-inline">Surname: </span>
|
30
|
+
{{ member.surname }}
|
31
|
+
</div>
|
32
|
+
|
33
|
+
<div class="cell col-sm-4">
|
34
|
+
<span class="cell-label visible-xs-inline">Email: <br/></span>
|
35
|
+
{{ member.email }}
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<div class="cell col-sm-2">
|
39
|
+
<span class="cell-label visible-xs-inline">Role:</span>
|
40
|
+
{{ memberRoleLabel(member) }}
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div class="cell col-sm-2">
|
44
|
+
<a ng-click="editMember(member)" class="btn btn-sm edit-member-button-star-ref" ng-show="isEditShown(member)">
|
45
|
+
<i class="fa fa-pencil-square-o"></i>
|
46
|
+
<span class="cell-label visible-xs-inline"><br/>Edit</span>
|
47
|
+
</a>
|
48
|
+
<a ng-click="removeMember(member)" class="btn btn-sm btn-link remove-member-button-star-ref" ng-show="isRemoveShown(member)">
|
49
|
+
<i class="fa fa-remove"></i>
|
50
|
+
<span class="cell-label visible-xs-inline"><br/>Remove</span>
|
51
|
+
</a>
|
52
|
+
</div>
|
53
|
+
</div>
|
54
|
+
</div>
|
55
|
+
|
56
|
+
|
57
|
+
<!--
|
58
|
+
Member Invite modal
|
59
|
+
-->
|
60
|
+
<script type="text/ng-template" id="dashboard/organization/members/invite-modal.html">
|
61
|
+
<!-- Modal Header -->
|
62
|
+
<div class="modal-header">
|
63
|
+
<div class="close" type="button" ng-click="inviteModal.close()" >×</div>
|
64
|
+
<h3 ng-bind-html="inviteModal.title()"></h3>
|
65
|
+
</div>
|
66
|
+
|
67
|
+
<!-- Modal Body -->
|
68
|
+
<div class="modal-body" ng-switch on="inviteModal.step">
|
69
|
+
|
70
|
+
<!-- Enter Emails step -->
|
71
|
+
<div ng-switch-when="enterEmails" class="text-center">
|
72
|
+
|
73
|
+
<div class="alert alert-error" ng-show="inviteModal.invalidEmails.length > 0">
|
74
|
+
<ng-pluralize count="inviteModal.invalidEmails.length"
|
75
|
+
when="{'one': 'The following email address is invalid: ',
|
76
|
+
'other': 'The following email addresses are invalid: '}">
|
77
|
+
</ng-pluralize> '{{inviteModal.invalidEmails.join("', '")}}'
|
78
|
+
</div>
|
79
|
+
|
80
|
+
<div class="row">
|
81
|
+
<div class="col-sm-12">
|
82
|
+
<p>Enter the email addresses of the people you want to invite in your company</p>
|
83
|
+
<p>
|
84
|
+
One address per line, e.g.:<br>
|
85
|
+
user1@company.com<br>
|
86
|
+
user2@company.com
|
87
|
+
</p>
|
88
|
+
|
89
|
+
</div>
|
90
|
+
</div>
|
91
|
+
|
92
|
+
<div class="row">
|
93
|
+
<div class="col-sm-6 col-sm-offset-3">
|
94
|
+
<textarea class="form-control" rows="3" style="color:black;background-color:white;" ng-model="inviteModal.userEmails" required></textarea>
|
95
|
+
</div>
|
96
|
+
</div>
|
97
|
+
|
98
|
+
<div class="spacer1"></div>
|
99
|
+
|
100
|
+
<div class="row">
|
101
|
+
<div class="col-sm-12">
|
102
|
+
<p>Please note that for security reasons unaccepted invites will automatically expire after 3 days.</p>
|
103
|
+
</div>
|
104
|
+
</div>
|
105
|
+
|
106
|
+
</div>
|
107
|
+
|
108
|
+
<!-- Define Roles step -->
|
109
|
+
<div ng-switch-when="defineRoles">
|
110
|
+
<div class="row">
|
111
|
+
<div class="col-sm-10 col-sm-offset-1">
|
112
|
+
|
113
|
+
<div class="table-cell inverse">
|
114
|
+
<div class="row th-row hidden-xs">
|
115
|
+
<div class="cell col-sm-4">Email</div>
|
116
|
+
<div class="cell col-sm-3">Role</div>
|
117
|
+
<div class="cell col-sm-3" ng-show="inviteModal.isTeamListShown()">Team</div>
|
118
|
+
</div>
|
119
|
+
|
120
|
+
<div class="row td-row" ng-repeat="member in inviteModal.members">
|
121
|
+
<div class="cell col-sm-4">
|
122
|
+
<span class="cell-label visible-xs-inline">Email: <br/></span>
|
123
|
+
{{ member.email }}
|
124
|
+
</div>
|
125
|
+
|
126
|
+
<div class="cell col-sm-3">
|
127
|
+
<span class="cell-label visible-xs-inline">Role:</span>
|
128
|
+
<select ng-model="member.role" ng-options="role for role in inviteModal.roleList" class="form-control"></select>
|
129
|
+
</div>
|
130
|
+
<div class="cell col-sm-3" ng-show="inviteModal.isTeamListShown()">
|
131
|
+
<span class="cell-label visible-xs-inline">Team:</span>
|
132
|
+
<select ng-model="member.team_id" ng-options="team.id as team.name for team in inviteModal.teamList" class="form-control">
|
133
|
+
<option value='' selected>-- Select Team --</option>
|
134
|
+
</select>
|
135
|
+
</div>
|
136
|
+
</div>
|
137
|
+
</div>
|
138
|
+
|
139
|
+
</div>
|
140
|
+
</div>
|
141
|
+
|
142
|
+
</div>
|
143
|
+
|
144
|
+
<!-- End: modal-body -->
|
145
|
+
</div>
|
146
|
+
|
147
|
+
<!-- Modal Footer -->
|
148
|
+
<div class="modal-footer">
|
149
|
+
<div class="row">
|
150
|
+
<div class="col-md-12">
|
151
|
+
<button class="btn btn-shaded" ng-click="inviteModal.close()">
|
152
|
+
Cancel
|
153
|
+
</button>
|
154
|
+
<button class="btn btn-warning" ng-disabled="!inviteModal.isNextEnabled()" ng-click="inviteModal.next()">
|
155
|
+
<i ng-show="inviteModal.isLoading" class="fa fa-spinner fa-pulse fa-fw"></i>
|
156
|
+
{{inviteModal.labelForAction()}}
|
157
|
+
</button>
|
158
|
+
</div>
|
159
|
+
</div>
|
160
|
+
</div>
|
161
|
+
</script>
|
162
|
+
|
163
|
+
<!--
|
164
|
+
Member edition modal
|
165
|
+
-->
|
166
|
+
<div>
|
167
|
+
<script type="text/ng-template" id="dashboard/organization/members/edition-modal.html">
|
168
|
+
<!--Modal Header -->
|
169
|
+
<div class="modal-header">
|
170
|
+
<div class="close" type="button" ng-click="editionModal.close()" >×</div>
|
171
|
+
<h4 ng-bind-html="editionModal.title()"></h4>
|
172
|
+
</div>
|
173
|
+
|
174
|
+
<!--Modal Body -->
|
175
|
+
<div class="modal-body">
|
176
|
+
<div class="alert alert-error" ng-show="editionModal.errors">
|
177
|
+
<button class="close" ng-click="editionModal.errors=''">×</button>
|
178
|
+
<ul>
|
179
|
+
<li ng-repeat="error in editionModal.errors">{{error}}</li>
|
180
|
+
</ul>
|
181
|
+
</div>
|
182
|
+
|
183
|
+
<div class="row role-management">
|
184
|
+
|
185
|
+
<div class="col-sm-12">
|
186
|
+
|
187
|
+
<div ng-switch on="editionModal.selectedRole">
|
188
|
+
<div ng-switch-when="Member">
|
189
|
+
<i class="fa fa-cloud fa-4x"></i>
|
190
|
+
<br/><br/>
|
191
|
+
<p>A member can see other members and access the company apps</p>
|
192
|
+
</div>
|
193
|
+
<div ng-switch-when="Power User">
|
194
|
+
<i class="fa fa-cloud fa-4x"></i>
|
195
|
+
<i class="fa fa-power-off fa-4x"></i>
|
196
|
+
<br/><br/>
|
197
|
+
<p>A Power User can see other members and start idle company apps (on per hour plan)</p>
|
198
|
+
</div>
|
199
|
+
<div ng-switch-when="Admin">
|
200
|
+
<i class="fa fa-cloud fa-4x"></i>
|
201
|
+
<i class="fa fa-power-off fa-4x"></i>
|
202
|
+
<i class="fa fa-users fa-4x"></i>
|
203
|
+
<br/><br/>
|
204
|
+
<p>An Admin can manage other members (except Super Admin users) and manage the company apps</p>
|
205
|
+
</div>
|
206
|
+
<div ng-switch-when="Super Admin">
|
207
|
+
<i class="fa fa-cloud fa-4x"></i>
|
208
|
+
<i class="fa fa-power-off fa-4x"></i>
|
209
|
+
<i class="fa fa-users fa-4x"></i>
|
210
|
+
<i class="fa fa-cc-mastercard fa-4x"></i>
|
211
|
+
<br/><br/>
|
212
|
+
<p>A Super Admin has all power within the company including access to billing management</p>
|
213
|
+
</div>
|
214
|
+
</div>
|
215
|
+
|
216
|
+
<div class="spacer1"></div>
|
217
|
+
|
218
|
+
<div class="btn-group">
|
219
|
+
<button type="button" class="btn btn-default" ng-click="editionModal.select(role)" ng-class="editionModal.classForRole(role)" ng-repeat="role in editionModal.config.roles">
|
220
|
+
{{role}}
|
221
|
+
</button>
|
222
|
+
</div>
|
223
|
+
|
224
|
+
<!-- End: col -->
|
225
|
+
</div>
|
226
|
+
|
227
|
+
<!-- End: Row -->
|
228
|
+
</div>
|
229
|
+
|
230
|
+
|
231
|
+
<!-- End: Modal Body -->
|
232
|
+
</div>
|
233
|
+
|
234
|
+
<!--Modal Footer -->
|
235
|
+
<div class="modal-footer">
|
236
|
+
<div class="row">
|
237
|
+
<div class="col-sm-12">
|
238
|
+
<button class="btn btn-lg btn-shaded" ng-click="editionModal.close()" ng-show="!editionModal.isLoading">Cancel</button>
|
239
|
+
<button class="btn btn-lg btn-warning" ng-click="editionModal.change()" ng-show="!editionModal.isLoading" ng-disabled="editionModal.isChangeDisabled()">Change</button>
|
240
|
+
<img ng-src="{{assetPath['mno_enterprise/loader-32x32-bg-main.gif']}}" ng-show="editionModal.isLoading" alt="Loading">
|
241
|
+
</div>
|
242
|
+
|
243
|
+
</div>
|
244
|
+
|
245
|
+
</div>
|
246
|
+
</script>
|
247
|
+
</div>
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
<!--
|
252
|
+
Member Removal Modal
|
253
|
+
-->
|
254
|
+
<script type="text/ng-template" id="dashboard/organization/members/removal-modal.html">
|
255
|
+
<div class="modal-header">
|
256
|
+
<div class="close" type="button" ng-click="deletionModal.close()" >×</div>
|
257
|
+
<h3>Confirm action</h3>
|
258
|
+
</div>
|
259
|
+
|
260
|
+
<div class="modal-body">
|
261
|
+
<div class="row">
|
262
|
+
<div class="col-sm-12">
|
263
|
+
<div class="alert alert-error" ng-show="deletionModal.errors">
|
264
|
+
<button class="close" ng-click="deletionModal.errors=''">×</button>
|
265
|
+
<ul>
|
266
|
+
<li ng-repeat="error in deletionModal.errors">{{error}}</li>
|
267
|
+
</ul>
|
268
|
+
</div>
|
269
|
+
</div>
|
270
|
+
</div>
|
271
|
+
|
272
|
+
<div class="row">
|
273
|
+
<div class="col-sm-12">
|
274
|
+
<p class="align-center" ng-bind-html="deletionModal.confirmationText()"></p>
|
275
|
+
</div>
|
276
|
+
</div>
|
277
|
+
</div>
|
278
|
+
|
279
|
+
<div class="modal-footer">
|
280
|
+
<div class="row">
|
281
|
+
<div class="col-sm-12">
|
282
|
+
<button class="btn btn-lg btn-info" ng-click="deletionModal.close()" ng-show="!deletionModal.isLoading">Cancel</button>
|
283
|
+
<button class="btn btn-lg btn-danger" ng-click="deletionModal.remove()" ng-show="!deletionModal.isLoading">Remove</button>
|
284
|
+
<img ng-src="{{assetPath['mno_enterprise/loader-32x32-bg-main.gif']}}" ng-show="deletionModal.isLoading" alt="Loading">
|
285
|
+
</div>
|
286
|
+
</div>
|
287
|
+
</div>
|
288
|
+
</script>
|
@@ -0,0 +1,55 @@
|
|
1
|
+
<!--
|
2
|
+
Error messages
|
3
|
+
-->
|
4
|
+
<div class="row">
|
5
|
+
<div class="alert alert-error" ng-show="errors">
|
6
|
+
<button class="close" ng-click="errors=''">×</button>
|
7
|
+
<ul>
|
8
|
+
<li ng-repeat="error in errors">{{error}}</li>
|
9
|
+
</ul>
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
|
14
|
+
<div class="row">
|
15
|
+
<form name="forms.settings" role="form" novalidate class="form-horizontal">
|
16
|
+
<div class="form-group">
|
17
|
+
<label class="col-sm-3 control-label">Company name</label>
|
18
|
+
<div class="col-sm-6">
|
19
|
+
<input type="text" class="form-control" ng-model="model.name" required/>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
|
23
|
+
<div class="form-group">
|
24
|
+
<label class="col-sm-3 control-label">Connec!™ Data Sharing</label>
|
25
|
+
<div class="col-sm-6">
|
26
|
+
<div class="btn-group btn-group-lg">
|
27
|
+
<a class="btn btn-default" ng-click="connecBtnClickOn('enable')" ng-class="connecBtnClassFor('enable')">
|
28
|
+
On
|
29
|
+
</a>
|
30
|
+
<a class="btn btn-default" ng-click="connecBtnClickOn('disable')" ng-class="connecBtnClassFor('disable')">
|
31
|
+
Off
|
32
|
+
</a>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
</form>
|
37
|
+
</div>
|
38
|
+
|
39
|
+
<!--
|
40
|
+
Action buttons
|
41
|
+
-->
|
42
|
+
<div class="row text-right" ng-show="isLoading">
|
43
|
+
<img ng-src="{{assetPath['mno_enterprise/loader-32x32-bg-inverse.gif']}}" alt="Loading"/>
|
44
|
+
</div>
|
45
|
+
<div class="row text-right" ng-show="!isLoading">
|
46
|
+
<div class="col-md-4 col-md-offset-8">
|
47
|
+
<button ng-click="cancel()" class="btn" ng-show="isCancelShown()">
|
48
|
+
Cancel
|
49
|
+
</button>
|
50
|
+
|
51
|
+
<button ng-click="save()" href="" class="btn btn-warning" ng-disabled="!isSaveEnabled()">
|
52
|
+
Save
|
53
|
+
</button>
|
54
|
+
</div>
|
55
|
+
</div>
|
@@ -0,0 +1,175 @@
|
|
1
|
+
<div class="row dashboard-teams">
|
2
|
+
<!-- Loader -->
|
3
|
+
<div class="col-md-12 text-center" ng-show="isLoading">
|
4
|
+
<img ng-src="{{assetPath['mno_enterprise/loader-32x32-bg-main.gif']}}" alt="Loading"/>
|
5
|
+
</div>
|
6
|
+
|
7
|
+
<!-- No teams view -->
|
8
|
+
<div ng-show="!isLoading && !hasTeams()">
|
9
|
+
<div class="row text-bg-inverse">
|
10
|
+
<div class="col-sm-12 text-center">
|
11
|
+
<p>
|
12
|
+
You do not have any teams! Teams are a great way of controlling who has access to applications within your company.
|
13
|
+
</p>
|
14
|
+
|
15
|
+
<div class="spacer1"></div>
|
16
|
+
|
17
|
+
<button type="button" class="btn btn-lg btn-grey btn-grey-bordered" ng-click="matrix.addTeam()">
|
18
|
+
<i class="fa fa-plus" style="margin-bottom:-2px;"></i>
|
19
|
+
|
20
|
+
Add a Team Now!
|
21
|
+
</button>
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
|
26
|
+
|
27
|
+
<!-- Regular view -->
|
28
|
+
<div ng-show="!isLoading && hasTeams()">
|
29
|
+
<div class="row">
|
30
|
+
<div class="col-sm-12">
|
31
|
+
<span class="text-left text-muted">
|
32
|
+
<small><em>
|
33
|
+
Admins and Super Admins always have access to all apps. Members unallocated to any team will have access to all apps by default.
|
34
|
+
</em></small>
|
35
|
+
</span>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
|
39
|
+
|
40
|
+
<!-------------------------------------->
|
41
|
+
<!-- Permissions matrix -->
|
42
|
+
<!-------------------------------------->
|
43
|
+
<div class="permission-matrix-wrapper hidden-xs scrollbar-lightgrey">
|
44
|
+
<div class="row" ng-show="matrix.errors">
|
45
|
+
<div class="alert alert-error">
|
46
|
+
<button class="close" ng-click="matrix.errors=''">×</button>
|
47
|
+
<ul>
|
48
|
+
<li ng-repeat="error in matrix.errors">{{error}}</li>
|
49
|
+
</ul>
|
50
|
+
</div>
|
51
|
+
</div>
|
52
|
+
|
53
|
+
<div class="row">
|
54
|
+
|
55
|
+
<!-- Matrix: left part (team & 'all' checkbox) -->
|
56
|
+
<div class="col-xs-4 table-left">
|
57
|
+
<table class="permission-matrix">
|
58
|
+
<thead>
|
59
|
+
<tr>
|
60
|
+
<th class="td-first">
|
61
|
+
<button type="button" class="btn btn-grey btn-grey-bordered" ng-click="matrix.addTeam()">
|
62
|
+
<i class="fa fa-plus" style="margin-bottom:-2px;"></i>
|
63
|
+
|
64
|
+
add team
|
65
|
+
</button>
|
66
|
+
</th>
|
67
|
+
|
68
|
+
<th style="width:6%;">All</th>
|
69
|
+
</tr>
|
70
|
+
</thead>
|
71
|
+
|
72
|
+
<tbody>
|
73
|
+
<tr ng-repeat="team in teams">
|
74
|
+
|
75
|
+
<td class="td-first team-name">
|
76
|
+
<div class="editable-instructions">
|
77
|
+
<span editable-text="team.name" onaftersave="matrix.updateTeamName(team)" buttons="no">{{ team.name }}</span>
|
78
|
+
</div>
|
79
|
+
|
80
|
+
|
81
|
+
<span class="team-remove">
|
82
|
+
<button class="btn btn-grey" ng-click="matrix.removeTeam(team)">
|
83
|
+
<i class="fa fa-remove hidden-xs"></i>
|
84
|
+
</button>
|
85
|
+
</span>
|
86
|
+
</td>
|
87
|
+
|
88
|
+
<td>
|
89
|
+
<input type="checkbox" ng-checked="matrix.hasAccess(team,'all')" ng-click="matrix.toggleAccess(team,'all')">
|
90
|
+
</td>
|
91
|
+
|
92
|
+
</tr>
|
93
|
+
|
94
|
+
<tr class="btn-group-row" ng-show="matrix.isChanged()">
|
95
|
+
<td class="text-center" colspan="2">
|
96
|
+
<div ng-show="matrix.isChanged() && !matrix.isLoading">
|
97
|
+
<button type="button" class="btn btn-grey btn-grey-bordered" ng-click="matrix.cancel()">Cancel</button>
|
98
|
+
<button type="button" class="btn btn-warning" ng-click="matrix.save()">Save</button>
|
99
|
+
</div>
|
100
|
+
<div ng-show="matrix.isLoading">
|
101
|
+
<img ng-src="{{assetPath['mno_enterprise/loader-32x32-bg-main.gif']}}" alt="Loading"/>
|
102
|
+
</div>
|
103
|
+
</td>
|
104
|
+
</tr>
|
105
|
+
</tbody>
|
106
|
+
|
107
|
+
</table>
|
108
|
+
</div>
|
109
|
+
|
110
|
+
|
111
|
+
<!-- Matrix: right part (detailed permissions) -->
|
112
|
+
<div class="col-xs-8 table-right">
|
113
|
+
<div class="text-center" ng-show="!hasApps()">
|
114
|
+
<div class="spacer2"></div>
|
115
|
+
<p>It looks like you do not have any application at the moment.</p>
|
116
|
+
<a type="button" class="btn btn-lg btn-grey btn-grey-bordered" href="#/marketplace">
|
117
|
+
<i class="fa fa-plus" style="margin-bottom:-2px;"></i>
|
118
|
+
|
119
|
+
Add an App Now!
|
120
|
+
</a>
|
121
|
+
</div>
|
122
|
+
|
123
|
+
<table class="permission-matrix" ng-show="hasApps()">
|
124
|
+
<thead>
|
125
|
+
<tr>
|
126
|
+
<th ng-repeat="appInstance in appInstances">
|
127
|
+
<div class="th-content">
|
128
|
+
<img class="media-object" ng-src="{{appInstance.logo}}" ng-alt="{{appInstance.name}}">
|
129
|
+
{{ appInstance.name | truncate: 13}}
|
130
|
+
</div>
|
131
|
+
</th>
|
132
|
+
<th></th>
|
133
|
+
</tr>
|
134
|
+
</thead>
|
135
|
+
|
136
|
+
<tbody>
|
137
|
+
<tr ng-repeat="team in teams">
|
138
|
+
<td ng-repeat="appInstance in appInstances">
|
139
|
+
<input type="checkbox" ng-checked="matrix.hasAccess(team,appInstance)" ng-click="matrix.toggleAccess(team,appInstance)">
|
140
|
+
</td>
|
141
|
+
<td></td>
|
142
|
+
</tr>
|
143
|
+
|
144
|
+
<tr class="btn-group-row">
|
145
|
+
<td ng-repeat="appInstance in appInstances"></td>
|
146
|
+
<td></td>
|
147
|
+
</tr>
|
148
|
+
</tbody>
|
149
|
+
|
150
|
+
<!-- End: Permissions matrix -->
|
151
|
+
</table>
|
152
|
+
</div>
|
153
|
+
|
154
|
+
<!-- End: row -->
|
155
|
+
</div>
|
156
|
+
|
157
|
+
<div class="clearfix"></div>
|
158
|
+
<!-- End: permission matrix wrapper -->
|
159
|
+
</div>
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
<!-------------------------------------->
|
164
|
+
<!-- List of Teams (accordion) -->
|
165
|
+
<!-------------------------------------->
|
166
|
+
<div dashboard-organization-team-list></div>
|
167
|
+
|
168
|
+
|
169
|
+
<!-- End: regular view -->
|
170
|
+
</div>
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
<div class="spacer2"></div>
|
175
|
+
</div>
|