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

@ -6,25 +6,26 @@
<p>This site contains BGP communities for AS1024. Please note that these communities are subject to change at a moment's notice. We do not strip communities on received routes or on routes sent to peers and upstreams, but we cannot guarantee that the communities will be preserved by the upstream or peers. If you have any questions or need support, please reach out to noc@12393239.xyz.</p>
<p>The communities are as follows:</p>
<table class="table">
<p>The communities are as follows:</p>
<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>
}
</td>
</tr>
}
</table>
</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>