-
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.
Showing
3 changed files
with
39 additions
and
15 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
13 changes: 0 additions & 13 deletions
13
src/core_plugins/kibana/public/dashboard/top_nav/options.html
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
33 changes: 33 additions & 0 deletions
33
src/core_plugins/kibana/public/dashboard/top_nav/save.html
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<form | ||
role="form" | ||
ng-submit="opts.save()" | ||
> | ||
<div class="kuiLocalDropdownTitle">Save {{opts.displayName}}</div> | ||
<input | ||
class="kuiLocalDropdownInput" | ||
id="dashboardTitle" | ||
type="text" | ||
ng-model="model.title" | ||
placeholder="Dashboard title" | ||
input-focus="select" | ||
> | ||
|
||
<saved-object-save-as-check-box saved-object="opts.dashboard"></saved-object-save-as-check-box> | ||
|
||
<div class="form-group"> | ||
<label> | ||
<input | ||
type="checkbox" | ||
ng-model="model.timeRestore" | ||
ng-checked="model.timeRestore" | ||
data-test-subj="storeTimeWithDashboard" | ||
> | ||
Store time with {{opts.displayName}} | ||
<kbn-info placement="bottom" info="Change the time filter to the currently selected time each time this dashboard is loaded"></kbn-info> | ||
</label> | ||
</div> | ||
|
||
<button type="submit" ng-disabled="!model.title" class="btn btn-primary" aria-label="Save dashboard"> | ||
Save | ||
</button> | ||
</form> |