2026-06-03 11:15:59 +00:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
|
<html lang="de">
|
|
|
|
|
|
<head>
|
|
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
|
|
<title>In DocuWare ablegen</title>
|
|
|
|
|
|
<link rel="stylesheet" href="dialog.css" />
|
|
|
|
|
|
</head>
|
|
|
|
|
|
<body>
|
|
|
|
|
|
<div class="titlebar">In DocuWare ablegen</div>
|
|
|
|
|
|
|
|
|
|
|
|
<header>
|
|
|
|
|
|
<h1 id="cabHeading">Ablage</h1>
|
|
|
|
|
|
<div class="toolbar">
|
|
|
|
|
|
<button id="cancel" class="link">‹ Abbrechen</button>
|
|
|
|
|
|
<button id="reset" class="link">↺ Zurücksetzen</button>
|
|
|
|
|
|
<span class="spacer"></span>
|
|
|
|
|
|
<button id="submit" class="primary">Ablegen</button>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</header>
|
|
|
|
|
|
|
|
|
|
|
|
<main>
|
|
|
|
|
|
<div id="multiNote" class="muted" style="margin-bottom:8px;"></div>
|
2026-06-05 07:03:48 +00:00
|
|
|
|
<div id="archivedBanner" class="banner" hidden>
|
|
|
|
|
|
<span class="banner-text">✓ Diese E-Mail ist bereits in DocuWare abgelegt.</span>
|
|
|
|
|
|
<button id="openExisting" class="link">Dokument öffnen</button>
|
|
|
|
|
|
</div>
|
2026-06-03 11:15:59 +00:00
|
|
|
|
<div class="target">
|
|
|
|
|
|
<label for="cabinet">Ziel</label>
|
|
|
|
|
|
<select id="cabinet"><option value="">Lade …</option></select>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="target" id="dialogRow" style="display:none;">
|
|
|
|
|
|
<label for="storeDialog">Ablagedialog</label>
|
|
|
|
|
|
<select id="storeDialog"></select>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="fields" class="fields"><div class="muted">Ziel wählen …</div></div>
|
|
|
|
|
|
</main>
|
|
|
|
|
|
|
2026-06-03 13:14:05 +00:00
|
|
|
|
<!-- Passwort-Abfrage: nur für diese Sitzung, wird nicht gespeichert. -->
|
|
|
|
|
|
<div id="pwOverlay" class="overlay" hidden>
|
|
|
|
|
|
<div class="overlay-box">
|
|
|
|
|
|
<h2>DocuWare-Anmeldung</h2>
|
|
|
|
|
|
<div id="pwWho" class="muted"></div>
|
|
|
|
|
|
<input type="password" id="pwInput" autocomplete="current-password" placeholder="Passwort" />
|
|
|
|
|
|
<div id="pwErr" class="err"></div>
|
|
|
|
|
|
<div class="overlay-actions">
|
|
|
|
|
|
<button id="pwCancel" class="link">Abbrechen</button>
|
|
|
|
|
|
<button id="pwOk" class="primary">Anmelden</button>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="muted pw-note">Wird nur für diese Sitzung verwendet und nicht gespeichert.</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
2026-06-05 07:03:48 +00:00
|
|
|
|
<!-- Dubletten-Abfrage beim Ablegen: warnen, aber „Trotzdem ablegen" erlauben. -->
|
|
|
|
|
|
<div id="dupOverlay" class="overlay" hidden>
|
|
|
|
|
|
<div class="overlay-box">
|
|
|
|
|
|
<h2>⚠ Bereits abgelegt</h2>
|
|
|
|
|
|
<div class="muted">Diese E-Mail liegt in DocuWare offenbar schon im gewählten Ziel.</div>
|
|
|
|
|
|
<div class="overlay-actions">
|
|
|
|
|
|
<button id="dupOpen" class="link">Dokument öffnen</button>
|
|
|
|
|
|
<span class="spacer" style="flex:1"></span>
|
|
|
|
|
|
<button id="dupCancel" class="link">Abbrechen</button>
|
|
|
|
|
|
<button id="dupProceed" class="primary">Trotzdem ablegen</button>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
2026-06-03 11:15:59 +00:00
|
|
|
|
<footer>
|
|
|
|
|
|
<section class="options">
|
2026-06-16 11:23:39 +00:00
|
|
|
|
<div class="format">
|
|
|
|
|
|
<span class="format-label">E-Mail ablegen als:</span>
|
|
|
|
|
|
<label class="radio"><input type="radio" name="mailFormat" value="eml" checked /> Original (.eml)</label>
|
|
|
|
|
|
<label class="radio"><input type="radio" name="mailFormat" value="pdf" /> PDF</label>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<label class="check"><input type="checkbox" id="optAtt" checked /> Anhänge mit ablegen</label>
|
2026-06-03 11:15:59 +00:00
|
|
|
|
<ul id="attList" class="att-list"></ul>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
<div id="status" class="muted"></div>
|
|
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
|
|
|
|
<script src="../lib/store.js"></script>
|
|
|
|
|
|
<script src="../lib/auth.js"></script>
|
|
|
|
|
|
<script src="../lib/docuware.js"></script>
|
|
|
|
|
|
<script src="../lib/mail.js"></script>
|
|
|
|
|
|
<script src="../lib/pdf.js"></script>
|
|
|
|
|
|
<script src="dialog.js"></script>
|
|
|
|
|
|
</body>
|
|
|
|
|
|
</html>
|