Was that reaaaaaaally necessary?
Defining full path don't work and cause a panic, I'll have to patch that up.
This commit is contained in:
62
embed/templates/challenge-redlib.gohtml
Normal file
62
embed/templates/challenge-redlib.gohtml
Normal file
@@ -0,0 +1,62 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="fixed_navbar">
|
||||
<head>
|
||||
<title>{{ .Title }}</title>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
{{ range .MetaTags }}
|
||||
<meta {{ range $key, $value := . }}{{ $key | attr }}="{{ $value }}" {{end}}/>
|
||||
{{ end }}
|
||||
{{ range .LinkTags }}
|
||||
<link {{ range $key, $value := . }}{{ $key | attr }}="{{ $value }}" {{end}}/>
|
||||
{{ end }}
|
||||
{{ range .HeaderTags }}
|
||||
{{ . }}
|
||||
{{ end }}
|
||||
<link rel="stylesheet" type="text/css" href="/style.css?v=0.36.0">
|
||||
</head>
|
||||
|
||||
<body class="fixed_navbar">
|
||||
<!-- NAVIGATION BAR -->
|
||||
<nav class="fixed_navbar">
|
||||
<div id="logo">
|
||||
<a id="redlib" href="/"><span id="red">red</span><span id="lib">lib.</span></a>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<!-- MAIN CONTENT -->
|
||||
<main>
|
||||
<div id="error">
|
||||
<h1 id="status">Please wait while we verify you aren't a robot!</h1>
|
||||
|
||||
{{ if .Challenge }}
|
||||
<h3 id="status">{{ .Strings.Get "status_loading_challenge" }} : {{.Challenge }}...</h3>
|
||||
{{ else if .Error }}
|
||||
<h3 id="status">{{ .Strings.Get "status_error" }} {{ .Error }}</h3>
|
||||
{{ else }}
|
||||
<h3 id="status">{{ .Strings.Get "status_loading" }}</h3>
|
||||
{{ end }}
|
||||
<details style="padding-top: 5px;">
|
||||
<summary>{{ .Strings.Get "details_title" }}</summary>
|
||||
|
||||
{{.Strings.Get "details_text"}}
|
||||
</details>
|
||||
{{ if .Redirect }}
|
||||
<h3><a href="{{ .Redirect }}">{{ .Strings.Get "button_refresh_page" }}</a></h3>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{if .EndTags }}
|
||||
<noscript>
|
||||
{{ .Strings.Get "noscript_warning" }}
|
||||
</noscript>
|
||||
{{end}}
|
||||
</main>
|
||||
|
||||
<!-- FOOTER -->
|
||||
<footer>
|
||||
<div class="footer-buttons">
|
||||
<p><small>{{ .Strings.Get "details_contact_admin_with_request_id" }}: <em>{{ .Id }}</em></small></p>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user