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
da78d66d
Commit
da78d66d
authored
Oct 30, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style update
parent
564d644b
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
36 additions
and
19 deletions
+36
-19
send-log.component.html
...n/webapp/app/alarm/modal/send-log/send-log.component.html
+1
-1
send-log.component.ts
...ain/webapp/app/alarm/modal/send-log/send-log.component.ts
+2
-0
now-alarm.component.html
src/main/webapp/app/alarm/now-alarm/now-alarm.component.html
+1
-1
warn-list.component.html
src/main/webapp/app/modal/warn-list/warn-list.component.html
+5
-2
warn-list.component.ts
src/main/webapp/app/modal/warn-list/warn-list.component.ts
+9
-5
tri-list.component.ts
.../app/overAll/template/list/tri-list/tri-list.component.ts
+0
-2
has-any-authority.directive.ts
...ain/webapp/app/shared/auth/has-any-authority.directive.ts
+1
-1
change-manage.component.html
.../system-change/change-manage/change-manage.component.html
+1
-1
dict.component.ts
...ain/webapp/app/system-change/modal/dict/dict.component.ts
+0
-2
system-change.service.ts
src/main/webapp/app/system-change/system-change.service.ts
+0
-1
group.component.html
src/main/webapp/app/system/group/group.component.html
+1
-2
documentation.css
src/main/webapp/content/css/documentation.css
+12
-0
global.css
src/main/webapp/content/css/global.css
+1
-0
favicon.ico
src/main/webapp/favicon.ico
+0
-0
index.html
src/main/webapp/index.html
+1
-0
webpack.common.js
webpack/webpack.common.js
+1
-1
No files found.
src/main/webapp/app/alarm/modal/send-log/send-log.component.html
View file @
da78d66d
<nz-modal
[
nzWidth
]="
9
80
"
[(
nzVisible
)]="
isShow
"
[
nzFooter
]="
null
"
nzTitle=
"发送记录"
(
nzOnCancel
)="
closeModal
()"
(
nzOnOk
)="
closeModal
()"
>
<nz-modal
[
nzWidth
]="
7
80
"
[(
nzVisible
)]="
isShow
"
[
nzFooter
]="
null
"
nzTitle=
"发送记录"
(
nzOnCancel
)="
closeModal
()"
(
nzOnOk
)="
closeModal
()"
>
<nz-table
#
nzTable
[
nzData
]="
logList
"
[
nzFrontPagination
]="
false
"
[
nzTotal
]="
totalNum
"
[
nzPageIndex
]="
pageNum
"
[
nzPageSize
]="
pageCount
"
(
nzPageIndexChange
)="
change
($
event
)"
[
nzLoading
]="
loading
"
>
<thead>
...
...
src/main/webapp/app/alarm/modal/send-log/send-log.component.ts
View file @
da78d66d
...
...
@@ -33,6 +33,7 @@ export class SendLogComponent implements OnInit {
//获取列表
getList
()
{
this
.
loading
=
true
;
const
data1
=
{
hostids
:
[
this
.
data
.
hostid
],
groupid
:
[
this
.
data
.
groupid
],
...
...
@@ -43,6 +44,7 @@ export class SendLogComponent implements OnInit {
(
res
)
=>
{
this
.
logList
=
res
.
data
.
data
;
this
.
totalNum
=
res
.
data
.
totalNum
;
this
.
loading
=
false
;
}
);
}
...
...
src/main/webapp/app/alarm/now-alarm/now-alarm.component.html
View file @
da78d66d
...
...
@@ -31,7 +31,7 @@
</div>
<div
class=
"search-form tag-form handle"
>
<ng-container
*
ngFor=
"let item of warnCountList"
>
<span
[
ngClass
]="{'
select-border
'
:
selectHostId =
=
item
.
hostid
}"
(
click
)="
search
(
item
.
hostid
)"
>
<span
[
ngClass
]="{'
select-border
'
:
selectHostId =
=
item
.
hostid
}"
(
click
)="
search
()"
>
<nz-tag
*
ngIf=
"item.level == 4 || item.level == 5"
class=
"tag-red"
[
nzColor
]="
color
.
red
"
></nz-tag>
<nz-tag
*
ngIf=
"item.level == 2 || item.level == 3"
class=
"tag-yellow"
[
nzColor
]="
color
.
yellow
"
></nz-tag>
{{item.name}}({{item.size}})
...
...
src/main/webapp/app/modal/warn-list/warn-list.component.html
View file @
da78d66d
...
...
@@ -28,9 +28,12 @@
<td>
{{data.continuedTime}}
</td>
<td>
<ng-container
*
ngIf=
"data.r_clock"
><span
class=
"color-green"
><i
class=
"anticon anticon-check-square-o"
></i></span>
</ng-container>
<ng-container
*
ngIf=
"!data.r_clock"
><span
class=
"color-red"
>
<i
class=
"anticon anticon-warning"
></i></span></ng-container>
<ng-container
*
ngIf=
"!data.r_clock"
><span
class=
"color-red"
><i
class=
"anticon anticon-warning"
></i></span></ng-container>
</td>
<td
class=
"list-icon cursor"
(
click
)="
showLog
(
data
)"
><i
class=
"anticon anticon-profile"
></i></td>
<td
class=
"list-icon cursor"
(
click
)="
showLog
(
data
)"
>
<i
class=
"anticon anticon-profile"
>
</i></td>
</tr>
</tbody>
</nz-table>
...
...
src/main/webapp/app/modal/warn-list/warn-list.component.ts
View file @
da78d66d
...
...
@@ -8,11 +8,15 @@ import {SendLogComponent} from '../../alarm/modal/send-log/send-log.component';
selector
:
'smart-warn-list'
,
templateUrl
:
'./warn-list.component.html'
,
styles
:
[
` .list-icon {
font-size: 20px;
text-align: center;
color: #8cb6ce;
}
`
.list-icon {
font-size: 20px;
text-align: center;
color: #8cb6ce;
}
.anticon{
font-size: 18px;
}
`
]
})
...
...
src/main/webapp/app/overAll/template/list/tri-list/tri-list.component.ts
View file @
da78d66d
...
...
@@ -135,6 +135,4 @@ export class TriListComponent implements OnInit {
);
});
}
}
src/main/webapp/app/shared/auth/has-any-authority.directive.ts
View file @
da78d66d
...
...
@@ -13,7 +13,7 @@ import { Principal } from './principal.service';
* ```
*/
@
Directive
({
selector
:
'[
j
hiHasAnyAuthority]'
selector
:
'[
smartJ
hiHasAnyAuthority]'
})
export
class
HasAnyAuthorityDirective
{
...
...
src/main/webapp/app/system-change/change-manage/change-manage.component.html
View file @
da78d66d
...
...
@@ -86,7 +86,7 @@
<tbody>
<tr
*
ngFor=
"let data of nzTable.data"
>
<td>
{{data.id}}
</td>
<td>
{{data.c
hang
eTime | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{data.c
reat
eTime | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{data.manageUserName}}
</td>
<td>
<span
*
ngIf=
"data.type == 1"
>
普通变更
</span>
...
...
src/main/webapp/app/system-change/modal/dict/dict.component.ts
View file @
da78d66d
...
...
@@ -101,6 +101,4 @@ export class DictComponent implements OnInit {
this
.
isVisiable
=
false
;
this
.
initForm
();
}
}
src/main/webapp/app/system-change/system-change.service.ts
View file @
da78d66d
...
...
@@ -35,7 +35,6 @@ export class SystemChangeService {
return
this
.
http
.
get
(
SERVER_API_URL
+
'/sysChange/export?'
+
this
.
commonSer
.
toQuery
(
data
),{
responseType
:
'blob'
});
}
//查询变更跟踪信息
findMsg
(
params
):
Observable
<
any
>
{
return
this
.
http
.
get
(
SERVER_API_URL
+
'/sysChange/findMsg/'
+
params
);
...
...
src/main/webapp/app/system/group/group.component.html
View file @
da78d66d
...
...
@@ -21,7 +21,7 @@
<div
nz-row
[
nzGutter
]="
12
"
>
<div
nz-col
nzSpan=
"8"
>
<div
class=
"padding-15-0"
>
<button
(
click
)="
showGroupModal
()"
nz-button
nzType=
"
primary
"
><i
class=
"anticon anticon-plus-circle-o"
></i>
新增组织
</button>
<button
(
click
)="
showGroupModal
()"
nz-button
nzType=
"
default
"
><i
class=
"anticon anticon-plus-circle-o"
></i>
新增组织
</button>
</div>
<div
class=
"tree-left"
>
<nz-tree
[(
ngModel
)]="
nodes
"
[
nzShowLine
]="
true
"
>
...
...
@@ -41,7 +41,6 @@
<div
class=
"padding-15-0"
>
<button
(
click
)="
showUserModal
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus-circle-o"
></i>
新增用户
</button>
<button
(
click
)="
batchDelete
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-close-circle-o"
></i>
批量删除
</button>
<!--<button nz-button nzType="default">批量修改</button>-->
<button
(
click
)="
downLoad
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-download"
></i>
下载模版
</button>
<button
(
click
)="
showUploadModalOrg
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-download"
></i>
导入组织
</button>
<button
(
click
)="
showUploadModalUser
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-download"
></i>
导入用户
</button>
...
...
src/main/webapp/content/css/documentation.css
View file @
da78d66d
...
...
@@ -369,3 +369,15 @@
padding
:
15px
;
background-color
:
#fff
;
}
.ant-table
,
.ant-input
,
.ant-btn
,
.ant-select
,
.ant-select-dropdown
,
.ant-form
label
,
.ant-breadcrumb
,
.ant-radio-group
,
.ant-menu-inline
.ant-menu-item
,
.ant-menu-inline
.ant-menu-submenu-title
,
.ant-menu-vertical-left
.ant-menu-item
,
.ant-menu-vertical-left
.ant-menu-submenu-title
,
.ant-menu-vertical-right
.ant-menu-item
,
.ant-menu-vertical-right
.ant-menu-submenu-title
,
.ant-menu-vertical
.ant-menu-item
,
.ant-menu-vertical
.ant-menu-submenu-title
{
font-size
:
12px
;
}
src/main/webapp/content/css/global.css
View file @
da78d66d
...
...
@@ -12,6 +12,7 @@ p {
}
body
{
font-size
:
12px
;
background
:
#ffffff
;
}
...
...
src/main/webapp/favicon.ico
0 → 100644
View file @
da78d66d
1.12 KB
src/main/webapp/index.html
View file @
da78d66d
...
...
@@ -8,6 +8,7 @@
<meta
name=
"description"
content=
""
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
name=
"theme-color"
content=
"#000000"
>
<link
rel=
"shortcut icon"
href=
"favicon.ico"
/>
<script
src=
"javascript/jquery-3.3.1/jquery-3.3.1.min.js"
type=
"text/javascript"
></script>
<script
src=
"javascript/jtopo/js/util.js"
type=
"text/javascript"
></script>
<script
src=
"javascript/jtopo/js/jtopo-0.4.8-dev.js"
type=
"text/javascript"
></script>
...
...
webpack/webpack.common.js
View file @
da78d66d
...
...
@@ -73,7 +73,7 @@ module.exports = (options) => ({
utils
.
root
(
'src/main/webapp/app'
),
{}
),
new
CopyWebpackPlugin
([
//
{ from: './src/main/webapp/favicon.ico', to: 'favicon.ico' },
{
from
:
'./src/main/webapp/favicon.ico'
,
to
:
'favicon.ico'
},
// { from: './src/main/webapp/manifest.webapp', to: 'manifest.webapp' },
// jhipster-needle-add-assets-to-webpack - JHipster will add/remove third-party resources in this array
{
from
:
'./src/main/webapp/content/json'
,
to
:
'json'
},
...
...
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