about summary refs log tree commit diff
path: root/lib/rook_web/templates/layout/app.html.eex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rook_web/templates/layout/app.html.eex')
-rw-r--r--lib/rook_web/templates/layout/app.html.eex21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/rook_web/templates/layout/app.html.eex b/lib/rook_web/templates/layout/app.html.eex
new file mode 100644
index 0000000..d651e23
--- /dev/null
+++ b/lib/rook_web/templates/layout/app.html.eex
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8"/>
+    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
+    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
+    <title>Rook</title>
+    <link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/>
+  </head>
+  <body>
+    <header>
+      <section class="container">
+        Rook
+    </header>
+    <main role="main" class="container">
+      <p class="alert alert-info" role="alert"><%= get_flash(@conn, :info) %></p>
+      <p class="alert alert-danger" role="alert"><%= get_flash(@conn, :error) %></p>
+      <%= @inner_content %>
+    </main>
+  </body>
+</html>