diff options
Diffstat (limited to 'lib/rook_web/templates/app')
| -rw-r--r-- | lib/rook_web/templates/app/entrypoint.html.eex | 5 | ||||
| -rw-r--r-- | lib/rook_web/templates/app/request.html.eex | 1 | ||||
| -rw-r--r-- | lib/rook_web/templates/app/share.html.eex | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/lib/rook_web/templates/app/entrypoint.html.eex b/lib/rook_web/templates/app/entrypoint.html.eex new file mode 100644 index 0000000..bc7e84a --- /dev/null +++ b/lib/rook_web/templates/app/entrypoint.html.eex @@ -0,0 +1,5 @@ +<link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/#{@entrypoint}.css") %>"/> +<script defer type="text/javascript" src="<%= Routes.static_path(@conn, "/js/#{@entrypoint}.js") %>"></script> +<script>window.token = "<%= @token %>";</script> + +<div id="app"></div> diff --git a/lib/rook_web/templates/app/request.html.eex b/lib/rook_web/templates/app/request.html.eex new file mode 100644 index 0000000..c09a843 --- /dev/null +++ b/lib/rook_web/templates/app/request.html.eex @@ -0,0 +1 @@ +<%= render_app(@conn, @token, "request") %> diff --git a/lib/rook_web/templates/app/share.html.eex b/lib/rook_web/templates/app/share.html.eex new file mode 100644 index 0000000..d72b2c4 --- /dev/null +++ b/lib/rook_web/templates/app/share.html.eex @@ -0,0 +1 @@ +<%= render_app(@conn, @token, "share") %> |
