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,59 @@
|
|
1
|
+
/* ========================================================================
|
2
|
+
* Bootstrap: transition.js v3.3.2
|
3
|
+
* http://getbootstrap.com/javascript/#transitions
|
4
|
+
* ========================================================================
|
5
|
+
* Copyright 2011-2015 Twitter, Inc.
|
6
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
|
+
* ======================================================================== */
|
8
|
+
|
9
|
+
|
10
|
+
+function ($) {
|
11
|
+
'use strict';
|
12
|
+
|
13
|
+
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
|
14
|
+
// ============================================================
|
15
|
+
|
16
|
+
function transitionEnd() {
|
17
|
+
var el = document.createElement('bootstrap')
|
18
|
+
|
19
|
+
var transEndEventNames = {
|
20
|
+
WebkitTransition : 'webkitTransitionEnd',
|
21
|
+
MozTransition : 'transitionend',
|
22
|
+
OTransition : 'oTransitionEnd otransitionend',
|
23
|
+
transition : 'transitionend'
|
24
|
+
}
|
25
|
+
|
26
|
+
for (var name in transEndEventNames) {
|
27
|
+
if (el.style[name] !== undefined) {
|
28
|
+
return { end: transEndEventNames[name] }
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
return false // explicit for ie8 ( ._.)
|
33
|
+
}
|
34
|
+
|
35
|
+
// http://blog.alexmaccaw.com/css-transitions
|
36
|
+
$.fn.emulateTransitionEnd = function (duration) {
|
37
|
+
var called = false
|
38
|
+
var $el = this
|
39
|
+
$(this).one('bsTransitionEnd', function () { called = true })
|
40
|
+
var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
|
41
|
+
setTimeout(callback, duration)
|
42
|
+
return this
|
43
|
+
}
|
44
|
+
|
45
|
+
$(function () {
|
46
|
+
$.support.transition = transitionEnd()
|
47
|
+
|
48
|
+
if (!$.support.transition) return
|
49
|
+
|
50
|
+
$.event.special.bsTransitionEnd = {
|
51
|
+
bindType: $.support.transition.end,
|
52
|
+
delegateType: $.support.transition.end,
|
53
|
+
handle: function (e) {
|
54
|
+
if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)
|
55
|
+
}
|
56
|
+
}
|
57
|
+
})
|
58
|
+
|
59
|
+
}(jQuery);
|
@@ -0,0 +1,109 @@
|
|
1
|
+
<div>
|
2
|
+
<style>
|
3
|
+
#perfStats {
|
4
|
+
position: fixed;
|
5
|
+
right: 0;
|
6
|
+
bottom: 15px;
|
7
|
+
z-index: 100000;
|
8
|
+
background-color: rgba(250, 249, 244, 0.97);
|
9
|
+
border: 3px solid #843376;
|
10
|
+
border-right: none;
|
11
|
+
border-radius: 5px 0 0 5px;
|
12
|
+
box-shadow: 0 1px 4px black;
|
13
|
+
padding: 0 15px 15px;
|
14
|
+
font-size: 0.65em;
|
15
|
+
}
|
16
|
+
#perfStats h3 {
|
17
|
+
margin-bottom: 0;
|
18
|
+
}
|
19
|
+
#perfStats td:last-child {
|
20
|
+
text-align: right;
|
21
|
+
}
|
22
|
+
</style>
|
23
|
+
<div id="perfStats">
|
24
|
+
<div id="perfStatsPanel">
|
25
|
+
<h3>ANGULAR STATS</h3>
|
26
|
+
<table class="table table-condensed">
|
27
|
+
<tbody>
|
28
|
+
<tr>
|
29
|
+
<td>Total Scopes:</td>
|
30
|
+
<td><span id="scopes">-</span></td>
|
31
|
+
</tr>
|
32
|
+
<tr>
|
33
|
+
<td>Total Watchers:</td>
|
34
|
+
<td><span id="watchers">-</span></td>
|
35
|
+
</tr>
|
36
|
+
<tr>
|
37
|
+
<td>Dirty Checks:</td>
|
38
|
+
<td><span id="dirty-checks">-</span></td>
|
39
|
+
</tr>
|
40
|
+
<tr>
|
41
|
+
<td>Digest Cycles:</td>
|
42
|
+
<td><span id="digest-cycles">-</span></td>
|
43
|
+
</tr>
|
44
|
+
<tr>
|
45
|
+
<td>Digest Cycle (last):</td>
|
46
|
+
<td>
|
47
|
+
<span id="digest-ms">-</span> ms<br>
|
48
|
+
<span id="digest-fps">-</span> FPS
|
49
|
+
</td>
|
50
|
+
</tr>
|
51
|
+
<tr>
|
52
|
+
<td>Digest Cycle (avg):</td>
|
53
|
+
<td>
|
54
|
+
<span id="avg-digest-ms">-</span> ms<br>
|
55
|
+
<span id="avg-digest-fps">-</span> FPS
|
56
|
+
</td>
|
57
|
+
</tr>
|
58
|
+
<tr>
|
59
|
+
<td>Digest Cycle (max):</td>
|
60
|
+
<td>
|
61
|
+
<span id="max-digest-ms">-</span> ms<br>
|
62
|
+
<span id="max-digest-fps">-</span> FPS
|
63
|
+
</td>
|
64
|
+
</tr>
|
65
|
+
</tbody>
|
66
|
+
</table>
|
67
|
+
|
68
|
+
<h3>PAGELOAD STATS</h3>
|
69
|
+
<table class="table table-condensed">
|
70
|
+
<tbody>
|
71
|
+
<tr>
|
72
|
+
<td>Head Load:</td>
|
73
|
+
<td><span id="head-load">-</span> ms</td>
|
74
|
+
</tr>
|
75
|
+
<tr>
|
76
|
+
<td>Body Load:</td>
|
77
|
+
<td><span id="body-load">-</span> ms</td>
|
78
|
+
</tr>
|
79
|
+
<tr>
|
80
|
+
<td>Footer Load:</td>
|
81
|
+
<td><span id="footer-load">-</span> ms</td>
|
82
|
+
</tr>
|
83
|
+
<tr>
|
84
|
+
<td>Vendor Script Load:</td>
|
85
|
+
<td><span id="vendor-load">-</span> ms</td>
|
86
|
+
</tr>
|
87
|
+
<tr>
|
88
|
+
<td>App Load:</td>
|
89
|
+
<td><span id="app-load">-</span> ms</td>
|
90
|
+
</tr>
|
91
|
+
<tr>
|
92
|
+
<td>Metrics Load:</td>
|
93
|
+
<td><span id="metrics-load">-</span> ms</td>
|
94
|
+
</tr>
|
95
|
+
<tr>
|
96
|
+
<td>Time To End-of-Page:</td>
|
97
|
+
<td><span id="time-to-eop">-</span> ms</td>
|
98
|
+
</tr>
|
99
|
+
<tr>
|
100
|
+
<td>Time To Angular:</td>
|
101
|
+
<td><span id="time-to-ng">-</span> ms</td>
|
102
|
+
</tr>
|
103
|
+
</tbody>
|
104
|
+
</table>
|
105
|
+
</div>
|
106
|
+
</div>
|
107
|
+
</div>
|
108
|
+
|
109
|
+
|
@@ -0,0 +1,211 @@
|
|
1
|
+
(function (angular) {
|
2
|
+
|
3
|
+
'use strict';
|
4
|
+
|
5
|
+
/**
|
6
|
+
* @ngdoc directive
|
7
|
+
* @name ngPerformanceApp.directive:ngPerformance
|
8
|
+
* @description
|
9
|
+
* # ngPerformance
|
10
|
+
*/
|
11
|
+
|
12
|
+
var _el;
|
13
|
+
|
14
|
+
function _setText(id, text) {
|
15
|
+
if (_el[id]) {
|
16
|
+
_el[id].textContent = text;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
var ngPerformanceModule = angular.module('blndspt.ngPerformance', []);
|
21
|
+
|
22
|
+
ngPerformanceModule.directive('ngPerformance', [
|
23
|
+
'$log',
|
24
|
+
'$window',
|
25
|
+
'$document',
|
26
|
+
'$rootScope',
|
27
|
+
function ($log, $window, $document, $rootScope) {
|
28
|
+
|
29
|
+
//Initialize performance stats variables
|
30
|
+
var ngStart = (performance != null) ? performance.now() : 0;
|
31
|
+
var stats = ($window.perfStats) ? $window.perfStats :
|
32
|
+
{
|
33
|
+
TTLB: 0,
|
34
|
+
appLoad: 0,
|
35
|
+
bodyLoad: 0,
|
36
|
+
footerLoad: 0,
|
37
|
+
headLoad: 0,
|
38
|
+
headStart: 0,
|
39
|
+
metricsLoad: 0,
|
40
|
+
timeToAngular: 0,
|
41
|
+
vendorScriptLoad: 0
|
42
|
+
};
|
43
|
+
|
44
|
+
stats.timeToAngular = (ngStart - stats.headStart);
|
45
|
+
|
46
|
+
//Count Scopes and Watchers
|
47
|
+
var _countScopesWatchers = function () {
|
48
|
+
// This logic is borrowed from $digest(). Keep it in sync!
|
49
|
+
var next, current, target = $rootScope;
|
50
|
+
var scopes = 0,
|
51
|
+
watchers = 0;
|
52
|
+
|
53
|
+
current = target;
|
54
|
+
do {
|
55
|
+
scopes += 1;
|
56
|
+
|
57
|
+
if (current.$$watchers) {
|
58
|
+
watchers += current.$$watchers.length;
|
59
|
+
}
|
60
|
+
|
61
|
+
// Insanity Warning: scope depth-first traversal
|
62
|
+
// yes, this code is a bit crazy, but it works and we have tests to prove it!
|
63
|
+
// this piece should be kept in sync with the traversal in $broadcast
|
64
|
+
if (!(next = (current.$$childHead || (current !== target && current.$$nextSibling)))) {
|
65
|
+
while (current !== target && !(next = current.$$nextSibling)) {
|
66
|
+
current = current.$parent;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
} while ((current = next));
|
70
|
+
|
71
|
+
return [scopes, watchers];
|
72
|
+
};
|
73
|
+
|
74
|
+
return {
|
75
|
+
templateUrl: '/assets/ng-performance/ngPerformance.html',
|
76
|
+
restrict: 'EA',
|
77
|
+
link: function (/*scope, element, attrs*/) {
|
78
|
+
|
79
|
+
// Cache DOM elements
|
80
|
+
_el = {
|
81
|
+
'#scopes': $document[0].querySelector('#scopes'),
|
82
|
+
'#watchers': $document[0].querySelector('#watchers'),
|
83
|
+
'#dirty-checks': $document[0].querySelector('#dirty-checks'),
|
84
|
+
'#digest-cycles': $document[0].querySelector('#digest-cycles'),
|
85
|
+
'#digest-ms': $document[0].querySelector('#digest-ms'),
|
86
|
+
'#digest-fps': $document[0].querySelector('#digest-fps'),
|
87
|
+
'#avg-digest-ms': $document[0].querySelector('#avg-digest-ms'),
|
88
|
+
'#avg-digest-fps': $document[0].querySelector('#avg-digest-fps'),
|
89
|
+
'#max-digest-ms': $document[0].querySelector('#max-digest-ms'),
|
90
|
+
'#max-digest-fps': $document[0].querySelector('#max-digest-fps'),
|
91
|
+
|
92
|
+
'#head-load': $document[0].querySelector('#head-load'),
|
93
|
+
'#body-load': $document[0].querySelector('#body-load'),
|
94
|
+
'#footer-load': $document[0].querySelector('#footer-load'),
|
95
|
+
'#vendor-load': $document[0].querySelector('#vendor-load'),
|
96
|
+
'#app-load': $document[0].querySelector('#app-load'),
|
97
|
+
'#metrics-load': $document[0].querySelector('#metrics-load'),
|
98
|
+
'#time-to-eop': $document[0].querySelector('#time-to-eop'),
|
99
|
+
'#time-to-ng': $document[0].querySelector('#time-to-ng'),
|
100
|
+
};
|
101
|
+
|
102
|
+
_setText('#head-load', stats.headLoad.toFixed(1));
|
103
|
+
_setText('#body-load', stats.bodyLoad.toFixed(1));
|
104
|
+
_setText('#footer-load', stats.footerLoad.toFixed(1));
|
105
|
+
_setText('#vendor-load', stats.vendorScriptLoad.toFixed(1));
|
106
|
+
_setText('#app-load', stats.appLoad.toFixed(1));
|
107
|
+
_setText('#metrics-load', stats.metricsLoad.toFixed(1));
|
108
|
+
_setText('#time-to-eop', stats.TTLB.toFixed(1));
|
109
|
+
_setText('#time-to-ng', stats.timeToAngular.toFixed(1));
|
110
|
+
|
111
|
+
|
112
|
+
// If the browser doesn't support Web Performance API
|
113
|
+
// (I'm looking at you, Safari), don't even try.
|
114
|
+
if (performance != null) {
|
115
|
+
var digestCycles = 0,
|
116
|
+
digestStart = 0,
|
117
|
+
sumDigestMs = 0,
|
118
|
+
maxDigestMs = 0,
|
119
|
+
dirtyChecks = 0;
|
120
|
+
|
121
|
+
// $digest loop uses a reverse while.
|
122
|
+
// Pushing onto the end of $$watchers array makes this run first...
|
123
|
+
$rootScope.$$watchers.push({
|
124
|
+
eq: false,
|
125
|
+
last: null,
|
126
|
+
fn: function () {
|
127
|
+
},
|
128
|
+
exp: function () {
|
129
|
+
},
|
130
|
+
get: function () {
|
131
|
+
dirtyChecks++;
|
132
|
+
|
133
|
+
// Only update digestStart if not set. This allows for multiple
|
134
|
+
// iterations inside the "dirty loop."
|
135
|
+
//
|
136
|
+
// NOTE: This technique for timing the $digest cycles
|
137
|
+
// DOES NOT capture time spent processing the asyncQueue!
|
138
|
+
if (digestStart === 0) {
|
139
|
+
// $log.debug('$rootScope.$watch: digestStart');
|
140
|
+
digestStart = performance.now();
|
141
|
+
digestCycles++;
|
142
|
+
}
|
143
|
+
|
144
|
+
// Schedules a one-shot callback after digest loop is clean
|
145
|
+
$rootScope.$$postDigest(function () {
|
146
|
+
if (digestStart !== 0) {
|
147
|
+
var digestEnd = performance.now();
|
148
|
+
var digestMs = (digestEnd - digestStart);
|
149
|
+
_setText('#digest-ms', digestMs.toFixed(1));
|
150
|
+
_setText('#digest-fps', (1000 / digestMs).toFixed(0));
|
151
|
+
|
152
|
+
maxDigestMs = Math.max(digestMs, maxDigestMs);
|
153
|
+
_setText('#max-digest-ms', maxDigestMs.toFixed(1));
|
154
|
+
_setText('#max-digest-fps', (1000 / maxDigestMs).toFixed(0));
|
155
|
+
|
156
|
+
sumDigestMs += digestMs;
|
157
|
+
if (digestCycles > 0) {
|
158
|
+
var avgDigestMs = sumDigestMs / digestCycles;
|
159
|
+
_setText('#avg-digest-ms', avgDigestMs.toFixed(1));
|
160
|
+
_setText('#avg-digest-fps', (1000 / avgDigestMs).toFixed(0));
|
161
|
+
}
|
162
|
+
|
163
|
+
_setText('#dirty-checks', dirtyChecks);
|
164
|
+
_setText('#digest-cycles', digestCycles);
|
165
|
+
|
166
|
+
var count = _countScopesWatchers();
|
167
|
+
var scopes = count[0],
|
168
|
+
watchers = count[1];
|
169
|
+
|
170
|
+
_setText('#scopes', scopes);
|
171
|
+
_setText('#watchers', watchers);
|
172
|
+
|
173
|
+
var log = 'NG-PERF: Digest Cycle #' + digestCycles + ': ' + digestMs.toFixed(1) + ' ms, ' +
|
174
|
+
'Scopes: ' + scopes + ', Watchers: ' + watchers +
|
175
|
+
' [Overhead: ' + (performance.now() - digestEnd).toPrecision(3) + ' ms]';
|
176
|
+
$log.debug(log);
|
177
|
+
if ($window.console.timeStamp) {
|
178
|
+
$window.console.timeStamp(log);
|
179
|
+
}
|
180
|
+
|
181
|
+
// Register an async function to run first.
|
182
|
+
//
|
183
|
+
// NOTE: This technique for timing the $digest cycles
|
184
|
+
// DOES capture time spent processing the asyncQueue!
|
185
|
+
// $rootScope.$$asyncQueue.unshift({
|
186
|
+
// scope: $rootScope,
|
187
|
+
// expression: function (scope) {
|
188
|
+
// // $log.debug('$rootScope.$evalAsync: digestStart');
|
189
|
+
// digestStart = performance.now();
|
190
|
+
// digestCycles++;
|
191
|
+
// }
|
192
|
+
// });
|
193
|
+
|
194
|
+
// Clear digestStart for next "dirty loop."
|
195
|
+
digestStart = 0;
|
196
|
+
}
|
197
|
+
});
|
198
|
+
|
199
|
+
return null;
|
200
|
+
}
|
201
|
+
});
|
202
|
+
}
|
203
|
+
|
204
|
+
}
|
205
|
+
|
206
|
+
};
|
207
|
+
}]);
|
208
|
+
|
209
|
+
})
|
210
|
+
|
211
|
+
(angular);
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
+
* compiled file so the styles you add here take precedence over styles defined in any styles
|
10
|
+
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
11
|
+
* file per style scope.
|
12
|
+
*
|
13
|
+
*/
|
@@ -0,0 +1,90 @@
|
|
1
|
+
// Base style
|
2
|
+
.accordion .panel-group .panel .panel-body {
|
3
|
+
p {
|
4
|
+
font-weight: 300;
|
5
|
+
}
|
6
|
+
|
7
|
+
ul > li {
|
8
|
+
font-weight: 300;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
.accordion .panel-group .panel .panel-heading {
|
13
|
+
padding: 0px;
|
14
|
+
|
15
|
+
.panel-title > div,
|
16
|
+
.panel-title > a {
|
17
|
+
font-size: 90%;
|
18
|
+
display: block;
|
19
|
+
padding-left: 10px;
|
20
|
+
line-height: 54px;
|
21
|
+
height: 54px;
|
22
|
+
cursor: pointer;
|
23
|
+
|
24
|
+
&:hover {
|
25
|
+
text-decoration: none;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
.panel-title i,
|
30
|
+
.panel-title .caret-up,
|
31
|
+
.panel-title .caret-down {
|
32
|
+
margin-left: 10px;
|
33
|
+
}
|
34
|
+
|
35
|
+
.panel-title a.btn.pull-right {
|
36
|
+
margin-top: 10px;
|
37
|
+
margin-right: 10px;
|
38
|
+
}
|
39
|
+
|
40
|
+
.panel-title span.pull-right {
|
41
|
+
margin-right: 10px;
|
42
|
+
}
|
43
|
+
|
44
|
+
.panel-title span.caret.pull-right {
|
45
|
+
margin-top: 26px;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
// Accordion Black background style
|
50
|
+
.accordion.inverse {
|
51
|
+
|
52
|
+
.panel-group > .panel,
|
53
|
+
.panel-group > .panel > .panel-heading {
|
54
|
+
background-color: @bg-inverse-color;
|
55
|
+
border: none;
|
56
|
+
}
|
57
|
+
|
58
|
+
.panel-group > .panel > .panel-heading > .panel-title .text-muted {
|
59
|
+
color: @text-inverse-color;
|
60
|
+
font-weight: 700;
|
61
|
+
}
|
62
|
+
|
63
|
+
.panel-group > .panel > .panel-collapse > .panel-body {
|
64
|
+
border-top: solid 1px black;
|
65
|
+
}
|
66
|
+
|
67
|
+
.panel-group > .panel > .panel-heading > .panel-title > .caret-up,
|
68
|
+
.panel-group > .panel > .panel-heading > .panel-title > .caret-down {
|
69
|
+
color: @text-inverse-color;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
// Accordion Compact style
|
74
|
+
.accordion.accordion-compact {
|
75
|
+
margin-top: 40px;
|
76
|
+
|
77
|
+
.panel-group .panel .panel-heading .panel-title > a {
|
78
|
+
line-height: 35px;
|
79
|
+
height: 35px;
|
80
|
+
}
|
81
|
+
|
82
|
+
.panel-group .panel .panel-heading .panel-title span.caret.pull-right {
|
83
|
+
margin-top: 17px;
|
84
|
+
}
|
85
|
+
|
86
|
+
.panel-group .panel {
|
87
|
+
margin: 11px 0px;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|