Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
luna
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
ops
luna
Commits
3d8a1bc9
Unverified
Commit
3d8a1bc9
authored
7 years ago
by
liuzheng712
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: update
parent
caddebd0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
3 deletions
+15
-3
cleftbar.component.ts
src/app/ControlPage/cleftbar/cleftbar.component.ts
+3
-3
table.component.html
src/app/elements/table/table.component.html
+4
-0
table.component.scss
src/app/elements/table/table.component.scss
+4
-0
table.component.ts
src/app/elements/table/table.component.ts
+4
-0
No files found.
src/app/ControlPage/cleftbar/cleftbar.component.ts
View file @
3d8a1bc9
...
...
@@ -127,9 +127,9 @@ export class CleftbarComponent implements OnInit {
}
}
}
}
if
(
!
tag
)
{
this
.
_layer
.
alert
(
'Maybe you do not have permission on that host'
);
if
(
!
tag
)
{
this
.
_layer
.
alert
(
'Maybe you do not have permission on that host'
);
}
}
DataStore
.
autologin
=
true
;
}
...
...
This diff is collapsed.
Click to expand it.
src/app/elements/table/table.component.html
View file @
3d8a1bc9
...
...
@@ -17,4 +17,8 @@
[
scrollbarV
]="
config
.
scrollbarV
"
[
scrollbarH
]="
config
.
scrollbarH
"
></ngx-datatable>
<mat-paginator
#
paginator
[
pageSize
]="
config
.
pageSize
"
[
pageSizeOptions
]="
config
.
pageSizeOptions
"
>
</mat-paginator>
</div>
This diff is collapsed.
Click to expand it.
src/app/elements/table/table.component.scss
View file @
3d8a1bc9
...
...
@@ -3,3 +3,7 @@ input {
margin
:
15px
auto
;
width
:
30%
;
}
.material
{
box-shadow
:
0
3px
5px
-3px
rgba
(
0
,
0
,
0
,
0
.2
);
}
This diff is collapsed.
Click to expand it.
src/app/elements/table/table.component.ts
View file @
3d8a1bc9
...
...
@@ -10,6 +10,8 @@ export let Config: {
headerHeight
:
number
,
limit
:
number
,
columnMode
:
string
,
pageSize
:
number
,
pageSizeOptions
:
Array
<
number
>
,
}
=
{
search
:
false
,
scrollbarV
:
false
,
...
...
@@ -19,6 +21,8 @@ export let Config: {
headerHeight
:
50
,
limit
:
10
,
columnMode
:
'force'
,
pageSize
:
10
,
pageSizeOptions
:
[
5
,
10
,
20
],
};
@
Component
({
...
...
This diff is collapsed.
Click to expand it.
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