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) %>">
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
  <% render("views.common.topnav") -%>
 | 
			
		||||
  <% content_for("inner") %>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,3 @@
 | 
			
		||||
<% render("views.common.topnav") -%>
 | 
			
		||||
<div class="darkbg settings-container">
 | 
			
		||||
  <h1>New thread</h1>
 | 
			
		||||
    <form method="post">
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,3 @@
 | 
			
		||||
<% render("views.common.topnav") -%>
 | 
			
		||||
<% local is_locked = ntob(thread.is_locked) %>
 | 
			
		||||
<main>
 | 
			
		||||
  <nav class="darkbg">
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,3 @@
 | 
			
		||||
<% render("views.common.topnav") -%>
 | 
			
		||||
<div class="darkbg settings-container">
 | 
			
		||||
  <h1>Editing topic <%= topic.name %></h1>
 | 
			
		||||
  <form method="post">
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,3 @@
 | 
			
		||||
<% render("views.common.topnav") -%>
 | 
			
		||||
<% if infobox then %>
 | 
			
		||||
  <% render("views.common.infobox", infobox) %>
 | 
			
		||||
<% end %>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,3 @@
 | 
			
		||||
<% render("views.common.topnav") -%>
 | 
			
		||||
<div class="darkbg settings-container">
 | 
			
		||||
  <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>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,3 @@
 | 
			
		||||
<% render("views.common.topnav") -%>
 | 
			
		||||
<div class="darkbg login-container">
 | 
			
		||||
  <h1>Log In</h1>
 | 
			
		||||
  <% if infobox then %>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,3 @@
 | 
			
		||||
<% render("views.common.topnav") -%>
 | 
			
		||||
<div class="darkbg settings-container">
 | 
			
		||||
  <h1>User settings</h1>
 | 
			
		||||
  <% if infobox then %>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,3 @@
 | 
			
		||||
<% render("views.common.topnav") -%>
 | 
			
		||||
<div class="darkbg login-container">
 | 
			
		||||
  <h1>Sign up</h1>
 | 
			
		||||
  <% if infobox then %>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,3 @@
 | 
			
		||||
<% render("views.common.topnav") -%>
 | 
			
		||||
<% if infobox then %>
 | 
			
		||||
  <% render("views.common.infobox", pop_infobox) %>
 | 
			
		||||
<% end %>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user