File: 404-dev.html

package info (click to toggle)
golang-github-revel-revel 0.12.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 840 kB
  • ctags: 832
  • sloc: makefile: 7; xml: 7
file content (63 lines) | stat: -rw-r--r-- 941 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<style type="text/css">
	html, body {
		margin: 0;
		padding: 0;
		font-family: Helvetica, Arial, Sans;
		background: #EEEEEE;
	}
	.block {
		padding: 20px;
		border-bottom: 1px solid #aaa;
	}
	#header h1 {
		font-weight: normal;
		font-size: 28px;
		margin: 0;
	}
	#more {
		color: #666;
		font-size: 80%;
		border: none;
	}
	#header {
		background: #FFFFCC;
	}
	#header p {
		color: #333;
	}
	#routes {
		background: #f6f6f6;
	}
	#routes h2 {
		font-weight: normal;
		font-size: 18px;
		margin: 0 0 10px 0;
	}
	#routes ol {

	}
	#routes li {
		font-size: 14px;
		font-family: monospace;
		color: #333;
	}
</style>

<div id="header" class="block">
	{{with .Error}}
	<h1>
		{{.Title}}
	</h1>
	<p>
		{{.Description}}
	</p>
	{{end}}
</div>
<div id="routes" class="block">
	<h2>These routes have been tried, in this order :</h2>
	<ol>
		{{range .Router.Routes}}
			<li>{{pad .Method 10}}{{pad .Path 50}}{{.Action}}</li>
		{{end}}
	</ol>
</div>