diff --git a/app/MAINTENANCE.md b/app/MAINTENANCE.md index 81769db..9d41eb1 100644 --- a/app/MAINTENANCE.md +++ b/app/MAINTENANCE.md @@ -1,6 +1,6 @@ # 维护手册 -本项目长期维护时,目标是每次更新都能做到可检查、可部署、可回滚,并且不误改业务数据。 +新时空教务管家长期维护时,目标是每次更新都能做到可检查、可部署、可回滚,并且不误改业务数据。 ## 日常更新流程 diff --git a/app/README.md b/app/README.md index c9ecc61..b56f7a5 100644 --- a/app/README.md +++ b/app/README.md @@ -1,13 +1,13 @@ -# 新时空课程记录查询网页 +# 新时空教务管家 -这是一个课程记录查询和登记工具,用于把本机正式业务源中的 `classnotes.txt` 和 `学生课时账户.md` 同步到 VPS,并通过网页查询上课记录、课时账户和登记新增记录。 +这是一个面向新时空教务业务的综合管理系统,用于把本机正式业务源中的 `classnotes.txt` 和 `学生课时账户.md` 同步到 VPS,并通过网页查询上课记录、管理课时账户、登记新增记录和审核纠错。 ## 目录 - `app/`:FastAPI 后端和内置前端页面。 - `MAINTENANCE.md`:日常检查、部署、数据保护和回滚流程。 - `Makefile`:常用维护命令入口。 -- `scripts/deploy_to_vps.py`:部署网页服务到 VPS。 +- `scripts/deploy_to_vps.py`:部署教务管家服务到 VPS。 - `scripts/sync_to_vps.py`:同步正式数据文件到 VPS。 - `scripts/smoke_test.js`:轻量前端行为烟测。 - `scripts/install_gitea_backup_hook.py`:安装提交后自动推送到 Gitea 的 Git hook。 diff --git a/app/app/main.py b/app/app/main.py index 8281268..f5f7c2d 100644 --- a/app/app/main.py +++ b/app/app/main.py @@ -49,7 +49,7 @@ ACCOUNTS_SESSION_COOKIE = "xsk_accounts_session" ADMIN_SESSION_COOKIE = "xsk_admin_session" SESSION_MAX_AGE = 60 * 60 * 24 * 30 -app = FastAPI(title="新时空课程记录查询", version="1.0.0") +app = FastAPI(title="新时空教务管家", version="1.0.0") security = HTTPBasic(auto_error=False) write_lock = threading.Lock() @@ -477,7 +477,7 @@ def login_page( return RedirectResponse(url=next_path, status_code=status.HTTP_303_SEE_OTHER) return HTMLResponse( render_login_page( - title="新时空课程记录查询", + title="新时空教务管家", action="/login", next_path=next_path, has_error=has_error, diff --git a/app/app/static/index.html b/app/app/static/index.html index 982c579..40576d6 100644 --- a/app/app/static/index.html +++ b/app/app/static/index.html @@ -3,13 +3,13 @@ - 新时空课程记录查询 + 新时空教务管家
-

新时空课程记录查询

+

新时空教务管家

正在读取数据状态