Skip to content

Commit 59c2636

Browse files
committed
fixed merge errors. renamed missleading name in the system information component
1 parent a6e0602 commit 59c2636

File tree

13 files changed

+70
-122
lines changed

13 files changed

+70
-122
lines changed

client/package-lock.json

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

client/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"core-js": "^2.5.4",
2828
"font-awesome": "^4.7.0",
2929
"jquery": "^3.3.1",
30+
"ngx-device-detector": "^1.3.3",
3031
"popper.js": "^1.14.4",
3132
"rxjs": "^6.2.2",
3233
"rxjs-compat": "^6.2.2",

client/src/app/dashboard/dashboard-overview/dashboard-overview.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<div class="col-md-1 col-sm-4">
3131
</div>
3232
<div class="col-md-2 col-sm-4">
33-
<!--<app-statuscard></app-statuscard>-->
33+
<app-statuscard></app-statuscard>
3434
</div>
3535
</div>
3636
</div>

client/src/app/dashboard/dashboard-routing.module.ts

Lines changed: 44 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -16,54 +16,54 @@
1616
* limitations under the License.
1717
*/
1818

19-
import { NgModule } from '@angular/core';
20-
import { RouterModule, Routes } from '@angular/router';
21-
import { WebappComponent } from './webapp/webapp.component';
22-
import { DashboardComponent } from './dashboard.component';
23-
import { DashboardOverviewComponent } from './dashboard-overview/dashboard-overview.component';
24-
import { CrawlerComponent } from './crawler/crawler.component';
25-
import { UserManagementComponent } from './user-management/user-management.component';
26-
import { WebApiComponent } from './webapi/web-api.component';
19+
import {NgModule} from '@angular/core';
20+
import {RouterModule, Routes} from '@angular/router';
21+
import {WebappComponent} from './webapp/webapp.component';
22+
import {DashboardComponent} from './dashboard.component';
23+
import {DashboardOverviewComponent} from './dashboard-overview/dashboard-overview.component';
24+
import {CrawlerComponent} from './crawler/crawler.component';
25+
import {UserManagementComponent} from './user-management/user-management.component';
26+
import {WebApiComponent} from './webapi/web-api.component';
2727
import {UserProfileComponent} from './user-profile/user-profile.component';
2828
import {HelpComponent} from '../help/help.component';
2929

3030

3131
const dashboardRoutes: Routes = [
32-
{
33-
path: 'dashboard',
34-
component: DashboardComponent,
35-
children: [
32+
{
33+
path: 'dashboard',
34+
component: DashboardComponent,
35+
children: [
3636
{
37-
path: '',
38-
component: DashboardOverviewComponent
39-
},
40-
{
41-
path: 'webapp',
42-
component: WebappComponent
43-
},
44-
{
45-
path: 'crawler',
46-
component: CrawlerComponent
47-
},
48-
{
49-
path: 'webapi',
50-
component: WebapiComponent
51-
},
52-
{
53-
path: 'usermanagement',
54-
component: UserManagementComponent
55-
},
56-
{
57-
path: 'userProfile',
58-
component: UserProfileComponent
59-
},
60-
{
61-
path: 'help',
62-
component: HelpComponent
63-
}
64-
]}
65-
];
66-
37+
path: '',
38+
component: DashboardOverviewComponent
39+
},
40+
{
41+
path: 'webapp',
42+
component: WebappComponent
43+
},
44+
{
45+
path: 'crawler',
46+
component: CrawlerComponent
47+
},
48+
{
49+
path: 'webApi',
50+
component: WebApiComponent
51+
},
52+
{
53+
path: 'userManagement',
54+
component: UserManagementComponent
55+
},
56+
{
57+
path: 'userProfile',
58+
component: UserProfileComponent
59+
},
60+
{
61+
path: 'help',
62+
component: HelpComponent
63+
}
64+
]
65+
}];
66+
6767

6868
@NgModule({
6969
imports: [
@@ -80,4 +80,5 @@ const dashboardRoutes: Routes = [
8080
* rendered once and load the routed components in
8181
* between.
8282
*/
83-
export class DashboardRoutingModule { }
83+
export class DashboardRoutingModule {
84+
}

client/src/app/dashboard/dashboard.module.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@ import { DashboardOverviewComponent } from './dashboard-overview/dashboard-overv
3636
import { TableAllComponent } from './table-all/table-all.component';
3737
import { HeaderComponent } from './header/header.component';
3838
import { StatusCardComponent } from './status-card/status-card.component';
39-
import { DeviceDetectorModule } from 'ngx-device-detector';
39+
import { DeviceDetectorModule } from 'ngx-device-detector';
4040
import { DeletedialogComponent } from './deletedialog/deletedialog.component';
4141
import { UserManagementComponent } from './user-management/user-management.component';
42-
import { HelpComponent } from './help/help.component';
4342
import {ApiService} from '../api';
4443
import { UserProfileComponent } from './user-profile/user-profile.component';
4544

@@ -58,9 +57,8 @@ import { UserProfileComponent } from './user-profile/user-profile.component';
5857
MatFormFieldModule,
5958
MatInputModule,
6059
DashboardRoutingModule,
61-
HttpClientModule,
62-
DashboardRoutingModule,
63-
DeviceDetectorModule.forRoot()
60+
DashboardRoutingModule,
61+
DeviceDetectorModule.forRoot()
6462
],
6563
declarations: [
6664
DashboardCardComponent,
@@ -73,8 +71,8 @@ import { UserProfileComponent } from './user-profile/user-profile.component';
7371
HeaderComponent,
7472
StatusCardComponent,
7573
DeletedialogComponent,
76-
UserManagementComponent,
77-
HelpComponent
74+
UserProfileComponent,
75+
UserManagementComponent
7876
],
7977
entryComponents: [
8078
DeletedialogComponent

client/src/app/dashboard/header/header.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<div class="navbar-nav">
2424

2525
<a class="nav-item nav-link" href="/dashboard"><i class="fa fa-fw fa-home"></i> Dashboard</a>
26-
<a class="nav-item nav-link" href="/dashboard/usermanagement"><i class="fa fa-users"></i> User Management</a>
26+
<a class="nav-item nav-link" href="/dashboard/userManagement"><i class="fa fa-users"></i> User Management</a>
2727
<a class="nav-item nav-link" href="/dashboard/help"><i class="fa fa-question-circle"></i> Help</a>
2828
</div>
2929

client/src/app/dashboard/help/help.component.css

Whitespace-only changes.

client/src/app/dashboard/help/help.component.html

Lines changed: 0 additions & 8 deletions
This file was deleted.

client/src/app/dashboard/help/help.component.spec.ts

Lines changed: 0 additions & 25 deletions
This file was deleted.

client/src/app/dashboard/help/help.component.ts

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)