2021-09-01 13:29:11 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2021-09-08 16:30:37 +02:00
|
|
|
<meta charset="utf-8"/>
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
2021-10-11 12:28:38 +02:00
|
|
|
<title>Pokémon Couture</title>
|
2021-09-01 13:29:11 +02:00
|
|
|
<link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/>
|
2021-09-08 16:30:37 +02:00
|
|
|
<%= csrf_meta_tag() %>
|
2021-09-01 13:29:11 +02:00
|
|
|
<script defer type="text/javascript" src="<%= Routes.static_path(@conn, "/js/app.js") %>"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
2021-09-08 16:30:37 +02:00
|
|
|
<header>
|
|
|
|
<section class="container">
|
|
|
|
<nav role="navigation">
|
|
|
|
<ul>
|
2021-10-11 12:28:38 +02:00
|
|
|
<li><a href="http://localhost:4000/tracker">Clothes tracker</a></li>
|
2021-09-08 16:30:37 +02:00
|
|
|
<%= if function_exported?(Routes, :live_dashboard_path, 2) do %>
|
|
|
|
<li><%= link "LiveDashboard", to: Routes.live_dashboard_path(@conn, :home) %></li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
<%= render "_user_menu.html", assigns %>
|
|
|
|
</nav>
|
|
|
|
<a href="http://localhost:4000/" class="phx-logo"> <!-- TODO: needs a way to show the proper link -->
|
|
|
|
<img src="<%= Routes.static_path(@conn, "/images/phoenix.png") %>" alt="Phoenix Framework Logo"/>
|
|
|
|
</a>
|
|
|
|
</section>
|
|
|
|
</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>
|
2021-09-01 13:29:11 +02:00
|
|
|
</body>
|
|
|
|
</html>
|