From a832dce3558c0c104ad0722110589f7b0ec4ff9c Mon Sep 17 00:00:00 2001 From: David Barksdale Date: Fri, 6 Apr 2012 00:58:48 -0500 Subject: Added two new flags to home page with some reformatting. --- src/ctf_website/views/home.clj | 13 +++++++++---- 1 file 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"] + ]])))) -- cgit v1.2.3-18-g5258