mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
adjusted button copy on New playlist page
This commit is contained in:
parent
28d2966819
commit
2215095be8
@ -3,7 +3,7 @@ init_cmds = [
|
|||||||
["go", "build", "-o", "./bin/grafana-server", "./pkg/cmd/grafana-server"],
|
["go", "build", "-o", "./bin/grafana-server", "./pkg/cmd/grafana-server"],
|
||||||
["./bin/grafana-server"]
|
["./bin/grafana-server"]
|
||||||
]
|
]
|
||||||
watch_all = true
|
watch_all = false
|
||||||
watch_dirs = [
|
watch_dirs = [
|
||||||
"$WORKDIR/pkg",
|
"$WORKDIR/pkg",
|
||||||
"$WORKDIR/public/views",
|
"$WORKDIR/public/views",
|
||||||
|
@ -56,8 +56,6 @@ func setIndexViewData(c *middleware.Context) (*dtos.IndexViewData, error) {
|
|||||||
{Text: "Home dashboard", Icon: "fa fa-fw fa-list", Url: setting.AppSubUrl + "/"},
|
{Text: "Home dashboard", Icon: "fa fa-fw fa-list", Url: setting.AppSubUrl + "/"},
|
||||||
{Text: "Playlists", Icon: "fa fa-fw fa-list", Url: setting.AppSubUrl + "/playlists"},
|
{Text: "Playlists", Icon: "fa fa-fw fa-list", Url: setting.AppSubUrl + "/playlists"},
|
||||||
{Text: "Snapshots", Icon: "fa-fw icon-gf icon-gf-snapshot", Url: setting.AppSubUrl + "/dashboard/snapshots"},
|
{Text: "Snapshots", Icon: "fa-fw icon-gf icon-gf-snapshot", Url: setting.AppSubUrl + "/dashboard/snapshots"},
|
||||||
{Text: "New dashboard", icon: "fa fa-fw fa-plus", url: this.getUrl('/dashboard/new')},
|
|
||||||
{Text: "Import dashboard", icon: "fa fa-fw fa-plus", url: this.getUrl('/dashboard/import')},
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@
|
|||||||
<div class="gf-form-button-row">
|
<div class="gf-form-button-row">
|
||||||
<a class="btn btn-success " ng-show="ctrl.isNew()"
|
<a class="btn btn-success " ng-show="ctrl.isNew()"
|
||||||
ng-disabled="ctrl.playlistEditForm.$invalid || ctrl.isPlaylistEmpty()"
|
ng-disabled="ctrl.playlistEditForm.$invalid || ctrl.isPlaylistEmpty()"
|
||||||
ng-click="ctrl.savePlaylist(ctrl.playlist, ctrl.playlistItems)"><i class="fa fa-plus"></i> Add</a>
|
ng-click="ctrl.savePlaylist(ctrl.playlist, ctrl.playlistItems)">Create new playlist</a>
|
||||||
<a class="btn btn-success" ng-show="!ctrl.isNew()"
|
<a class="btn btn-success" ng-show="!ctrl.isNew()"
|
||||||
ng-disabled="ctrl.playlistEditForm.$invalid || ctrl.isPlaylistEmpty()"
|
ng-disabled="ctrl.playlistEditForm.$invalid || ctrl.isPlaylistEmpty()"
|
||||||
ng-click="ctrl.savePlaylist(ctrl.playlist, ctrl.playlistItems)">Save</a>
|
ng-click="ctrl.savePlaylist(ctrl.playlist, ctrl.playlistItems)">Save</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user