Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
smart
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangqinghua
smart
Commits
8afb13d2
Commit
8afb13d2
authored
Jun 13, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
2db7ef83
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
navbar.component.html
src/main/webapp/app/layouts/navbar/navbar.component.html
+2
-1
navbar.component.ts
src/main/webapp/app/layouts/navbar/navbar.component.ts
+4
-0
No files found.
src/main/webapp/app/layouts/navbar/navbar.component.html
View file @
8afb13d2
...
@@ -2,13 +2,14 @@
...
@@ -2,13 +2,14 @@
<div
nz-row
>
<div
nz-row
>
<div
nz-col
class=
"handle"
[
nzSpan
]="
12
"
>
<div
nz-col
class=
"handle"
[
nzSpan
]="
12
"
>
<a
class=
"main-color margin-right-10"
routerLink=
"../main/home"
>
首页
</a>
<a
class=
"main-color margin-right-10"
routerLink=
"../main/home"
>
首页
</a>
<span
class=
"
color-666
"
(
click
)="
transition
()"
>
快捷添加 +
</span>
<span
class=
"
main-color
"
(
click
)="
transition
()"
>
快捷添加 +
</span>
<span
#
parent
class=
"span-hov"
>
<span
#
parent
class=
"span-hov"
>
<span
#
children
class=
"addBtn"
>
<span
#
children
class=
"addBtn"
>
<span
(
click
)="
showGroupModal
()"
>
添加设备分组
</span>
<span
(
click
)="
showGroupModal
()"
>
添加设备分组
</span>
<span
(
click
)="
showBasicEditModal
()"
>
添加资源
</span>
<span
(
click
)="
showBasicEditModal
()"
>
添加资源
</span>
</span>
</span>
</span>
</span>
<a
class=
"main-color margin-left-10"
(
click
)="
goOut
()"
>
首页
</a>
</div>
</div>
<div
nz-col
[
nzSpan
]="
12
"
style=
"text-align: right"
>
<div
nz-col
[
nzSpan
]="
12
"
style=
"text-align: right"
>
<nz-select
style=
"width: 150px;margin-right: 20px"
[(
ngModel
)]="
theme
"
(
ngModelChange
)="
changeTheme
()"
>
<nz-select
style=
"width: 150px;margin-right: 20px"
[(
ngModel
)]="
theme
"
(
ngModelChange
)="
changeTheme
()"
>
...
...
src/main/webapp/app/layouts/navbar/navbar.component.ts
View file @
8afb13d2
...
@@ -137,4 +137,8 @@ export class NavbarComponent implements OnInit ,AfterViewChecked{
...
@@ -137,4 +137,8 @@ export class NavbarComponent implements OnInit ,AfterViewChecked{
changeTheme
(){
changeTheme
(){
this
.
appSer
.
setTheme
(
this
.
theme
);
this
.
appSer
.
setTheme
(
this
.
theme
);
}
}
goOut
(){
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment