-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path_Layout.cshtml
More file actions
77 lines (77 loc) · 4.37 KB
/
_Layout.cshtml
File metadata and controls
77 lines (77 loc) · 4.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="@ViewData["Bootstrap_URL"]" media="screen">
<link rel="stylesheet" href="/css/paste.css?vary=3">
<link rel="stylesheet" href="@ViewData["Theme_Colors"]?vary=2">
<title>@ViewData["Title"] | Denizen Pastebin</title>
<meta name="description" content="@ViewData["Description"]" />
<meta name="theme-color" content="@ViewData["MetaColor"]" />
<script src="/js/jquery.min.js"></script>
<script src="/js/flasher.js?vary=2"></script>
<script src="/js/themes.js"></script>
@ViewData["OtherHeaderLines"]
</head>
<body onload="javascript:autoflash();">
<nav class="navbar navbar-expand navbar-dark bg-primary navbar-fixed-ifier">
<a class="navbar-brand" href="/">Denizen Pastebin</a>
<div>
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="https://denizenscript.com">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/New">New</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Theme</a>
<div class="dropdown-menu">
<a class="dropdown-item" title="created by Alex 'mcmonkey' Goodwin" onclick="changetheme('dark')">Standard Dark</a>
<a class="dropdown-item" title="created by Behr aka Hydra" onclick="changetheme('darkbehr')">Behrry Dark</a>
<a class="dropdown-item" title="created by acikek" onclick="changetheme('acidic')">Acidic (Dark)</a>
<a class="dropdown-item" title="created by Chris|LordNoob" onclick="changetheme('chrispy')">Chrispy Dark</a>
<a class="dropdown-item" title="created by Breadcrumb" onclick="changetheme('breadcrumb')">Breadcrumb Dark</a>
<a class="dropdown-item" title="created by Apademide" onclick="changetheme('baguette')">Baguette Dark</a>
<a class="dropdown-item" title="created by Alex 'mcmonkey' Goodwin" onclick="changetheme('light')">Quite Light</a>
</div>
</li>
@if ((bool)ViewData["auth_canlogin"])
{
<span class="top_login_button">
@if ((bool)ViewData["auth_isloggedin"])
{
<form name="logout_button" id="logout_button" method="POST" action="/Auth/Logout" style="display:inline;">
<input type="hidden" name="button_type" value="logout">
<input type="submit" class="btn btn-secondary btn-sm" value="Log out">
</form>
}
else
{
<li class="nav-item">
<a class="nav-link" href="/Auth/Login">Login</a>
</li>
}
</span>
}
</ul>
</div>
</nav>
<div style="height:90px;"></div>
@RenderBody()
<footer>
<center>
<br>
<hr>
Webservice Info: <a href="/Info/Terms">Terms of Service, Contact, Privacy Policy, Etc.</a>
<br>Denizen Pasting Website (AKA The Denizen Pastebin), developed by Alex "mcmonkey" Goodwin on behalf of the Denizen Script team, is a pastebin webservice.
<br>You can find <a href="https://github.com/DenizenScript/DenizenPastingWebsite">DenizenPastingWebsite on GitHub</a>, or talk to us on <a href="https://discord.gg/Q6pZGSR">Discord</a>.
<br>@ViewData["Theme_Footer"]
<br>Made using the @ViewData["Bootstrap_Footer"] by Thomas Park, which was released under the <a href="https://github.com/thomaspark/bootswatch/blob/7fcf822114e71cfb3b89e98afb58055d21f5e240/LICENSE">MIT License</a>.
<br><span class="text-muted">DenizenPastingWebsite is Copyright (C) 2021-2022 The Denizen Script Team, All Rights Reserved.</span>
</center>
</footer>
<script src="/js/bootstrap.min.js"></script>
</body>
</html>