完善了值班表模板,现在基本上是可以最基本的使用了,另外增加了Makefile,可以一键构建,和部署

This commit is contained in:
2024-12-29 12:40:00 +08:00
parent ecf4a1db8a
commit de13e64f49
8 changed files with 35 additions and 26 deletions

View File

@@ -1,11 +1,11 @@
<html>
<head>
<script src="htmx.min.js"></script>
</head>
<body>
<div>
<h1 align=center>今日值班表</h1>
<div id="table" hx-get="/api/getAssignment" hx-target="table" hx-swap="innerHTML" align=center></div>
<div align=center>
<button hx-get="/api/getAssignment" align=center hx-swap="outerHTML"> 点我!</button>
</div>
</div>
</body>
<script src="/htmx.min.js"></script>
</html>

View File

@@ -2,17 +2,17 @@
<body >
<div align=center>
<h1>网维排班系统</h1>
<a href=assignment.html>查看今日值班表</br></a>
<a href=/assignment.html>查看今日值班表</br></a>
<br>
<a href=switch.html>发起换班</br></a>
<a href=repay.html>发起补班</br></a>
<a href=volunteering.html>发起蹭班</br></a>
<a href=/switch.html>发起换班</br></a>
<a href=/repay.html>发起补班</br></a>
<a href=/volunteering.html>发起蹭班</br></a>
</div>
<br>
</br>
<div align=center>
<footer>
<a href=admin.html>管理</br></a>
<a href=/admin.html>管理</br></a>
<i>有任何问题和建议,都可以联系开发组组长:)</i>
</footer>
</div>