Skip to content

Commit 8f1fdb1

Browse files
committed
added upgrade page + update package
1 parent 5603583 commit 8f1fdb1

20 files changed

+144
-77
lines changed

app/dashboard/dashboard.routes.js

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/dashboard/dashboard.routes.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/dashboard/dashboard.routes.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { TableComponent } from './table/table.component';
77
import { NotificationsComponent } from './notifications/notifications.component';
88
import { TypographyComponent } from './typography/typography.component';
99
import { MapsComponent } from './maps/maps.component';
10+
import { UpgradeComponent } from './upgrade/upgrade.component';
1011

1112
export const MODULE_ROUTES: Route[] =[
1213
{ path: 'dashboard', component: HomeComponent },
@@ -16,6 +17,7 @@ export const MODULE_ROUTES: Route[] =[
1617
{ path: 'notifications', component: NotificationsComponent },
1718
{ path: 'typography', component: TypographyComponent },
1819
{ path: 'maps', component: MapsComponent },
20+
{ path: 'upgrade', component: UpgradeComponent },
1921
{ path: '', redirectTo: 'dashboard', pathMatch: 'full' }
2022
]
2123

@@ -26,5 +28,6 @@ export const MODULE_COMPONENTS = [
2628
IconsComponent,
2729
NotificationsComponent,
2830
TypographyComponent,
29-
MapsComponent
31+
MapsComponent,
32+
UpgradeComponent
3033
]
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<div class="main-content">
2+
<div class="container-fluid">
3+
<div class="row">
4+
<div class="col-md-8 col-md-offset-2">
5+
<div class="card">
6+
<div class="card-header text-center" data-background-color="red">
7+
<h4 class="title">Material Dashboard PRO</h4>
8+
<p class="category">Are you looking for more components? Please check our Premium Version of Material Dashboard.</p>
9+
</div>
10+
<div class="card-content">
11+
<div class="table-responsive table-upgrade">
12+
<table class="table">
13+
<thead>
14+
<tr>
15+
<th></th>
16+
<th class="text-center">Free</th>
17+
<th class="text-center">PRO</th>
18+
</tr>
19+
</thead>
20+
<tbody>
21+
<tr>
22+
<td>Components</td>
23+
<td class="text-center">60</td>
24+
<td class="text-center">200</td>
25+
</tr>
26+
<tr>
27+
<td>Plugins</td>
28+
<td class="text-center">2</td>
29+
<td class="text-center">15</td>
30+
</tr>
31+
<tr>
32+
<td>Example Pages</td>
33+
<td class="text-center">3</td>
34+
<td class="text-center">27</td>
35+
</tr>
36+
<tr>
37+
<td>Login, Register, Pricing, Lock Pages</td>
38+
<td class="text-center"><i class="fa fa-times text-danger"></i></td>
39+
<td class="text-center"><i class="fa fa-check text-success"></i></td>
40+
</tr>
41+
<tr>
42+
<td>DataTables, VectorMap, SweetAlert, Wizard, jQueryValidation, FullCalendar etc...</td>
43+
<td class="text-center"><i class="fa fa-times text-danger"></i></td>
44+
<td class="text-center"><i class="fa fa-check text-success"></i></td>
45+
</tr>
46+
<tr>
47+
<td>Mini Sidebar</td>
48+
<td class="text-center"><i class="fa fa-times text-danger"></i></td>
49+
<td class="text-center"><i class="fa fa-check text-success"></i></td>
50+
</tr>
51+
<tr>
52+
<td>Premium Support</td>
53+
<td class="text-center"><i class="fa fa-times text-danger"></i></td>
54+
<td class="text-center"><i class="fa fa-check text-success"></i></td>
55+
</tr>
56+
<tr>
57+
<td></td>
58+
<td class="text-center">Free</td>
59+
<td class="text-center">Just $49</td>
60+
</tr>
61+
<tr>
62+
<td class="text-center"></td>
63+
<td class="text-center">
64+
<a href="#" class="btn btn-round btn-fill btn-default disabled">Current Version</a>
65+
</td>
66+
<td class="text-center">
67+
<a target="_blank" href="https://www.creative-tim.com/product/material-dashboard-pro-angular2/?ref=md-free-angular-upgrade-live" class="btn btn-round btn-fill btn-info">Upgrade to PRO</a>
68+
</td>
69+
</tr>
70+
</tbody>
71+
</table>
72+
</div>
73+
</div>
74+
</div>
75+
</div>
76+
</div>
77+
</div>
78+
</div>

app/dashboard/upgrade/upgrade.component.js

Lines changed: 2 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/dashboard/upgrade/upgrade.component.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { Component } from '@angular/core';
2+
3+
@Component({
4+
selector: 'upgrade-cmp',
5+
moduleId: module.id,
6+
templateUrl: 'upgrade.component.html'
7+
})
8+
9+
export class UpgradeComponent{}

app/shared/navbar/navbar.component.js

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/shared/navbar/navbar.component.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/shared/navbar/navbar.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ export class NavbarComponent implements OnInit{
1616
}
1717
ngOnInit(){
1818
this.listTitles = ROUTES.filter(listTitle => listTitle);
19-
console.log(this.listTitles);
2019
}
2120
getTitle(){
2221
var titlee = this.location.prepareExternalUrl(this.location.path());

0 commit comments

Comments
 (0)