Clean up front end code

This commit is contained in:
Jeff Leung 2022-12-10 20:34:39 -08:00
parent e7ee6ada7c
commit fe35067549
2 changed files with 21 additions and 26 deletions

View File

@ -7,20 +7,20 @@
<p>The communities are as follows:</p>
<table class="table">
<div class="table-responsive">
<table class="table table-hover">
<thead>
<tr>
<th>Community Tag</th>
<th>Description</th>
<th>Community Type</th>
<th scope="col">Community Tag</th>
<th scope="col">Description</th>
<th scope="col">Community Type</th>
</tr>
</thead>
@foreach (var item in Model) {
<tr>
<td>@item.Name</td>
<td>@item.Description</td>
<td>
<td scope="row">@item.Name</td>
<td scope="row">@item.Description</td>
<td scope="row">
@foreach (var tags in item.Tags) {
<div class="d-inline-flex p-2 text-white" style="background-color:#@tags.color">@tags.display</div>
}
@ -28,3 +28,4 @@
</tr>
}
</table>
</div>

View File

@ -1,6 +0,0 @@
@{
ViewData["Title"] = "Privacy Policy";
}
<h1>@ViewData["Title"]</h1>
<p>Use this page to detail your site's privacy policy.</p>