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,60 @@
|
|
1
|
+
<div class="modal-header">
|
2
|
+
<div class="close" type="button" ng-click="memberAddModal.close()" >×</div>
|
3
|
+
<h3>Add Team Members</h3>
|
4
|
+
</div>
|
5
|
+
|
6
|
+
<div class="modal-body">
|
7
|
+
<div class="row">
|
8
|
+
<div class="col-sm-12">
|
9
|
+
<div class="alert alert-error" ng-show="memberAddModal.errors">
|
10
|
+
<button class="close" ng-click="memberAddModal.errors=''">×</button>
|
11
|
+
<ul>
|
12
|
+
<li ng-repeat="error in memberAddModal.errors">{{error}}</li>
|
13
|
+
</ul>
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
|
18
|
+
<div class="row" ng-show="!memberAddModal.canAddUsers()">
|
19
|
+
<div class="col-sm-6 col-sm-offset-3 text-center">
|
20
|
+
<p>All your company members already belong to this team</p>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
|
24
|
+
<div class="row" ng-show="memberAddModal.canAddUsers()">
|
25
|
+
<div class="col-sm-6 col-sm-offset-3 text-center">
|
26
|
+
<p>Select the company members your wish to add to this team</p>
|
27
|
+
<div class="spacer1"></div>
|
28
|
+
|
29
|
+
<!-- List Available Users to add -->
|
30
|
+
<table>
|
31
|
+
<tbody>
|
32
|
+
<tr ng-repeat="user in memberAddModal.userList">
|
33
|
+
<td>
|
34
|
+
<input type="checkbox" ng-checked="memberAddModal.hasUser(user)" ng-click="memberAddModal.toggleUser(user)">
|
35
|
+
</td>
|
36
|
+
<td>
|
37
|
+
<span>{{user.name}} {{user.surname}}</span>
|
38
|
+
<span class="hidden-xs"><small><em>({{ user.email }})</em></small></span>
|
39
|
+
</td>
|
40
|
+
</tr>
|
41
|
+
</tbody>
|
42
|
+
</table>
|
43
|
+
</div>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
|
47
|
+
<div class="modal-footer">
|
48
|
+
<div class="row">
|
49
|
+
<div class="col-sm-12" ng-show="!memberAddModal.canAddUsers()">
|
50
|
+
<button class="btn btn-lg btn-shaded" ng-click="memberAddModal.close()" ng-show="!memberAddModal.isLoading">Close</button>
|
51
|
+
</div>
|
52
|
+
|
53
|
+
<div class="col-sm-12" ng-show="memberAddModal.canAddUsers()">
|
54
|
+
<button class="btn btn-shaded" ng-click="memberAddModal.close()" ng-show="!memberAddModal.isLoading">Cancel</button>
|
55
|
+
<button class="btn btn-info" ng-click="memberAddModal.proceed()" ng-show="!memberAddModal.isLoading" ng-disabled="memberAddModal.isProceedDisabled()">Add</button>
|
56
|
+
<img ng-src="{{assetPath['mno_enterprise/loader-32x32-bg-inverse.gif']}}" ng-show="memberAddModal.isLoading" alt="Loading">
|
57
|
+
</div>
|
58
|
+
|
59
|
+
</div>
|
60
|
+
</div>
|
@@ -0,0 +1,35 @@
|
|
1
|
+
<div class="modal-header">
|
2
|
+
<div class="close" type="button" ng-click="memberRemovalModal.close()" >×</div>
|
3
|
+
<h3>Confirm action</h3>
|
4
|
+
</div>
|
5
|
+
|
6
|
+
<div class="modal-body">
|
7
|
+
<div class="row">
|
8
|
+
<div class="col-sm-12">
|
9
|
+
<div class="alert alert-error" ng-show="memberRemovalModal.errors">
|
10
|
+
<button class="close" ng-click="memberRemovalModal.errors=''">×</button>
|
11
|
+
<ul>
|
12
|
+
<li ng-repeat="error in memberRemovalModal.errors">{{error}}</li>
|
13
|
+
</ul>
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
|
18
|
+
<div class="row">
|
19
|
+
<div class="col-sm-12">
|
20
|
+
<p class="align-center">
|
21
|
+
Are you sure you want to remove {{memberRemovalModal.user.name}} {{memberRemovalModal.user.surname}} from {{memberRemovalModal.team.name}}?
|
22
|
+
</p>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
<div class="modal-footer">
|
28
|
+
<div class="row">
|
29
|
+
<div class="col-sm-12">
|
30
|
+
<button class="btn btn-shaded" ng-click="memberRemovalModal.close()" ng-show="!memberRemovalModal.isLoading">Cancel</button>
|
31
|
+
<button class="btn btn-danger" ng-click="memberRemovalModal.proceed()" ng-show="!memberRemovalModal.isLoading">Remove</button>
|
32
|
+
<img ng-src="{{assetPath['mno_enterprise/loader-32x32-bg-inverse.gif']}}" ng-show="memberRemovalModal.isLoading" alt="Loading">
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
</div>
|
@@ -0,0 +1,35 @@
|
|
1
|
+
<div class="modal-header">
|
2
|
+
<div class="close" type="button" ng-click="addTeamModal.close()" >×</div>
|
3
|
+
<h3>Create New Team</h3>
|
4
|
+
</div>
|
5
|
+
|
6
|
+
<div class="modal-body">
|
7
|
+
<div class="row">
|
8
|
+
<div class="col-sm-12">
|
9
|
+
<div class="alert alert-error" ng-show="addTeamModal.errors">
|
10
|
+
<button class="close" ng-click="addTeamModal.errors=''">×</button>
|
11
|
+
<ul>
|
12
|
+
<li ng-repeat="error in addTeamModal.errors">{{error}}</li>
|
13
|
+
</ul>
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
|
18
|
+
<div class="row">
|
19
|
+
<div class="col-sm-6 col-sm-offset-3 text-center">
|
20
|
+
<p>Enter a name for your new team</p>
|
21
|
+
<div class="spacer1"></div>
|
22
|
+
<input type="text" class="form-control" ng-model="addTeamModal.model.name" required/>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
<div class="modal-footer">
|
28
|
+
<div class="row">
|
29
|
+
<div class="col-sm-12">
|
30
|
+
<button class="btn btn-shaded" ng-click="addTeamModal.close()" ng-show="!addTeamModal.isLoading">Cancel</button>
|
31
|
+
<button class="btn btn-info" ng-click="addTeamModal.proceed()" ng-show="!addTeamModal.isLoading" ng-disabled="addTeamModal.isProceedDisabled()">Create</button>
|
32
|
+
<img ng-src="{{assetPath['mno_enterprise/loader-32x32-bg-inverse.gif']}}" ng-show="addTeamModal.isLoading" alt="Loading">
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
</div>
|
@@ -0,0 +1,35 @@
|
|
1
|
+
<div class="modal-header">
|
2
|
+
<div class="close" type="button" ng-click="teamDeletionModal.close()" >×</div>
|
3
|
+
<h3>Confirm action</h3>
|
4
|
+
</div>
|
5
|
+
|
6
|
+
<div class="modal-body">
|
7
|
+
<div class="row">
|
8
|
+
<div class="col-sm-12">
|
9
|
+
<div class="alert alert-error" ng-show="teamDeletionModal.errors">
|
10
|
+
<button class="close" ng-click="teamDeletionModal.errors=''">×</button>
|
11
|
+
<ul>
|
12
|
+
<li ng-repeat="error in teamDeletionModal.errors">{{error}}</li>
|
13
|
+
</ul>
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
|
18
|
+
<div class="row">
|
19
|
+
<div class="col-sm-12">
|
20
|
+
<p class="align-center">
|
21
|
+
Are you really sure you want to remove {{teamDeletionModal.team.name}}?
|
22
|
+
</p>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
<div class="modal-footer">
|
28
|
+
<div class="row">
|
29
|
+
<div class="col-sm-12">
|
30
|
+
<button class="btn btn-shaded" ng-click="teamDeletionModal.close()" ng-show="!teamDeletionModal.isLoading">Cancel</button>
|
31
|
+
<button class="btn btn-danger" ng-click="teamDeletionModal.proceed()" ng-show="!teamDeletionModal.isLoading">Remove</button>
|
32
|
+
<img ng-src="{{assetPath['mno_enterprise/loader-32x32-bg-inverse.gif']}}" ng-show="teamDeletionModal.isLoading" alt="Loading">
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
</div>
|
@@ -0,0 +1,107 @@
|
|
1
|
+
<!-- Loader -->
|
2
|
+
<div class="col-md-12 text-center" ng-show="isLoading">
|
3
|
+
<img ng-src="{{assetPath['mno_enterprise/loader-32x32-bg-main.gif']}}" alt="Loading"/>
|
4
|
+
</div>
|
5
|
+
|
6
|
+
<!-- List of teams -->
|
7
|
+
<div ng-show="!isLoading">
|
8
|
+
<h4 ng-show="hasTeams()">{{ title }}</h4>
|
9
|
+
|
10
|
+
<div accordion class="accordion">
|
11
|
+
|
12
|
+
<div ng-repeat="team in teams" class='teams-accordion-star-ref'>
|
13
|
+
|
14
|
+
<div accordion-group is-open="team.$isAccOpen">
|
15
|
+
<div accordion-heading>
|
16
|
+
{{ team.name }}
|
17
|
+
<span class="caret pull-right" ng-class="{'caret-down': !team.$isAccOpen, 'caret-up': team.$isAccOpen}"></span>
|
18
|
+
</div>
|
19
|
+
|
20
|
+
<div class="row text-center" ng-show="isTeamEmpty(team)">
|
21
|
+
<p class="text-muted">
|
22
|
+
<em>{{ team.name }} does not have any team member yet!</em>
|
23
|
+
</p>
|
24
|
+
|
25
|
+
<div ng-show="canManageTeam()">
|
26
|
+
<button class="btn btn-sm btn-grey" ng-click="memberAddModal.open(team)">
|
27
|
+
<i class="fa fa-plus"></i>
|
28
|
+
<i class="fa fa-user"></i>
|
29
|
+
Add Team Members
|
30
|
+
</button>
|
31
|
+
</div>
|
32
|
+
</div>
|
33
|
+
|
34
|
+
<div class="row" ng-show="!isTeamEmpty(team)">
|
35
|
+
<div class="col-sm-12" ng-show="canManageTeam()">
|
36
|
+
<button class="btn btn-sm btn-grey" ng-click="memberAddModal.open(team)">
|
37
|
+
<i class="fa fa-plus"></i>
|
38
|
+
<i class="fa fa-user"></i>
|
39
|
+
Add Team Members
|
40
|
+
</button>
|
41
|
+
</div>
|
42
|
+
<div class="spacer1"></div>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<!-- List of team members -->
|
46
|
+
<div class="row" ng-show="!isTeamEmpty(team)">
|
47
|
+
<div class="col-sm-12">
|
48
|
+
|
49
|
+
<div class="table-cell">
|
50
|
+
|
51
|
+
<div class="row th-row hidden-xs">
|
52
|
+
<div class="cell col-sm-3 col-md-2">Name</div>
|
53
|
+
<div class="cell col-sm-4 col-md-2">Surname</div>
|
54
|
+
<div class="cell col-md-4 hidden-xs hidden-sm">Email</div>
|
55
|
+
<div class="cell col-sm-3 col-md-2 hidden-xs">Role</div>
|
56
|
+
</div>
|
57
|
+
|
58
|
+
<div class="row td-row" ng-repeat="member in team.users">
|
59
|
+
<div class="cell col-sm-3 col-md-2">
|
60
|
+
<span class="cell-label visible-xs-inline">Name:</span>
|
61
|
+
{{ member.name }}
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<div class="cell col-sm-4 col-md-2">
|
65
|
+
<span class="cell-label visible-xs-inline">Surname: </span>
|
66
|
+
{{ member.surname }}
|
67
|
+
</div>
|
68
|
+
|
69
|
+
<div class="cell col-md-4 hidden-xs hidden-sm">
|
70
|
+
<span class="cell-label visible-xs-inline">Email: </span>
|
71
|
+
{{ member.email }}
|
72
|
+
</div>
|
73
|
+
|
74
|
+
<div class="cell col-sm-3 col-md-2 hidden-xs">
|
75
|
+
<span class="cell-label visible-xs-inline">Role: </span>
|
76
|
+
{{ member.role }}
|
77
|
+
</div>
|
78
|
+
|
79
|
+
<div class="cell col-sm-2" ng-show="canManageTeam()">
|
80
|
+
<a ng-click="memberRemovalModal.open(team,member)" class="btn btn-sm btn-link">
|
81
|
+
<i class="fa fa-remove hidden-xs"></i>
|
82
|
+
<span class="cell-label visible-xs-inline"> Remove</span>
|
83
|
+
</a>
|
84
|
+
</div>
|
85
|
+
</div>
|
86
|
+
|
87
|
+
<!-- End: table-cell -->
|
88
|
+
</div>
|
89
|
+
|
90
|
+
<!-- End: col-sm-12 -->
|
91
|
+
</div>
|
92
|
+
|
93
|
+
<!-- End: row list of users -->
|
94
|
+
</div>
|
95
|
+
|
96
|
+
|
97
|
+
<!-- End: accordion-group current billing -->
|
98
|
+
</div>
|
99
|
+
|
100
|
+
<!-- End: ng-repeat:teams -->
|
101
|
+
</div>
|
102
|
+
|
103
|
+
<!-- End: accordion -->
|
104
|
+
</div>
|
105
|
+
|
106
|
+
<!-- End: loading check wrapper -->
|
107
|
+
</div>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<div modal="modal.isOpen" bs-options="fade">
|
2
|
+
<script type="text/ng-template" id="internal-message-modal.html">
|
3
|
+
<!--Modal Header -->
|
4
|
+
<div class="modal-header">
|
5
|
+
<div class="close" type="button" ng-click="modal.close()" >×</div>
|
6
|
+
<h3>{{modal.title()}}</h3>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
<!--Modal Body -->
|
10
|
+
<div class="modal-body">
|
11
|
+
<div ng-include src="templateUrl()">
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
|
15
|
+
<!--Modal Footer -->
|
16
|
+
<div class="modal-footer">
|
17
|
+
<button class="btn" ng-click="modal.close()">Close</button>
|
18
|
+
</div>
|
19
|
+
</script>
|
20
|
+
</div>
|
@@ -0,0 +1,42 @@
|
|
1
|
+
<!-- Autostop App Modal-->
|
2
|
+
<div>
|
3
|
+
<script type="text/ng-template" id="internal-autostop-modal.html">
|
4
|
+
<div style="margin-top:0;" class="autostop-app-modal">
|
5
|
+
<!-- Modal Header -->
|
6
|
+
<div class="modal-header">
|
7
|
+
<h3>
|
8
|
+
{{autostopModal.title}}
|
9
|
+
</h3>
|
10
|
+
</div>
|
11
|
+
|
12
|
+
<!-- Modal Body -->
|
13
|
+
<div class="modal-body">
|
14
|
+
<div class="alert alert-error" ng-show="autostopModal.errors">
|
15
|
+
<button class="close" ng-click="autostopModal.errors=''">×</button>
|
16
|
+
<ul>
|
17
|
+
<li ng-repeat="error in autostopModal.errors">{{error}}</li>
|
18
|
+
</ul>
|
19
|
+
</div>
|
20
|
+
<br/>
|
21
|
+
<h4 class="align-center">Please offline my app if idle for more than:</h4>
|
22
|
+
<br/>
|
23
|
+
<table class="table table-bordered table-duration">
|
24
|
+
<tr>
|
25
|
+
<td ng-repeat="duration in autostopModal.availableDurations()" class="seletable" ng-class="autostopModal.classFor(duration)" ng-click="autostopModal.select(duration)">
|
26
|
+
{{duration}}
|
27
|
+
</td>
|
28
|
+
<td class="type"><b>hours</b></td>
|
29
|
+
</tr>
|
30
|
+
</table>
|
31
|
+
<p class="align-center" ng-bind-html="autostopModal.text()"></p>
|
32
|
+
</div>
|
33
|
+
|
34
|
+
<!-- Modal Footer -->
|
35
|
+
<div class="modal-footer">
|
36
|
+
<button class="btn btn-whited" ng-click="autostopModal.close()" ng-show="!autostopModal.inProgress">Leave default (1h)</button>
|
37
|
+
<button class="btn btn-warning" ng-click="autostopModal.proceed()" ng-disabled="!autostopModal.proceedEnabled()" ng-show="!autostopModal.inProgress">Change</button>
|
38
|
+
<img ng-src="{{assetPath['mno_enterprise/loader-32x32-bg-inverse.gif']}}" ng-show="autostopModal.inProgress" alt="Loading"/>
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
</script>
|
42
|
+
</div>
|
@@ -0,0 +1 @@
|
|
1
|
+
<select class="select-option select-currency select-picker" ng-model="currentCurrency" ng-options="currency for currency in currencies" ng-change="setCurrency(currentCurrency)" data-style='btn-dark' data-width='100%' data-mobile="true"></select>
|
@@ -0,0 +1,28 @@
|
|
1
|
+
<span ng-switch="contentType" style="{{customStyle}}">
|
2
|
+
<span ng-switch-when="image">
|
3
|
+
<span class='upload-picture' ng-show="showForm">
|
4
|
+
<span class='input-group'>
|
5
|
+
<input type="file" class="form-control" file-model="model.image">
|
6
|
+
<span class='input-group-addon'>
|
7
|
+
<button ng-click="uploadImage()" class='btn btn-success'>Ok</button>
|
8
|
+
</span>
|
9
|
+
</span>
|
10
|
+
</span>
|
11
|
+
<img ng-src="{{model.orig}}">
|
12
|
+
<br>
|
13
|
+
</span>
|
14
|
+
<span ng-switch-when="banner">
|
15
|
+
<span class='upload-picture' ng-show="showForm">
|
16
|
+
<span class='input-group'>
|
17
|
+
<input type="file" class="form-control" file-model="model.image">
|
18
|
+
<span class='input-group-addon'>
|
19
|
+
<button ng-click="uploadImage()" class='btn btn-success'>Ok</button>
|
20
|
+
</span>
|
21
|
+
</span>
|
22
|
+
</span>
|
23
|
+
</span>
|
24
|
+
<span ng-switch-default>
|
25
|
+
<span editable-textarea='model.value' onaftersave='updateField()' ng-bind-html='model.orig'>
|
26
|
+
</span>
|
27
|
+
</span>
|
28
|
+
</span>
|
@@ -0,0 +1,63 @@
|
|
1
|
+
<div>
|
2
|
+
|
3
|
+
<div class="spacer3 hidden-xs hidden-sm"></div>
|
4
|
+
|
5
|
+
<div class='align-center'>
|
6
|
+
<img ng-src="{{assetPath['mno_enterprise/main-logo.png']}}">
|
7
|
+
<div class="spacer2"></div>
|
8
|
+
|
9
|
+
<!-- Status Details -->
|
10
|
+
<div ng-switch on="currentStatus()">
|
11
|
+
<div ng-switch-when='online'>
|
12
|
+
<h3 class='mgreen'>Redirecting to {{appInstance.name}}</h3>
|
13
|
+
<h4 class='muted'>You will be automatically redirected in {{redirectionCounter}}s (or click the link below)</h4>
|
14
|
+
<br>
|
15
|
+
<a class='fbtn fbtn-large fbtn-success' ng-href="{{redirectUrl()}}"><b>Go to my app now!</b></a>
|
16
|
+
</div>
|
17
|
+
<div ng-switch-when='updating'>
|
18
|
+
<h3 class='mgreen'>{{appInstance.name}} is getting configured</h3>
|
19
|
+
<h4 class='muted'>Don't worry, it should be available in a few seconds.</h4>
|
20
|
+
<div class="spacer2"></div>
|
21
|
+
<hr/>
|
22
|
+
<img ng-src="{{assetPath['mno_enterprise/loader-32x32-bg-inverse.gif']}}" alt="Loader">
|
23
|
+
</div>
|
24
|
+
<div ng-switch-when='loading'>
|
25
|
+
<h3 class='mgreen'>{{appInstance.name}} is loading</h3>
|
26
|
+
<h4 class='muted'>{{appInstance.name}} has been idle for a long time. We are currently loading it. It should be available soon!</h4>
|
27
|
+
</div>
|
28
|
+
<div ng-switch-when='creating'>
|
29
|
+
<h3 class='mgreen'>{{appInstance.name}} is getting setup</h3>
|
30
|
+
<h4 class='muted'>{{appInstance.name}} is preparing for the first use. It should be available soon!</h4>
|
31
|
+
</div>
|
32
|
+
<div ng-switch-when='terminated'>
|
33
|
+
<h3 class='mgreen'>{{appInstance.name}} has been deleted</h3>
|
34
|
+
<h4 class='muted'>{{appInstance.name}} has been removed by your administrator and is no more accessible.</h4>
|
35
|
+
</div>
|
36
|
+
<div ng-switch-when='errors'>
|
37
|
+
<h3 class='muted'>{{appInstance.name}} is idle</h3>
|
38
|
+
<br>
|
39
|
+
<div class='alert alert-danger align-left'>
|
40
|
+
<p><b>Unfortunately we cannot switch this app ON for you:</b></p>
|
41
|
+
<ul>
|
42
|
+
<li ng-repeat="error in appInstance.errors">{{error}}</li>
|
43
|
+
</ul>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
<div ng-switch-when='not_found'>
|
47
|
+
<h3 class='mgreen'>Application not found</h3>
|
48
|
+
<h4 class='muted'>The app you requested does not seem to be managed by us. <br/>Are you sure you typed the right url?</h4>
|
49
|
+
</div>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
<hr>
|
53
|
+
|
54
|
+
<!-- Loading Bar -->
|
55
|
+
<div ng-show="isProgressBarShown()">
|
56
|
+
<div class="muted progress-indicator" style='margin-left:11px;'>{{progressBarPercent()}}</div>
|
57
|
+
<div class="progress progress-mno progress-striped active">
|
58
|
+
<div class="progress-bar" ng-style="{width: progressBarPercent()}"></div>
|
59
|
+
</div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
</div>
|
63
|
+
</div>
|
data/app/assets/templates/mno_enterprise/maestrano-components/modal-messages/congratulations.html
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
<div ng-bind-html="modal.body()"></div>
|
2
|
+
|
3
|
+
<div class='align-center'>
|
4
|
+
<div class='spacer2'></div>
|
5
|
+
<img ng-src="{{assetPath['jobs/talent.png']}}">
|
6
|
+
<div class='spacer2'></div>
|
7
|
+
<a class='btn btn-success' ng-click="modal.goBackToDashboard()">Go back to my Dashboard</a>
|
8
|
+
</div>
|