2022-04-06 14:13:54 -04:00
|
|
|
<!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"/>
|
|
|
|
<%= csrf_meta_tag() %>
|
2022-04-14 02:18:01 -04:00
|
|
|
<%= live_title_tag assigns[:page_title] || "Aggiedit" %>
|
|
|
|
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
|
2022-04-15 15:00:42 -04:00
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.0/font/bootstrap-icons.css">
|
2022-05-21 03:57:02 -04:00
|
|
|
|
|
|
|
<link phx-track-static rel="stylesheet" href={Routes.static_path(@conn, "/assets/app.css")}/>
|
|
|
|
<script phx-track-static type="text/javascript" src={Routes.static_path(@conn, "/assets/app.js")}></script>
|
|
|
|
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
2022-04-06 14:13:54 -04:00
|
|
|
</head>
|
2022-04-14 02:18:01 -04:00
|
|
|
<body class="bg-secondary min-vh-100">
|
2022-04-06 14:13:54 -04:00
|
|
|
<header>
|
2022-04-14 02:18:01 -04:00
|
|
|
<nav class="navbar navbar-expand-md navbar-dark bg-dark">
|
|
|
|
<div class="container">
|
|
|
|
<a href="/" class="navbar-brand">
|
|
|
|
AggiEdit
|
|
|
|
</a>
|
|
|
|
<button class="navbar-toggler ms-auto" type="button" data-bs-toggle="collapse" data-bs-target="#toggle">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
<div class="navbar-collapse collapse" id="toggle">
|
|
|
|
<ul class="navbar-nav">
|
|
|
|
<li class="nav-item active">
|
|
|
|
<a class="nav-link" href="/">Home</a>
|
|
|
|
</li>
|
|
|
|
<%= if @current_user do %>
|
|
|
|
<li class="nav-item active">
|
|
|
|
<%= link "My SubAggie", to: "/room/#{@current_user.room_id}", class: "nav-link" %>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
<ul class="navbar-nav ms-auto">
|
|
|
|
<%= render "_user_menu.html", assigns %>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|
2022-04-06 14:13:54 -04:00
|
|
|
</header>
|
2022-04-14 02:18:01 -04:00
|
|
|
<div class="container mt-2 bg-light p-2 shadow rounded">
|
|
|
|
<%= @inner_content %>
|
|
|
|
</div>
|
2022-04-06 14:13:54 -04:00
|
|
|
</body>
|
|
|
|
</html>
|