From e714edb84ba2d2dcbaa7529492466d42f8d2609b Mon Sep 17 00:00:00 2001 From: Filip Gralinski Date: Fri, 27 May 2016 08:48:26 +0200 Subject: [PATCH] final fixes --- Handler/Presentation.hs | 2 +- static/css/impress-demo.css | 6 +++--- templates/presentation-4real.hamlet | 9 ++++++--- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Handler/Presentation.hs b/Handler/Presentation.hs index ab2be71..f87d942 100644 --- a/Handler/Presentation.hs +++ b/Handler/Presentation.hs @@ -38,7 +38,7 @@ getPresentation4RealR = do getSampleLeaderboard name = do - challengeEnt@(Entity challengeId challenge) <- runDB $ getBy404 $ UniqueName sampleChallengeName + challengeEnt@(Entity challengeId challenge) <- runDB $ getBy404 $ UniqueName name Just repo <- runDB $ get $ challengePublicRepo challenge (test, leaderboard) <- getLeaderboardEntries challengeId diff --git a/static/css/impress-demo.css b/static/css/impress-demo.css index fa1ce10..779b851 100644 --- a/static/css/impress-demo.css +++ b/static/css/impress-demo.css @@ -50,17 +50,17 @@ time, mark, audio, video { } h1 { - padding-bottom: 10px; + padding-bottom: 12px; font-weight: bold; } h2 { - padding-bottom: 10px; + padding-bottom: 12px; font-weight: bold; } ul { - padding-bottom: 10px; + padding-bottom: 12px; } /* HTML5 display-role reset for older browsers */ diff --git a/templates/presentation-4real.hamlet b/templates/presentation-4real.hamlet index 3e4fcc5..b6e7de3 100644 --- a/templates/presentation-4real.hamlet +++ b/templates/presentation-4real.hamlet @@ -138,7 +138,7 @@

You can open   your submission so that everybody could see it -

… and you fork somebody else's submission   and build on it +

… and you fork somebody else's submission   and build upon it

      git clone ssh://gitolite@gonito.net/john/petite-difference-challenge
@@ -146,12 +146,15 @@
      git fetch ssh://gitolite@gonito.net/petite-difference-challenge submission-00115
      git reset --hard FETCH_HEAD
 
+   

… or you can browse the code at http://gonito.net/gitlist/petite-difference-challenge.git/submission-00115 +

Who forked and submitted what and when? -
+

Click here to see the graph + -

+

Yet another challenge