Implemented hub
This commit is contained in:
		@@ -4,7 +4,7 @@
 | 
			
		||||
    <input name="editor-title" placeholder="Titel" type="text" />
 | 
			
		||||
    <textarea name="editor-desc" placeholder="Beschreibung"></textarea>
 | 
			
		||||
    <textarea name="editor-text" placeholder="Artikel"></textarea>
 | 
			
		||||
    <input type="submit" value="Senden" hx-post="/finished-edit/" hx-target="#page-content" />
 | 
			
		||||
    <input type="submit" value="Senden" hx-post="/finish-edit/" hx-target="#page-content" />
 | 
			
		||||
</form>
 | 
			
		||||
{{end}}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										6
									
								
								web/templates/hub.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								web/templates/hub.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
{{define "page-content"}}
 | 
			
		||||
<h2>Hub</h2>
 | 
			
		||||
<button hx-post="/write-article/" hx-target="#page-content">Artikel schreiben</button>
 | 
			
		||||
<button hx-post="/rss/" hx-target="#page-content">RSS Feed</button>
 | 
			
		||||
<button hx-post="/create-user/" hx-target="#page-content">Benutzer hinzufügen</button>
 | 
			
		||||
{{end}}
 | 
			
		||||
		Reference in New Issue
	
	Block a user