Current section
Files
Jump to
Current section
Files
web/templates/layout/app.html.eex
<!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">
<meta name="description" content="">
<meta name="author" content="">
<title>Verk Dashboard</title>
<link rel="stylesheet" href="<%= mount_static_path(@conn, "/css/app.css") %>">
</head>
<body>
<nav id="page-header" class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div id="page-header-logo"><img src="<%= mount_static_path(@conn, "/images/vamp_header.png") %>"></div>
</div>
<div id="page-header-nav" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<%= menu_item(@conn, page_path(@conn, :index), "Dashboard") %>
<%= menu_item(@conn, queues_path(@conn, :index), "Queues") %>
<%= menu_item(@conn, retries_path(@conn, :index), "Retries") %>
<%= menu_item(@conn, scheduled_path(@conn, :index), "Scheduled") %>
<%= menu_item(@conn, dead_path(@conn, :index), "Dead") %>
</ul>
</div>
</div>
</nav>
<div class="container">
<%= render @view_module, @view_template, assigns %>
</div>
<script> MOUNT_PATH = "<%= @conn.assigns[:mount_path] %>"</script>
<script src="<%= mount_static_path(@conn, "/js/app.js") %>"></script>
</body>
</html>