diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-29 21:50:03 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-29 21:50:03 -0400 |
| commit | 392cc8a0f938b0f363e1a9227d5ff9a3ecbdbe10 (patch) | |
| tree | df69f6f1928a6406dc81d861a1948954a2d47bb1 /app/views | |
| parent | 03f44c53e35fc1643a39a1e31141ead8c275a3a0 (diff) | |
| download | wittle-392cc8a0f938b0f363e1a9227d5ff9a3ecbdbe10.tar.gz wittle-392cc8a0f938b0f363e1a9227d5ff9a3ecbdbe10.tar.bz2 wittle-392cc8a0f938b0f363e1a9227d5ff9a3ecbdbe10.zip | |
some website formatting
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 |
