aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGalen Guyer <galen@galenguyer.com>2022-07-28 10:44:40 -0400
committerGalen Guyer <galen@galenguyer.com>2022-07-28 10:44:40 -0400
commitabaf5aff20015598545ab83858f6501997aef0d5 (patch)
tree0eec06220bc197ede8215065fa7c24fa89103f1f
parenta027b5e5e9d1ff43e92ffda42b9d78324e981237 (diff)
Add logout button to all pages
-rw-r--r--templates/create.tmpl2
-rw-r--r--templates/index.tmpl2
-rw-r--r--templates/poll.tmpl2
-rw-r--r--templates/result.tmpl2
-rw-r--r--templates/unauthorized.tmpl6
5 files changed, 7 insertions, 7 deletions
diff --git a/templates/create.tmpl b/templates/create.tmpl
index e0ec624..6f7cfed 100644
--- a/templates/create.tmpl
+++ b/templates/create.tmpl
@@ -14,7 +14,7 @@
<div class="navbar-user">
<img src="https://profiles.csh.rit.edu/image/{{ .Username }}" />
<span class="text-light">{{ .FullName }}</span>
- <!-- TODO: logout button -->
+ <a href="/auth/logout" style="color: #c3c3c3;"><i>(logout)</i></a>
</div>
</div>
</div>
diff --git a/templates/index.tmpl b/templates/index.tmpl
index 2fe9684..6bfb44f 100644
--- a/templates/index.tmpl
+++ b/templates/index.tmpl
@@ -23,7 +23,7 @@
<div class="navbar-user">
<img src="https://profiles.csh.rit.edu/image/{{ .Username }}" />
<span class="text-light">{{ .FullName }}</span>
- <!-- TODO: logout button -->
+ <a href="/auth/logout" style="color: #c3c3c3;"><i>(logout)</i></a>
</div>
</div>
</div>
diff --git a/templates/poll.tmpl b/templates/poll.tmpl
index abb1a2a..d46130e 100644
--- a/templates/poll.tmpl
+++ b/templates/poll.tmpl
@@ -14,7 +14,7 @@
<div class="navbar-user">
<img src="https://profiles.csh.rit.edu/image/{{ .Username }}" />
<span class="text-light">{{ .FullName }}</span>
- <!-- TODO: logout button -->
+ <a href="/auth/logout" style="color: #c3c3c3;"><i>(logout)</i></a>
</div>
</div>
</div>
diff --git a/templates/result.tmpl b/templates/result.tmpl
index 98487a4..61d4556 100644
--- a/templates/result.tmpl
+++ b/templates/result.tmpl
@@ -18,7 +18,7 @@
<div class="navbar-user">
<img src="https://profiles.csh.rit.edu/image/{{ .Username }}" />
<span class="text-light">{{ .FullName }}</span>
- <!-- TODO: logout button -->
+ <a href="/auth/logout" style="color: #c3c3c3;"><i>(logout)</i></a>
</div>
</div>
</div>
diff --git a/templates/unauthorized.tmpl b/templates/unauthorized.tmpl
index e3a8893..8d18de1 100644
--- a/templates/unauthorized.tmpl
+++ b/templates/unauthorized.tmpl
@@ -27,7 +27,7 @@
<div class="navbar-user">
<img src="https://profiles.csh.rit.edu/image/{{ .Username }}" />
<span class="text-light">{{ .FullName }}</span>
- <!-- TODO: logout button -->
+ <a href="/auth/logout" style="color: #c3c3c3;"><i>(logout)</i></a>
</div>
</div>
</div>
@@ -45,8 +45,8 @@
right now
</p>
<p>
- If you think this is in error, please contact the Evaluations director
- or an RTP
+ If you think this is in error, try logging out and in again. If that doesn't work,
+ please contact the Evaluations director or an RTP
</p>
</div>
</body>