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";
|
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>
|
<p>The communities are as follows:</p>
|
||||||
|
<div class="table-responsive">
|
||||||
<table class="table">
|
<table class="table table-hover">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Community Tag</th>
|
<th scope="col">Community Tag</th>
|
||||||
<th>Description</th>
|
<th scope="col">Description</th>
|
||||||
<th>Community Type</th>
|
<th scope="col">Community Type</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@foreach (var item in Model) {
|
@foreach (var item in Model) {
|
||||||
<tr>
|
<tr>
|
||||||
<td>@item.Name</td>
|
<td scope="row">@item.Name</td>
|
||||||
<td>@item.Description</td>
|
<td scope="row">@item.Description</td>
|
||||||
<td>
|
<td scope="row">
|
||||||
@foreach (var tags in item.Tags) {
|
@foreach (var tags in item.Tags) {
|
||||||
<div class="d-inline-flex p-2 text-white" style="background-color:#@tags.color">@tags.display</div>
|
<div class="d-inline-flex p-2 text-white" style="background-color:#@tags.color">@tags.display</div>
|
||||||
}
|
}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</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">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<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="~/lib/bootstrap/dist/css/bootstrap.min.css" />
|
||||||
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
|
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
|
||||||
<link rel="stylesheet" href="~/AS1024.CommunityDocumentationPage.styles.css" asp-append-version="true" />
|
<link rel="stylesheet" href="~/AS1024.CommunityDocumentationPage.styles.css" asp-append-version="true" />
|
||||||
@@ -12,7 +14,7 @@
|
|||||||
<header>
|
<header>
|
||||||
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
|
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
|
||||||
<div class="container-fluid">
|
<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"
|
<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">
|
aria-expanded="false" aria-label="Toggle navigation">
|
||||||
<span class="navbar-toggler-icon"></span>
|
<span class="navbar-toggler-icon"></span>
|
||||||
@@ -35,7 +37,7 @@
|
|||||||
|
|
||||||
<footer class="border-top footer text-muted">
|
<footer class="border-top footer text-muted">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
© @DateTime.Now.Year - AS1024.net
|
© @DateTime.Now.Year - @("AS" + Configuration["ASN"] + ".net")
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
<script src="~/lib/jquery/dist/jquery.min.js"></script>
|
<script src="~/lib/jquery/dist/jquery.min.js"></script>
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"APIKey": "",
|
"APIKey": "",
|
||||||
"ASN": "1024",
|
"ASN": "",
|
||||||
|
"NOCEmail": "",
|
||||||
"AllowedHosts": "*"
|
"AllowedHosts": "*"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user