new approach
This commit is contained in:
		
							
								
								
									
										6
									
								
								views/error.pug
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								views/error.pug
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
extends layout
 | 
			
		||||
 | 
			
		||||
block content
 | 
			
		||||
  h1= message
 | 
			
		||||
  h2= error.status
 | 
			
		||||
  pre #{error.stack}
 | 
			
		||||
							
								
								
									
										5
									
								
								views/index.pug
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								views/index.pug
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
extends layout
 | 
			
		||||
 | 
			
		||||
block content
 | 
			
		||||
  h1 ServiceDock
 | 
			
		||||
  div#main
 | 
			
		||||
							
								
								
									
										11
									
								
								views/layout.pug
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								views/layout.pug
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
doctype html
 | 
			
		||||
html
 | 
			
		||||
  head
 | 
			
		||||
    title= title
 | 
			
		||||
    link(rel='stylesheet', href='/stylesheets/style.css')
 | 
			
		||||
    script(type="text/javascript", src="/jquery.min.js")
 | 
			
		||||
    script(type="text/javascript", src="/viz.js")
 | 
			
		||||
    script(type="text/javascript", src="/docker.js")
 | 
			
		||||
    script(type="text/javascript", src="/servicedock.js")
 | 
			
		||||
  body
 | 
			
		||||
    block content
 | 
			
		||||
		Reference in New Issue
	
	Block a user