From 4ef09f52790c1b42b894fab7c421867478fa46a4 Mon Sep 17 00:00:00 2001 From: shibao Date: Sat, 12 Feb 2022 23:26:29 -0500 Subject: [PATCH] heex templates --- lib/lokal_web/templates/layout/app.html.heex | 2 +- lib/lokal_web/templates/layout/live.html.heex | 2 +- lib/lokal_web/templates/layout/root.html.heex | 4 ++-- .../templates/layout/{topbar.html.eex => topbar.html.heex} | 0 .../user_confirmation/{new.html.eex => new.html.heex} | 0 .../user_registration/{new.html.eex => new.html.heex} | 0 .../user_reset_password/{edit.html.eex => edit.html.heex} | 0 .../user_reset_password/{new.html.eex => new.html.heex} | 0 .../templates/user_session/{new.html.eex => new.html.heex} | 0 .../templates/user_settings/{edit.html.eex => edit.html.heex} | 0 10 files changed, 4 insertions(+), 4 deletions(-) rename lib/lokal_web/templates/layout/{topbar.html.eex => topbar.html.heex} (100%) rename lib/lokal_web/templates/user_confirmation/{new.html.eex => new.html.heex} (100%) rename lib/lokal_web/templates/user_registration/{new.html.eex => new.html.heex} (100%) rename lib/lokal_web/templates/user_reset_password/{edit.html.eex => edit.html.heex} (100%) rename lib/lokal_web/templates/user_reset_password/{new.html.eex => new.html.heex} (100%) rename lib/lokal_web/templates/user_session/{new.html.eex => new.html.heex} (100%) rename lib/lokal_web/templates/user_settings/{edit.html.eex => edit.html.heex} (100%) diff --git a/lib/lokal_web/templates/layout/app.html.heex b/lib/lokal_web/templates/layout/app.html.heex index 57a48d3..1381559 100644 --- a/lib/lokal_web/templates/layout/app.html.heex +++ b/lib/lokal_web/templates/layout/app.html.heex @@ -1,4 +1,4 @@ -
+
<%= render("topbar.html", assigns) %> <%= if get_flash(@conn, :info) do %> diff --git a/lib/lokal_web/templates/layout/live.html.heex b/lib/lokal_web/templates/layout/live.html.heex index e107881..f011b87 100644 --- a/lib/lokal_web/templates/layout/live.html.heex +++ b/lib/lokal_web/templates/layout/live.html.heex @@ -1,4 +1,4 @@ -
+
<%= if @flash && @flash |> Map.has_key?(:info) do %> diff --git a/lib/lokal_web/templates/layout/root.html.heex b/lib/lokal_web/templates/layout/root.html.heex index d97d6fd..cd6b49c 100644 --- a/lib/lokal_web/templates/layout/root.html.heex +++ b/lib/lokal_web/templates/layout/root.html.heex @@ -1,5 +1,5 @@ - + @@ -15,7 +15,7 @@ > - + <%= @inner_content %> diff --git a/lib/lokal_web/templates/layout/topbar.html.eex b/lib/lokal_web/templates/layout/topbar.html.heex similarity index 100% rename from lib/lokal_web/templates/layout/topbar.html.eex rename to lib/lokal_web/templates/layout/topbar.html.heex diff --git a/lib/lokal_web/templates/user_confirmation/new.html.eex b/lib/lokal_web/templates/user_confirmation/new.html.heex similarity index 100% rename from lib/lokal_web/templates/user_confirmation/new.html.eex rename to lib/lokal_web/templates/user_confirmation/new.html.heex diff --git a/lib/lokal_web/templates/user_registration/new.html.eex b/lib/lokal_web/templates/user_registration/new.html.heex similarity index 100% rename from lib/lokal_web/templates/user_registration/new.html.eex rename to lib/lokal_web/templates/user_registration/new.html.heex diff --git a/lib/lokal_web/templates/user_reset_password/edit.html.eex b/lib/lokal_web/templates/user_reset_password/edit.html.heex similarity index 100% rename from lib/lokal_web/templates/user_reset_password/edit.html.eex rename to lib/lokal_web/templates/user_reset_password/edit.html.heex diff --git a/lib/lokal_web/templates/user_reset_password/new.html.eex b/lib/lokal_web/templates/user_reset_password/new.html.heex similarity index 100% rename from lib/lokal_web/templates/user_reset_password/new.html.eex rename to lib/lokal_web/templates/user_reset_password/new.html.heex diff --git a/lib/lokal_web/templates/user_session/new.html.eex b/lib/lokal_web/templates/user_session/new.html.heex similarity index 100% rename from lib/lokal_web/templates/user_session/new.html.eex rename to lib/lokal_web/templates/user_session/new.html.heex diff --git a/lib/lokal_web/templates/user_settings/edit.html.eex b/lib/lokal_web/templates/user_settings/edit.html.heex similarity index 100% rename from lib/lokal_web/templates/user_settings/edit.html.eex rename to lib/lokal_web/templates/user_settings/edit.html.heex