mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
@grafana/ui: Replace various icons using Icon component (#23442)
* Replace icons in dashboard and settings * Replace icons in alerting * Update batch of icons * Implement icons accross various files * Style updates * Search: Fix recent and starred icons * Update styling and details * Replace new icon created by unicons * Fix e2e test, styling * Minor styling updates Co-authored-by: Clarity-89 <homes89@ukr.net>
This commit is contained in:
@@ -1,20 +1,46 @@
|
||||
<div ng-repeat="var in variables">
|
||||
<div class="gf-form offset-width-7" ng-if="$index === 0">
|
||||
<label class="gf-form-label width-10">Variables</label>
|
||||
<input type="text" class="gf-form-input max-width-12" ng-model="var.name" placeholder="Variable name" ng-blur="onChangeInternal()" spellcheck='false'>
|
||||
<metric-segment-model property="var.pipelineAgg" options="options" on-change="onChangeInternal()" custom="false" css-class="width-12"></metric-segment-model>
|
||||
<input
|
||||
type="text"
|
||||
class="gf-form-input max-width-12"
|
||||
ng-model="var.name"
|
||||
placeholder="Variable name"
|
||||
ng-blur="onChangeInternal()"
|
||||
spellcheck="false"
|
||||
/>
|
||||
<metric-segment-model
|
||||
property="var.pipelineAgg"
|
||||
options="options"
|
||||
on-change="onChangeInternal()"
|
||||
custom="false"
|
||||
css-class="width-12"
|
||||
></metric-segment-model>
|
||||
<label class="gf-form-label">
|
||||
<a class="pointer" ng-click="remove($index)"><i class="fa fa-minus"></i></a>
|
||||
<a class="pointer" ng-click="remove($index)"><icon name="'minus-circle'"></icon></a>
|
||||
</label>
|
||||
<label class="gf-form-label">
|
||||
<a class="pointer" ng-click="add()"><i class="fa fa-plus"></i></a>
|
||||
<a class="pointer" ng-click="add()"><icon name="'plus-circle'"></icon></a>
|
||||
</label>
|
||||
</div>
|
||||
<div class="gf-form offset-width-17" ng-if="$index !== 0">
|
||||
<input type="text" class="gf-form-input max-width-12" ng-model="var.name" placeholder="Variable name" ng-blur="onChangeInternal()" spellcheck='false'>
|
||||
<metric-segment-model property="var.pipelineAgg" options="options" on-change="onChangeInternal()" custom="false" css-class="width-12"></metric-segment-model>
|
||||
<input
|
||||
type="text"
|
||||
class="gf-form-input max-width-12"
|
||||
ng-model="var.name"
|
||||
placeholder="Variable name"
|
||||
ng-blur="onChangeInternal()"
|
||||
spellcheck="false"
|
||||
/>
|
||||
<metric-segment-model
|
||||
property="var.pipelineAgg"
|
||||
options="options"
|
||||
on-change="onChangeInternal()"
|
||||
custom="false"
|
||||
css-class="width-12"
|
||||
></metric-segment-model>
|
||||
<label class="gf-form-label">
|
||||
<a class="pointer" ng-click="remove($index)"><i class="fa fa-minus"></i></a>
|
||||
<a class="pointer" ng-click="remove($index)"><icon name="'minus-circle'"></icon></a>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user