rename: TrueNAS Burn-In → NAS Burn-In (1.0.0-38)
Product display name only — page titles, headers, email, browser notification, FastAPI app title. Repo, container_name, file paths, and infrastructure identifiers (truenas-burnin everywhere) stay put to avoid breaking deployment.
This commit is contained in:
parent
40dac9090d
commit
a8a7d99621
13 changed files with 18 additions and 18 deletions
|
|
@ -83,7 +83,7 @@ class Settings(BaseSettings):
|
||||||
ssh_key: str = "" # PEM private key content (paste full key including headers)
|
ssh_key: str = "" # PEM private key content (paste full key including headers)
|
||||||
|
|
||||||
# Application version — used by the /api/v1/updates/check endpoint
|
# Application version — used by the /api/v1/updates/check endpoint
|
||||||
app_version: str = "1.0.0-37"
|
app_version: str = "1.0.0-38"
|
||||||
|
|
||||||
# ---- Authentication (1.0.0-22) ----
|
# ---- Authentication (1.0.0-22) ----
|
||||||
# session_secret: HMAC key for signing session cookies. Empty = generate
|
# session_secret: HMAC key for signing session cookies. Empty = generate
|
||||||
|
|
|
||||||
|
|
@ -178,7 +178,7 @@ def _build_html(drives: list[dict], generated_at: str,
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>TrueNAS Burn-In — Daily Report</title>
|
<title>NAS Burn-In — Daily Report</title>
|
||||||
</head>
|
</head>
|
||||||
<body style="margin:0;padding:0;background:#0d1117;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;font-size:14px;color:#c9d1d9">
|
<body style="margin:0;padding:0;background:#0d1117;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;font-size:14px;color:#c9d1d9">
|
||||||
<table width="100%" cellpadding="0" cellspacing="0" style="background:#0d1117;min-height:100vh">
|
<table width="100%" cellpadding="0" cellspacing="0" style="background:#0d1117;min-height:100vh">
|
||||||
|
|
@ -191,7 +191,7 @@ def _build_html(drives: list[dict], generated_at: str,
|
||||||
<td style="background:#161b22;border:1px solid #30363d;border-radius:10px 10px 0 0;padding:20px 24px;border-bottom:none">
|
<td style="background:#161b22;border:1px solid #30363d;border-radius:10px 10px 0 0;padding:20px 24px;border-bottom:none">
|
||||||
<table width="100%" cellpadding="0" cellspacing="0">
|
<table width="100%" cellpadding="0" cellspacing="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td><span style="font-size:18px;font-weight:700;color:#f0f6fc">TrueNAS Burn-In</span>
|
<td><span style="font-size:18px;font-weight:700;color:#f0f6fc">NAS Burn-In</span>
|
||||||
<span style="color:#8b949e;font-size:13px;margin-left:10px">Daily Status Report</span></td>
|
<span style="color:#8b949e;font-size:13px;margin-left:10px">Daily Status Report</span></td>
|
||||||
<td align="right" style="color:#8b949e;font-size:12px">{generated_at}</td>
|
<td align="right" style="color:#8b949e;font-size:12px">{generated_at}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
@ -261,7 +261,7 @@ def _build_html(drives: list[dict], generated_at: str,
|
||||||
<!-- Footer -->
|
<!-- Footer -->
|
||||||
<tr>
|
<tr>
|
||||||
<td style="background:#161b22;border:1px solid #30363d;border-top:none;border-radius:0 0 10px 10px;padding:14px 24px;text-align:center">
|
<td style="background:#161b22;border:1px solid #30363d;border-top:none;border-radius:0 0 10px 10px;padding:14px 24px;text-align:center">
|
||||||
<span style="font-size:12px;color:#8b949e">Generated by TrueNAS Burn-In Dashboard · {generated_at}</span>
|
<span style="font-size:12px;color:#8b949e">Generated by NAS Burn-In Dashboard · {generated_at}</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -118,7 +118,7 @@ async def lifespan(app: FastAPI):
|
||||||
# App
|
# App
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|
||||||
app = FastAPI(title="TrueNAS Burn-In Dashboard", lifespan=lifespan)
|
app = FastAPI(title="NAS Burn-In Dashboard", lifespan=lifespan)
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -134,7 +134,7 @@
|
||||||
updateNotifBtn();
|
updateNotifBtn();
|
||||||
if (perm === 'granted') {
|
if (perm === 'granted') {
|
||||||
showToast('Browser notifications enabled', 'success');
|
showToast('Browser notifications enabled', 'success');
|
||||||
new Notification('TrueNAS Burn-In', {
|
new Notification('NAS Burn-In', {
|
||||||
body: 'You will be notified when burn-in jobs complete.',
|
body: 'You will be notified when burn-in jobs complete.',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
|
|
||||||
{% block title %}TrueNAS Burn-In — Audit Log{% endblock %}
|
{% block title %}NAS Burn-In — Audit Log{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="page-toolbar">
|
<div class="page-toolbar">
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
|
|
||||||
{% block title %}TrueNAS Burn-In — Dashboard{% endblock %}
|
{% block title %}NAS Burn-In — Dashboard{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% include "components/modal_start.html" %}
|
{% include "components/modal_start.html" %}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
|
|
||||||
{% block title %}TrueNAS Burn-In — History{% endblock %}
|
{% block title %}NAS Burn-In — History{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="page-toolbar">
|
<div class="page-toolbar">
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
|
|
||||||
{% block title %}TrueNAS Burn-In — Job #{{ job.id }}{% endblock %}
|
{% block title %}NAS Burn-In — Job #{{ job.id }}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="page-toolbar">
|
<div class="page-toolbar">
|
||||||
|
|
|
||||||
|
|
@ -196,7 +196,7 @@
|
||||||
|
|
||||||
<div class="print-header">
|
<div class="print-header">
|
||||||
<div class="print-brand">
|
<div class="print-brand">
|
||||||
<strong>TrueNAS Burn-In Dashboard</strong>
|
<strong>NAS Burn-In Dashboard</strong>
|
||||||
Job #{{ job.id }} · {{ job.created_at | format_dt_full }}
|
Job #{{ job.id }} · {{ job.created_at | format_dt_full }}
|
||||||
</div>
|
</div>
|
||||||
<div class="result-badge {{ job.state }}">
|
<div class="result-badge {{ job.state }}">
|
||||||
|
|
@ -282,7 +282,7 @@
|
||||||
|
|
||||||
<div class="print-footer">
|
<div class="print-footer">
|
||||||
<div class="print-footer-note">
|
<div class="print-footer-note">
|
||||||
Generated by TrueNAS Burn-In Dashboard<br>
|
Generated by NAS Burn-In Dashboard<br>
|
||||||
{{ job.finished_at | format_dt_full }}<br>
|
{{ job.finished_at | format_dt_full }}<br>
|
||||||
Scan QR code to view full job details online
|
Scan QR code to view full job details online
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>{% block title %}TrueNAS Burn-In{% endblock %}</title>
|
<title>{% block title %}NAS Burn-In{% endblock %}</title>
|
||||||
<link rel="stylesheet" href="/static/app.css">
|
<link rel="stylesheet" href="/static/app.css">
|
||||||
{% if request.state.current_user %}
|
{% if request.state.current_user %}
|
||||||
<meta name="default-operator" content="{{ request.state.current_user.full_name or request.state.current_user.username }}">
|
<meta name="default-operator" content="{{ request.state.current_user.full_name or request.state.current_user.username }}">
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
<line x1="6" y1="6" x2="6.01" y2="6"></line>
|
<line x1="6" y1="6" x2="6.01" y2="6"></line>
|
||||||
<line x1="6" y1="18" x2="6.01" y2="18"></line>
|
<line x1="6" y1="18" x2="6.01" y2="18"></line>
|
||||||
</svg>
|
</svg>
|
||||||
<span class="header-title">TrueNAS Burn-In</span>
|
<span class="header-title">NAS Burn-In</span>
|
||||||
<span class="header-version">v{{ app_version if app_version is defined else '—' }}</span>
|
<span class="header-version">v{{ app_version if app_version is defined else '—' }}</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="header-meta">
|
<div class="header-meta">
|
||||||
|
|
|
||||||
|
|
@ -3,14 +3,14 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>Sign in — TrueNAS Burn-In</title>
|
<title>Sign in — NAS Burn-In</title>
|
||||||
<link rel="stylesheet" href="/static/app.css">
|
<link rel="stylesheet" href="/static/app.css">
|
||||||
</head>
|
</head>
|
||||||
<body class="login-body">
|
<body class="login-body">
|
||||||
|
|
||||||
<main class="login-card">
|
<main class="login-card">
|
||||||
<div class="login-header">
|
<div class="login-header">
|
||||||
<div class="login-title">TrueNAS Burn-In</div>
|
<div class="login-title">NAS Burn-In</div>
|
||||||
<div class="login-sub">{% if needs_setup %}First-time setup{% else %}Sign in{% endif %}</div>
|
<div class="login-sub">{% if needs_setup %}First-time setup{% else %}Sign in{% endif %}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
|
|
||||||
{% block title %}TrueNAS Burn-In — Settings{% endblock %}
|
{% block title %}NAS Burn-In — Settings{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="page-toolbar">
|
<div class="page-toolbar">
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
|
|
||||||
{% block title %}TrueNAS Burn-In — Stats{% endblock %}
|
{% block title %}NAS Burn-In — Stats{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="page-toolbar">
|
<div class="page-toolbar">
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue