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
5974dc75
Commit
5974dc75
authored
Jun 10, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IE10兼容
parent
15ac19fa
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
6 deletions
+25
-6
home.component.ts
src/main/webapp/app/home/home.component.ts
+10
-0
main.component.ts
src/main/webapp/app/layouts/main/main.component.ts
+0
-1
pararms.component.html
src/main/webapp/app/work/pararms/pararms.component.html
+1
-1
darkBlue.scss
src/main/webapp/content/scss/darkBlue.scss
+3
-0
white.scss
src/main/webapp/content/scss/white.scss
+10
-3
tsconfig.json
tsconfig.json
+1
-1
No files found.
src/main/webapp/app/home/home.component.ts
View file @
5974dc75
...
...
@@ -500,6 +500,11 @@ export class HomeComponent implements OnInit, AfterViewInit {
name
:
'严重'
,
type
:
'bar'
,
stack
:
'严重'
,
itemStyle
:
{
normal
:
{
color
:
'#e96545'
,
}
},
data
:
data
.
map
(
e
=>
{
return
e
.
errorcount
;
})
...
...
@@ -508,6 +513,11 @@ export class HomeComponent implements OnInit, AfterViewInit {
name
:
'告警'
,
type
:
'bar'
,
stack
:
'告警'
,
itemStyle
:
{
normal
:
{
color
:
'#eede85'
,
}
},
data
:
data
.
map
(
e
=>
{
return
e
.
waringcount
;
})
...
...
src/main/webapp/app/layouts/main/main.component.ts
View file @
5974dc75
...
...
@@ -16,7 +16,6 @@ import {Subscription} from 'rxjs';
.layout{
display: -ms-flexbox;
-ms-flex-direction:row;
background-color: #193250;
}
.layout-content{
display: -ms-flexbox;
...
...
src/main/webapp/app/work/pararms/pararms.component.html
View file @
5974dc75
...
...
@@ -25,7 +25,7 @@
</div>
<div
nz-col
nzSpan=
"1"
></div>
<div
nz-col
nzSpan=
"16"
>
<input
class=
"
no-padding-left
"
style=
"width: 50%"
nz-input
placeholder=
"事件编号前缀"
disabled=
"{{isDisabled}}"
[(
ngModel
)]="
eventPre
.
eventNoPre
"
>
<input
class=
"
padding-left-10
"
style=
"width: 50%"
nz-input
placeholder=
"事件编号前缀"
disabled=
"{{isDisabled}}"
[(
ngModel
)]="
eventPre
.
eventNoPre
"
>
<button
*
ngIf=
"isDisabled"
(
click
)="
editType
()"
nz-button
nzType=
"default"
>
编辑
</button>
<button
*
ngIf=
"!isDisabled"
(
click
)="
saveType
()"
nz-button
nzType=
"default"
>
保存
</button>
</div>
...
...
src/main/webapp/content/scss/darkBlue.scss
View file @
5974dc75
...
...
@@ -80,6 +80,9 @@ $fontColor: #b7d1f1;
//自己写的
//主机详情
.layout
{
background-color
:
#193250
;
}
.host-item-title
{
background-color
:
$dark
;
color
:
#f2f2f2
;
...
...
src/main/webapp/content/scss/white.scss
View file @
5974dc75
.white
{
.ant-layout-header
{
.ant-layout-header
{
background-color
:
#fff
;
border-bottom
:
1px
solid
#eeeeee
;
}
//自己写的
//主机详情
.layout
{
background-color
:
#414852
;
}
.host-item-title
{
color
:
#4b4b4b
;
padding
:
10px
15px
;
...
...
@@ -50,8 +55,9 @@
height
:
400px
;
border
:
1px
solid
#eee
;
border-radius
:
5px
;
nz-col
{
padding
:
6px
10px
;
padding
:
6px
10px
;
word-break
:
break-all
;
}
...
...
@@ -103,7 +109,8 @@
margin
:
0
auto
;
background-color
:
#e5e5e5
;
height
:
23px
;
.space
{
.space
{
height
:
23px
;
background-color
:
#89d885
;
transition
:
all
500ms
;
...
...
tsconfig.json
View file @
5974dc75
...
...
@@ -10,7 +10,7 @@
"noImplicitAny"
:
false
,
"skipLibCheck"
:
true
,
"suppressImplicitAnyIndexErrors"
:
true
,
"outDir"
:
"build/w
x
/app"
,
"outDir"
:
"build/w
ww
/app"
,
"lib"
:
[
"es7"
,
"dom"
],
"typeRoots"
:
[
"node_modules/@types"
...
...
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