app.html.eex 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  7. <title>Fourletters · Hang Out</title>
  8. <link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/>
  9. <script defer type="text/javascript" src="<%= Routes.static_path(@conn, "/js/app.js") %>"></script>
  10. </head>
  11. <body>
  12. <header>
  13. <section class="container">
  14. <nav role="navigation">
  15. <ul>
  16. <%= if function_exported?(Routes, :live_dashboard_path, 2) do %>
  17. <li><%= link "LiveDashboard", to: Routes.live_dashboard_path(@conn, :home) %></li>
  18. <% end %>
  19. </ul>
  20. </nav>
  21. </a>
  22. </section>
  23. </header>
  24. <main role="main" class="container">
  25. <p class="alert alert-info" role="alert"><%= get_flash(@conn, :info) %></p>
  26. <p class="alert alert-danger" role="alert"><%= get_flash(@conn, :error) %></p>
  27. <%= @inner_content %>
  28. </main>
  29. </body>
  30. </html>