mno-enterprise-frontend 2.0.9 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/mno_enterprise/angular/app.js.coffee.erb +0 -120
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/maestrano-components.js.coffee +0 -11
- data/app/assets/javascripts/mno_enterprise/application.js +0 -2
- data/app/assets/javascripts/mno_enterprise/lib/xeditable.js +0 -0
- data/app/assets/stylesheets/mno_enterprise/main.less +0 -28
- data/app/views/layouts/mno_enterprise/_application_js.html.haml +0 -4
- data/app/views/layouts/mno_enterprise/_common_cdn_lib_js.html.haml +0 -5
- data/app/views/layouts/mno_enterprise/_header_files.html.haml +0 -3
- data/app/views/layouts/mno_enterprise/application.html.haml +1 -1
- data/app/views/mno_enterprise/provision/_provision_apps.html.haml +7 -8
- data/config/routes.rb +1 -10
- data/lib/mno_enterprise/frontend/engine.rb +12 -0
- data/lib/mno_enterprise/frontend/locales_generator.rb +57 -0
- data/lib/tasks/mnoe_admin_tasks.rake +67 -0
- data/lib/tasks/mnoe_frontend_tasks.rake +138 -0
- data/lib/tasks/mnoe_locales.rake +14 -0
- data/lib/tasks/templates/bower.json +10 -0
- data/spec/controllers/mno_enterprise/auth/confirmations_controller_spec.rb +2 -2
- data/spec/controllers/mno_enterprise/webhook/o_auth_controller_spec.rb +1 -1
- data/spec/lib/mno_enterprise/locales_generator_spec.rb +14 -0
- data/spec/lib/tasks/mnoe_locales_rake_spec.rb +25 -0
- metadata +35 -145
- 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/javascripts/mno_enterprise/angular/controllers/maestrano-controllers.js.coffee +0 -4
- data/app/assets/javascripts/mno_enterprise/angular/controllers/modals/modals-ctrl.js.coffee +0 -62
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/dashboard-account.js.coffee +0 -157
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/dashboard-app-deletion-request.js.coffee +0 -62
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/dashboard-apps-list.js.coffee +0 -127
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/dashboard-components.js.coffee +0 -25
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/dashboard-marketplace-app.js.coffee +0 -77
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/dashboard-marketplace.js.coffee +0 -51
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/dashboard-menu.js.coffee +0 -174
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/arrears.js.coffee +0 -70
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/billing.js.coffee +0 -48
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/credit-card.js.coffee +0 -142
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/index.js.coffee +0 -61
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/invoices.js.coffee +0 -42
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/members.js.coffee +0 -280
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/settings.js.coffee +0 -91
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/team-list.js.coffee +0 -179
- data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/teams.js.coffee +0 -268
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/file-model.js.coffee +0 -33
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-autostop-app.js.coffee +0 -123
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-currency-widget.js.coffee +0 -43
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-current-currency.js.coffee +0 -22
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-editable.js.coffee +0 -68
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-helptext.js.coffee +0 -38
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-match.js.coffee +0 -14
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-message-modal.js.coffee +0 -56
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-partner-code-popup.js.coffee +0 -74
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-partner-contact.js.coffee +0 -59
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-price-converter.js.coffee +0 -49
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-scroll-to.js.coffee +0 -14
- data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-typeahead.js.coffee +0 -89
- data/app/assets/javascripts/mno_enterprise/angular/directives/user-setup/components.js.coffee +0 -7
- data/app/assets/javascripts/mno_enterprise/angular/directives/user-setup/index.js.coffee +0 -256
- data/app/assets/javascripts/mno_enterprise/angular/filters/maestrano-app-by-category.js.coffee +0 -5
- data/app/assets/javascripts/mno_enterprise/angular/filters/maestrano-currency.js.coffee +0 -30
- data/app/assets/javascripts/mno_enterprise/angular/filters/maestrano-filters.js.coffee +0 -7
- data/app/assets/javascripts/mno_enterprise/angular/filters/maestrano-replace-underscore-with-space.js.coffee +0 -4
- data/app/assets/javascripts/mno_enterprise/angular/filters/maestrano-titleize.js.coffee +0 -7
- data/app/assets/javascripts/mno_enterprise/angular/filters/maestrano-truncate.js.coffee +0 -24
- data/app/assets/javascripts/mno_enterprise/angular/services/dashboard/maestrano-app-instance.js.coffee +0 -15
- data/app/assets/javascripts/mno_enterprise/angular/services/dashboard/maestrano-apps-document.js.coffee +0 -83
- data/app/assets/javascripts/mno_enterprise/angular/services/dashboard/maestrano-user.js.coffee +0 -27
- data/app/assets/javascripts/mno_enterprise/angular/services/dashboard/organization-svc.js.coffee +0 -318
- data/app/assets/javascripts/mno_enterprise/angular/services/dashboard/team-svc.js.coffee +0 -180
- data/app/assets/javascripts/mno_enterprise/angular/services/dashboard/tickets-svc.js.coffee +0 -109
- data/app/assets/javascripts/mno_enterprise/angular/services/impac-config.svc.js.coffee +0 -35
- data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-apps-list-helper.js.coffee +0 -337
- data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-current-currency.js.coffee +0 -7
- data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-current-user-svc.js.coffee +0 -99
- data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-exchange-rates.js.coffee +0 -102
- data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-miscellaneous.js.coffee.erb +0 -46
- data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-modal.js.coffee +0 -67
- data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-services.js.coffee +0 -21
- data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-shopping-cart.js.coffee +0 -361
- data/app/assets/javascripts/mno_enterprise/angular/services/marketplace-svc.js.coffee +0 -59
- data/app/assets/javascripts/mno_enterprise/lib/angular-really-click.js +0 -17
- data/app/assets/javascripts/ng-performance/ngPerformance.html +0 -109
- data/app/assets/javascripts/ng-performance/ngPerformance.js +0 -211
- data/app/assets/stylesheets/mno_enterprise/custom/impac-variables-override.less +0 -65
- data/app/assets/stylesheets/mno_enterprise/custom/utility/app-presentation.less +0 -77
- data/app/assets/stylesheets/mno_enterprise/custom/utility/banners.less +0 -145
- data/app/assets/stylesheets/mno_enterprise/custom/utility/carousel.less +0 -68
- data/app/assets/stylesheets/mno_enterprise/custom/utility/helptext.less +0 -40
- data/app/assets/stylesheets/mno_enterprise/custom/utility/miscellaneous.less +0 -134
- data/app/assets/stylesheets/mno_enterprise/custom/utility/testimonial.less +0 -118
- data/app/assets/stylesheets/mno_enterprise/custom/views/apps.less +0 -243
- data/app/assets/stylesheets/mno_enterprise/custom/views/myspace.less +0 -477
- data/app/assets/stylesheets/mno_enterprise/custom/views/pages/home.less +0 -57
- data/app/assets/stylesheets/mno_enterprise/custom/views/star.less +0 -18
- data/app/assets/stylesheets/mno_enterprise/custom/views/templates/dashboard/bootstrap-wizard.less +0 -63
- data/app/assets/stylesheets/mno_enterprise/custom/views/templates/dashboard/dashboard-marketplace.less +0 -187
- data/app/assets/stylesheets/mno_enterprise/custom/views/templates/dashboard/dashboard-organization.less +0 -149
- data/app/assets/stylesheets/mno_enterprise/custom/views/templates/dashboard/dashboard-teams.less +0 -119
- data/app/assets/stylesheets/mno_enterprise/custom/views/templates/dashboard/support.less +0 -42
- data/app/assets/stylesheets/mno_enterprise/custom/views/templates/dashboard/tickets.less +0 -80
- data/app/assets/stylesheets/mno_enterprise/custom/views/templates/mno-editable.less +0 -60
- data/app/assets/stylesheets/mno_enterprise/custom/views/templates/shopping-cart.less +0 -333
- data/app/assets/stylesheets/mno_enterprise/custom/views/templates/star-wizard.less +0 -49
- data/app/assets/stylesheets/mno_enterprise/custom/views/user-setup.less +0 -10
- data/app/assets/templates/mno_enterprise/dashboard/account.html +0 -131
- data/app/assets/templates/mno_enterprise/dashboard/app_deletion.html +0 -36
- data/app/assets/templates/mno_enterprise/dashboard/apps_list.html +0 -103
- data/app/assets/templates/mno_enterprise/dashboard/horizontal_menu.html +0 -85
- data/app/assets/templates/mno_enterprise/dashboard/marketplace/index.html +0 -60
- data/app/assets/templates/mno_enterprise/dashboard/marketplace/show.html +0 -133
- data/app/assets/templates/mno_enterprise/dashboard/menu.html +0 -161
- data/app/assets/templates/mno_enterprise/dashboard/organization/arrears.html +0 -37
- data/app/assets/templates/mno_enterprise/dashboard/organization/billing.html +0 -37
- data/app/assets/templates/mno_enterprise/dashboard/organization/credit-card.html +0 -156
- data/app/assets/templates/mno_enterprise/dashboard/organization/index.full.html +0 -181
- data/app/assets/templates/mno_enterprise/dashboard/organization/index.html +0 -173
- data/app/assets/templates/mno_enterprise/dashboard/organization/invoices.html +0 -27
- data/app/assets/templates/mno_enterprise/dashboard/organization/members.html +0 -288
- data/app/assets/templates/mno_enterprise/dashboard/organization/settings.html +0 -55
- data/app/assets/templates/mno_enterprise/dashboard/teams/index.html +0 -175
- data/app/assets/templates/mno_enterprise/dashboard/teams/member-add-modal.html +0 -60
- data/app/assets/templates/mno_enterprise/dashboard/teams/member-removal-modal.html +0 -35
- data/app/assets/templates/mno_enterprise/dashboard/teams/team-add-modal.html +0 -35
- data/app/assets/templates/mno_enterprise/dashboard/teams/team-delete-modal.html +0 -35
- data/app/assets/templates/mno_enterprise/dashboard/teams/team-list.html +0 -107
- data/app/assets/templates/mno_enterprise/default_template.html +0 -20
- data/app/assets/templates/mno_enterprise/maestrano-components/autostop_app.html +0 -42
- data/app/assets/templates/mno_enterprise/maestrano-components/currency_widget.html +0 -1
- data/app/assets/templates/mno_enterprise/maestrano-components/editable.html +0 -28
- data/app/assets/templates/mno_enterprise/maestrano-components/modal-messages/congratulations.html +0 -8
- data/app/assets/templates/mno_enterprise/maestrano-components/modal-messages/default.html +0 -1
- data/app/assets/templates/mno_enterprise/maestrano-components/modal-messages/information.html +0 -8
- data/app/assets/templates/mno_enterprise/maestrano-components/star_wizard.html +0 -254
- data/app/assets/templates/mno_enterprise/maestrano-components/upload_spreadsheet.html +0 -191
- data/app/assets/templates/mno_enterprise/modals/new-organization-reseller-req.html +0 -35
- data/app/assets/templates/mno_enterprise/modals/new-organization.html +0 -35
- data/app/assets/templates/mno_enterprise/user-setup/index.html +0 -312
- data/app/controllers/mno_enterprise/pages_controller.rb +0 -9
- data/app/controllers/mno_enterprise/user_setup_controller.rb +0 -11
- data/app/views/layouts/mno_enterprise/_impersonate_header.html.haml +0 -7
- data/app/views/layouts/mno_enterprise/application_dashboard.html.haml +0 -22
- data/app/views/mno_enterprise/pages/myspace.html.haml +0 -6
- data/app/views/mno_enterprise/user_setup/index.html.haml +0 -2
- data/config/initializers/ng-performance.rb +0 -3
- data/lib/assets/javascripts/impac-angular.js +0 -8719
- data/lib/assets/stylesheets/impac-angular.less +0 -2352
- data/lib/mno_enterprise/frontend/concerns/README.md +0 -6
- data/lib/mno_enterprise/frontend/concerns/controllers/pages_controller.rb +0 -25
- data/spec/controllers/mno_enterprise/pages_controller_spec.rb +0 -42
- data/spec/controllers/mno_enterprise/user_setup_controller_spec.rb +0 -33
- data/spec/routing/mno_enterprise/pages_controller_routing_spec.rb +0 -18
- data/spec/routing/mno_enterprise/user_setup_controller_routing_spec.rb +0 -11
@@ -1,133 +0,0 @@
|
|
1
|
-
<div class="dashboard-marketplace-app">
|
2
|
-
<div class="spacer1"></div>
|
3
|
-
|
4
|
-
<!-- Header -->
|
5
|
-
<div class="row show-header">
|
6
|
-
<div class="col-md-12">
|
7
|
-
<a href="#/marketplace" class="text-muted">
|
8
|
-
< Back
|
9
|
-
</a>
|
10
|
-
|
11
|
-
<div class="media">
|
12
|
-
<div class="pull-left">
|
13
|
-
<img class="media-object" ng-src="{{app.logo}}" ng-alt="{{app.name}}">
|
14
|
-
</div>
|
15
|
-
<div class="media-body">
|
16
|
-
<h2 class="media-heading">{{app.name}}</h2>
|
17
|
-
</div>
|
18
|
-
</div>
|
19
|
-
|
20
|
-
</div>
|
21
|
-
</div>
|
22
|
-
|
23
|
-
<div class="spacer1"></div>
|
24
|
-
|
25
|
-
<!-- Content -->
|
26
|
-
<div class="show-content">
|
27
|
-
|
28
|
-
<!-- Pics/details row -->
|
29
|
-
<div class="row">
|
30
|
-
|
31
|
-
<div class="col-md-8">
|
32
|
-
<div class="well carousel">
|
33
|
-
<div carousel interval="3000">
|
34
|
-
<div slide ng-repeat="picture in app.pictures" class="screenshot">
|
35
|
-
<img ng-src={{picture}} alt="screenshot">
|
36
|
-
</div>
|
37
|
-
</div>
|
38
|
-
</div>
|
39
|
-
|
40
|
-
</div>
|
41
|
-
|
42
|
-
<div class="col-md-4">
|
43
|
-
|
44
|
-
<div class="well text-center well-details">
|
45
|
-
<div ng-show="helper.canCreateApp()" class="row">
|
46
|
-
<div class="col-xs-12 col-sm-4 col-sm-offset-4 col-md-8 col-md-offset-2">
|
47
|
-
<div class="btn-fluid-wrapper">
|
48
|
-
<a class="btn btn-warning btn-promo" ng-href="{{provisionLink()}}">
|
49
|
-
Start Now!
|
50
|
-
</a>
|
51
|
-
</div>
|
52
|
-
</div>
|
53
|
-
</div>
|
54
|
-
<div ng-show="!helper.canCreateApp()" class="row">
|
55
|
-
<div class="col-xs-12 col-sm-4 col-sm-offset-4 col-md-8 col-md-offset-2">
|
56
|
-
<div class="btn-fluid-wrapper">
|
57
|
-
<a class="btn btn-warning btn-promo" disabled>
|
58
|
-
Ask your admin
|
59
|
-
</a>
|
60
|
-
</div>
|
61
|
-
</div>
|
62
|
-
</div>
|
63
|
-
|
64
|
-
<div class="row">
|
65
|
-
|
66
|
-
<div class="col-xs-12 col-sm-4 col-sm-offset-4 col-md-8 col-md-offset-2">
|
67
|
-
<ul class="app-features">
|
68
|
-
<li ng-show="app.is_responsive">
|
69
|
-
<img ng-src="{{assetPath['icons/mobile-responsive-logo.png']}}" alt="responsive icon">
|
70
|
-
Responsive
|
71
|
-
</li>
|
72
|
-
<li ng-show="app.is_star_ready" mno-helptext="Your live tutorials directly inside your app">
|
73
|
-
<img ng-src="{{assetPath['icons/star-enabled-logo.png']}}" alt="Star icon">
|
74
|
-
Star!™ Tutorials
|
75
|
-
</li>
|
76
|
-
<li ng-show="app.is_connec_ready" mno-helptext="Your Data automatically shared between your applications">
|
77
|
-
<img ng-src="{{assetPath['icons/connec-enabled-logo.png']}}" alt="Connec icon">
|
78
|
-
Connec!™ Ready
|
79
|
-
</li>
|
80
|
-
</ul>
|
81
|
-
</div>
|
82
|
-
</div>
|
83
|
-
|
84
|
-
<div class="row">
|
85
|
-
<div class="col-xs-12 col-sm-8 col-sm-offset-2 col-md-12 col-md-offset-0">
|
86
|
-
|
87
|
-
<ul class="key-benefits">
|
88
|
-
<li ng-repeat="benefit in app.key_benefits track by $index">
|
89
|
-
<i class="fa fa-check"></i>
|
90
|
-
{{benefit}}
|
91
|
-
</li>
|
92
|
-
</ul>
|
93
|
-
|
94
|
-
</div>
|
95
|
-
</div>
|
96
|
-
|
97
|
-
</div>
|
98
|
-
|
99
|
-
</div>
|
100
|
-
|
101
|
-
<!-- End pics/details row -->
|
102
|
-
</div>
|
103
|
-
|
104
|
-
<!-- Testimonials row -->
|
105
|
-
<div class="row">
|
106
|
-
<div class="col-md-6" ng-repeat="testimonial in app.testimonials | limitTo:2" ng-show="isTestimonialShown(testimonial)">
|
107
|
-
<div class="ribbon-testimonial ribbon-white">
|
108
|
-
<div class="body">
|
109
|
-
{{ testimonial.text }}
|
110
|
-
<div class="arrow"></div>
|
111
|
-
</div>
|
112
|
-
<div class="from">
|
113
|
-
<div class="name">{{ testimonial.author }}</div>
|
114
|
-
<div class="company">{{ testimonial.company }}</div>
|
115
|
-
</div>
|
116
|
-
</div>
|
117
|
-
</div>
|
118
|
-
|
119
|
-
<div class="spacer1"></div>
|
120
|
-
</div>
|
121
|
-
|
122
|
-
<!-- Description row -->
|
123
|
-
<div class="row">
|
124
|
-
<div class="col-md-12">
|
125
|
-
<div class="well" ng-bind-html="app.description"></div>
|
126
|
-
</div>
|
127
|
-
</div>
|
128
|
-
|
129
|
-
<!-- End show-content -->
|
130
|
-
</div>
|
131
|
-
|
132
|
-
|
133
|
-
</div>
|
@@ -1,161 +0,0 @@
|
|
1
|
-
<!---------------------------->
|
2
|
-
<!-- Advertisement moda -->
|
3
|
-
<!---------------------------->
|
4
|
-
<div mno-message-modal></div>
|
5
|
-
|
6
|
-
|
7
|
-
<!---------------------------->
|
8
|
-
<!-- Responsive Navbar -->
|
9
|
-
<!---------------------------->
|
10
|
-
<div class="navbar navbar-fixed-top navbar-inverse navbar-dashboard visible-xs">
|
11
|
-
<div class="container-fluid">
|
12
|
-
<div class="navbar-header">
|
13
|
-
<button class="navbar-toggle" data-toggle='collapse' data-target='#maestrano-dashboard-navbar-collapse'>
|
14
|
-
<span class="sr-only">Toggle navigation</span>
|
15
|
-
<span class="icon-bar"></span>
|
16
|
-
<span class="icon-bar"></span>
|
17
|
-
<span class="icon-bar"></span>
|
18
|
-
<span class="icon-bar"></span>
|
19
|
-
</button>
|
20
|
-
</div>
|
21
|
-
<a class="navbar-brand" href="/">
|
22
|
-
<div>Dashboard</div>
|
23
|
-
</a>
|
24
|
-
<div class="collapse navbar-collapse" id="maestrano-dashboard-navbar-collapse">
|
25
|
-
<ul class="nav navbar-nav">
|
26
|
-
<!-- ------------------------- -->
|
27
|
-
<!-- My account section -->
|
28
|
-
<!-- ------------------------- -->
|
29
|
-
<li ng-show="!selectBoxisEmpty()">
|
30
|
-
<a href="#/">My dashboard</a>
|
31
|
-
</li>
|
32
|
-
<li ng-show="!selectBoxisEmpty() && isAnalyticsTabShown()">
|
33
|
-
<a href="#/impac">Impac!</a>
|
34
|
-
</li>
|
35
|
-
<li>
|
36
|
-
<a href="#/account">My account</a>
|
37
|
-
</li>
|
38
|
-
<li ng-show="!selectBoxisEmpty()">
|
39
|
-
<a href="#/company">My company</a>
|
40
|
-
</li>
|
41
|
-
<li ng-show="!selectBoxisEmpty()">
|
42
|
-
<a href="#/marketplace">Marketplace</a>
|
43
|
-
</li>
|
44
|
-
<!-- <li ng-show="!selectBoxisEmpty()">
|
45
|
-
<a href="#/support">Support</a>
|
46
|
-
</li> -->
|
47
|
-
<li>
|
48
|
-
<a href="/mnoe/auth/users/sign_out" data-method='delete'>Sign Out</a>
|
49
|
-
</li>
|
50
|
-
</ul>
|
51
|
-
</div>
|
52
|
-
</div>
|
53
|
-
</div>
|
54
|
-
|
55
|
-
<!-- Push content below the navbar + select box -->
|
56
|
-
<div class="spacer2 visible-xs-block"></div>
|
57
|
-
|
58
|
-
<!-------------------------->
|
59
|
-
<!-- Select Box -->
|
60
|
-
<!-------------------------->
|
61
|
-
<div class="company-select-box">
|
62
|
-
<div class="wrapper">
|
63
|
-
|
64
|
-
<div class="box-header">
|
65
|
-
<span class="title">{{ selectBox.userLabel }}</span>
|
66
|
-
-
|
67
|
-
<span class="title">{{ selectBox.organization.name }}</span>
|
68
|
-
<a type="button" class="btn switch-company" ng-click="selectBox.toggle()">
|
69
|
-
<i ng-class="!selectBox.isClosed && 'active'"></i>
|
70
|
-
</a>
|
71
|
-
</div>
|
72
|
-
|
73
|
-
<div class="box-content scrollbar-hidden" collapse="selectBox.isClosed">
|
74
|
-
<ul class="list-unstyled">
|
75
|
-
<li ng-repeat="organization in selectBox.organizationList()" >
|
76
|
-
<a href="" ng-click="selectBox.changeTo(organization)" compile="selectBox.organizationLabel(organization)"></a>
|
77
|
-
</li>
|
78
|
-
</ul>
|
79
|
-
<div class="create-new">
|
80
|
-
<a href="" ng-click="selectBox.createNewOrga()"><small>New Company</small></a>
|
81
|
-
</div>
|
82
|
-
<div class="admin-link" ng-if="selectBox.user.admin_role">
|
83
|
-
<a href="/admin/"><small>Access Admin Panel</small></a>
|
84
|
-
</div>
|
85
|
-
</div>
|
86
|
-
|
87
|
-
</div>
|
88
|
-
</div>
|
89
|
-
|
90
|
-
<!-------------------------->
|
91
|
-
<!-- Side Navbar -->
|
92
|
-
<!-------------------------->
|
93
|
-
<div class="col-xs-1 hidden-xs scrollbar-hidden">
|
94
|
-
<div class="menu vertical expanded">
|
95
|
-
<!--Home page link-->
|
96
|
-
<a href="/">
|
97
|
-
<div class='brand-logo'></div>
|
98
|
-
</a>
|
99
|
-
<!---------------------------------------------------------------------------------------------------------------->
|
100
|
-
<!-- User section -->
|
101
|
-
<!---------------------------------------------------------------------------------------------------------------->
|
102
|
-
<div ng-show="!selectBoxisEmpty()">
|
103
|
-
<a href="#/">
|
104
|
-
<div class="dashboard-button" ng-class="isButtonActive('/') && 'active'">
|
105
|
-
<div class='content'>Dashboard</div>
|
106
|
-
<i class="dhb-icon-dashboard"></i>
|
107
|
-
</div>
|
108
|
-
</a>
|
109
|
-
<br>
|
110
|
-
</div>
|
111
|
-
<div ng-show="!selectBoxisEmpty()">
|
112
|
-
<a href="#/impac">
|
113
|
-
<div class="dashboard-button" ng-class="isButtonActive('/impac') && 'active'">
|
114
|
-
<div class='content'>Impac!</div>
|
115
|
-
<i class="dhb-icon-impac"></i>
|
116
|
-
</div>
|
117
|
-
</a>
|
118
|
-
<br>
|
119
|
-
</div>
|
120
|
-
<a href="#/account">
|
121
|
-
<div ng-class="isButtonActive('/account') && 'active'" class="dashboard-button">
|
122
|
-
<div class='content'>My Account</div>
|
123
|
-
<i class="dhb-icon-account"></i>
|
124
|
-
</div>
|
125
|
-
</a>
|
126
|
-
<br>
|
127
|
-
<div ng-show="!selectBoxisEmpty()">
|
128
|
-
<a href="#/company">
|
129
|
-
<div ng-class="isButtonActive('/company') && 'active'" class="dashboard-button">
|
130
|
-
<div class='content'>Company</div>
|
131
|
-
<i class="dhb-icon-company"></i>
|
132
|
-
</div>
|
133
|
-
</a>
|
134
|
-
<br>
|
135
|
-
</div>
|
136
|
-
<!-- <div ng-show="!selectBoxisEmpty()">
|
137
|
-
<a href="#/support">
|
138
|
-
<div ng-class="isButtonActive('/support') && 'active'" class="dashboard-button">
|
139
|
-
<div class='content'>Support</div>
|
140
|
-
<i class="dhb-icon-support"></i>
|
141
|
-
</div>
|
142
|
-
</a>
|
143
|
-
<br>
|
144
|
-
</div> -->
|
145
|
-
<div ng-show="!selectBoxisEmpty()">
|
146
|
-
<a href="#/marketplace">
|
147
|
-
<div ng-class="isButtonActive('/marketplace') && 'active'" class="dashboard-button">
|
148
|
-
<div class='content'>Marketplace</div>
|
149
|
-
<i class="dhb-icon-marketplace"></i>
|
150
|
-
</div>
|
151
|
-
</a>
|
152
|
-
<br>
|
153
|
-
</div>
|
154
|
-
<a href="/mnoe/auth/users/sign_out" data-method='delete'>
|
155
|
-
<div class="dashboard-button">
|
156
|
-
<div class='content'>Logout</div>
|
157
|
-
<i class="dhb-icon-logout"></i>
|
158
|
-
</div>
|
159
|
-
</a>
|
160
|
-
</div>
|
161
|
-
</div>
|
@@ -1,37 +0,0 @@
|
|
1
|
-
<div class="alert alert-danger" ng-show="paymentFailedBox.errors">
|
2
|
-
<button class="close" ng-click="paymentFailedBox.errors=''">×</button>
|
3
|
-
<div ng-show="paymentFailedBox.errors">
|
4
|
-
<div>
|
5
|
-
<h5>Sorry we couldn't process this payment</h5>
|
6
|
-
<ul>
|
7
|
-
<li ng-repeat="error in paymentFailedBox.errors">{{error}}</li>
|
8
|
-
</ul>
|
9
|
-
</div>
|
10
|
-
</div>
|
11
|
-
</div>
|
12
|
-
<div class="alert alert-success" ng-show="paymentFailedBox.success">
|
13
|
-
<button class="close" ng-click="paymentFailedBox.success=''">×</button>
|
14
|
-
<div ng-show="paymentFailedBox.success">
|
15
|
-
<div>
|
16
|
-
<h5>{{paymentFailedBox.success}}</h5>
|
17
|
-
</div>
|
18
|
-
</div>
|
19
|
-
</div>
|
20
|
-
<div class="alert alert-error" ng-show="paymentFailedBox.show()">
|
21
|
-
<div class="align-center">
|
22
|
-
<p>
|
23
|
-
<b>Your account is currently in arrears as we were unable to charge your designated credit card.
|
24
|
-
<br />Please make sure your credit card details are up to date, then click the button below.</b>
|
25
|
-
</p>
|
26
|
-
<p>
|
27
|
-
<b>Unfortunately if we are unable to charge your credit card by {{ paymentFailedBox.getSituation().executeAt | date:'MMMM d, y h:mm:ss a' }}, your applications will be automatically shut down.</b>
|
28
|
-
</p>
|
29
|
-
<div>
|
30
|
-
<button class="btn" ng-click="paymentFailedBox.retryPayment()" ng-show="!paymentFailedBox.inProgress">
|
31
|
-
<span class="glyphicon glyphicon-repeat" aria-hidden="true"></span>
|
32
|
-
Retry Payment
|
33
|
-
</button>
|
34
|
-
<img ng-src="{{assetPath['mno_enterprise/loader-32x32-bg-inverse.gif']}}" ng-show="paymentFailedBox.inProgress" alt="Loading"/>
|
35
|
-
</div>
|
36
|
-
</div>
|
37
|
-
</div>
|
@@ -1,37 +0,0 @@
|
|
1
|
-
<div class="row">
|
2
|
-
<div class="col-md-12">
|
3
|
-
<p>
|
4
|
-
Your billing for the current invoicing period is:
|
5
|
-
<b>{{ billing.current.value | currency: billing.current.options.symbol }} ({{ billing.current.options.iso_code }})</b>
|
6
|
-
</p>
|
7
|
-
</div>
|
8
|
-
</div>
|
9
|
-
|
10
|
-
<div class="row" ng-show="isCreditShown()">
|
11
|
-
<div class="col-md-12">
|
12
|
-
<p>
|
13
|
-
You have <b>{{ billing.credit.value | currency: billing.credit.options.symbol }} ({{ billing.credit.options.iso_code }})</b> credit on your account to be used for the next payment. Note that this credit account will also be linked to any organization you create.
|
14
|
-
</p>
|
15
|
-
</div>
|
16
|
-
</div>
|
17
|
-
|
18
|
-
<div class="row">
|
19
|
-
<div class="col-md-12">
|
20
|
-
<p>
|
21
|
-
<small>
|
22
|
-
<em>
|
23
|
-
Note that the amount for your current invoicing period is indicative and might not reflect the latest changes in your current billing.
|
24
|
-
</em>
|
25
|
-
</small>
|
26
|
-
</p>
|
27
|
-
</div>
|
28
|
-
</div>
|
29
|
-
|
30
|
-
<div class="row">
|
31
|
-
<div class="col-md-12">
|
32
|
-
<h5>About our billing cycle</h5>
|
33
|
-
<p>
|
34
|
-
Our invoicing period runs from the 25th of the previous month to the 24th of the current month. Any amount due (current spending minus credit) is charged on the 2nd of the following month.
|
35
|
-
</p>
|
36
|
-
</div>
|
37
|
-
</div>
|
@@ -1,156 +0,0 @@
|
|
1
|
-
<!--
|
2
|
-
Credit Card Form
|
3
|
-
-->
|
4
|
-
<div class="row">
|
5
|
-
<h4 class="cc-header">
|
6
|
-
Credit Card Details
|
7
|
-
<small>
|
8
|
-
<em class="text-muted">
|
9
|
-
- This is a secured, 128-bit SSL encrypted credit card form
|
10
|
-
</em>
|
11
|
-
</small>
|
12
|
-
</h4>
|
13
|
-
|
14
|
-
<div class="clearfix"></div>
|
15
|
-
<hr>
|
16
|
-
<form name="forms.creditCard" role="form" novalidate class="form-horizontal">
|
17
|
-
|
18
|
-
<div class="form-group">
|
19
|
-
<label class="col-sm-2 control-label">Title</label>
|
20
|
-
<div class="col-sm-4">
|
21
|
-
<select class="form-control" ng-model="model.title" ng-options="label for label in config.validTitles" required>
|
22
|
-
<option value='' disabled selected style='display:none;'>-- SELECT --</option>
|
23
|
-
</select>
|
24
|
-
<div class="select fa fa-caret-down"></div>
|
25
|
-
</div>
|
26
|
-
</div>
|
27
|
-
|
28
|
-
<div class="form-group">
|
29
|
-
<label class="col-sm-2 control-label">Name on card</label>
|
30
|
-
|
31
|
-
<div class="col-sm-4">
|
32
|
-
<input type="text" class="form-control" placeholder="Name" ng-model="model.first_name" required/>
|
33
|
-
</div>
|
34
|
-
<div class="col-sm-5">
|
35
|
-
<input type="text" class="form-control" placeholder="Surname" ng-model="model.last_name" required/>
|
36
|
-
</div>
|
37
|
-
</div>
|
38
|
-
|
39
|
-
<div class="form-group">
|
40
|
-
<label class="col-sm-2 control-label">Card Number</label>
|
41
|
-
<div class="col-sm-9">
|
42
|
-
<input type="text" class="form-control" ng-model="model.number" required/>
|
43
|
-
</div>
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<div class="form-group">
|
47
|
-
<label class="col-sm-2 control-label">CVV</label>
|
48
|
-
<div class="col-sm-3">
|
49
|
-
<input type="text" class="form-control" ng-model="model.verification_value" required/>
|
50
|
-
</div>
|
51
|
-
</div>
|
52
|
-
|
53
|
-
<div class="form-group">
|
54
|
-
<label class="col-sm-2 control-label">Country</label>
|
55
|
-
<div class="col-sm-6">
|
56
|
-
<select class="form-control" ng-model="model.country" ng-options="country.val as country.label for country in config.validCountries" required>
|
57
|
-
<option value='' disabled selected style='display:none;'>-- SELECT --</option>
|
58
|
-
</select>
|
59
|
-
<div class="select fa fa-caret-down"></div>
|
60
|
-
</div>
|
61
|
-
</div>
|
62
|
-
|
63
|
-
<div class="form-group">
|
64
|
-
<label class="col-sm-2 control-label">Expiry</label>
|
65
|
-
<div class="col-sm-3">
|
66
|
-
<select class="form-control" ng-model="model.month" ng-options="label for label in config.validMonths" required>
|
67
|
-
<option value='' disabled selected style='display:none;'>-- MONTH --</option>
|
68
|
-
</select>
|
69
|
-
<div class="select fa fa-caret-down"></div>
|
70
|
-
</div>
|
71
|
-
|
72
|
-
<div class="col-sm-3">
|
73
|
-
<select class="form-control" ng-model="model.year" ng-options="label for label in config.validYears" required>
|
74
|
-
<option value='' disabled selected style='display:none;'>-- YEAR --</option>
|
75
|
-
</select>
|
76
|
-
<div class="select fa fa-caret-down"></div>
|
77
|
-
</div>
|
78
|
-
</div>
|
79
|
-
|
80
|
-
<!-- End: ccViewForm Details -->
|
81
|
-
</form>
|
82
|
-
</div>
|
83
|
-
|
84
|
-
<!--
|
85
|
-
Billing Address
|
86
|
-
-->
|
87
|
-
<div class="row">
|
88
|
-
|
89
|
-
<h4 class="cc-header">Billing Address</h4>
|
90
|
-
<hr>
|
91
|
-
<form name="forms.billingAddress" novalidate class="form-horizontal">
|
92
|
-
|
93
|
-
<div class="form-group">
|
94
|
-
<label class="col-sm-2 control-label">Street Address</label>
|
95
|
-
<div class="col-sm-9">
|
96
|
-
<input type="text" class="form-control" ng-model="model.billing_address" required/>
|
97
|
-
</div>
|
98
|
-
</div>
|
99
|
-
|
100
|
-
<div class="form-group">
|
101
|
-
<label class="col-sm-2 control-label">City</label>
|
102
|
-
<div class="col-sm-4">
|
103
|
-
<input type="text" class="form-control" ng-model="model.billing_city" required/>
|
104
|
-
</div>
|
105
|
-
|
106
|
-
<label class="col-sm-1 control-label">Postcode</label>
|
107
|
-
<div class="col-sm-4">
|
108
|
-
<input type="text" class="form-control" ng-model="model.billing_postcode" required/>
|
109
|
-
</div>
|
110
|
-
</div>
|
111
|
-
|
112
|
-
<div class="form-group">
|
113
|
-
<label class="col-sm-2 control-label">Country</label>
|
114
|
-
<div class="col-sm-6">
|
115
|
-
<select class="form-control" ng-model="model.billing_country" ng-options="country.val as country.label for country in config.validCountries" required>
|
116
|
-
<option value='' disabled selected style='display:none;'>-- SELECT --</option>
|
117
|
-
</select>
|
118
|
-
<div class="select fa fa-caret-down"></div>
|
119
|
-
</div>
|
120
|
-
</div>
|
121
|
-
|
122
|
-
<!-- End: Billing Address -->
|
123
|
-
</form>
|
124
|
-
</div>
|
125
|
-
|
126
|
-
<!--
|
127
|
-
Error messages
|
128
|
-
-->
|
129
|
-
<div class="row">
|
130
|
-
<div class="alert alert-error" ng-show="errors">
|
131
|
-
<button class="close" ng-click="errors=''">×</button>
|
132
|
-
<ul>
|
133
|
-
<li ng-repeat="error in errors">{{error}}</li>
|
134
|
-
</ul>
|
135
|
-
</div>
|
136
|
-
</div>
|
137
|
-
|
138
|
-
<!--
|
139
|
-
Action buttons
|
140
|
-
-->
|
141
|
-
<div class="row text-right" ng-show="isLoading">
|
142
|
-
<img ng-src="{{assetPath['mno_enterprise/loader-32x32-bg-inverse.gif']}}" alt="Loading"/>
|
143
|
-
</div>
|
144
|
-
<div class="row text-right" ng-show="!isLoading">
|
145
|
-
<div class="col-md-4 col-md-offset-8">
|
146
|
-
<button ng-click="cancel()" class="btn btn-shaded btn-lg" ng-show="isCancelShown()">
|
147
|
-
Cancel
|
148
|
-
</button>
|
149
|
-
|
150
|
-
<button ng-click="save()" href="" class="btn btn-info btn-lg" ng-disabled="!isSaveEnabled()">
|
151
|
-
<i class="fa fa-shield"></i>
|
152
|
-
|
153
|
-
Save
|
154
|
-
</button>
|
155
|
-
</div>
|
156
|
-
</div>
|