38 lines
1.3 KiB
Elixir
38 lines
1.3 KiB
Elixir
<!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"/>
|
|
<title>Meta · Management</title>
|
|
<link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/>
|
|
</head>
|
|
<body>
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col-2" id="section-nav">
|
|
<%= render "_sidebar_nav.html", assigns %>
|
|
<img id="nav-logo" src="<%= Routes.static_path(@conn, "/images/cloud.svg") %>"></img>
|
|
<p class="nav-notice">
|
|
<small>
|
|
meta v<%= Meta.version() %> | <%= Meta.env() %> | <a href="https://code.recycled.cloud/e-Durable/management">sources</a>
|
|
</small>
|
|
</p>
|
|
</div>
|
|
<div class="col-6">
|
|
<main role="main" class="container-fluid">
|
|
<%= if get_flash(@conn, :info) do %>
|
|
<p class="alert alert-info" role="alert"><%= get_flash(@conn, :info) %></p>
|
|
<% end %>
|
|
<%= if get_flash(@conn, :error) do %>
|
|
<p class="alert alert-danger" role="alert"><%= get_flash(@conn, :error) %></p>
|
|
<% end %>
|
|
|
|
<%= @inner_content %>
|
|
</main>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|