diff --git a/webui/src/app/apps-page/apps-page.component.html b/webui/src/app/apps-page/apps-page.component.html index 9f5e7aac3..aedd6619f 100644 --- a/webui/src/app/apps-page/apps-page.component.html +++ b/webui/src/app/apps-page/apps-page.component.html @@ -76,6 +76,7 @@ currentPageReportTemplate="{currentPage} of {totalPages} pages" stateStorage="session" stateKey="apps-table-session" + styleClass="alternate-list" > @@ -88,7 +89,7 @@ - + {{ a.name }} diff --git a/webui/src/app/dashboard/dashboard.component.html b/webui/src/app/dashboard/dashboard.component.html index 443b1cdab..4d0d69f61 100644 --- a/webui/src/app/dashboard/dashboard.component.html +++ b/webui/src/app/dashboard/dashboard.component.html @@ -282,7 +282,7 @@

Statistics

Services Status

- +
@@ -297,7 +297,7 @@

Services Status

- + diff --git a/webui/src/app/dashboard/dashboard.component.sass b/webui/src/app/dashboard/dashboard.component.sass index f9f08d485..03c93a812 100644 --- a/webui/src/app/dashboard/dashboard.component.sass +++ b/webui/src/app/dashboard/dashboard.component.sass @@ -16,9 +16,6 @@ .dhcp-services-table td padding: 5px -.dhcp-services-table tr:nth-child(2n) - background-color: #f4f4f4 - h1.section-heading font-size: 1.4em border-bottom: 3px solid #e1e1e1 diff --git a/webui/src/app/hosts-page/hosts-page.component.html b/webui/src/app/hosts-page/hosts-page.component.html index e4fbcb03f..06d47d0ef 100644 --- a/webui/src/app/hosts-page/hosts-page.component.html +++ b/webui/src/app/hosts-page/hosts-page.component.html @@ -147,6 +147,7 @@ stateStorage="session" stateKey="hosts-table-session" currentPageReportTemplate="{currentPage} of {totalPages} pages" + styleClass="alternate-list" > @@ -159,7 +160,7 @@ - + @@ -380,7 +381,7 @@ - + @@ -410,7 +411,7 @@ > - + diff --git a/webui/src/app/shared-networks-page/shared-networks-page.component.html b/webui/src/app/shared-networks-page/shared-networks-page.component.html index 9383f2dd8..233579a83 100644 --- a/webui/src/app/shared-networks-page/shared-networks-page.component.html +++ b/webui/src/app/shared-networks-page/shared-networks-page.component.html @@ -84,6 +84,7 @@ currentPageReportTemplate="{currentPage} of {totalPages} pages" stateStorage="session" stateKey="networks-table-session" + styleClass="alternate-list" > @@ -105,7 +106,7 @@ - + @@ -143,7 +144,7 @@ - + diff --git a/webui/src/app/users-page/users-page.component.html b/webui/src/app/users-page/users-page.component.html index b8da43ff0..29b058482 100644 --- a/webui/src/app/users-page/users-page.component.html +++ b/webui/src/app/users-page/users-page.component.html @@ -73,6 +73,7 @@ currentPageReportTemplate="{currentPage} of {totalPages} pages" stateStorage="session" stateKey="users-table-session" + styleClass="alternate-list" > @@ -86,7 +87,7 @@ - +
Host App Version Uptime
{{ d.machine }}
{{ m.hostname || m.address }}
{{ u.login | placeholder }} It's you @@ -222,7 +223,7 @@ severity="info" text="The external authorization service '{{ userTab.user.authenticationMethodId - }}' manages this user + }}' manages this user profile. It can be only modified via the administrator panel of the authentication service." > diff --git a/webui/src/styles.sass b/webui/src/styles.sass index 7024f123d..289a05b32 100644 --- a/webui/src/styles.sass +++ b/webui/src/styles.sass @@ -42,8 +42,9 @@ p-header margin-left: 20px color: #848484 -// Utility class for highlighting every even list item or table row. -.alternate-list:nth-child(2n), .alternate-list tr:nth-child(2n) +// Utility class for highlighting every even-numbered table row. +// The first rule is for plain tables. The second rule is for p-tables. +.alternate-list > tr:nth-child(2n), .alternate-list tbody > tr:nth-child(2n) background-color: #f4f4f4 // Allows breaking long lines of text on small