diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/views/wittle/puzzles/about.html.haml | 2 | ||||
-rw-r--r-- | app/views/wittle/puzzles/show.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/wittle/puzzles/about.html.haml b/app/views/wittle/puzzles/about.html.haml index a96fcf9..dcc3132 100644 --- a/app/views/wittle/puzzles/about.html.haml +++ b/app/views/wittle/puzzles/about.html.haml | |||
@@ -1,5 +1,5 @@ | |||
1 | %p.summary <strong>Wittle</strong> gives you daily randomly-generated puzzles in the style of those from the 2016 indie game, <a href="http://the-witness.net">The Witness</a>. There are three difficulties of puzzles to choose from: | 1 | %p.summary <strong>Wittle</strong> gives you daily randomly-generated puzzles in the style of those from the 2016 indie game, <a href="http://the-witness.net">The Witness</a>. There are three difficulties of puzzles to choose from: |
2 | %h2#current-date= @normal_puzzle.created_at.strftime("%B %-d, %Y") | 2 | %h2#current-date= @normal_puzzle.created_at.localtime.strftime("%B %-d, %Y") |
3 | %nav#choose-difficulty | 3 | %nav#choose-difficulty |
4 | #normal-link | 4 | #normal-link |
5 | = link_to "Normal", @normal_puzzle | 5 | = link_to "Normal", @normal_puzzle |
diff --git a/app/views/wittle/puzzles/show.html.haml b/app/views/wittle/puzzles/show.html.haml index 7307152..679046d 100644 --- a/app/views/wittle/puzzles/show.html.haml +++ b/app/views/wittle/puzzles/show.html.haml | |||
@@ -1,6 +1,6 @@ | |||
1 | .breadcrumb= link_to "← Back to home page", root_path | 1 | .breadcrumb= link_to "← Back to home page", root_path |
2 | %h1 Wittle ##{@puzzle.id} | 2 | %h1 Wittle ##{@puzzle.id} |
3 | .puzzle-description #{@puzzle.category.capitalize} - #{@puzzle.created_at.strftime("%B %-d, %Y")} | 3 | .puzzle-description #{@puzzle.category.capitalize} - #{@puzzle.created_at.localtime.strftime("%B %-d, %Y")} |
4 | #puzzle-container{ style: "display: flex; justify-content: center; align-items: center" } | 4 | #puzzle-container{ style: "display: flex; justify-content: center; align-items: center" } |
5 | %svg#puzzle{ style: "pointer-events: auto"} | 5 | %svg#puzzle{ style: "pointer-events: auto"} |
6 | #submission-form | 6 | #submission-form |