79 lines
2.6 KiB
HTML
79 lines
2.6 KiB
HTML
<!doctype html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Opera Cache Cleaner</title>
|
|
<link rel="stylesheet" href="popup.css">
|
|
</head>
|
|
<body>
|
|
<main class="popup-shell">
|
|
<header class="header">
|
|
<img class="header-icon" src="../icons/icon48.png" alt="" width="32" height="32">
|
|
<h1>Opera Cache Cleaner</h1>
|
|
</header>
|
|
|
|
<section class="section" aria-labelledby="range-heading">
|
|
<h2 id="range-heading">Cache löschen</h2>
|
|
<label class="field">
|
|
<span>Zeitraum</span>
|
|
<select id="rangeSelect" aria-label="Zeitraum"></select>
|
|
</label>
|
|
<button id="clearNowButton" class="button button-primary" type="button">Cache jetzt leeren</button>
|
|
</section>
|
|
|
|
<section class="section" aria-labelledby="timer-heading">
|
|
<h2 id="timer-heading">Timer</h2>
|
|
<div class="timer-grid">
|
|
<label class="field">
|
|
<span>Intervall</span>
|
|
<input id="intervalValue" type="number" min="1" step="1" inputmode="decimal" value="1">
|
|
</label>
|
|
<label class="field">
|
|
<span>Einheit</span>
|
|
<select id="intervalUnit">
|
|
<option value="minutes">Minuten</option>
|
|
<option value="hours">Stunden</option>
|
|
<option value="days">Tage</option>
|
|
</select>
|
|
</label>
|
|
</div>
|
|
|
|
<label class="checkbox-row">
|
|
<input id="repeatCheckbox" type="checkbox">
|
|
<span>Wiederholen</span>
|
|
</label>
|
|
|
|
<div class="button-row">
|
|
<button id="saveTimerButton" class="button button-primary" type="button">Timer speichern</button>
|
|
<button id="clearTimerButton" class="button button-secondary" type="button">Timer deaktivieren</button>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="status-box" aria-live="polite" aria-labelledby="status-heading">
|
|
<h2 id="status-heading">Status</h2>
|
|
<dl>
|
|
<div>
|
|
<dt>Letzte Cache-Löschung</dt>
|
|
<dd id="lastRunValue">Noch nie</dd>
|
|
</div>
|
|
<div>
|
|
<dt>Timer</dt>
|
|
<dd id="timerStateValue">Inaktiv</dd>
|
|
</div>
|
|
<div>
|
|
<dt>Nächster Lauf</dt>
|
|
<dd id="nextRunValue">Nicht geplant</dd>
|
|
</div>
|
|
<div>
|
|
<dt>Meldung</dt>
|
|
<dd id="messageValue">Keine Fehler.</dd>
|
|
</div>
|
|
</dl>
|
|
</section>
|
|
</main>
|
|
|
|
<script src="popup.js"></script>
|
|
</body>
|
|
</html>
|