about summary refs log tree commit diff stats
path: root/app/views/pokemon/embed.html.haml
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-12-07 11:49:49 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2024-12-07 11:49:49 -0500
commit56f5841d4b9c12296cdfcaeff174b2627d59afc8 (patch)
tree4f7da4ebbe5ee15a1594b26466ed78e2cf10de35 /app/views/pokemon/embed.html.haml
parentc1b0443ba2aebdbd39291ddab0c189f3f4831320 (diff)
downloadpokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.tar.gz
pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.tar.bz2
pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.zip
Migrate to full rails app
Diffstat (limited to 'app/views/pokemon/embed.html.haml')
-rw-r--r--app/views/pokemon/embed.html.haml17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/views/pokemon/embed.html.haml b/app/views/pokemon/embed.html.haml new file mode 100644 index 0000000..17fc7ba --- /dev/null +++ b/app/views/pokemon/embed.html.haml
@@ -0,0 +1,17 @@
1!!! 5
2%html
3 %head
4 %title Pokeviewer
5 %meta{ name: "viewport", content: "width=device-width,initial-scale=1" }
6 = stylesheet_link_tag "application", media: "all"
7 = javascript_include_tag "application"
8 = csrf_meta_tags
9 = csp_meta_tag
10 %body#pokemon-embed
11 %ul#pokemon-embed-tabs
12 %li.ptabe-button.ptabe-details= link_to "Details", "\#", data: {tab: "details"}
13 %li.ptabe-button.ptabe-stats= link_to "Stats", "\#", data: {tab: "stats"}
14 %li.ptabe-button.ptabe-moves= link_to "Moves", "\#", data: {tab: "moves"}
15 %li.ptabe-button.ptabe-contest= link_to "Contest", "\#", data: {tab: "contest"}
16 %li.ptabe-button.ptabe-ribbons= link_to "Ribbons", "\#", data: {tab: "ribbons"}
17 = render @revision