New Sign in

fierj

Public

Tiny personal git forge

← fierj / templates / auth_setup.html
{{template "head" .}}
{{define "title"}}setup - fierj{{end}}

<div class="auth-card">
  <h1 style="margin-bottom:var(--space-sm);">Welcome to fierj</h1>
  <p class="subtitle">
    Create the first admin account to get started.
  </p>

  {{if .Error}}
  <div class="alert-danger">
    {{.Error}}
  </div>
  {{end}}

  <form method="post">
    <div class="form-group">
      <label for="username">Username</label>
      <input type="text" id="username" name="username" autofocus required>
    </div>
    <div class="form-group">
      <label for="password">Password</label>
      <input type="password" id="password" name="password" required minlength="6">
    </div>
    <div class="form-group">
      <label for="confirm">Confirm password</label>
      <input type="password" id="confirm" name="confirm" required minlength="6">
    </div>
    <button type="submit" class="btn">Create account</button>
  </form>
</div>
{{template "foot" .}}