diff --git a/public/app/core/components/dashboard_selector.ts b/public/app/core/components/dashboard_selector.ts new file mode 100644 index 00000000000..ada4866f98e --- /dev/null +++ b/public/app/core/components/dashboard_selector.ts @@ -0,0 +1,28 @@ +/// + +import config from 'app/core/config'; +import _ from 'lodash'; +import $ from 'jquery'; +import coreModule from 'app/core/core_module'; + +var template = ` +`; + +export class DashboardSelectorCtrl { + + /** @ngInject */ + constructor(private $scope, private $rootScope) { + } +} + +export function dashboardSelector() { + return { + restrict: 'E', + controller: DashboardSelectorCtrl, + bindToController: true, + controllerAs: 'ctrl', + template: template, + }; +} + +coreModule.directive('dashboardSelector', dashboardSelector); diff --git a/public/app/features/dashboard/partials/settings.html b/public/app/features/dashboard/partials/settings.html index 33b1a247235..ca591c0c481 100644 --- a/public/app/features/dashboard/partials/settings.html +++ b/public/app/features/dashboard/partials/settings.html @@ -62,66 +62,67 @@ - -
-
Rows settings
+
-
-
-
- Title - -
- +
+
Rows settings
-
- - - -
-
-
-
+
+
+
+ Title + +
+ -
- -
+
+ + + +
+
+
+ -
- -
+
+ +
-
-
Dashboard info
-
-
- Last updated at: - {{formatDate(dashboardMeta.updated)}} -
-
- Last updated by: - {{dashboardMeta.updatedBy}}  -
-
- Created at: - {{formatDate(dashboardMeta.created)}}  -
-
- Created by: - {{dashboardMeta.createdBy}}  -
-
- Current version: - {{dashboardMeta.version}}  -
-
-
+
+ +
+ +
+
Dashboard info
+
+
+ Last updated at: + {{formatDate(dashboardMeta.updated)}} +
+
+ Last updated by: + {{dashboardMeta.updatedBy}}  +
+
+ Created at: + {{formatDate(dashboardMeta.created)}}  +
+
+ Created by: + {{dashboardMeta.createdBy}}  +
+
+ Current version: + {{dashboardMeta.version}}  +
+
+
diff --git a/public/app/features/profile/partials/profile.html b/public/app/features/profile/partials/profile.html index 042344eeac6..0d6e5fb2951 100644 --- a/public/app/features/profile/partials/profile.html +++ b/public/app/features/profile/partials/profile.html @@ -10,21 +10,25 @@

Preferences

- Name + Name
- Email + Email
- Username + Username
- UI Theme + UI Theme
+
+ Home Dashboard + +