尚未检测到更新。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.