meta/lib/meta_web/templates/layout/app.html.eex

38 lines
1.3 KiB
Elixir
Raw Permalink Normal View History

2020-12-15 08:45:34 +01: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"/>
<title>Meta · Management</title>
2020-12-15 08:45:34 +01:00
<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>
2020-12-15 08:45:34 +01:00
</body>
</html>