Changeset View
Changeset View
Standalone View
Standalone View
larus/web/templates/layout/app.html.eex
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html lang="en"> | <!--[if lt IE 9]> <html class="lt-ie9"> <![endif]--> | ||||
<!--[if gt IE 8]><!--> <html lang="<%= assigns[:locale] %>"> <!--<![endif]--> | |||||
<head> | <head> | ||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |||||
<meta charset="utf-8"> | <meta charset="utf-8"> | ||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||||
<meta name="viewport" content="width=device-width, initial-scale=1"> | <meta name="viewport" content="width=device-width, initial-scale=1"> | ||||
<meta name="description" content=""> | <meta name="description" content="<%= description %>"> | ||||
<meta name="author" content=""> | <meta name="author" content="<%= author %>"> | ||||
<title><%= title %></title> | |||||
<title>Hello Larus!</title> | |||||
<link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>"> | |||||
</head> | </head> | ||||
<body> | <body> | ||||
<div class="container"> | <div id="space"> | ||||
<header class="header"> | |||||
<nav role="navigation"> | |||||
<ul class="nav nav-pills pull-right"> | |||||
<li><a href="http://www.phoenixframework.org/docs">Get Started</a></li> | |||||
</ul> | |||||
</nav> | |||||
<span class="logo"></span> | |||||
</header> | |||||
<p class="alert alert-info" role="alert"><%= get_flash(@conn, :info) %></p> | |||||
<p class="alert alert-danger" role="alert"><%= get_flash(@conn, :error) %></p> | |||||
<main role="main"> | |||||
<%= render @view_module, @view_template, assigns %> | <%= render @view_module, @view_template, assigns %> | ||||
</main> | </div> | ||||
</div> <!-- /container --> | <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>"> | ||||
<script src="<%= static_path(@conn, "/js/app.js") %>"></script> | <script src="<%= static_path(@conn, "/js/app.js") %>"></script> | ||||
</body> | </body> | ||||
</html> | </html> |