Skip to content

Commit

Permalink
fix(6.4.x): change name version in package
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles committed Mar 11, 2019
1 parent baffbd8 commit 4fc518a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "health_metric_vis",
"version": "6.4.3",
"version": "6.4.x",
"kibana": {
"version": "6.4.3"
"version": "6.4.x"
},
"author": "clamarque",
"description": "change color of metric depending to the planned state of health",
Expand Down
34 changes: 17 additions & 17 deletions public/health_metric_vis_params.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Percentage Mode
</label>
<div class="kuiSideBarFormRow__control">
<input class="kuiCheckBox" id="percentageMode" type="checkbox" ng-model="vis.params.metric.percentageMode">
<input class="kuiCheckBox" id="percentageMode" type="checkbox" ng-model="editorState.params.metric.percentageMode">
</div>
</div>
<!-- show Labels -->
Expand All @@ -14,7 +14,7 @@
Show Labels
</label>
<div class="kuiSideBarFormRow__control">
<input class="kuiCheckBox" id="showLabels" type="checkbox" ng-model="vis.params.metric.labels.show">
<input class="kuiCheckBox" id="showLabels" type="checkbox" ng-model="editorState.params.metric.labels.show">
</div>
</div>

Expand All @@ -39,10 +39,10 @@
<div class="kuiSideBarFormRow">
<label class="kuiSideBarFormRow__label" for="metricFontSize">
Font Size (
<span ng-bind="vis.params.metric.style.fontSize"></span>pt)
<span ng-bind="editorState.params.metric.style.fontSize"></span>pt)
</label>
<div class="kuiSideBarFormRow__control">
<input id="metricFontSize" type="range" ng-model="vis.params.metric.style.fontSize" class="form-control" min="12" max="120"
<input id="metricFontSize" type="range" ng-model="editorState.params.metric.style.fontSize" class="form-control" min="12" max="120"
/>
</div>
</div>
Expand All @@ -52,53 +52,53 @@
Font Color
</label>
<div class="kuiSideBarFormRow__control">
<input type="color" ng-model="vis.params.metric.style.fontColor" class="form-control view-color" disabled="disabled" />
<input id="metricFontColor" type="text" ng-model="vis.params.metric.style.fontColor" class="form-control" />
<input type="color" ng-model="editorState.params.metric.style.fontColor" class="form-control view-color" disabled="disabled" />
<input id="metricFontColor" type="text" ng-model="editorState.params.metric.style.fontColor" class="form-control" />
</div>
</div>
<!-- RED Threshold -->
<div class="kuiSideBarFormRow">
<label class="kuiSideBarFormRow__label threshold" for="metricCriticalThreshold">
Critical Threshold <span class="threshold__info" ng-bind-template="((equal to or {{!vis.params.metric.style.invertScale ? 'below':'above'}} this value, the state will be critical)"></span>
Critical Threshold <span class="threshold__info" ng-bind-template="((equal to or {{!editorState.params.metric.style.invertScale ? 'below':'above'}} this value, the state will be critical)"></span>
</label>
<div class="kuiSideBarFormRow__control">
<input id="metricCriticalThreshold" type="number" ng-model="vis.params.metric.style.redThreshold" class="form-control threshold__number">
<input id="metricCriticalThreshold" type="number" ng-model="editorState.params.metric.style.redThreshold" class="form-control threshold__number">
</div>
</div>
<!-- WARNING Threshold -->
<div class="kuiSideBarFormRow">
<label class="kuiSideBarFormRow__label threshold" for="metricWarningThreshold">
Warning Threshold <span class="threshold__info" ng-bind-template="((equal to or {{!vis.params.metric.style.invertScale ? 'below':'above'}} this value, the state will be on alert)"></span>
Warning Threshold <span class="threshold__info" ng-bind-template="((equal to or {{!editorState.params.metric.style.invertScale ? 'below':'above'}} this value, the state will be on alert)"></span>
</label>
<div class="kuiSideBarFormRow__control">
<input id="metricWarningThreshold" type="number" ng-model="vis.params.metric.style.yellowThreshold" class="form-control threshold__number">
<input id="metricWarningThreshold" type="number" ng-model="editorState.params.metric.style.yellowThreshold" class="form-control threshold__number">
</div>
</div>
<div class="kuiSideBarFormRow">
<input type="checkbox" ng-model="vis.params.metric.style.invertScale"> Invert Scale
<input type="checkbox" ng-model="editorState.params.metric.style.invertScale"> Invert Scale
</div>
<!-- Default color -->
<div class="kuiSideBarFormRow">
<label class="kuiSideBarFormRow__label" for="metricDefaultColor">Default Color</label>
<div class="kuiSideBarFormRow__control">
<input type="color" ng-model="vis.params.metric.style.greenColor" class="form-control view-color" disabled="disabled">
<input id="metricDefaultColor" type="text" ng-model="vis.params.metric.style.greenColor" class="form-control">
<input type="color" ng-model="editorState.params.metric.style.greenColor" class="form-control view-color" disabled="disabled">
<input id="metricDefaultColor" type="text" ng-model="editorState.params.metric.style.greenColor" class="form-control">
</div>
</div>
<!-- Critical color -->
<div class="kuiSideBarFormRow">
<label class="kuiSideBarFormRow__label" for="metricCriticalColor">Critical Color</label>
<div class="kuiSideBarFormRow__control">
<input type="color" ng-model="vis.params.metric.style.redColor" class="form-control view-color" disabled="disabled">
<input id="metricCriticalColor" type="text" ng-model="vis.params.metric.style.redColor" class="form-control">
<input type="color" ng-model="editorState.params.metric.style.redColor" class="form-control view-color" disabled="disabled">
<input id="metricCriticalColor" type="text" ng-model="editorState.params.metric.style.redColor" class="form-control">
</div>
</div>
<!-- Warning color -->
<div class="kuiSideBarFormRow">
<label class="kuiSideBarFormRow__label" for="metricWarningColor">Warning Color</label>
<div class="kuiSideBarFormRow__control">
<input type="color" ng-model="vis.params.metric.style.yellowColor" class="form-control view-color" disabled="disabled">
<input id="metricWarningColor" type="text" ng-model="vis.params.metric.style.yellowColor" class="form-control">
<input type="color" ng-model="editorState.params.metric.style.yellowColor" class="form-control view-color" disabled="disabled">
<input id="metricWarningColor" type="text" ng-model="editorState.params.metric.style.yellowColor" class="form-control">
</div>
</div>
</div>
Expand Down

0 comments on commit 4fc518a

Please sign in to comment.