From fe35067549410aa2aa453a45931e1e667248a9c9 Mon Sep 17 00:00:00 2001 From: Jeff Leung Date: Sat, 10 Dec 2022 20:34:39 -0800 Subject: [PATCH] Clean up front end code --- .../Views/Home/Index.cshtml | 41 ++++++++++--------- .../Views/Home/Privacy.cshtml | 6 --- 2 files changed, 21 insertions(+), 26 deletions(-) delete mode 100644 AS1024.CommunityDocumentationPage/Views/Home/Privacy.cshtml diff --git a/AS1024.CommunityDocumentationPage/Views/Home/Index.cshtml b/AS1024.CommunityDocumentationPage/Views/Home/Index.cshtml index 609f7af..444bb45 100644 --- a/AS1024.CommunityDocumentationPage/Views/Home/Index.cshtml +++ b/AS1024.CommunityDocumentationPage/Views/Home/Index.cshtml @@ -6,25 +6,26 @@

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.

-

The communities are as follows:

- - - +

The communities are as follows:

+
+
+ + + + + + + + @foreach (var item in Model) { - - - + + + - - @foreach (var item in Model) { - - - - - - } -
Community TagDescriptionCommunity Type
Community TagDescriptionCommunity Type@item.Name@item.Description + @foreach (var tags in item.Tags) { +
@tags.display
+ } +
@item.Name@item.Description - @foreach (var tags in item.Tags) { -
@tags.display
- } -
\ No newline at end of file + } + + \ No newline at end of file diff --git a/AS1024.CommunityDocumentationPage/Views/Home/Privacy.cshtml b/AS1024.CommunityDocumentationPage/Views/Home/Privacy.cshtml deleted file mode 100644 index af4fb19..0000000 --- a/AS1024.CommunityDocumentationPage/Views/Home/Privacy.cshtml +++ /dev/null @@ -1,6 +0,0 @@ -@{ - ViewData["Title"] = "Privacy Policy"; -} -

@ViewData["Title"]

- -

Use this page to detail your site's privacy policy.