Skip to content

Commit

Permalink
Update dist
Browse files Browse the repository at this point in the history
  • Loading branch information
rozetko committed May 28, 2019
1 parent 020765c commit fd70ba1
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 518 deletions.
2 changes: 1 addition & 1 deletion dist/directives/progress.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="list-item progress-item">
<div class="list-item-title"> {{ item.title }} </div>
<div class="list-item-title" ng-bind-html="item.title"></div>
<div class="list-item-content">
<div style="width: {{ item.progress }}%; background: {{ item.color }}" class="progress-bar-line" />
<span class="list-item-value progress-bar-value"> {{ item.formattedValue }} </span>
Expand Down
513 changes: 8 additions & 505 deletions dist/module.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/module.js.map

Large diffs are not rendered by default.

43 changes: 33 additions & 10 deletions dist/partials/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ <h5 class="section-heading">Mapping</h5>

<div class="gf-form">
<label class="gf-form-label width-8">Stat</label>
<div class="gf-form-select-wrapper width-10">
<div class="gf-form-select-wrapper width-14">
<select
class="gf-form-input"
ng-model="ctrl.panel.statNameOptionValue"
Expand All @@ -16,7 +16,7 @@ <h5 class="section-heading">Mapping</h5>

<div class="gf-form">
<label class="gf-form-label width-8">Progress Type</label>
<div class="gf-form-select-wrapper width-10">
<div class="gf-form-select-wrapper width-14">
<select
class="gf-form-input"
ng-model="ctrl.panel.statProgressType"
Expand All @@ -30,7 +30,7 @@ <h5 class="section-heading">Mapping</h5>
<label class="gf-form-label width-8">Max Value</label>
<input
type="number"
class="gf-form-input width-10"
class="gf-form-input width-14"
placeholder="auto" data-placement="right"
bs-tooltip="'Max value will be equal to max progreesss in auto mode'"
ng-model="ctrl.panel.statProgressMaxValue"
Expand All @@ -43,7 +43,7 @@ <h5 class="section-heading">Mapping</h5>
<label class="gf-form-label width-8">Null Value</label>
<input
type="number"
class="gf-form-input width-10"
class="gf-form-input width-14"
placeholder="error" data-placement="right"
bs-tooltip="'Map NULL values to constant. Default behaviour is to throw error.'"
ng-model="ctrl.panel.nullMapping"
Expand All @@ -55,7 +55,7 @@ <h5 class="section-heading">Mapping</h5>
<div class="gf-form">
<label class="gf-form-label width-8">Mapping type</label>
<select
class="gf-form-input"
class="gf-form-input width-14"
ng-model="ctrl.panel.mappingType"
ng-options="type for type in ctrl.mappingTypeOptions"
ng-change="ctrl.refresh()"
Expand All @@ -66,7 +66,7 @@ <h5 class="section-heading">Mapping</h5>
<h5 class="section-heading">Sorting</h5>
<div class="gf-form">
<label class="gf-form-label width-8">Type</label>
<div class="gf-form-select-wrapper width-8">
<div class="gf-form-select-wrapper width-14">
<select
class="gf-form-input"
ng-model="ctrl.panel.sortingOrder"
Expand All @@ -85,7 +85,7 @@ <h5 class="section-heading">Sorting</h5>
<h5 class="section-heading">Value Labels</h5>
<div class="gf-form-inline"></div>
<div class="gf-form">
<label class="gf-form-label width-8">Type</label>
<label class="gf-form-label width-6">Type</label>
<div class="gf-form-select-wrapper width-10">
<select
class="gf-form-input"
Expand All @@ -97,7 +97,7 @@ <h5 class="section-heading">Value Labels</h5>
</div>
<div class="gf-form-inline">
<div class="gf-form">
<label class="gf-form-label width-8">Prefix</label>
<label class="gf-form-label width-6">Prefix</label>
<input
type="text" class="gf-form-input width-10"
ng-model="ctrl.panel.prefix"
Expand All @@ -107,7 +107,7 @@ <h5 class="section-heading">Value Labels</h5>
</div>
</div>
<div class="gf-form">
<label class="gf-form-label width-8">Postfix</label>
<label class="gf-form-label width-6">Postfix</label>
<input
type="text" class="gf-form-input width-10"
ng-model="ctrl.panel.postfix"
Expand All @@ -116,7 +116,7 @@ <h5 class="section-heading">Value Labels</h5>
/>
</div>
<div class="gf-form">
<label class="gf-form-label width-8">Decimals</label>
<label class="gf-form-label width-6">Decimals</label>
<input
type="number"
class="gf-form-input width-10"
Expand All @@ -127,6 +127,29 @@ <h5 class="section-heading">Value Labels</h5>
ng-model-onblur
/>
</div>

<br>
<div class="section gf-form-group">
<h5 class="section-heading">Key Labels</h5>
<div class="gf-form-inline">
<div class="gf-form">
<label class="gf-form-label width-6">
Alias
<tip>
You can insert HTML here.
Use $__key variable to access the original key
</tip>
</label>
<!-- TODO: better style -->
<textarea
class="gf-form-input width-19"
ng-model="ctrl.panel.alias"
ng-change="ctrl.render()"
ng-model-onblur
/>
</div>
</div>
</div>
</div>

<!--
Expand Down
2 changes: 1 addition & 1 deletion dist/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"name": "Main",
"path": "assets/screenshot_main.png"
}],
"version": "1.0.2",
"version": "1.0.3",
"updated": "2019-05-27"
},
"dependencies": {
Expand Down

0 comments on commit fd70ba1

Please sign in to comment.