52 lines
1.2 KiB
Plaintext
52 lines
1.2 KiB
Plaintext
<div class="layout">
|
|
|
|
<!-- MAIN CONTENT -->
|
|
<div class="main">
|
|
|
|
<!-- ✅ HEADER -->
|
|
<%- include("partials/page-header", {
|
|
user,
|
|
title: "Seriennummer",
|
|
subtitle: "Lizenz / Testphase",
|
|
showUserName: true
|
|
}) %>
|
|
|
|
<div class="content">
|
|
|
|
<h2>🔑 Seriennummer</h2>
|
|
|
|
<% if (error) { %>
|
|
<div class="alert alert-danger"><%= error %></div>
|
|
<% } %>
|
|
|
|
<% if (success) { %>
|
|
<div class="alert alert-success"><%= success %></div>
|
|
<% } %>
|
|
|
|
<% if (trialInfo) { %>
|
|
<div class="alert alert-warning"><%= trialInfo %></div>
|
|
<% } %>
|
|
|
|
<form method="POST" action="/serial-number" style="max-width:500px;">
|
|
<div class="form-group">
|
|
<label>Seriennummer (AAAAA-AAAAA-AAAAA-AAAAA)</label>
|
|
<input
|
|
type="text"
|
|
name="serial_number"
|
|
value="<%= currentSerial || '' %>"
|
|
class="form-control"
|
|
placeholder="ABCDE-12345-ABCDE-12345"
|
|
maxlength="23"
|
|
required
|
|
/>
|
|
</div>
|
|
|
|
<button class="btn btn-primary" style="margin-top:15px;">
|
|
Speichern
|
|
</button>
|
|
</form>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|