Migration This is my new public git source viewer. Source coming soon. Please contact with concerns/bugs. Contact me

internal/share/view.html

caching_trials · 867 B · 30 lines raw

1 <!doctype html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1">
6 <title>Share link &middot; {{ .Site }}</title>
7 <link rel="stylesheet" href="/static/css/base.css">
8 <link rel="stylesheet" href="/static/css/share.css">
9 </head>
10 <body>
11 <main class="wrap">
12 <header class="hero">
13 <h1 class="page-title">Password required</h1>
14 <p class="page-subtitle">This share link is password-protected.</p>
15 </header>
16
17 {{ if .Error }}
18 <div class="notice notice-critical"><p>{{ .Error }}</p></div>
19 {{ end }}
20
21 <form method="post" action="{{ .Action }}" class="share-form">
22 <label class="share-field">
23 <span>Password</span>
24 <input type="password" name="password" autofocus>
25 </label>
26 <button class="chip admin-save" type="submit">View</button>
27 </form>
28 </main>
29 </body>
30 </html>