From 33f2e313933685afe0207f8877c07f864f1510a7 Mon Sep 17 00:00:00 2001 From: Patrick O'Carroll Date: Thu, 14 Dec 2017 14:30:13 +0100 Subject: [PATCH 1/3] replaced old table with filter-table, removed edit button, made whole rows to links --- .../app/features/admin/partials/edit_org.html | 2 +- public/app/features/admin/partials/orgs.html | 57 +++++++-------- public/app/features/admin/partials/users.html | 69 ++++++++++--------- .../alerting/partials/notifications_list.html | 63 ++++++++--------- .../app/features/org/partials/select_org.html | 2 +- public/app/features/org/partials/teams.html | 15 ++-- .../features/playlist/partials/playlist.html | 6 +- public/sass/components/_filter-table.scss | 17 +++++ 8 files changed, 128 insertions(+), 103 deletions(-) diff --git a/public/app/features/admin/partials/edit_org.html b/public/app/features/admin/partials/edit_org.html index 123e65ac919..975d663e9b0 100644 --- a/public/app/features/admin/partials/edit_org.html +++ b/public/app/features/admin/partials/edit_org.html @@ -16,7 +16,7 @@

Organization Users

- +
diff --git a/public/app/features/admin/partials/orgs.html b/public/app/features/admin/partials/orgs.html index a3b0f04d39d..d28cf4dc967 100644 --- a/public/app/features/admin/partials/orgs.html +++ b/public/app/features/admin/partials/orgs.html @@ -1,37 +1,40 @@
-
+ +
-
Username Email
- - - - - - - - - - - - - - -
IdName
{{org.id}}{{org.name}} - - - Edit - -    - - - -
+ + + + + + + + + + + + + + + +
IdName
+ + + +
diff --git a/public/app/features/admin/partials/users.html b/public/app/features/admin/partials/users.html index e98299eac64..66ab649e2cc 100644 --- a/public/app/features/admin/partials/users.html +++ b/public/app/features/admin/partials/users.html @@ -1,12 +1,13 @@
-
-
- - -
-
+
- +
- + Seen + Time since user was seen using Grafana + + - - - - - - + + + + +
Login Email - Seen - Time since user was seen using Grafana -
- - {{user.login}}{{user.email}} - {{user.lastSeenAtAge}} - - - - - - Edit + @@ -60,10 +70,7 @@
  1. - +
diff --git a/public/app/features/alerting/partials/notifications_list.html b/public/app/features/alerting/partials/notifications_list.html index a2f6f723696..1afd50dd12e 100644 --- a/public/app/features/alerting/partials/notifications_list.html +++ b/public/app/features/alerting/partials/notifications_list.html @@ -1,7 +1,7 @@
-
+
@@ -11,34 +11,35 @@
- - - - - - - - - - - -
NameType
- - {{notification.name}} - - - {{notification.type}} - - - default - - - - edit - - - - -
- + + + + + + + + + + + + + +
+ Name + Type
+ + default + + + + +
diff --git a/public/app/features/org/partials/select_org.html b/public/app/features/org/partials/select_org.html index 43fc555bf42..c8e143c80c1 100644 --- a/public/app/features/org/partials/select_org.html +++ b/public/app/features/org/partials/select_org.html @@ -25,7 +25,7 @@
- +
diff --git a/public/app/features/org/partials/teams.html b/public/app/features/org/partials/teams.html index 67d24b1f94b..daa76301de6 100644 --- a/public/app/features/org/partials/teams.html +++ b/public/app/features/org/partials/teams.html @@ -18,26 +18,23 @@
- +
- + - - +
Name Members
+ #Count - - - Edit - -    diff --git a/public/app/features/playlist/partials/playlist.html b/public/app/features/playlist/partials/playlist.html index c07fce48d02..0c35563a282 100644 --- a/public/app/features/playlist/partials/playlist.html +++ b/public/app/features/playlist/partials/playlist.html @@ -34,7 +34,7 @@
- +
@@ -51,7 +51,7 @@
- +
@@ -72,7 +72,7 @@
Selected
- +
  {{playlistItem.title}} diff --git a/public/sass/components/_filter-table.scss b/public/sass/components/_filter-table.scss index 074286fad80..3c636a6a27d 100644 --- a/public/sass/components/_filter-table.scss +++ b/public/sass/components/_filter-table.scss @@ -42,6 +42,23 @@ } } + .link-td { + padding: 0; + line-height: 30px; + height: 30px; + white-space: nowrap; + + &.filter-table__switch-cell { + padding: 0; + border-right: 3px solid $page-bg; + } + + a { + display: block; + padding: $table-cell-padding; + } + } + .ellipsis { display: block; width: 100%; From 0f62b3e04d64d9bad68527c07a3d737c3a16d156 Mon Sep 17 00:00:00 2001 From: Patrick O'Carroll Date: Thu, 14 Dec 2017 15:15:54 +0100 Subject: [PATCH 2/3] resolve merge conflict --- public/app/features/admin/partials/users.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/app/features/admin/partials/users.html b/public/app/features/admin/partials/users.html index 66ab649e2cc..1f03825e30c 100644 --- a/public/app/features/admin/partials/users.html +++ b/public/app/features/admin/partials/users.html @@ -2,11 +2,11 @@