added links to about pages

This commit is contained in:
Nicolas Constant 2021-02-24 00:33:40 -05:00
parent 7503f34882
commit 26584fc5c8
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
4 changed files with 8 additions and 5 deletions

View File

@ -4,7 +4,7 @@
ViewData["Title"] = "Blacklisting";
}
<div class="col-12 col-sm-10 col-md-8 col-lg-6 mx-auto">
<div class="col-12 col-sm-12 col-md-10 col-lg-8 mx-auto">
<h2>Blacklisting</h2>
@if (Model.Followers == ModerationTypeEnum.BlackListing)

View File

@ -4,7 +4,7 @@
ViewData["Title"] = "Whitelisting";
}
<div class="col-12 col-sm-10 col-md-8 col-lg-6 mx-auto">
<div class="col-12 col-sm-12 col-md-10 col-lg-8 mx-auto">
<h2>Whitelisting</h2>
@if (Model.Followers == ModerationTypeEnum.WhiteListing)

View File

@ -3,15 +3,15 @@
<div>
@if (ViewData.Model.WhitelistingEnabled)
{
<a href="#" class="badge badge-light" title="What does this mean?">Whitelisting Enabled</a>
<a asp-controller="About" asp-action="Whitelisting" class="badge badge-light" title="What does this mean?">Whitelisting Enabled</a>
}
@if (ViewData.Model.BlacklistingEnabled)
{
<a href="#" class="badge badge-light" title="What does this mean?">Blacklisting Enabled</a>
<a asp-controller="About" asp-action="Blacklisting" class="badge badge-light" title="What does this mean?">Blacklisting Enabled</a>
}
<div class="node-progress-bar">
<div class="node-progress-bar__label">Instance saturation: </div>
<div class="node-progress-bar__label"><a asp-controller="About" asp-action="Index">Instance saturation:</a></div>
<div class="progress node-progress-bar__bar">
<div class="progress-bar
@((ViewData.Model.InstanceSaturation > 50 && ViewData.Model.InstanceSaturation < 75) ? "bg-warning ":"")

View File

@ -66,3 +66,6 @@
}
}
.node-progress-bar__label a {
color: gray;
}