Files
aza/AzA march 2026 - Kopie (9)/web/download.html

148 lines
5.9 KiB
HTML
Raw Normal View History

2026-04-16 13:32:32 +02:00
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AZA Desktop Download</title>
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
background: #F7F8FA; color: #1a1a2e; line-height: 1.6; }
.header { background: #fff; border-bottom: 1px solid #E5E7EB; padding: 20px 0; }
.header-inner { max-width: 720px; margin: 0 auto; padding: 0 24px;
display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 22px; font-weight: 700; color: #0078D7; letter-spacing: -0.5px; }
.logo span { color: #1a1a2e; font-weight: 400; }
.header a { color: #555; text-decoration: none; font-size: 14px; }
.header a:hover { color: #0078D7; }
.wrap { max-width: 720px; margin: 48px auto; padding: 0 24px; }
.card { background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.06);
padding: 40px 36px; }
h1 { font-size: 24px; margin-bottom: 8px; }
.version-info { font-size: 15px; color: #555; margin-bottom: 24px; }
.dl-btn { display: inline-block; padding: 14px 36px; background: #0078D7; color: #fff;
text-decoration: none; border-radius: 8px; font-size: 16px; font-weight: 600;
transition: background .2s; }
.dl-btn:hover { background: #005fa3; }
.dl-btn.disabled { background: #ccc; cursor: default; pointer-events: none; }
.notes { margin-top: 28px; padding: 16px 20px; background: #F8F9FA;
border-radius: 8px; font-size: 13px; color: #555; }
.notes h3 { font-size: 14px; margin-bottom: 8px; color: #1a1a2e; }
.notes ul { list-style: disc; padding-left: 18px; }
.notes li { margin-bottom: 4px; }
.steps { margin-top: 32px; }
.steps h2 { font-size: 18px; margin-bottom: 16px; }
.steps ol { padding-left: 20px; }
.steps li { margin-bottom: 10px; font-size: 14px; }
.reqs { margin-top: 28px; }
.reqs h3 { font-size: 16px; margin-bottom: 8px; }
.reqs ul { list-style: disc; padding-left: 20px; font-size: 14px; color: #555; }
.reqs li { margin-bottom: 4px; }
.footer { max-width: 720px; margin: 32px auto; padding: 0 24px;
font-size: 12px; color: #999; }
.footer a { color: #0078D7; text-decoration: none; }
</style>
</head>
<body>
<div class="header">
<div class="header-inner">
<div class="logo">AZA <span>Download</span></div>
<a href="index.html">&larr; Zur Startseite</a>
</div>
</div>
<div class="wrap">
<div class="card">
<h1>AZA Desktop für Windows</h1>
<p class="version-info" id="version-text">Version wird geladen …</p>
<div style="text-align:center; margin: 24px 0;">
<a id="download-button" class="dl-btn disabled" href="#">
Download wird vorbereitet …
</a>
</div>
<div class="notes" id="release-notes-box" style="display:none;">
<h3>Neuerungen in dieser Version</h3>
<ul id="release-notes"></ul>
</div>
<div class="steps">
<h2>Installation</h2>
<ol>
<li><strong>Installer starten</strong> Doppelklick auf die heruntergeladene
<code>aza_desktop_setup.exe</code>. Falls Windows SmartScreen warnt:
«Weitere Informationen» → «Trotzdem ausführen».</li>
<li><strong>OpenAI-Schlüssel einrichten</strong> Beim ersten Start führt
ein Assistent durch die Einrichtung.</li>
<li><strong>Modul wählen</strong> Im Startbildschirm das gewünschte Modul
auswählen und loslegen.</li>
</ol>
</div>
<div class="reqs">
<h3>Systemanforderungen</h3>
<ul>
<li>Windows 10 oder neuer (64-Bit)</li>
<li>Internetverbindung</li>
<li>Mikrofon für Diktat- und Audiofunktionen</li>
</ul>
</div>
</div>
</div>
<div class="footer">
<p>&copy; 2026 AZA Medical AI Assistant
<a href="mailto:support@aza-medwork.ch">support@aza-medwork.ch</a></p>
</div>
<script>
(async function () {
const versionText = document.getElementById('version-text');
const downloadBtn = document.getElementById('download-button');
try {
const res = await fetch('../release/version.json', { cache: 'no-store' });
if (!res.ok) throw new Error('version.json nicht erreichbar');
const data = await res.json();
const version = data.version || 'unbekannt';
const url = data.download_url || '';
const notes = data.release_notes || [];
versionText.textContent = 'Aktuelle Version: ' + version +
(data.release_date ? ' (' + data.release_date + ')' : '');
if (url && url !== '#') {
downloadBtn.href = url;
downloadBtn.textContent = 'Download v' + version;
downloadBtn.classList.remove('disabled');
} else {
downloadBtn.textContent = 'Download in Kürze verfügbar';
}
if (notes && notes.length) {
const list = document.getElementById('release-notes');
notes.forEach(function (n) {
const li = document.createElement('li');
li.textContent = n;
list.appendChild(li);
});
document.getElementById('release-notes-box').style.display = '';
}
} catch (e) {
versionText.textContent = 'Version derzeit nicht verfügbar';
downloadBtn.textContent = 'Download in Kürze verfügbar';
}
})();
</script>
</body>
</html>