Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>OverBoard PDF</title>
<meta name="description" content="OverBoard: write on any PDF on your smartboard. Runs in the browser; nothing is uploaded.">
<meta name="ob-version" content="668b7bca1ddd">
<meta name="ob-version" content="d2788e4d6b09">
<meta name="theme-color" content="#1f1f1f">
<link rel="manifest" href="manifest.json">
<link rel="icon" href="icons/favicon.ico" sizes="32x32">
Expand Down Expand Up @@ -47,7 +47,7 @@ <h2 data-t="open_again">Open again</h2>
<p class="note"><span data-th="start_note">Your PDF and your ink stay in this browser on this computer. Nothing is uploaded.
Have a Word file? In Word, choose File → Save as PDF, then drop the PDF here.
Have an HTML worksheet? Drop it here to get a <i>_board.html</i> copy you can write on.</span>
<br><a href="https://github.com/BPMData/OverBoard" data-t="about">About OverBoard</a> · <a href="report/?from=start" target="_blank" data-t="board_help">Board not working?</a> · <span id="ob-release" title="OverBoard version">v49</span></p>
<br><a href="https://github.com/BPMData/OverBoard" data-t="about">About OverBoard</a> · <a href="report/?from=start" target="_blank" data-t="board_help">Board not working?</a> · <span id="ob-release" title="OverBoard version">v51</span></p>
<p class="note ob-langpick"><label><span aria-hidden="true">🌐</span> <select id="ob-lang" aria-label="Language" data-ta="language" data-tt="language" title="Language"></select></label></p>
</div>
</main>
Expand Down Expand Up @@ -104,7 +104,7 @@ <h2 data-t="add_page">Add a page:</h2>
<button data-act="select" class="sm" data-t="select" data-tt="select_tip" title="Select: circle ink with the pen (or tap one mark) to send a copy to another class period, copy it, move it or delete it">Select</button>
<button data-act="timer" class="sm" data-t="timer_btn" data-tt="timer_tip" title="A big countdown for the class, with a sound at zero">&#9201; Timer</button>
<button data-act="file" aria-haspopup="true" aria-expanded="false" data-t="menu" data-tt="menu_tip_app" title="Export PDF, ink files, open another PDF, settings, language and help">Settings &amp; help &#9656;</button>
<button data-act="hide" data-t="hide" data-tt="hide_tip" title="Hide the toolbar (the ✎ button brings it back)">Hide</button>
<button data-act="hide" data-t="hide" data-tt="hide_tip" title="Hide the toolbar (the boat button brings it back)">Hide</button>
<div id="ink-status" data-tt="status_tip" title="What OverBoard did last">Ready</div>
<input type="file" id="ob-inkfile" accept=".json,application/json" hidden>
</div>
Expand Down Expand Up @@ -135,7 +135,8 @@ <h2 data-t="add_page">Add a page:</h2>
<button data-act="clear-all" class="wide" data-tt="clear_all_tip" title="Clear the ink on every page (tap twice)">All pages</button>
<p data-t="clear_note">This class period only. Undo brings it back.</p>
</div>
<button id="ink-show" aria-label="Show writing tools" title="Show writing tools" data-ta="show_tip" data-tt="show_tip">&#9998;</button>
<button id="ink-show" aria-label="Show writing tools" title="Show writing tools" data-ta="show_tip" data-tt="show_tip"><svg viewBox="0 0 64 64" aria-hidden="true" focusable="false"><rect width="64" height="64" rx="13" fill="#145DA0"/>
<g transform="translate(12 29) scale(1) rotate(-3.5 20 18)"><rect x="9" y="-24" width="3.5" height="26" rx="1.75" fill="#FFFFFF"/><path d="M14 -22 Q25.27 -15.86 33.5 -6 L14 -6 Z" fill="#FFFFFF" stroke="#FFFFFF" stroke-width="1.5" stroke-linejoin="round"/><g transform="translate(2.58 0) skewX(-16)"><rect x="0" y="0" width="40" height="18" rx="4" fill="#FFFFFF"/></g><g transform="translate(2.58 0) skewX(-16)"><rect x="3.2" y="3.2" width="33.6" height="11.6" rx="1.5" fill="none" stroke="#145DA0" stroke-opacity="0.32" stroke-width="1.3"/><path d="M8 12.5 C11 8 14.5 5.5 16.5 7.5 C18 9 15.5 13.5 18.5 13 C21.5 12.5 23 8 26 8.5 C28.5 9 27 12.5 30 12 C31.5 11.8 32.5 11 33 10.5" fill="none" stroke="#145DA0" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></g></g><path d="M7.5 59 C11.5 58 13.5 52 17.5 52 C20.5 52 22 54.5 20 56.5 M24 60.5 C28 59.5 30 53.5 34 53.5 C37 53.5 38.5 56 36.5 58 M40.5 59 C44.5 58 46.5 52 50.5 52 C53.5 52 55 54.5 53 56.5" fill="none" stroke="#FFFFFF" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"/></svg></button>
<dialog id="ob-embed" aria-labelledby="ob-embed-h">
<h2 id="ob-embed-h"><span class="pdfonly" data-t="embed_h">Keep the ink inside a PDF file?</span><span class="nbonly" data-t="nb_embed_h">Save this notebook as a PDF file?</span></h2>
<ul>
Expand Down
2 changes: 1 addition & 1 deletion app/report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ <h1 data-t="r_h1">Is OverBoard not working on your board?</h1>
<p data-th="r_intro2">If something doesn't work the way the page asks, that's fine. <b>That's exactly what I need to know.</b> Just keep going.</p>
<p class="mute small" data-th="r_privacy">Nothing is sent until you press <b>Send</b> at the very end, and you'll see everything first. No worksheets, PDFs or ink are ever included.</p>
<div class="row"><button class="go big" data-go="start" data-t="r_start">Start</button></div>
<p class="mute small" style="margin-top:28px">OverBoard <span id="ob-release" title="OverBoard version">v49</span></p>
<p class="mute small" style="margin-top:28px">OverBoard <span id="ob-release" title="OverBoard version">v51</span></p>
</div></div>
</section>

