Skip to content

Commit

Permalink
Merge pull request #24 from LLIyRiK/add-text-flipping
Browse files Browse the repository at this point in the history
Added flipping on hover
  • Loading branch information
YehonatanVonage authored Mar 29, 2017
2 parents 12efc60 + 4ac1c80 commit 8d455d4
Show file tree
Hide file tree
Showing 11 changed files with 242 additions and 38 deletions.
74 changes: 63 additions & 11 deletions dist/css/status_panel.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/status_panel.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions dist/editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ <h5 class="section-heading">{{ measurement.alias }}</h5>
</div>
<gf-form-switch class="gf-form"
label-class="width-12"
label="Flip card" checked="ctrl.panel.flipCard"
on-change="ctrl.onRender()"></gf-form-switch>
<div class="gf-form">
<span class="gf-form-label width-12">Flip interval</span>
<input type="text" ng-model="ctrl.panel.flipTime" class="gf-form-input max-width-12" ng-change="ctrl.onRender()">
</div>
<gf-form-switch class="gf-form"
label-class="width-12"

label="Make panel gray when no data" checked="ctrl.panel.isGrayColor"
label="Make panel gray when no data" checked="ctrl.panel.isGrayOnNoData"
on-change="ctrl.onRender()"></gf-form-switch>
</div>
Expand Down
14 changes: 11 additions & 3 deletions dist/module.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
<div class="status-panel">
<div ng-show="ctrl.duplicates">
<strong>Error</strong>: There are multiple measurements with the same alias. Please give each measurement a unique name.
</div>
<div class="st-card-front">
<div class="ok-text">ok</div>
<div class="warning-text">warning</div>
<div class="fail-text">critical</div>
<div class="gray-text">No data</div>
</div>
<div class="st-card-back">
<div ng-show="ctrl.duplicates">
<strong>Error</strong>: There are multiple measurements with the same alias. Please give each measurement a unique name.
</div>

<div ng-hide="ctrl.duplicates" class="status-panel-annotation_row">
<div ng-repeat="annoation in ctrl.annotation">
Expand Down Expand Up @@ -47,3 +54,4 @@ <h1>
</div>
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion dist/module.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions dist/status_ctrl.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8d455d4

Please sign in to comment.