render top navbar in base
This commit is contained in:
		@@ -11,6 +11,7 @@
 | 
				
			|||||||
  <link rel="stylesheet" href="<%= "/static/style.css?" .. math.random(1, 100) %>">
 | 
					  <link rel="stylesheet" href="<%= "/static/style.css?" .. math.random(1, 100) %>">
 | 
				
			||||||
</head>
 | 
					</head>
 | 
				
			||||||
<body>
 | 
					<body>
 | 
				
			||||||
 | 
					  <% render("views.common.topnav") -%>
 | 
				
			||||||
  <% content_for("inner") %>
 | 
					  <% content_for("inner") %>
 | 
				
			||||||
</body>
 | 
					</body>
 | 
				
			||||||
</html>
 | 
					</html>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,3 @@
 | 
				
			|||||||
<% render("views.common.topnav") -%>
 | 
					 | 
				
			||||||
<div class="darkbg settings-container">
 | 
					<div class="darkbg settings-container">
 | 
				
			||||||
  <h1>New thread</h1>
 | 
					  <h1>New thread</h1>
 | 
				
			||||||
    <form method="post">
 | 
					    <form method="post">
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,3 @@
 | 
				
			|||||||
<% render("views.common.topnav") -%>
 | 
					 | 
				
			||||||
<% local is_locked = ntob(thread.is_locked) %>
 | 
					<% local is_locked = ntob(thread.is_locked) %>
 | 
				
			||||||
<main>
 | 
					<main>
 | 
				
			||||||
  <nav class="darkbg">
 | 
					  <nav class="darkbg">
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,3 @@
 | 
				
			|||||||
<% render("views.common.topnav") -%>
 | 
					 | 
				
			||||||
<div class="darkbg settings-container">
 | 
					<div class="darkbg settings-container">
 | 
				
			||||||
  <h1>Editing topic <%= topic.name %></h1>
 | 
					  <h1>Editing topic <%= topic.name %></h1>
 | 
				
			||||||
  <form method="post">
 | 
					  <form method="post">
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,3 @@
 | 
				
			|||||||
<% render("views.common.topnav") -%>
 | 
					 | 
				
			||||||
<% if infobox then %>
 | 
					<% if infobox then %>
 | 
				
			||||||
  <% render("views.common.infobox", infobox) %>
 | 
					  <% render("views.common.infobox", infobox) %>
 | 
				
			||||||
<% end %>
 | 
					<% end %>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,3 @@
 | 
				
			|||||||
<% render("views.common.topnav") -%>
 | 
					 | 
				
			||||||
<div class="darkbg settings-container">
 | 
					<div class="darkbg settings-container">
 | 
				
			||||||
  <h1>Are you sure you want to delete your account, <%= me.username %>?</h1>
 | 
					  <h1>Are you sure you want to delete your account, <%= me.username %>?</h1>
 | 
				
			||||||
  <p>This cannot be undone. This will not delete your posts, only anonymize them.</p>
 | 
					  <p>This cannot be undone. This will not delete your posts, only anonymize them.</p>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,3 @@
 | 
				
			|||||||
<% render("views.common.topnav") -%>
 | 
					 | 
				
			||||||
<div class="darkbg login-container">
 | 
					<div class="darkbg login-container">
 | 
				
			||||||
  <h1>Log In</h1>
 | 
					  <h1>Log In</h1>
 | 
				
			||||||
  <% if infobox then %>
 | 
					  <% if infobox then %>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,3 @@
 | 
				
			|||||||
<% render("views.common.topnav") -%>
 | 
					 | 
				
			||||||
<div class="darkbg settings-container">
 | 
					<div class="darkbg settings-container">
 | 
				
			||||||
  <h1>User settings</h1>
 | 
					  <h1>User settings</h1>
 | 
				
			||||||
  <% if infobox then %>
 | 
					  <% if infobox then %>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,3 @@
 | 
				
			|||||||
<% render("views.common.topnav") -%>
 | 
					 | 
				
			||||||
<div class="darkbg login-container">
 | 
					<div class="darkbg login-container">
 | 
				
			||||||
  <h1>Sign up</h1>
 | 
					  <h1>Sign up</h1>
 | 
				
			||||||
  <% if infobox then %>
 | 
					  <% if infobox then %>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,3 @@
 | 
				
			|||||||
<% render("views.common.topnav") -%>
 | 
					 | 
				
			||||||
<% if infobox then %>
 | 
					<% if infobox then %>
 | 
				
			||||||
  <% render("views.common.infobox", pop_infobox) %>
 | 
					  <% render("views.common.infobox", pop_infobox) %>
 | 
				
			||||||
<% end %>
 | 
					<% end %>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user