Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1171 Add tag filter config for case list page
- Loading branch information
Showing
4 changed files
with
79 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,82 @@ | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<form name="settingsForm" class="form-horizontal" ng-submit="$vm.save(settingsForm)" novalidate> | ||
<div class="box"> | ||
<div class="box-header"> | ||
<h3 class="box-title">UI Settings</h3> | ||
</div> | ||
<div class="box-body"> | ||
|
||
<div class="form-group"> | ||
<label class="col-md-3 control-label">Hide <em>Empty Case</em> button</label> | ||
<div class="col-md-9"> | ||
<div class="checkbox"> | ||
<label> | ||
<input name="hideEmptyCaseButton" type="checkbox" ng-model="$vm.configs.hideEmptyCaseButton"> Check this to disallow creating empty cases | ||
</label> | ||
<form name="settingsForm" class="form-horizontal" ng-submit="$vm.save(settingsForm)" novalidate> | ||
|
||
<section class="content-header"> | ||
<h1> | ||
UI Settings | ||
</h1> | ||
</section> | ||
|
||
<section class="content"> | ||
<div class="row"> | ||
<div class="col-md-6 col-sm-12"> | ||
<div class="box"> | ||
<div class="box-header"> | ||
<h3 class="box-title">General configuration</h3> | ||
</div> | ||
<div class="box-body"> | ||
|
||
<div class="form-group"> | ||
<label class="col-md-4 control-label">Hide <em>Empty Case</em> button</label> | ||
<div class="col-md-8"> | ||
<div class="checkbox"> | ||
<label> | ||
<input name="hideEmptyCaseButton" type="checkbox" ng-model="$vm.configs.hideEmptyCaseButton"> Check this to disallow creating empty cases | ||
</label> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="box"> | ||
<div class="box-header"> | ||
<h3 class="box-title">Case section configuration</h3> | ||
</div> | ||
<div class="box-body"> | ||
|
||
<div class="form-group"> | ||
<label class="col-md-3 control-label">Use <strong>AND</strong> instead of <strong>OR</strong> for alert filtering</label> | ||
<div class="col-md-9"> | ||
<div class="checkbox"> | ||
<label> | ||
<input name="tagsUseAndCheckbox" type="checkbox" ng-model="$vm.configs.useAndFiltering"> Check this to change how alert filters are combined | ||
</label> | ||
<div class="form-group"> | ||
<label class="col-md-4 control-label">Case's tag filter operator</label> | ||
<div class="col-md-8"> | ||
<div class="checkbox"> | ||
<label> | ||
<input type="checkbox" ng-model="$vm.configs.useAndForCaseTagsFilter"> | ||
Check this to use <strong>AND</strong> instead of <strong>OR</strong> to combine case tags filter values | ||
</label> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-md-6 col-sm-12"> | ||
|
||
<div class="mt-s"> | ||
<button class="btn btn-primary pull-right" ng-disabled="settingsForm.$invalid" type="submit">Save</button> | ||
<div class="box"> | ||
<div class="box-header"> | ||
<h3 class="box-title">Alert section configuration</h3> | ||
</div> | ||
<div class="box-body"> | ||
|
||
<div class="form-group"> | ||
<label class="col-md-4 control-label">Alert's tag filter operator</label> | ||
<div class="col-md-8"> | ||
<div class="checkbox"> | ||
<label> | ||
<input type="checkbox" ng-model="$vm.configs.useAndForAlertTagsFilter"> | ||
Check this to use <strong>AND</strong> instead of <strong>OR</strong> to combine alert tags filter values | ||
</label> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row mt-s"> | ||
<div class="col-sm-12"> | ||
<button class="btn btn-primary pull-right" ng-disabled="settingsForm.$invalid" type="submit">Save</button> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
|
||
</form> |