Часы по задачам за месяц и остаток до нормы, через REST от сессии браузера. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
1.0 KiB
HTML
26 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="ru">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Моё время — настройки</title>
|
|
<style>
|
|
body { font: 14px/1.6 system-ui, sans-serif; margin: 20px; color: #333; min-width: 420px; }
|
|
label { display: block; margin-bottom: 12px; }
|
|
input { display: block; width: 100%; box-sizing: border-box; padding: 4px 6px; margin-top: 2px; }
|
|
small { color: #777; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<label>Адрес портала
|
|
<input id="portal" placeholder="https://company.bitrix24.ru/">
|
|
<small>Если открыта другая вкладка, кнопка откроет портал. Можно оставить пустым.</small>
|
|
</label>
|
|
<label>Норма часов в месяц
|
|
<input id="norm" type="number" min="0" step="0.5" placeholder="20">
|
|
<small>Покажу, сколько осталось до нормы. 0 или пусто — не показывать.</small>
|
|
</label>
|
|
<button id="save">Сохранить</button> <span id="status"></span>
|
|
<script src="options.js"></script>
|
|
</body>
|
|
</html>
|