summaryrefslogtreecommitdiff
path: root/tmpl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tmpl/Makefile15
-rw-r--r--tmpl/login.html21
-rw-r--r--tmpl/staff.html21
-rw-r--r--tmpl/student.html21
4 files changed, 51 insertions, 27 deletions
diff --git a/tmpl/Makefile b/tmpl/Makefile
deleted file mode 100644
index 61f3713..0000000
--- a/tmpl/Makefile
+++ /dev/null
@@ -1,15 +0,0 @@
-.PHONY: default ../dist/tmpl/student.html ../dist/tmpl/staff.html ../dist/tmpl/login.html
-
-default: ../dist/tmpl/student.html ../dist/tmpl/staff.html ../dist/tmpl/login.html
-
-../dist/tmpl/student.html: student.html
- mkdir -p ../dist/tmpl
- cp student.html ../dist/tmpl/student.html
-
-../dist/tmpl/staff.html: staff.html
- mkdir -p ../dist/tmpl
- cp staff.html ../dist/tmpl/staff.html
-
-../dist/tmpl/login.html: login.html
- mkdir -p ../dist/tmpl
- cp login.html ../dist/tmpl/login.html
diff --git a/tmpl/login.html b/tmpl/login.html
index af69519..1f8e89b 100644
--- a/tmpl/login.html
+++ b/tmpl/login.html
@@ -20,9 +20,25 @@
<header>
<div class="header-content">
<div class="header-left">
- <h1><a id="site-title" href="/">CCA Selection System</a></h1>
+ <h1><a id="site-title" href="./">CCA Selection System</a></h1>
</div>
<div class="header-middle">
+ <nav>
+ <ul>
+ <li>
+ <a href="./">Home</a>
+ </li>
+ <li>
+ <a href="./docs/">Docs</a>
+ </li>
+ <li>
+ <a href="./iadocs/">IA Docs</a>
+ </li>
+ <li>
+ <a href="./src/">Source</a>
+ </li>
+ </ul>
+ </nav>
</div>
<div class="header-right">
<p>Unauthenticated</p>
@@ -42,9 +58,6 @@
</p>
</div>
</main>
- <footer>
- CCA Selection System, licensed under the GNU Affero General Public License, version 3.0 or any later version. Source code available at <a href="{{.source}}"><code>{{.source}}</code></a>.
- </footer>
</body>
</html>
{{- end -}}
diff --git a/tmpl/staff.html b/tmpl/staff.html
index 9bc5100..bf74d8b 100644
--- a/tmpl/staff.html
+++ b/tmpl/staff.html
@@ -17,9 +17,25 @@
<header>
<div class="header-content">
<div class="header-left">
- <h1><a id="site-title" href="/">CCASS Staff Page</a></h1>
+ <h1><a id="site-title" href="./">CCASS Staff Page</a></h1>
</div>
<div class="header-middle">
+ <nav>
+ <ul>
+ <li>
+ <a href="./">Home</a>
+ </li>
+ <li>
+ <a href="./docs/">Docs</a>
+ </li>
+ <li>
+ <a href="./iadocs/">IA Docs</a>
+ </li>
+ <li>
+ <a href="./src/">Source</a>
+ </li>
+ </ul>
+ </nav>
</div>
<div class="header-right">
<p>{{- .user.Name }} ({{ .user.Department -}})</p>
@@ -128,9 +144,6 @@
</div>
</div>
</div>
- <footer>
- CCA Selection System, licensed under the GNU Affero General Public License, version 3.0 or any later version. Source code available at <a href="{{.source}}"><code>{{.source}}</code></a>.
- </footer>
<script src="static/staff.js"></script>
<script>
document.addEventListener("DOMContentLoaded", () => {
diff --git a/tmpl/student.html b/tmpl/student.html
index ea5fae5..8b6982b 100644
--- a/tmpl/student.html
+++ b/tmpl/student.html
@@ -17,9 +17,25 @@
<header>
<div class="header-content">
<div class="header-left">
- <h1><a id="site-title" href="/">CCA Selection System</a></h1>
+ <h1><a id="site-title" href="./">CCA Selection System</a></h1>
</div>
<div class="header-middle">
+ <nav>
+ <ul>
+ <li>
+ <a href="./">Home</a>
+ </li>
+ <li>
+ <a href="./docs/">Docs</a>
+ </li>
+ <li>
+ <a href="./iadocs/">IA Docs</a>
+ </li>
+ <li>
+ <a href="./src/">Source</a>
+ </li>
+ </ul>
+ </nav>
</div>
<div class="header-right">
<p>{{- .user.Name }} ({{ .user.Department -}})</p>
@@ -155,9 +171,6 @@
-->
</div>
</div>
- <footer>
- CCA Selection System, licensed under the GNU Affero General Public License, version 3.0 or any later version. Source code available at <a href="{{.source}}"><code>{{.source}}</code></a>.
- </footer>
<script src="static/student.js"></script>
<script>
document.addEventListener("DOMContentLoaded", () => {