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
11679db9
Unverified
Commit
11679db9
authored
Jan 09, 2018
by
liuzheng712
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: luna搜索时默认打开匹配的的文件夹
parent
cc3925b2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cleftbar.component.css
src/app/ControlPage/cleftbar/cleftbar.component.css
+1
-1
cleftbar.component.html
src/app/ControlPage/cleftbar/cleftbar.component.html
+1
-1
No files found.
src/app/ControlPage/cleftbar/cleftbar.component.css
View file @
11679db9
...
...
@@ -34,7 +34,7 @@ label {
overflow
:
hidden
;
}
.filetree
>
li
input
:checked
~
ul
{
.filetree
>
li
input
:checked
~
ul
,
.filetree
>
li
ul
.insearch
{
height
:
auto
;
}
...
...
src/app/ControlPage/cleftbar/cleftbar.component.html
View file @
11679db9
...
...
@@ -8,7 +8,7 @@
<li
*
ngFor=
"let hostGroup of HostGroups | SearchFilter: q; let i = index "
>
<input
type=
"checkbox"
id=
"hostgroup-{{i}}"
>
<label
for=
"hostgroup-{{i}}"
>
{{hostGroup.name}}
</label>
<ul>
<ul
[
ngClass
]="{'
insearch
'
:
q
}"
>
<li
*
ngFor=
"let host of hostGroup.assets_granted | SearchFilter: q"
(
click
)="
Connect
(
host
)"
>
<i
class=
"fa"
[
ngClass
]="'
fa-
'+
host
.
system
"
id=
"fa-{{i}}"
></i>
{{host.hostname}}
...
...
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