尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗A small web app for managing students, courses, enrollments and grades. Built with plain HTML and JavaScript, Supabase (database and sign-in) and GitHub Pages (hosting).
Live site: https://istabraq59.github.io/yachi-univ/
Access rules are enforced by the database (Supabase Row Level Security), not by the page.
Hiding a button is only cosmetic. The page contains only the public "publishable" key.
Never put a secret or service_role key in this repository.
| File | Purpose |
|---|---|
index.html | Page layout, sign-in, students, enrollments and roster |
config.js | Supabase project URL and publishable key |
grades.js | Grade entry and transcript |
roles.js | Hides controls by role, phone layout, typed confirmations |
signup.js | Sign-up form, pending accounts, "waiting for approval" notice |
reports-page.js | Reports and CSV export |
teachers.js | Teachers, course assignments, approving teachers |
courses.js | Courses, academic years and semesters |
npx --yes http-server -a 127.0.0.1 -p 8080
Then open http://127.0.0.1:8080
Commit and push to the main branch. GitHub Pages updates in about a minute.
index.html: the page and the sign-in box. It loads the scripts below, in this order.config.js: the Supabase address and the publishable key (safe to be public). Never put a secret key here.grades.js, roles.js, signup.js, reports-page.js, teachers.js, courses.js: students, roles, sign-up and approval, reports, teachers, courses and semesters.forgot.js: "Forgot password?" link and the new-password box.google.js: "Continue with Google" button.attendance.js: take attendance, view a summary, download CSV; students see their own.auditlog.js: admin-only list of grade changes.announcements.js: post and read announcements.accounts.js: admin-only list of logins with Deactivate / Reactivate.authmsg.js: shows sign-in errors that come back in the web address (for example a deactivated account after Google sign-in).privacy.html: the privacy policy page (linked from the bottom of the main page and from Google Cloud).Each feature is one small file plus one <script> line in index.html. All of them use the shared db object from index.html and read the signed-in role from body[data-role]. Security is not in these files: it is enforced by the database rules (see the sms repository, db/functions.sql). Hiding a card in the browser is only for convenience.
git add, git commit, git push. GitHub Pages publishes in about a minute. If a push times out, run git push again when the network is better; the commit is safe on the phone.
If the site address ever changes (for example a custom domain), update these:
forgot.js and google.js: the redirectTo address.signup.js: the emailRedirectTo check for github.io.privacy.html: the website line.