All checks were successful
continuous-integration/drone/push Build is passing
- Add self-hosted style.css replacing Bootstrap CDN dependency - Add profile.html with tabbed view (account info, emails/aliases, API token) - Refactor login handler to pass structured data to template instead of building HTML strings - Add brand-name and brand-logo flags/env vars for UI customization - Update CSP to allow brand logo domain and remove CDN references - Update all templates to pass template vars to header/footer and use new CSS classes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 lines
733 B
HTML
17 lines
733 B
HTML
{{define "header"}}
|
|
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{{if .brand_name}}{{.brand_name}} - {{end}}Password management</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
<script src="altcha.min.js" type="module" async defer></script>
|
|
</head>
|
|
<body>
|
|
<div class="card{{if .card_wide}} card-wide{{end}}">
|
|
<div class="brand">
|
|
{{if .brand_logo}}<img src="{{.brand_logo}}" alt="" class="brand-logo">{{end}}
|
|
<span class="brand-name">{{if .brand_name}}{{.brand_name}}{{else}}Password management{{end}}</span>
|
|
</div>
|
|
{{end}}
|