Expand Down
14 changes: 7 additions & 7 deletions app/sw.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// ===== GENERATED by tools/build.py: every file the app needs, with the start of its SHA-256. Do not edit by hand. =====
const VERSION = 'ee377bb0d381';
const VERSION = '5c87f35bd06d';
const FILES = {
"../overlay/ink_overlay.html": "42c92eebbe19123d",
"../overlay/ink_overlay.html": "beaf0554d6540e26",
"../shared/ink-core.js": "bd0ac55dbae6a3ea",
"../shared/strings.js": "3fc2aeda43e13917",
"../shared/toolbar.css": "3d7b4ac9a02ae120",
"../shared/strings.js": "4c0c63493dd62532",
"../shared/toolbar.css": "68234a816cc90a77",
"app.css": "d2ee47f27ebce7a2",
"embed.js": "ea50a9ff4e960dd4",
"export.js": "eaec8736ffed97b7",
Expand All @@ -17,14 +17,14 @@ const FILES = {
"icons/icon-512.png": "46ca8bd2d6a32612",
"icons/maskable-512.png": "c7d41ed2fa4ad874",
"image.js": "d396b7d4f5aced4e",
"index.html": "31b9734ac0d9b665",
"index.html": "d455e531b44303ce",
"ink.js": "76142d82f12d37ca",
"libs.js": "c09f60186ab9029a",
"main.js": "fa607d2ba7d7680b",
"manifest.json": "f7ee4a6c6f83cd40",
"notebook.js": "7346e40dda6ff149",
"offline.js": "6504935b2738711a",
"report/index.html": "2616a6050a363168",
"report/index.html": "232a51c30d37dc8b",
"store.js": "155ec064f6ffe569",
"textlayer.js": "383ad22e91afb648",
"vendor/pdf-lib@1.17.1/LICENSE.md": "f2c9fc00fdb66eb9",
Expand Down Expand Up @@ -217,7 +217,7 @@ const FILES = {
"vendor/pdfjs-dist@4.10.38/standard_fonts/LiberationSans-BoldItalic.ttf": "a224075ac17495ad",
"vendor/pdfjs-dist@4.10.38/standard_fonts/LiberationSans-Italic.ttf": "832b4406dbef2362",
"vendor/pdfjs-dist@4.10.38/standard_fonts/LiberationSans-Regular.ttf": "f8ace1f892b2bd9d",
"version.json": "1e68318080ad0f0f",
"version.json": "521b11cf4bcabc3a",
"viewer.js": "1cffd9d5c7158958"
};
// ===== END GENERATED =====
Expand Down
2 changes: 1 addition & 1 deletion app/version.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"v": "668b7bca1ddd",
"v": "d2788e4d6b09",
"js": [
"embed.js",
"export.js",
Expand Down
12 changes: 7 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ <h2>Exit ticket</h2>
<div class="lines"><div></div><div></div><div></div><div></div></div>
<div class="foot">OverBoard · page 2 / 2 · Your ink saves in this browser only. Nothing is uploaded.</div>
</div>
<!-- ===== INK OVERLAY START (v49) =====
<!-- ===== INK OVERLAY START (v51) =====
Smartboard writing layer. Paste this whole block just before </body> in any .html file.
SMART BOARD: pen tip writes. Palm, fist or side of hand erases (the board reports it as an eraser).
Finger (and the round end of the SMART pen) scrolls the page; the "Finger" button switches it to drawing if you lose the pen.
Expand Down Expand Up @@ -104,7 +104,8 @@ <h2>Exit ticket</h2>
#ink-periods{grid-column:1 / 3;display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
#ink-bar #ink-periods button{padding:0}
#ink-status{grid-column:1 / 3;color:#bbb;font:600 11px Inter,system-ui,sans-serif;text-align:center;line-height:1.3}
#ink-show{position:fixed;bottom:16px;left:16px;z-index:100;width:56px;height:56px;border-radius:50%;border:0;background:#1f1f1f;color:#ffd400;font:700 26px Inter,system-ui,sans-serif;box-shadow:0 2px 12px rgba(0,0,0,.45);cursor:pointer;display:none;touch-action:manipulation;opacity:.85}
#ink-show{position:fixed;bottom:16px;left:16px;z-index:100;width:56px;height:56px;padding:0;border-radius:12px;border:0;background:#145DA0;box-shadow:0 2px 12px rgba(0,0,0,.45);cursor:pointer;display:none;touch-action:manipulation;opacity:.85;overflow:hidden}
#ink-show svg{display:block;width:100%;height:100%;pointer-events:none}
#ink-show.right{left:auto;right:16px}
#ink-show.show{display:block}
/* Highlighter split button: the main part toggles it; the ▾ (same row) opens the Highlight / Cover menu (built by makeHlMenu in ink-core.js) */
Expand Down Expand Up @@ -275,7 +276,7 @@ <h2>Exit ticket</h2>
<button data-act="select" class="sm" data-t="select" data-tt="select_tip" title="Select: circle ink with the pen (or tap one mark) to send a copy to another class period, copy it, move it or delete it">Select</button>
<button data-act="timer" class="sm" data-t="timer_btn" data-tt="timer_tip" title="A big countdown for the class, with a sound at zero">&#9201; Timer</button>
<button data-act="file" aria-haspopup="true" aria-expanded="false" data-t="menu" data-tt="menu_tip" title="Save PDF, save ink into the file, settings, language and help">Settings &amp; help &#9656;</button>
<button data-act="hide" data-t="hide" data-tt="hide_tip" title="Hide the toolbar (the ✎ button brings it back)">Hide</button>
<button data-act="hide" data-t="hide" data-tt="hide_tip" title="Hide the toolbar (the boat button brings it back)">Hide</button>
<div id="ink-status" data-tt="status_tip" title="What OverBoard did last">Ink saves automatically</div>
</div>
<div id="ob-filemenu" role="menu" aria-label="Settings and help" data-ta="menu_name" hidden>
Expand All @@ -286,7 +287,8 @@ <h2>Exit ticket</h2>
<button data-act="settings" class="sm wide" data-t="settings_btn" data-tt="settings_tip" title="Language, class periods, the pen color at start, and resetting the tools">Settings…</button>
<button data-act="report" class="sm wide" data-t="board_help" data-tt="board_help_tip" title="A two-minute check that tells the OverBoard maker what to fix">Board not working?</button>
</div>
<button id="ink-show" aria-label="Show writing tools" title="Show writing tools" data-ta="show_tip" data-tt="show_tip">&#9998;</button>
<button id="ink-show" aria-label="Show writing tools" title="Show writing tools" data-ta="show_tip" data-tt="show_tip"><svg viewBox="0 0 64 64" aria-hidden="true" focusable="false"><rect width="64" height="64" rx="13" fill="#145DA0"/>
<g transform="translate(12 29) scale(1) rotate(-3.5 20 18)"><rect x="9" y="-24" width="3.5" height="26" rx="1.75" fill="#FFFFFF"/><path d="M14 -22 Q25.27 -15.86 33.5 -6 L14 -6 Z" fill="#FFFFFF" stroke="#FFFFFF" stroke-width="1.5" stroke-linejoin="round"/><g transform="translate(2.58 0) skewX(-16)"><rect x="0" y="0" width="40" height="18" rx="4" fill="#FFFFFF"/></g><g transform="translate(2.58 0) skewX(-16)"><rect x="3.2" y="3.2" width="33.6" height="11.6" rx="1.5" fill="none" stroke="#145DA0" stroke-opacity="0.32" stroke-width="1.3"/><path d="M8 12.5 C11 8 14.5 5.5 16.5 7.5 C18 9 15.5 13.5 18.5 13 C21.5 12.5 23 8 26 8.5 C28.5 9 27 12.5 30 12 C31.5 11.8 32.5 11 33 10.5" fill="none" stroke="#145DA0" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></g></g><path d="M7.5 59 C11.5 58 13.5 52 17.5 52 C20.5 52 22 54.5 20 56.5 M24 60.5 C28 59.5 30 53.5 34 53.5 C37 53.5 38.5 56 36.5 58 M40.5 59 C44.5 58 46.5 52 50.5 52 C53.5 52 55 54.5 53 56.5" fill="none" stroke="#FFFFFF" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"/></svg></button>
<script id="ink-script">
(function(){
if (window.__inkLoaded) return; window.__inkLoaded = true;
Expand Down Expand Up @@ -1741,7 +1743,7 @@ <h2>Exit ticket</h2>
"menu_tip": ["Save PDF, save ink into the file, settings, language and help", "Guardar PDF, guardar la tinta en el archivo, ajustes, idioma y ayuda", "保存 PDF、把笔迹保存到文件、设置、语言和帮助", "I-save ang PDF, i-save ang tinta sa file, settings, wika, at tulong", "Lưu PDF, lưu nét mực vào tệp, cài đặt, ngôn ngữ và trợ giúp", "Enregistrer le PDF, enregistrer l'encre dans le fichier, réglages, langue et aide", "Salvar PDF, salvar a tinta no arquivo, ajustes, idioma e ajuda", "حفظ PDF، حفظ الحبر في الملف، الإعدادات، اللغة والمساعدة"],
"menu_tip_app": ["Export PDF, ink files, open another PDF, settings, language and help", "Exportar PDF, archivos de tinta, abrir otro PDF, ajustes, idioma y ayuda", "导出 PDF、笔迹文件、打开其他 PDF、设置、语言和帮助", "I-export ang PDF, mga ink file, magbukas ng ibang PDF, settings, wika, at tulong", "Xuất PDF, tệp nét mực, mở PDF khác, cài đặt, ngôn ngữ và trợ giúp", "Exporter le PDF, fichiers d'encre, ouvrir un autre PDF, réglages, langue et aide", "Exportar PDF, arquivos de tinta, abrir outro PDF, ajustes, idioma e ajuda", "تصدير PDF، ملفات الحبر، فتح ملف PDF آخر، الإعدادات، اللغة والمساعدة"],
"hide": ["Hide", "Ocultar", "隐藏", "Itago", "Ẩn", "Masquer", "Ocultar", "إخفاء"],
"hide_tip": ["Hide the toolbar (the ✎ button brings it back)", "Ocultar la barra (el botón ✎ la trae de vuelta)", "隐藏工具栏(点 ✎ 按钮可恢复)", "Itago ang toolbar (ibabalik ito ng ✎)", "Ẩn thanh công cụ (nút ✎ để hiện lại)", "Masquer la barre d'outils (le bouton ✎ la fait revenir)", "Ocultar a barra (o botão ✎ traz de volta)", "إخفاء شريط الأدوات (زر ✎ يعيده)"],
"hide_tip": ["Hide the toolbar (the boat button brings it back)", "Ocultar la barra (el botón del barco la trae de vuelta)", "隐藏工具栏(点小船按钮可恢复)", "Itago ang toolbar (ibabalik ito ng button na bangka)", "Ẩn thanh công cụ (nút hình thuyền để hiện lại)", "Masquer la barre d'outils (le bouton bateau la fait revenir)", "Ocultar a barra (o botão do barco traz de volta)", "إخفاء شريط الأدوات (زر القارب يعيده)"],
"show_tip": ["Show writing tools", "Mostrar herramientas", "显示书写工具", "Ipakita ang mga pansulat", "Hiện công cụ viết", "Afficher les outils", "Mostrar ferramentas", "إظهار أدوات الكتابة"],
"status_tip": ["What OverBoard did last", "Lo último que hizo OverBoard", "OverBoard 最近的操作", "Huling ginawa ng OverBoard", "Việc OverBoard vừa làm", "La dernière action d'OverBoard", "A última coisa que o OverBoard fez", "آخر ما فعله OverBoard"],
"sure": ["Sure?", "¿Seguro?", "确定?", "Sigurado?", "Chắc chưa?", "Sûr ?", "Certeza?", "متأكد؟"],
Expand Down
Loading
Loading