aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2012-04-06 00:58:48 -0500
committerDavid Barksdale <amatus.amongus@gmail.com>2012-04-06 00:58:48 -0500
commita832dce3558c0c104ad0722110589f7b0ec4ff9c (patch)
tree7190b03ab9b04e557f0286693d9ff6e18209251e
parent7e0e286e9b1441240c89a032f8687c6a4eeefa84 (diff)
Added two new flags to home page with some reformatting.
-rw-r--r--src/ctf_website/views/home.clj13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/ctf_website/views/home.clj b/src/ctf_website/views/home.clj
index 85ea8b5..14cae77 100644
--- a/src/ctf_website/views/home.clj
+++ b/src/ctf_website/views/home.clj
@@ -55,8 +55,13 @@
:value "Submit"}]]]
[:h2 "Welcome Grid Warrior"]
[:p "Test your skills with the challenges below:"]
- [:ul
+ [:dl
(when (not (scoreboard/has username "test"))
- [:li "test flag - b46911b2d927d89bc2b1143a7f5d9c20"])
- [:li "exec flag - try to read /home/ctf/flags/exec.flag"]]
- ]))))
+ [:div ;; I don't know why this needs to be a div
+ [:dt "test flag"]
+ [:dd "- b46911b2d927d89bc2b1143a7f5d9c20"]])
+ [:dt "flags found in /home/ctf/flags"]
+ [:dd "- exec.flag"]
+ [:dd "- lottery.flag"]
+ [:dd "- rsa.flag"]
+ ]]))))