diff --git a/pkg/api/dashboard.go b/pkg/api/dashboard.go index 8556dcf2994..4b4f6fe8597 100644 --- a/pkg/api/dashboard.go +++ b/pkg/api/dashboard.go @@ -283,7 +283,7 @@ func GetDashboardVersions(c *middleware.Context) Response { for _, version := range query.Result { if version.RestoredFrom == version.Version { - version.Message = "Initial save (created migration)" + version.Message = "Initial save (created by migration)" continue } diff --git a/public/app/features/dashboard/history/history.html b/public/app/features/dashboard/history/history.html index 415bb3b794f..53d960fd620 100644 --- a/public/app/features/dashboard/history/history.html +++ b/public/app/features/dashboard/history/history.html @@ -78,7 +78,7 @@
-
-
-
- +
+ -
-
- - Fetching changes… -
+
+
+ + Fetching changes… +
-
- -   Restore to version {{new}} - -

- Comparing Version {{ctrl.selected[0]}} - - Version {{ctrl.selected[1]}} - (Current) -

-
-

- Version {{new}} updated by - {{ctrl.getMeta(new, 'createdBy')}} - {{ctrl.formatBasicDate(ctrl.getMeta(new, 'created'))}} - - {{ctrl.getMeta(new, 'message')}} -

-

- Version {{original}} updated by - {{ctrl.getMeta(original, 'createdBy')}} - {{ctrl.formatBasicDate(ctrl.getMeta(original, 'created'))}} - - {{ctrl.getMeta(original, 'message')}} -

-
-
-
-
-
-
-
-
-
-
+
+ +   Restore to version {{new}} + +

+ Comparing Version {{ctrl.selected[0]}} + + Version {{ctrl.selected[1]}} + (Current) +

+
+

+ Version {{new}} updated by + {{ctrl.getMeta(new, 'createdBy')}} + {{ctrl.formatBasicDate(ctrl.getMeta(new, 'created'))}} + - {{ctrl.getMeta(new, 'message')}} +

+

+ Version {{original}} updated by + {{ctrl.getMeta(original, 'createdBy')}} + {{ctrl.formatBasicDate(ctrl.getMeta(original, 'created'))}} + - {{ctrl.getMeta(original, 'message')}} +

+
+
+
+
+
+
+
+
diff --git a/public/sass/_variables.dark.scss b/public/sass/_variables.dark.scss index 90366da6087..cedaf096988 100644 --- a/public/sass/_variables.dark.scss +++ b/public/sass/_variables.dark.scss @@ -286,9 +286,6 @@ $footer-link-hover: $gray-4; $diff-label-bg: $dark-2; $diff-label-fg: $white; -$diff-switch-bg: $dark-5; -$diff-switch-disabled: $gray-1; - $diff-group-bg: $dark-4; $diff-arrow-color: $white; diff --git a/public/sass/components/edit_sidemenu.scss b/public/sass/components/edit_sidemenu.scss index 5da2f6a21ce..e84ae2c1914 100644 --- a/public/sass/components/edit_sidemenu.scss +++ b/public/sass/components/edit_sidemenu.scss @@ -10,7 +10,6 @@ } .edit-sidemenu-aside { - min-width: 6rem; margin-right: $spacer*2; } diff --git a/public/sass/pages/_history.scss b/public/sass/pages/_history.scss index eb2ac4181ee..3637907fb1a 100644 --- a/public/sass/pages/_history.scss +++ b/public/sass/pages/_history.scss @@ -1,30 +1,3 @@ - -// Diff View -.history-list { - h4 { - margin-bottom: 0.75em; - } - - .page-container { - padding: 0; - background: none; - } - - .page-sidebar { - margin-left: 0; - margin-right: 3em; - } - - .small.muted { margin-bottom: 0.25em; } - - .ui-list > li { - margin-bottom: 1.5em; - - & > a { padding-left: 15px; } - & > a.active { @include left-brand-border-gradient(); } - } -} - // Actual Diff #delta { margin: 2em 0; @@ -105,10 +78,6 @@ .diff-item-added, .diff-item-deleted { list-style: none; } -.diff-restore-btn { - float: right; -} - .diff-group { background: $diff-group-bg; font-size: 16px;