Compare commits
3 Commits
e7ee6ada7c
...
f38afd75b8
| Author | SHA1 | Date |
|---|---|---|
|
|
f38afd75b8 | |
|
|
daf04140ee | |
|
|
fe35067549 |
|
|
@ -1,30 +1,33 @@
|
|||
@model List<AS1024.CommunityDocumentationPage.Models.Result>
|
||||
@using Microsoft.Extensions.DependencyInjection
|
||||
@inject IConfiguration Configuration
|
||||
@model List<AS1024.CommunityDocumentationPage.Models.Result>
|
||||
@{
|
||||
ViewData["Title"] = "BGP Communities";
|
||||
}
|
||||
|
||||
<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>This site contains BGP communities for @("AS" + Configuration["ASN"]). 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 <a href="mailto:@Configuration["NOCEmail"]">@Configuration["NOCEmail"].</a></p>
|
||||
|
||||
|
||||
<p>The communities are as follows:</p>
|
||||
|
||||
<table class="table">
|
||||
<thead>
|
||||
<p>The communities are as follows:</p>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<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>
|
||||
<th>Community Tag</th>
|
||||
<th>Description</th>
|
||||
<th>Community Type</th>
|
||||
<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>
|
||||
</thead>
|
||||
@foreach (var item in Model) {
|
||||
<tr>
|
||||
<td>@item.Name</td>
|
||||
<td>@item.Description</td>
|
||||
<td>
|
||||
@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>
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
@{
|
||||
ViewData["Title"] = "Privacy Policy";
|
||||
}
|
||||
<h1>@ViewData["Title"]</h1>
|
||||
|
||||
<p>Use this page to detail your site's privacy policy.</p>
|
||||
|
|
@ -1,9 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
@using Microsoft.Extensions.Hosting
|
||||
@inject IConfiguration Configuration
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>@ViewData["Title"] - AS1024 NetOps</title>
|
||||
<title>@ViewData["Title"] - @("AS" + Configuration["ASN"]) NetOps</title>
|
||||
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/AS1024.CommunityDocumentationPage.styles.css" asp-append-version="true" />
|
||||
|
|
@ -12,7 +14,7 @@
|
|||
<header>
|
||||
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">AS1024 Net Ops</a>
|
||||
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">@("AS" + Configuration["ASN"]) Net Ops</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target=".navbar-collapse" aria-controls="navbarSupportedContent"
|
||||
aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
|
|
@ -35,7 +37,7 @@
|
|||
|
||||
<footer class="border-top footer text-muted">
|
||||
<div class="container">
|
||||
© @DateTime.Now.Year - AS1024.net
|
||||
© @DateTime.Now.Year - @("AS" + Configuration["ASN"] + ".net")
|
||||
</div>
|
||||
</footer>
|
||||
<script src="~/lib/jquery/dist/jquery.min.js"></script>
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
}
|
||||
},
|
||||
"APIKey": "",
|
||||
"ASN": "1024",
|
||||
"ASN": "",
|
||||
"NOCEmail": "",
|
||||
"AllowedHosts": "*"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue