Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updating PyYAML, Jinja2 and Fleetspeak dependencies. * Artifacts work.
- Loading branch information
Showing
25 changed files
with
816 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
...erver/grr_response_server/gui/ui/components/flow_details/helpers/result_accordion.ng.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<div class="row-list"> | ||
<div class="row"> | ||
<div class="header" (click)="toggle()"> | ||
<div class="title"> | ||
<span>{{ title }}</span> | ||
</div> | ||
|
||
<div class="expansion-indicator"> | ||
<span *ngIf="isOpen || hasMoreResults || hasResults" class="material-icons arrow-icon"> | ||
{{ isOpen ? 'keyboard_arrow_down' : 'keyboard_arrow_right' }} | ||
</span> | ||
</div> | ||
</div> | ||
|
||
<div class="results" *ngIf="isOpen"> | ||
<ng-content></ng-content> | ||
|
||
<button class="expand-results" mat-button aria-label="Load more results" (click)="loadMoreClicked()" *ngIf="hasMoreResults"> | ||
<mat-icon>expand_more</mat-icon> | ||
</button> | ||
</div> | ||
</div> | ||
</div> |
100 changes: 100 additions & 0 deletions
100
grr/server/grr_response_server/gui/ui/components/flow_details/helpers/result_accordion.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
@use '~material-theme' as c; | ||
|
||
$header-left-padding: 24px; | ||
$files-counter-offset: 135px; | ||
|
||
.row-list { | ||
margin-bottom: 0.15em; | ||
|
||
.row { | ||
.header { | ||
cursor: pointer; | ||
|
||
position: relative; | ||
bottom: -2px; | ||
&:hover { | ||
background-color: c.mat-color(c.$primary, 100, 0.15); | ||
} | ||
|
||
border-top: 1px solid c.mat-color(c.$foreground, divider-light); | ||
padding: 0.5em 0 0.5em $header-left-padding; | ||
|
||
display: flex; | ||
align-items: center; | ||
|
||
.row-text { | ||
position: relative; | ||
right: $files-counter-offset; | ||
white-space: nowrap; | ||
} | ||
|
||
.title, | ||
.in-progress, | ||
.success, | ||
.warning, | ||
.error { | ||
display: flex; | ||
align-items: center; | ||
|
||
.material-icons { | ||
position: relative; | ||
top: -1px; | ||
} | ||
} | ||
|
||
.title { | ||
flex-grow: 1; | ||
font-family: c.$google-sans-display-family; | ||
font-weight: 400; | ||
|
||
.arrow-icon { | ||
font-size: 36px; | ||
} | ||
} | ||
|
||
.success { | ||
color: c.mat-color(c.$foreground, text-light); | ||
font-size: 90%; | ||
|
||
.material-icons { | ||
color: c.mat-color(c.$foreground, success); | ||
margin-left: 0.5em; | ||
} | ||
} | ||
|
||
.warning { | ||
color: c.mat-color(c.$warn, darker); | ||
font-size: 90%; | ||
|
||
.material-icons { | ||
color: c.mat-color(c.$warn); | ||
margin-left: 0.5em; | ||
} | ||
} | ||
|
||
.error { | ||
color: c.mat-color(c.$danger); | ||
font-size: 90%; | ||
|
||
.material-icons { | ||
margin-left: 0.5em; | ||
} | ||
} | ||
|
||
.expansion-indicator { | ||
color: c.mat-color(c.$foreground, divider); | ||
font-size: 30px; | ||
text-align: center; | ||
width: 40px; | ||
} | ||
} | ||
|
||
.results-in-progress { | ||
padding: 0.5em 24px; | ||
} | ||
} | ||
} | ||
|
||
.expand-results { | ||
width: 100%; | ||
} |
Oops, something went wrong.