init
This commit is contained in:
commit
b15b95781c
108 changed files with 14802 additions and 0 deletions
39
web/templates/pages/admin.gohtml
Normal file
39
web/templates/pages/admin.gohtml
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{{define "content"}}
|
||||
<section class="hero">
|
||||
<p class="eyebrow">{{.Eyebrow}}</p>
|
||||
<h1>{{.Heading}}</h1>
|
||||
<p class="lede">{{.Description}}</p>
|
||||
</section>
|
||||
|
||||
<section class="metric-grid">
|
||||
{{range .Metrics}}
|
||||
<article class="metric-card">
|
||||
<p class="metric-value">{{.Value}}</p>
|
||||
<h2>{{.Label}}</h2>
|
||||
<p>{{.Description}}</p>
|
||||
</article>
|
||||
{{end}}
|
||||
</section>
|
||||
|
||||
<section class="admin-grid">
|
||||
<article class="callout">
|
||||
<h2>Authenticated User</h2>
|
||||
<p class="meta-line"><strong>Email:</strong> {{if .CurrentUser}}{{.CurrentUser.Email}}{{else}}Unavailable{{end}}</p>
|
||||
<p class="meta-line"><strong>Role:</strong> {{if .CurrentUser}}{{.CurrentUser.Role}}{{else}}Unknown{{end}}</p>
|
||||
</article>
|
||||
|
||||
<article class="callout">
|
||||
<h2>Session And Storage</h2>
|
||||
<p>Protected admin routes continue to use the existing session context. Release uploads now persist files under the private artifact directory rather than the public static web root.</p>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<section class="link-grid">
|
||||
{{range .Links}}
|
||||
<article class="link-card">
|
||||
<h2><a href="{{.Href}}">{{.Label}}</a></h2>
|
||||
<p>{{.Description}}</p>
|
||||
</article>
|
||||
{{end}}
|
||||
</section>
|
||||
{{end}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue