Skip to content
Merged
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
4 changes: 4 additions & 0 deletions app/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ body:not(.start) #ob-start { display: none; }
.card h1 .logo { width: 56px; height: 56px; flex: none; }
.card h1 span { background: #111; color: #ffd400; border-radius: 8px; padding: 0 8px; font-size: 26px; vertical-align: middle; }
.lead { margin: 8px 0 18px; color: var(--mute); }
#ob-demo { display: block; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: #111; color: #fff; text-decoration: none; font-size: 17px; } /* "New here? Try the demo" for teachers arriving from the apps hub */
#ob-demo b { color: #ffd400; }
#ob-demo:hover, #ob-demo:focus-visible { background: #333; }
#ob-demo span { text-decoration: underline; text-underline-offset: 3px; }
#ob-drop { display: grid; place-items: center; align-content: center; gap: 4px; min-height: 180px; border: 3px dashed #bbb; border-radius: 14px; cursor: pointer; text-align: center; padding: 16px; transition: background .15s, border-color .15s; }
#ob-drop strong { font-size: 24px; }
#ob-drop span { color: var(--mute); }
Expand Down
5 changes: 3 additions & 2 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="5bdd48a60bfe">
<meta name="ob-version" content="668b7bca1ddd">
<meta name="theme-color" content="#1f1f1f">
<link rel="manifest" href="manifest.json">
<link rel="icon" href="icons/favicon.ico" sizes="32x32">
Expand All @@ -20,6 +20,7 @@
<div class="card">
<h1><img class="logo" src="icons/favicon.svg" alt="" width="56" height="56"> OverBoard <span>PDF</span></h1>
<p class="lead" data-t="start_lead">Write on any PDF on your smartboard: a worksheet or a whole textbook.</p>
<a id="ob-demo" href="../"><b data-t="new_here">New here?</b> <span data-t="try_demo">Try the demo: a sample worksheet you can write on right away.</span></a>
<label id="ob-drop" tabindex="0">
<input type="file" id="ob-file" accept="application/pdf,.pdf,image/png,image/jpeg,image/webp,image/gif,.png,.jpg,.jpeg,.webp,.gif,text/html,.html,.htm" hidden>
<strong data-t="drop_title">Drop a PDF here</strong>
Expand All @@ -46,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="../" data-t="back_demo">Back to the HTML worksheet demo</a> · <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">v48</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">v49</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
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">v48</span></p>
<p class="mute small" style="margin-top:28px">OverBoard <span id="ob-release" title="OverBoard version">v49</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,11 +1,11 @@
// ===== GENERATED by tools/build.py: every file the app needs, with the start of its SHA-256. Do not edit by hand. =====
const VERSION = 'f7617d68f1cb';
const VERSION = 'ee377bb0d381';
const FILES = {
"../overlay/ink_overlay.html": "4e9a9f86a4faf499",
"../overlay/ink_overlay.html": "42c92eebbe19123d",
"../shared/ink-core.js": "bd0ac55dbae6a3ea",
"../shared/strings.js": "0d6ed69a2592ebaa",
"../shared/strings.js": "3fc2aeda43e13917",
"../shared/toolbar.css": "3d7b4ac9a02ae120",
"app.css": "2051ef258af19011",
"app.css": "d2ee47f27ebce7a2",
"embed.js": "ea50a9ff4e960dd4",
"export.js": "eaec8736ffed97b7",
"find.js": "decbe30b206bf32e",
Expand All @@ -17,14 +17,14 @@ const FILES = {
"icons/icon-512.png": "46ca8bd2d6a32612",
"icons/maskable-512.png": "c7d41ed2fa4ad874",
"image.js": "d396b7d4f5aced4e",
"index.html": "d6cd6bb533dbcfe9",
"index.html": "31b9734ac0d9b665",
"ink.js": "76142d82f12d37ca",
"libs.js": "c09f60186ab9029a",
"main.js": "fa607d2ba7d7680b",
"manifest.json": "f7ee4a6c6f83cd40",
"notebook.js": "7346e40dda6ff149",
"offline.js": "6504935b2738711a",
"report/index.html": "61b9c77068a4d202",
"report/index.html": "2616a6050a363168",
"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": "fcde7ab00992121a",
"version.json": "1e68318080ad0f0f",
"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": "5bdd48a60bfe",
"v": "668b7bca1ddd",
"js": [
"embed.js",
"export.js",
Expand Down
5 changes: 3 additions & 2 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 (v48) =====
<!-- ===== INK OVERLAY START (v49) =====
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 @@ -1910,7 +1910,8 @@ <h2>Exit ticket</h2>
"install_note": ["Opens in its own window like any app, and works without internet.", "Se abre en su propia ventana como cualquier app y funciona sin internet.", "像普通应用一样在独立窗口中打开,没有网络也能用。", "Bumubukas sa sarili nitong window gaya ng ibang app, at gumagana kahit walang internet.", "Mở trong cửa sổ riêng như mọi ứng dụng, và chạy được khi không có mạng.", "S'ouvre dans sa propre fenêtre comme une app, et fonctionne sans internet.", "Abre em sua própria janela como qualquer app e funciona sem internet.", "يفتح في نافذته الخاصة مثل أي تطبيق، ويعمل بدون إنترنت."],
"open_again": ["Open again", "Abrir de nuevo", "再次打开", "Buksan ulit", "Mở lại", "Rouvrir", "Abrir de novo", "افتح مرة أخرى"],
"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.", "Tu PDF y tu tinta se quedan en este navegador, en esta computadora. No se sube nada. ¿Tienes un archivo de Word? En Word, elige Archivo → Guardar como PDF y suelta el PDF aquí. ¿Tienes una hoja HTML? Suéltala aquí para obtener una copia <i>_board.html</i> en la que puedes escribir.", "你的 PDF 和笔迹只保存在这台电脑的浏览器里,不会上传任何内容。有 Word 文件?在 Word 中选择“文件 → 另存为 PDF”,再把 PDF 拖到这里。有 HTML 练习页?拖到这里即可得到一个可书写的 <i>_board.html</i> 副本。", "Nananatili ang PDF at tinta mo sa browser ng computer na ito. Walang ina-upload. May Word file ka? Sa Word, piliin ang File → Save as PDF, saka i-drop dito ang PDF. May HTML worksheet ka? I-drop ito rito para makakuha ng kopyang <i>_board.html</i> na masusulatan mo.", "PDF và nét mực của bạn chỉ nằm trong trình duyệt trên máy này. Không tải gì lên mạng. Có tệp Word? Trong Word, chọn Tệp → Lưu thành PDF, rồi thả PDF vào đây. Có bài tập HTML? Thả vào đây để có bản <i>_board.html</i> viết lên được.", "Votre PDF et votre encre restent dans ce navigateur, sur cet ordinateur. Rien n'est envoyé en ligne. Un fichier Word ? Dans Word, choisissez Fichier → Enregistrer au format PDF, puis déposez le PDF ici. Une feuille HTML ? Déposez-la ici pour obtenir une copie <i>_board.html</i> sur laquelle écrire.", "Seu PDF e sua tinta ficam neste navegador, neste computador. Nada é enviado. Tem um arquivo do Word? No Word, escolha Arquivo → Salvar como PDF e solte o PDF aqui. Tem uma folha HTML? Solte aqui para receber uma cópia <i>_board.html</i> em que dá para escrever.", "يبقى ملف PDF والحبر في هذا المتصفح على هذا الكمبيوتر. لا يُرفع أي شيء. لديك ملف Word؟ في Word اختر ملف ← حفظ بتنسيق PDF، ثم أفلت ملف PDF هنا. لديك ورقة عمل HTML؟ أفلتها هنا لتحصل على نسخة <i>_board.html</i> يمكنك الكتابة عليها."],
"back_demo": ["Back to the HTML worksheet demo", "Volver a la demo de hoja HTML", "返回 HTML 练习页演示", "Bumalik sa HTML worksheet demo", "Quay lại bản demo bài tập HTML", "Retour à la démo de feuille HTML", "Voltar à demonstração da folha HTML", "العودة إلى عرض ورقة عمل HTML"],
"new_here": ["New here?", "¿Eres nuevo?", "第一次用?", "Bago ka rito?", "Lần đầu dùng?", "Nouveau ici ?", "Primeira vez?", "جديد هنا؟"],
"try_demo": ["Try the demo: a sample worksheet you can write on right away.", "Prueba la demo: una hoja de ejemplo en la que puedes escribir enseguida.", "试试演示:一张马上就能书写的示例练习页。", "Subukan ang demo: isang sample na worksheet na masusulatan mo agad.", "Dùng thử bản demo: một bài tập mẫu viết lên được ngay.", "Essayez la démo : une feuille d'exemple sur laquelle écrire tout de suite.", "Experimente a demonstração: uma folha de exemplo para escrever na hora.", "جرّب العرض التوضيحي: ورقة عمل نموذجية يمكنك الكتابة عليها فورًا."],
"about": ["About OverBoard", "Acerca de OverBoard", "关于 OverBoard", "Tungkol sa OverBoard", "Giới thiệu OverBoard", "À propos d'OverBoard", "Sobre o OverBoard", "حول OverBoard"],
"embed_h": ["Keep the ink inside a PDF file?", "¿Guardar la tinta dentro de un archivo PDF?", "把笔迹保存在 PDF 文件内?", "Itago ang tinta sa loob ng PDF file?", "Giữ nét mực bên trong tệp PDF?", "Garder l'encre dans un fichier PDF ?", "Guardar a tinta dentro de um arquivo PDF?", "هل تحتفظ بالحبر داخل ملف PDF؟"],
"embed_1": ["OverBoard saves a PDF on this computer with <b>all class periods' ink</b> stored inside it.", "OverBoard guarda un PDF en esta computadora con <b>la tinta de todas las clases</b> dentro.", "OverBoard 会在这台电脑上保存一个 PDF,里面存有<b>所有班级的笔迹</b>。", "Magse-save ang OverBoard ng PDF sa computer na ito na may <b>tinta ng lahat ng klase</b> sa loob.", "OverBoard lưu một PDF trên máy này, bên trong có <b>nét mực của mọi lớp</b>.", "OverBoard enregistre sur cet ordinateur un PDF qui contient <b>l'encre de toutes les classes</b>.", "O OverBoard salva neste computador um PDF com <b>a tinta de todas as turmas</b> dentro.", "يحفظ OverBoard ملف PDF على هذا الكمبيوتر يحتوي على <b>حبر كل الحصص</b>."],
Expand Down
5 changes: 3 additions & 2 deletions overlay/ink_overlay.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- ===== INK OVERLAY START (v48) =====
<!-- ===== INK OVERLAY START (v49) =====
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 @@ -1851,7 +1851,8 @@
"install_note": ["Opens in its own window like any app, and works without internet.", "Se abre en su propia ventana como cualquier app y funciona sin internet.", "像普通应用一样在独立窗口中打开,没有网络也能用。", "Bumubukas sa sarili nitong window gaya ng ibang app, at gumagana kahit walang internet.", "Mở trong cửa sổ riêng như mọi ứng dụng, và chạy được khi không có mạng.", "S'ouvre dans sa propre fenêtre comme une app, et fonctionne sans internet.", "Abre em sua própria janela como qualquer app e funciona sem internet.", "يفتح في نافذته الخاصة مثل أي تطبيق، ويعمل بدون إنترنت."],
"open_again": ["Open again", "Abrir de nuevo", "再次打开", "Buksan ulit", "Mở lại", "Rouvrir", "Abrir de novo", "افتح مرة أخرى"],
"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.", "Tu PDF y tu tinta se quedan en este navegador, en esta computadora. No se sube nada. ¿Tienes un archivo de Word? En Word, elige Archivo → Guardar como PDF y suelta el PDF aquí. ¿Tienes una hoja HTML? Suéltala aquí para obtener una copia <i>_board.html</i> en la que puedes escribir.", "你的 PDF 和笔迹只保存在这台电脑的浏览器里,不会上传任何内容。有 Word 文件?在 Word 中选择“文件 → 另存为 PDF”,再把 PDF 拖到这里。有 HTML 练习页?拖到这里即可得到一个可书写的 <i>_board.html</i> 副本。", "Nananatili ang PDF at tinta mo sa browser ng computer na ito. Walang ina-upload. May Word file ka? Sa Word, piliin ang File → Save as PDF, saka i-drop dito ang PDF. May HTML worksheet ka? I-drop ito rito para makakuha ng kopyang <i>_board.html</i> na masusulatan mo.", "PDF và nét mực của bạn chỉ nằm trong trình duyệt trên máy này. Không tải gì lên mạng. Có tệp Word? Trong Word, chọn Tệp → Lưu thành PDF, rồi thả PDF vào đây. Có bài tập HTML? Thả vào đây để có bản <i>_board.html</i> viết lên được.", "Votre PDF et votre encre restent dans ce navigateur, sur cet ordinateur. Rien n'est envoyé en ligne. Un fichier Word ? Dans Word, choisissez Fichier → Enregistrer au format PDF, puis déposez le PDF ici. Une feuille HTML ? Déposez-la ici pour obtenir une copie <i>_board.html</i> sur laquelle écrire.", "Seu PDF e sua tinta ficam neste navegador, neste computador. Nada é enviado. Tem um arquivo do Word? No Word, escolha Arquivo → Salvar como PDF e solte o PDF aqui. Tem uma folha HTML? Solte aqui para receber uma cópia <i>_board.html</i> em que dá para escrever.", "يبقى ملف PDF والحبر في هذا المتصفح على هذا الكمبيوتر. لا يُرفع أي شيء. لديك ملف Word؟ في Word اختر ملف ← حفظ بتنسيق PDF، ثم أفلت ملف PDF هنا. لديك ورقة عمل HTML؟ أفلتها هنا لتحصل على نسخة <i>_board.html</i> يمكنك الكتابة عليها."],
"back_demo": ["Back to the HTML worksheet demo", "Volver a la demo de hoja HTML", "返回 HTML 练习页演示", "Bumalik sa HTML worksheet demo", "Quay lại bản demo bài tập HTML", "Retour à la démo de feuille HTML", "Voltar à demonstração da folha HTML", "العودة إلى عرض ورقة عمل HTML"],
"new_here": ["New here?", "¿Eres nuevo?", "第一次用?", "Bago ka rito?", "Lần đầu dùng?", "Nouveau ici ?", "Primeira vez?", "جديد هنا؟"],
"try_demo": ["Try the demo: a sample worksheet you can write on right away.", "Prueba la demo: una hoja de ejemplo en la que puedes escribir enseguida.", "试试演示:一张马上就能书写的示例练习页。", "Subukan ang demo: isang sample na worksheet na masusulatan mo agad.", "Dùng thử bản demo: một bài tập mẫu viết lên được ngay.", "Essayez la démo : une feuille d'exemple sur laquelle écrire tout de suite.", "Experimente a demonstração: uma folha de exemplo para escrever na hora.", "جرّب العرض التوضيحي: ورقة عمل نموذجية يمكنك الكتابة عليها فورًا."],
"about": ["About OverBoard", "Acerca de OverBoard", "关于 OverBoard", "Tungkol sa OverBoard", "Giới thiệu OverBoard", "À propos d'OverBoard", "Sobre o OverBoard", "حول OverBoard"],
"embed_h": ["Keep the ink inside a PDF file?", "¿Guardar la tinta dentro de un archivo PDF?", "把笔迹保存在 PDF 文件内?", "Itago ang tinta sa loob ng PDF file?", "Giữ nét mực bên trong tệp PDF?", "Garder l'encre dans un fichier PDF ?", "Guardar a tinta dentro de um arquivo PDF?", "هل تحتفظ بالحبر داخل ملف PDF؟"],
"embed_1": ["OverBoard saves a PDF on this computer with <b>all class periods' ink</b> stored inside it.", "OverBoard guarda un PDF en esta computadora con <b>la tinta de todas las clases</b> dentro.", "OverBoard 会在这台电脑上保存一个 PDF,里面存有<b>所有班级的笔迹</b>。", "Magse-save ang OverBoard ng PDF sa computer na ito na may <b>tinta ng lahat ng klase</b> sa loob.", "OverBoard lưu một PDF trên máy này, bên trong có <b>nét mực của mọi lớp</b>.", "OverBoard enregistre sur cet ordinateur un PDF qui contient <b>l'encre de toutes les classes</b>.", "O OverBoard salva neste computador um PDF com <b>a tinta de todas as turmas</b> dentro.", "يحفظ OverBoard ملف PDF على هذا الكمبيوتر يحتوي على <b>حبر كل الحصص</b>."],
Expand Down
Loading
Loading