From 2d83df8b32bff7f0028923bb5b64dc0b55f20d03 Mon Sep 17 00:00:00 2001 From: Jordan Bracco Date: Tue, 20 Dec 2022 00:21:54 +0000 Subject: Nola rename: The Big Move, Refs T77 --- lib/nola_web/templates/layout/app.html.eex | 126 +++++++++++++++++++++++++++ lib/nola_web/templates/layout/root.html.leex | 18 ++++ 2 files changed, 144 insertions(+) create mode 100644 lib/nola_web/templates/layout/app.html.eex create mode 100644 lib/nola_web/templates/layout/root.html.leex (limited to 'lib/nola_web/templates/layout') diff --git a/lib/nola_web/templates/layout/app.html.eex b/lib/nola_web/templates/layout/app.html.eex new file mode 100644 index 0000000..c774369 --- /dev/null +++ b/lib/nola_web/templates/layout/app.html.eex @@ -0,0 +1,126 @@ +
+
+ +
+
+

+ <%= if n = @conn.assigns[:network] do %><%= n %> › <% end %> + <%= if c = @conn.assigns[:chan] do %><%= c %> › <% end %> + <%= for({name, href} <- Enum.uniq(@conn.assigns[:breadcrumbs]||[]), do: [link(name, to: href), raw(" › ")]) %> + <%= @conn.assigns[:title] %> +

+
+
+
+ +
+
+ +
+ <%= @inner_content %> +
+ +
+
+
diff --git a/lib/nola_web/templates/layout/root.html.leex b/lib/nola_web/templates/layout/root.html.leex new file mode 100644 index 0000000..6a48506 --- /dev/null +++ b/lib/nola_web/templates/layout/root.html.leex @@ -0,0 +1,18 @@ + + + + <%= page_title(@conn) %> + + + + + + <%= Map.get(assigns, :title, "") %> + "> + <%= csrf_meta_tag() %> + + + + <%= @inner_content %> + + -- cgit v1.2.3