diff --git a/src/Website/Views/Admin/ApiKeys.cshtml b/src/Website/Views/Admin/ApiKeys.cshtml index 5cd6fef..c49273d 100644 --- a/src/Website/Views/Admin/ApiKeys.cshtml +++ b/src/Website/Views/Admin/ApiKeys.cshtml @@ -11,13 +11,18 @@ @foreach (var apiKey in Model) { - + - - - + @if (apiKey.Enabled) + { + + } + else + { + + } } diff --git a/src/Website/Views/Admin/Mailboxes.cshtml b/src/Website/Views/Admin/Mailboxes.cshtml index 814575e..1d80813 100644 --- a/src/Website/Views/Admin/Mailboxes.cshtml +++ b/src/Website/Views/Admin/Mailboxes.cshtml @@ -9,12 +9,17 @@
@apiKey.Name
@apiKey.Key
Copy@(apiKey.Enabled?"Enabled":"Disabled")EnableDisableDisableEnableDelete
@foreach (var alias in Model) { - + - - - + @if (alias.Active) + { + + } + else + { + + } } diff --git a/src/Website/wwwroot/css/style.scss b/src/Website/wwwroot/css/style.scss index 2995cf8..212ef01 100644 --- a/src/Website/wwwroot/css/style.scss +++ b/src/Website/wwwroot/css/style.scss @@ -235,8 +235,18 @@ table.actions { border-collapse: collapse; width:100%; - tr:hover { - background: $Grey-300; + tr{ + &.green{ + background: $LightGreen-A100; + } + + &.red{ + background: $Red-A100; + } + + &:hover { + background: $Grey-300; + } } td {
@alias.Source @alias.Destination@(alias.Active?"Enabled":"Disabled")EnableDisableDisableEnableDelete