blinkies
	
		
			
	
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
					Details
				
			
		
	
				
					
				
			
				
	
				continuous-integration/drone/push Build is passing
				
					Details
				
			
		
	This commit is contained in:
		
							parent
							
								
									97efd2a374
								
							
						
					
					
						commit
						dd7bb4cfde
					
				|  | @ -111,7 +111,7 @@ func MakeServer(argv *args.Arguments, dbConn *sql.DB) *http.Server { | |||
| 	mux.HandleFunc("GET /{name}", func(w http.ResponseWriter, r *http.Request) { | ||||
| 		requestContext := makeRequestContext() | ||||
| 		name := r.PathValue("name") | ||||
| 		LogRequestContinuation(requestContext, r, w)(TemplateContinuation(name+".html", nil, true), FailurePassingContinuation)(LogExecutionTimeContinuation, LogExecutionTimeContinuation)(IdContinuation, IdContinuation) | ||||
| 		LogRequestContinuation(requestContext, r, w)(VerifySessionContinuation, FailurePassingContinuation)(IdContinuation, IdContinuation)(TemplateContinuation(name+".html", nil, true), FailurePassingContinuation)(LogExecutionTimeContinuation, LogExecutionTimeContinuation)(IdContinuation, IdContinuation) | ||||
| 	}) | ||||
| 
 | ||||
| 	return &http.Server{ | ||||
|  |  | |||
|  | @ -29,8 +29,8 @@ func GetArgs() (*Arguments, error) { | |||
| 	databasePath := flag.String("database-path", "./hatecomputers.db", "Path to the SQLite database") | ||||
| 	templatePath := flag.String("template-path", "./templates", "Path to the template directory") | ||||
| 	staticPath := flag.String("static-path", "./static", "Path to the static directory") | ||||
| 	scheduler := flag.Bool("scheduler", false, "Run scheduled jobs via cron") | ||||
| 
 | ||||
| 	scheduler := flag.Bool("scheduler", false, "Run scheduled jobs via cron") | ||||
| 	server := flag.Bool("server", false, "Run the server") | ||||
| 	migrate := flag.Bool("migrate", false, "Run the migrations") | ||||
| 
 | ||||
|  |  | |||
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.2 KiB | 
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 3.9 KiB | 
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.7 KiB | 
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 2.4 KiB | 
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 2.1 KiB | 
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 6.2 KiB | 
|  | @ -19,14 +19,24 @@ | |||
|   </head> | ||||
|   <body> | ||||
|     <div id="content" class="container"> | ||||
|       <div class="header"> | ||||
|       <div> | ||||
|         <h1>hatecomputers.club</h1> | ||||
| 	<a href="javascript:void(0);" id="theme-switcher"></a> | ||||
| 	<a href="javascript:void(0);" id="theme-switcher">light mode.</a> | ||||
| 	<span> | </span> | ||||
| 	<a href="/">home.</a> | ||||
| 	<span> | </span> | ||||
| 	<a href="/">about.</a> | ||||
| 	<span> | </span> | ||||
| 	<a href="/">guestbook.</a> | ||||
| 	<span> | </span> | ||||
| 	<a href="/">webring.</a> | ||||
| 	<span> | </span> | ||||
| 	{{ if .User }} | ||||
| 	  <a href="/logout">logout, {{ .User.DisplayName }}.</a> | ||||
| 	<a href="/dns">dns.</a> | ||||
| 	<span> | </span> | ||||
| 	<a href="/logout">logout, {{ .User.DisplayName }}.</a> | ||||
| 	{{ else }} | ||||
| 	  <a href="/login">login.</a> | ||||
| 	<a href="/login">login.</a> | ||||
| 	{{ end }} | ||||
|       </div> | ||||
|       <hr> | ||||
|  | @ -34,7 +44,29 @@ | |||
|       <div id="content"> | ||||
|         {{ template "content" . }} | ||||
|       </div> | ||||
|       <p class="blinky">hi</p> | ||||
| 
 | ||||
|       <hr> | ||||
| 
 | ||||
|       <div class="footer"> | ||||
| 	<div> | ||||
| 	  <img width="150" height="20" src="/static/img/blinkies/hatecomputers-club.gif"> | ||||
| 	  <img width="150" height="20" src="/static/img/blinkies/loveuguys.gif"> | ||||
| 	  <img width="150" height="20" src="/static/img/blinkies/autism.gif"> | ||||
| 	  <img width="150" height="20" src="/static/img/blinkies/fuckcomputers.gif"> | ||||
| 	  <img width="150" height="20" src="/static/img/blinkies/connection.gif"> | ||||
| 	</div> | ||||
| 	 | ||||
| 	{{ if .User }} | ||||
| 	<a href="https://git.hatecomputers.club/{{ .User.Username }}">git</a> | ||||
| 	{{ else }} | ||||
| 	<a href="https://git.hatecomputers.club">git.</a> | ||||
| 	{{ end }} | ||||
| 
 | ||||
| 	<span> | </span> | ||||
| 	<a href="https://mail.hatecomputers.club">e-mail.</a> | ||||
| 	<span> | </span> | ||||
| 	<a href="https://auth.hatecomputers.club">sso.</a> | ||||
|       </div> | ||||
|     </div> | ||||
| 
 | ||||
|     <script data-main="/static/js/script.js" src="/static/js/require.js"></script> | ||||
|  |  | |||
|  | @ -1,3 +1,3 @@ | |||
| {{ define "content" }} | ||||
| 
 | ||||
| {{ end }} | ||||
| <p class="blinky">under construction!</p> | ||||
| {{ end }} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue