-
Notifications
You must be signed in to change notification settings - Fork 640
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#365 Add UI changes to display and update sighted information for obs…
…ervables
- Loading branch information
Showing
13 changed files
with
85 additions
and
37 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
14 changes: 7 additions & 7 deletions
14
ui/app/views/partials/observables/list/artifacts-list-ioc.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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<div class="col-md-10 col-md-offset-1 bg-info text-center"> | ||
<br> | ||
<span class="btn btn-sm btn-primary" ng-click="setIOC(selection.Action);" ng-switch="selection.Action"> | ||
<div class="col-md-10 col-md-offset-1 bg-info text-center pv-s"> | ||
<div class="mb-xxs">You have selected {{selection.artifacts.length}} observable(s)</div> | ||
|
||
<span ng-switch-when="setIocFlog"><i class="fa fa-star"></i> Set IOC flag for {{selection.artifacts.length}} observable(s)</span> | ||
<span ng-switch-when="unsetIocFlog"><i class="fa fa-star-o"></i> Unset IOC flag for {{selection.artifacts.length}} observable(s)</span> | ||
<span class="btn btn-sm btn-primary mr-xxs" ng-click="setIOC(true)"> | ||
<i class="fa fa-star"></i> Add IOC flag | ||
</span> | ||
<span class="btn btn-sm btn-primary mr-xxs" ng-click="setIOC(false)"> | ||
<i class="fa fa-star-o"></i> Remove IOC flag | ||
</span> | ||
<span class="btn btn-sm btn-default" ng-click="selection.Action='main';"> | ||
Cancel | ||
</span> | ||
<br> | ||
<br> | ||
</div> |
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
13 changes: 13 additions & 0 deletions
13
ui/app/views/partials/observables/list/artifacts-list-sighted.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,13 @@ | ||
<div class="col-md-10 col-md-offset-1 bg-info text-center pv-s"> | ||
<div class="mb-xxs">You have selected {{selection.artifacts.length}} observable(s)</div> | ||
|
||
<span class="btn btn-sm btn-primary mr-xxs" ng-click="setSightedFlag(true)"> | ||
<i class="fa fa-thumbs-up"></i> Add sighted flag | ||
</span> | ||
<span class="btn btn-sm btn-primary mr-xxs" ng-click="setSightedFlag(false)"> | ||
<i class="fa fa-thumbs-o-up"></i> Remove sighted flag | ||
</span> | ||
<span class="btn btn-sm btn-default" ng-click="selection.Action='main';"> | ||
Cancel | ||
</span> | ||
</div> |
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