Spaces:
Running
Running
Download workspaces/login.html from eatbackhackathon2026/eatback: direct link, hf CLI and curl.
- Browser
- Download file 16.2 kB
-
https://huggingface.co/spaces/eatbackhackathon2026/eatback/resolve/main/workspaces/login.html
- Command line
-
hf download hf://spaces/eatbackhackathon2026/eatback/workspaces/login.html
-
curl -L -o login.html https://huggingface.co/spaces/eatbackhackathon2026/eatback/resolve/main/workspaces/login.html
16.2 kB
| <html lang="th"> | |
| <head> | |
| <script src="/workspaces/assets/workspace-api.js"></script> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <meta name="theme-color" content="#0f5132"> | |
| <title>เข้าสู่พื้นที่โรงเรียน · EatBack</title> | |
| <link rel="icon" href="/workspaces/assets/favicon.svg" type="image/svg+xml"> | |
| <link rel="stylesheet" href="/workspaces/assets/style.css"> | |
| <script src="/workspaces/assets/i18n.js" defer></script> | |
| <script src="/workspaces/assets/login.js" defer></script> | |
| </head> | |
| <body class="login-page"> | |
| <a class="skip" href="#login-title">ข้ามไปหน้าเข้าสู่ระบบ</a> | |
| <div class="login-layout"> | |
| <section class="story" aria-label="EatBack สำหรับโรงเรียน"> | |
| <div class="brand"> | |
| <span class="mark-tile"> | |
| <svg class="brand-mark" viewBox="0 0 64 64" aria-hidden="true"> | |
| <path d="M7.6 41A25.5 25.5 0 0 1 45.5 9.2" fill="none" stroke="#41B649" stroke-width="5.6" stroke-linecap="round"/> | |
| <path d="M21 57.2A25.5 25.5 0 0 0 55.2 23.5" fill="none" stroke="#F59E0B" stroke-width="5.6" stroke-linecap="round"/> | |
| <path d="M48.2 22.6L57.8 13.6L60.6 26.4Z" fill="#F59E0B" stroke="#F59E0B" stroke-width="2" stroke-linejoin="round"/> | |
| <g transform="rotate(-9 32 33)"> | |
| <rect x="11.5" y="16.5" width="41" height="33" rx="7.5" fill="#fff" stroke="#CBD5CF" stroke-width="2.2"/> | |
| <rect x="15" y="20" width="16" height="12" rx="3.2" fill="#EDF2EE"/><rect x="33" y="20" width="16" height="12" rx="3.2" fill="#EDF2EE"/> | |
| <rect x="15" y="34" width="16" height="12" rx="3.2" fill="#EDF2EE"/><rect x="33" y="34" width="16" height="12" rx="3.2" fill="#EDF2EE"/> | |
| <ellipse cx="23" cy="26.4" rx="5.9" ry="3.9" fill="#fff" stroke="#E2E8E4" stroke-width=".6"/> | |
| <circle cx="20.8" cy="25.8" r="1" fill="#41B649"/><circle cx="24.6" cy="25.1" r="1" fill="#41B649"/><circle cx="23.4" cy="28" r="1" fill="#41B649"/> | |
| <rect x="39.2" y="26.4" width="2" height="3.8" rx=".9" fill="#86C96F"/> | |
| <circle cx="37.9" cy="24.9" r="2.7" fill="#2E9E45"/><circle cx="41.3" cy="23.6" r="2.6" fill="#41B649"/><circle cx="40.4" cy="26.3" r="2.2" fill="#2E9E45"/> | |
| <ellipse cx="45.4" cy="28.1" rx="2.5" ry="2" fill="#F59E0B"/> | |
| <path d="M17.6 40.6C17.6 36.6 22 35.6 25.4 36.4C28.8 37.2 29.6 40.4 27.6 42.6C25.4 44.8 17.6 44.6 17.6 40.6Z" fill="#C8742F"/> | |
| <path d="M20 39.2C21.8 38 24 37.8 26 38.6" stroke="#E6A461" stroke-width="1.2" fill="none" stroke-linecap="round"/> | |
| <rect x="36.2" y="40.2" width="2.8" height="3.8" rx=".7" fill="#1E7B34"/><rect x="40" y="38" width="2.8" height="6" rx=".7" fill="#1E7B34"/><rect x="43.8" y="35.6" width="2.8" height="8.4" rx=".7" fill="#1E7B34"/> | |
| </g> | |
| </svg> | |
| </span> | |
| <span class="brand-name"><span class="w1">Eat</span><span class="w2">Back</span><span class="brand-sub">สำหรับโรงเรียน</span></span> | |
| </div> | |
| <div class="story-copy"> | |
| <p class="eyebrow">พื้นที่ส่วนตัวของโรงเรียน</p> | |
| <h1>ทุกโรงเรียน<br><em>มีพื้นที่ของตัวเอง</em></h1> | |
| <p id="workspace-intro">ครู ครัว และผู้บริหารเห็นข้อมูลอาหารกลางวันของโรงเรียนตัวเอง แยกทีละชั้นตั้งแต่ อ.1 ถึง ป.6 ส่วนข้อมูลของโรงเรียนอื่นเปิดดูไม่ได้</p> | |
| </div> | |
| <ol class="loop" aria-label="EatBack ทำงานอย่างไร"> | |
| <li><b>1</b><span><strong>วัดทุกรอบ ทีละชั้น</strong><small>มีเครื่องชั่งก็ชั่งอัตโนมัติ ไม่มีก็พิมพ์น้ำหนักเอง</small></span></li> | |
| <li><b>2</b><span><strong>รู้ว่าเมนูไหนเหลือเยอะซ้ำ</strong><small>แล้วครูถามข้อคิดเห็นจากเด็ก กดบันทึกในแอป</small></span></li> | |
| <li><b>3</b><span><strong>ทดลองปรับ 2 ครั้ง</strong><small>เปรียบเทียบผลตามเงื่อนไขต้นแบบ</small></span></li> | |
| <li><b>4</b><span><strong>ส่งต่อวิธีที่ได้ผล</strong><small>ไปชั้นอื่น และใส่ในแผนเมนูสัปดาห์หน้า</small></span></li> | |
| </ol> | |
| <figure class="proof" aria-label="ตัวอย่างผลจากข้อมูลสาธิต"> | |
| <div class="proof-top"><span class="chip good">✓ ผลตัวอย่าง · DEMO</span><span class="small">ตัวอย่างจากโรงเรียน A · ข้อมูลสาธิต</span></div> | |
| <h3>ป.1 เปลี่ยนผัดกะเพราหมูใส่ตับ เป็นผัดกะหล่ำปลีหมูใส่ลูกชิ้น</h3> | |
| <div class="ba"><span>ก่อน</span><span class="track"><span class="fill before" data-w="33"></span></span><b>33%</b></div> | |
| <div class="ba"><span>หลัง</span><span class="track"><span class="fill after" data-w="14"></span></span><b>14%</b></div> | |
| <p class="small muted proof-note">% ของอาหารที่ตักแล้วเหลือ เฉลี่ย 3 มื้อก่อนแก้ และ 2 มื้อที่ทดลอง · ข้อมูลจำลอง ไม่ใช่ผลทดลองจริงหรือการรับรองโภชนาการ</p> | |
| <p class="small proof-src"><span class="src-tag real">แหล่งจริง · Thai School Lunch</span> ทั้งสองเมนูอยู่ในสำรับที่โรงเรียนจัดจริง ผล TSL อ้างอิงทั้งสัปดาห์แยกตามระดับชั้น ไม่ใช่การรับรองเมนูเดี่ยว</p> | |
| </figure> | |
| <div class="trust"><span>เมนูและโภชนาการจาก Thai School Lunch</span><span>แยกข้อมูลตามโรงเรียน</span><span>ไม่เก็บข้อมูลเด็กรายคน</span><span>มีหรือไม่มีเครื่องชั่งก็ใช้ได้</span></div> | |
| </section> | |
| <main class="login-main"> | |
| <div class="login-panel"> | |
| <div class="ws-lang login-lang" role="group" aria-label="ภาษา / Language"><button type="button" data-ws-lang="th" aria-pressed="true">ไทย</button><button type="button" data-ws-lang="en" aria-pressed="false">EN</button></div> | |
| <p class="eyebrow">เข้าสู่พื้นที่โรงเรียน</p> | |
| <h2 id="login-title">ยินดีต้อนรับ</h2> | |
| <p class="intro">กดเลือกโรงเรียนตัวอย่างเพื่อเข้าได้ทันที แล้วลองออกจากระบบเพื่อเข้าอีกโรงเรียน จะเห็นว่าข้อมูลเป็นคนละชุด</p> | |
| <button type="button" class="account a" data-account="a"> | |
| <span class="gbadge" aria-hidden="true">A</span> | |
| <span> | |
| <strong>โรงเรียนบ้านชมดาว</strong> | |
| <span class="meta">นักเรียน 182 คน · อ.1–ป.6 · มีเครื่องชั่ง</span> | |
| <span class="chip brand">แพ็กเกจ Smart</span> | |
| <span class="creds">schoolA · EatBack-A-2026</span> | |
| </span> | |
| <span class="go">เข้าเลย →</span> | |
| </button> | |
| <button type="button" class="account b" data-account="b"> | |
| <span class="gbadge" aria-hidden="true">B</span> | |
| <span> | |
| <strong>โรงเรียนบ้านริมน้ำ</strong> | |
| <span class="meta">นักเรียน 96 คน · อ.2–ป.6 · พิมพ์น้ำหนักเอง</span> | |
| <span class="chip accent">แพ็กเกจ Starter</span> | |
| <span class="creds">schoolB · EatBack-B-2026</span> | |
| </span> | |
| <span class="go">เข้าเลย →</span> | |
| </button> | |
| <div class="divider">หรือกรอกชื่อผู้ใช้เอง</div> | |
| <form id="login-form" class="login-form" novalidate> | |
| <label for="username">ชื่อผู้ใช้</label> | |
| <input id="username" name="username" autocomplete="username" spellcheck="false" placeholder="เช่น schoolA" required> | |
| <label for="password">รหัสผ่าน</label> | |
| <div class="password-wrap"> | |
| <input id="password" name="password" type="password" autocomplete="current-password" placeholder="กรอกรหัสผ่าน" required> | |
| <button type="button" id="toggle-password" class="show-password" aria-label="แสดงรหัสผ่าน">แสดง</button> | |
| </div> | |
| <p id="login-error" class="form-error" role="alert" data-ws-dynamic hidden></p> | |
| <button class="btn primary" type="submit" id="submit-login" data-ws-dynamic>เข้าสู่พื้นที่โรงเรียน →</button> | |
| </form> | |
| <p class="login-note" id="login-provenance">โรงเรียน บัญชี และตัวเลขการกินสมมติขึ้นเพื่อสาธิต ไม่มีข้อมูลเด็กจริง และไม่ได้เชื่อมกับเครื่องชั่งจริง · ชื่อเมนูและผลโภชนาการมาจาก Thai School Lunch</p> | |
| </div> | |
| </main> | |
| </div> | |
| </body> | |
| </html> | |