Massive cleanups on http frontend aspects

This commit is contained in:
2023-10-25 23:49:47 +02:00
parent b934270d14
commit 95bdbe743d
7 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1 @@
package main

1
app/ipasso/loginKrb.go Normal file
View File

@@ -0,0 +1 @@
package main

1
resources/resources.go Normal file
View File

@@ -0,0 +1 @@
package resources

View File

View 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>

View File