diff --git a/pkg/api/index.go b/pkg/api/index.go index a1939eab8f6..8f5e27023e9 100644 --- a/pkg/api/index.go +++ b/pkg/api/index.go @@ -226,7 +226,7 @@ func setIndexViewData(c *middleware.Context) (*dtos.IndexViewData, error) { }, { Text: "Teams", - Id: "users", + Id: "teams", Description: "Manage org groups", Icon: "gicon gicon-user-group", Url: setting.AppSubUrl + "/org/user-groups", diff --git a/public/app/features/org/all.ts b/public/app/features/org/all.ts index 6b3eb67e7fb..a1106faf061 100644 --- a/public/app/features/org/all.ts +++ b/public/app/features/org/all.ts @@ -5,6 +5,7 @@ import './select_org_ctrl'; import './change_password_ctrl'; import './new_org_ctrl'; import './user_invite_ctrl'; +import './user_groups_ctrl'; import './org_api_keys_ctrl'; import './org_details_ctrl'; import './prefs_control'; diff --git a/public/app/features/org/partials/user_groups.html b/public/app/features/org/partials/user_groups.html index da3597c044b..2afeb203ea7 100644 --- a/public/app/features/org/partials/user_groups.html +++ b/public/app/features/org/partials/user_groups.html @@ -3,14 +3,13 @@
-
- - + + -
-
+
diff --git a/public/app/features/org/user_groups_ctrl.ts b/public/app/features/org/user_groups_ctrl.ts index 6534f749260..e3d99364595 100644 --- a/public/app/features/org/user_groups_ctrl.ts +++ b/public/app/features/org/user_groups_ctrl.ts @@ -15,7 +15,7 @@ export class UserGroupsCtrl { /** @ngInject */ constructor(private backendSrv, navModelSrv) { - this.navModel = navModelSrv.getNav('cfg', 'users', 0); + this.navModel = navModelSrv.getNav('cfg', 'teams', 0); this.get(); } diff --git a/public/app/features/plugins/partials/plugin_edit.html b/public/app/features/plugins/partials/plugin_edit.html index adc1c637a28..9df2775cbb8 100644 --- a/public/app/features/plugins/partials/plugin_edit.html +++ b/public/app/features/plugins/partials/plugin_edit.html @@ -1,96 +1,73 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
+
+
+
-
-
- + diff --git a/public/app/features/plugins/plugin_edit_ctrl.ts b/public/app/features/plugins/plugin_edit_ctrl.ts index d2e704803ba..9daefdcbcf4 100644 --- a/public/app/features/plugins/plugin_edit_ctrl.ts +++ b/public/app/features/plugins/plugin_edit_ctrl.ts @@ -27,7 +27,7 @@ export class PluginEditCtrl { $routeParams, navModelSrv, ) { - this.navModel = navModelSrv.getNav('cfg', 'plugins'); + this.navModel = navModelSrv.getNav('cfg', 'plugins', 0); this.model = {}; this.pluginId = $routeParams.pluginId; this.tabIndex = 0; diff --git a/public/sass/layout/_page.scss b/public/sass/layout/_page.scss index d9f91b07887..19a4fb1b8e1 100644 --- a/public/sass/layout/_page.scss +++ b/public/sass/layout/_page.scss @@ -32,14 +32,6 @@ .page-body { padding-top: $spacer*2; - - &--with-sidebar { - @include media-breakpoint-up(md) { - display: flex; - flex-direction: row; - flex-wrap: wrap; - } - } } .page-heading { @@ -63,10 +55,18 @@ flex-grow: 1; } -.page-content-with-sidebar { +.sidebar-content { width: calc(100% - #{$page-sidebar-width + $page-sidebar-margin}); // sidebar width + margin } +.sidebar-container { + @include media-breakpoint-up(md) { + display: flex; + flex-direction: row; + flex-wrap: wrap; + } +} + .page-sidebar { @include media-breakpoint-up(md) { width: $page-sidebar-width;