diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/layouts/wittle/application.html.haml | 5 | ||||
-rw-r--r-- | app/views/wittle/puzzles/show.html.haml | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/app/views/layouts/wittle/application.html.haml b/app/views/layouts/wittle/application.html.haml index 80519f4..1226d79 100644 --- a/app/views/layouts/wittle/application.html.haml +++ b/app/views/layouts/wittle/application.html.haml | |||
@@ -7,4 +7,7 @@ | |||
7 | = stylesheet_link_tag "wittle/application", media: "all" | 7 | = stylesheet_link_tag "wittle/application", media: "all" |
8 | = javascript_include_tag "wittle/application" | 8 | = javascript_include_tag "wittle/application" |
9 | %body | 9 | %body |
10 | #wrap= yield | 10 | #wrap |
11 | %header#banner | ||
12 | %h1= link_to "Wittle", root_url | ||
13 | = yield | ||
diff --git a/app/views/wittle/puzzles/show.html.haml b/app/views/wittle/puzzles/show.html.haml index c46e5ce..8628298 100644 --- a/app/views/wittle/puzzles/show.html.haml +++ b/app/views/wittle/puzzles/show.html.haml | |||
@@ -1,4 +1,5 @@ | |||
1 | %h1 Wittle ##{@puzzle.id} | 1 | %h1 Wittle ##{@puzzle.id} |
2 | .puzzle-description #{@puzzle.category.capitalize} - #{@puzzle.created_at.strftime("%B %-d, %Y")} | ||
2 | #puzzle-container{ style: "display: flex; justify-content: center; align-items: center" } | 3 | #puzzle-container{ style: "display: flex; justify-content: center; align-items: center" } |
3 | %svg#puzzle{ style: "pointer-events: auto"} | 4 | %svg#puzzle{ style: "pointer-events: auto"} |
4 | #submission-form | 5 | #submission-form |