-
-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
41 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,15 @@ | ||
<mat-toolbar color="accent"> | ||
<mat-toolbar-row> | ||
<button mat-button routerLink="/home" routerLinkActive="active">DevOps</button> | ||
<span class="spacer"></span> | ||
<div class="right"> | ||
<button mat-button>案例学习</button> | ||
<button mat-button>模式与原则</button> | ||
<button mat-button>设计 DevOps</button> | ||
<button mat-button>最佳实践</button> | ||
<button mat-button>操作手册</button> | ||
</div> | ||
</mat-toolbar-row> | ||
</mat-toolbar> | ||
|
||
<router-outlet></router-outlet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.spacer { | ||
flex: 1 1 auto; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { MatToolbarModule } from '@angular/material/toolbar'; | ||
import { MatButtonModule } from '@angular/material/button'; | ||
import { MatMenuModule } from '@angular/material/menu'; | ||
|
||
const modules = [ | ||
MatToolbarModule, | ||
MatButtonModule, | ||
MatMenuModule | ||
]; | ||
|
||
@NgModule({ | ||
imports: modules, | ||
declarations: [], | ||
providers: [ | ||
], | ||
exports: modules, | ||
entryComponents: [] | ||
}) | ||
export class CustomMaterialModule { | ||
} |