diff --git a/assets/javascripts/discourse/templates/admin/plugins-explorer.hbs b/assets/javascripts/discourse/templates/admin/plugins-explorer.hbs index 09316da6..901fa84f 100644 --- a/assets/javascripts/discourse/templates/admin/plugins-explorer.hbs +++ b/assets/javascripts/discourse/templates/admin/plugins-explorer.hbs @@ -102,18 +102,16 @@ {{/if}} {{#unless this.selectedItem.destroyed}} -
-
- {{i18n "explorer.allow_groups"}} - - - -
+
+ {{i18n "explorer.allow_groups"}} + + +
{{/unless}} @@ -289,7 +287,7 @@ {{#unless this.validQueryPresent}}
- +
{{#each this.filteredContent as |query|}} - - + - - -
+
{{query.description}} + +
+ {{i18n "explorer.query_user"}} +
{{#if query.username}} - - {{query.username}} - + {{/if}}
- {{#each query.group_names as |group|}} - - {{/each}} + +
+ {{i18n "explorer.query_groups"}} +
+
+ {{#each query.group_names as |group|}} + + {{/each}} +
+ +
+ {{i18n "explorer.query_time"}} +
{{#if query.last_run_at}} {{bound-date query.last_run_at}} diff --git a/assets/stylesheets/explorer.scss b/assets/stylesheets/explorer.scss index dbc376f4..fa7c0b86 100644 --- a/assets/stylesheets/explorer.scss +++ b/assets/stylesheets/explorer.scss @@ -211,7 +211,14 @@ table.group-reports { margin: 10px 0; } .groups { - margin-bottom: 10px; + margin: 10px 0; + display: flex; + flex-direction: row; + align-items: center; + @include breakpoint("tablet") { + flex-direction: column; + align-items: flex-start; + } .label { margin-right: 10px; color: var(--primary-high); @@ -219,6 +226,12 @@ table.group-reports { .name { display: inline; } + + .select-kit.multi-select { + @include breakpoint("tablet") { + width: 360px; + } + } } } @@ -385,6 +398,11 @@ table.group-reports { display: inline; } } + .group-names { + @include breakpoint("tablet") { + text-align: right; + } + } .query-created-at { color: var(--primary-medium); }