Massive cleanups on http frontend aspects
This commit is contained in:
1
app/ipasso/envEndpoint.go
Normal file
1
app/ipasso/envEndpoint.go
Normal file
@@ -0,0 +1 @@
|
|||||||
|
package main
|
||||||
1
app/ipasso/loginKrb.go
Normal file
1
app/ipasso/loginKrb.go
Normal file
@@ -0,0 +1 @@
|
|||||||
|
package main
|
||||||
1
resources/resources.go
Normal file
1
resources/resources.go
Normal file
@@ -0,0 +1 @@
|
|||||||
|
package resources
|
||||||
0
resources/static/index.html
Normal file
0
resources/static/index.html
Normal file
30
resources/templates/env.html
Normal file
30
resources/templates/env.html
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<style>
|
||||||
|
pre { margin: 0 1ex; }
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Request to:</h1>
|
||||||
|
<pre>{{ .ReqURL }}</pre>
|
||||||
|
<h1>Headers</h1>
|
||||||
|
<table>
|
||||||
|
{{- range k,v := .Headers }}
|
||||||
|
<tr>
|
||||||
|
<td><pre>{{ k }}</pre></td>
|
||||||
|
<td><pre>{{ v }}</pre></td>
|
||||||
|
</tr>
|
||||||
|
{{- end }}
|
||||||
|
</table>
|
||||||
|
<h1>Process Environment</h1>
|
||||||
|
<table>
|
||||||
|
{{- range k,v := .ProcessEnv }}
|
||||||
|
<tr>
|
||||||
|
<td><pre>{{ k }}</pre></td>
|
||||||
|
<td><pre>{{ v }}</pre></td>
|
||||||
|
</tr>
|
||||||
|
{{- end }}
|
||||||
|
</table>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
0
resources/templates/env.txt
Normal file
0
resources/templates/env.txt
Normal file
Reference in New Issue
Block a user