File tree Expand file tree Collapse file tree 3 files changed +11
-12
lines changed Expand file tree Collapse file tree 3 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import { BrowserModule } from '@angular/platform-browser';
6
6
import { BrowserAnimationsModule } from '@angular/platform-browser/animations' ;
7
7
import { AppRoutingModule } from './app-routing.module' ;
8
8
import { AppComponent } from './components/app/app.component' ;
9
- import { OverviewComponent } from './components/overview/overview.component' ;
10
9
import { TutorialComponent } from './components/tutorial/tutorial.component' ;
11
10
import { PlotsService } from './services/plots.service' ;
12
11
import { MatSidenavModule } from '@angular/material/sidenav' ;
@@ -16,12 +15,12 @@ import { PlotsComponent } from './components/plots/plots.component';
16
15
import { SocketService } from './services/socket.service' ;
17
16
import { DragDropModule } from '@angular/cdk/drag-drop' ;
18
17
import { MatCardModule } from '@angular/material/card' ;
18
+ import { MatIconModule } from '@angular/material/icon' ;
19
19
20
20
@NgModule ( {
21
21
declarations : [
22
22
AppComponent ,
23
23
TutorialComponent ,
24
- OverviewComponent ,
25
24
PlotComponent ,
26
25
PlotsComponent ,
27
26
] ,
@@ -36,6 +35,7 @@ import { MatCardModule } from '@angular/material/card';
36
35
MatListModule ,
37
36
DragDropModule ,
38
37
MatCardModule ,
38
+ MatIconModule ,
39
39
] ,
40
40
providers : [ PlotsService , SocketService ] ,
41
41
bootstrap : [ AppComponent ] ,
Original file line number Diff line number Diff line change @@ -18,10 +18,6 @@ main {
18
18
justify- content: stretch;
19
19
}
20
20
21
- : host ::ng-deep .main-router-outlet + * {
22
- flex : 1 1 0 ;
23
- }
24
-
25
21
mat- to olbar {
26
22
flex: 0 0 auto ;
27
23
justify- content: space- between;
Original file line number Diff line number Diff line change 1
1
< mat-toolbar color ="primary ">
2
- < span class ="brand ">
2
+ < span class ="brand " routerLink =" / " >
3
3
< button mat-flat-button color ="primary "> NodePlotLib</ button >
4
4
</ span >
5
5
< span class ="info-icons ">
6
- < a href ="https://github.com/ngfelixl/nodeplotlib " target ="_blank "
7
- > < button mat-icon-button >
8
- < img src ="/assets/github-light-32px.png " /> </ button
9
- > </ a >
6
+ < button mat-icon-button routerLink ="tutorial ">
7
+ < mat-icon > tips_and_updates</ mat-icon >
8
+ </ button >
10
9
< a href ="https://plotly.com/javascript/ " target ="_blank "
11
10
> < button mat-icon-button >
12
11
< img src ="/assets/plotly.svg " /> </ button
13
12
> </ a >
13
+ < a href ="https://github.com/ngfelixl/nodeplotlib " target ="_blank "
14
+ > < button mat-icon-button >
15
+ < img src ="/assets/github-light-32px.png " /> </ button
16
+ > </ a >
14
17
</ span >
15
18
</ mat-toolbar >
16
19
< main >
17
- < router-outlet class =" main-router-outlet " > </ router-outlet >
20
+ < router-outlet > </ router-outlet >
18
21
</ main >
You can’t perform that action at this time.
0 commit comments