htman/templates/layout.html

36 lines
1.2 KiB
HTML
Raw Permalink Normal View History

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/" py:strip="">
<py:match path="head" once="true">
<head py:attrs="select('@*')">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>${title}</title>
<link rel="stylesheet" href="${css_url}" type="text/css" />
<link rel="shortcut icon" href="${favicon_url}" type="image/vnd.microsoft.icon" />
<link rel="icon" href="${favicon_url}" type="image/vnd.microsoft.icon" />
</head>
</py:match>
<py:match path="body" once="true">
<body py:attrs="select('@*')">
2021-02-10 01:26:31 +01:00
<nav class="navbar navbar-expand-lg navbar-light bg-light">
2021-02-10 02:32:09 +01:00
<span class="navbar-brand mb-0 h1">Account Admin</span>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item"><a class="nav-link" href="/admin/wikis">Home</a></li>
<li class="nav-item"><a class="nav-link" href="/admin/wikis/password">Passwords</a></li>
</ul>
</div>
2021-02-10 01:26:31 +01:00
</nav>
2021-02-10 01:26:31 +01:00
<div class="container" style="margin-top:20px;">
<div id="content">${select('*|text()')}</div>
</div>
</body>
</py:match>
</html>