-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6198 from jbudz/design/timepicker
[design] Remove top nav
- Loading branch information
Showing
19 changed files
with
60 additions
and
89 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
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 +1 @@ | ||
<saved-object-finder type="visualizations"></saved-object-finder> | ||
<saved-object-finder type="visualizations"></saved-object-finder> |
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,7 +1,7 @@ | ||
<form role="form" ng-submit="conf.doSave()"> | ||
<form role="form" ng-submit="opts.doSave()"> | ||
<div class="form-group"> | ||
<label for="visTitle">Title</label> | ||
<input class="form-control" input-focus="select" type="text" name="visTitle" ng-model="conf.savedVis.title" required> | ||
<input class="form-control" input-focus="select" type="text" name="visTitle" ng-model="opts.savedVis.title" required> | ||
</div> | ||
<button type="submit" class="btn btn-primary">Save</button> | ||
</form> | ||
</form> |
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,4 +1,4 @@ | ||
<share | ||
object-type="visualization" | ||
object-id="{{conf.savedVis.id}}"> | ||
object-id="{{opts.savedVis.id}}"> | ||
</share> |
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,7 +1,7 @@ | ||
<kbn-timepicker | ||
from="timefilter.time.from" | ||
to="timefilter.time.to" | ||
mode="timefilter.time.mode" | ||
from="opts.timefilter.time.from" | ||
to="opts.timefilter.time.to" | ||
mode="opts.timefilter.time.mode" | ||
active-tab="'filter'" | ||
interval="timefilter.refreshInterval"> | ||
interval="opts.timefilter.refreshInterval"> | ||
</kbn-timepicker> |
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,7 +1,7 @@ | ||
<kbn-timepicker | ||
from="timefilter.time.from" | ||
to="timefilter.time.to" | ||
mode="timefilter.time.mode" | ||
from="opts.timefilter.time.from" | ||
to="opts.timefilter.time.to" | ||
mode="opts.timefilter.time.mode" | ||
active-tab="'interval'" | ||
interval="timefilter.refreshInterval"> | ||
interval="opts.timefilter.refreshInterval"> | ||
</kbn-timepicker> |
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,33 +1,33 @@ | ||
<ul ng-show="timefilter.enabled" class="nav navbar-nav navbar-right navbar-timepicker"> | ||
<li> | ||
<a | ||
<button | ||
ng-click="toggleRefresh()" | ||
ng-show="timefilter.refreshInterval.value > 0"> | ||
|
||
<i class="fa" ng-class="timefilter.refreshInterval.pause ? 'fa-play' : 'fa-pause'"></i> | ||
</a> | ||
</button> | ||
</li> | ||
|
||
<li | ||
ng-class="{active: pickerTemplate.is('interval') }" | ||
ng-show="timefilter.refreshInterval.value > 0 || !!pickerTemplate.current" | ||
ng-show="timefilter.refreshInterval.value > 0 || !!configTemplate.current" | ||
class="to-body"> | ||
|
||
<a ng-click="pickerTemplate.toggle('interval')" class="navbar-timepicker-auto-refresh-desc"> | ||
<button ng-click="configTemplate.toggle('interval')" | ||
ng-class="{active: configTemplate.is('interval') }" | ||
class="navbar-timepicker-auto-refresh-desc"> | ||
<span ng-show="timefilter.refreshInterval.value === 0"><i class="fa fa-repeat"></i> Auto-refresh</span> | ||
<span ng-show="timefilter.refreshInterval.value > 0">{{timefilter.refreshInterval.display}}</span> | ||
</a> | ||
</button> | ||
|
||
</li> | ||
|
||
<li class="to-body" ng-class="{active: pickerTemplate.is('filter')}"> | ||
<a | ||
ng-click="pickerTemplate.toggle('filter')" | ||
<li class="to-body" > | ||
<button ng-class="{active: configTemplate.is('filter')}" | ||
ng-click="configTemplate.toggle('filter')" | ||
aria-haspopup="true" | ||
aria-expanded="false" | ||
class="navbar-timepicker-time-desc"> | ||
<i aria-hidden="true" class="fa fa-clock-o"></i> | ||
<pretty-duration from="timefilter.time.from" to="timefilter.time.to"></pretty-duration> | ||
</a> | ||
</button> | ||
</li> | ||
</ul> |
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