2015-09-13 11:14:18 +00:00
<!DOCTYPE html>
<html class="no-js" lang="en">
2015-09-19 21:17:38 +00:00
2015-09-14 17:18:26 +00:00
<head>
2015-09-14 21:03:09 +00:00
<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="theme-color" content=" #fff " >
2015-09-19 13:25:35 +00:00
<title>{{ if Defined . "Name" }}{{ .Name }}{{ end }}</title>
2015-09-13 19:37:20 +00:00
2015-09-14 21:03:09 +00:00
<link href='https://fonts.googleapis.com/css?family=Roboto:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
2015-09-16 11:18:12 +00:00
<link rel="stylesheet" href="/admin/assets/css/main.min.css">
2015-09-20 08:15:21 +00:00
{{ if and (Defined . "Config")}}{{ if not (eq .Config.Styles "") }}<link rel="stylesheet" href="{{ .Config.Styles }}">{{ end }}{{ end }}
{{ if and (Defined . "User") }}{{ if not (eq .User.Styles "") }}<link rel="stylesheet" href="{{ .User.Styles }}">{{ end }}{{ end }}
2015-09-19 13:25:35 +00:00
<script src="/admin/assets/js/plugins.min.js"></script>
2015-09-16 11:18:12 +00:00
<script src="/admin/assets/js/app.min.js"></script>
2015-09-14 17:18:26 +00:00
</head>
2015-09-13 11:14:18 +00:00
2015-09-14 17:18:26 +00:00
<body>
2015-09-17 16:41:31 +00:00
<nav>
<ul>
<li><a href="/"><i class="fa fa-home fa-lg"></i> Home</a></li>
2015-09-27 18:49:58 +00:00
{{ if and (Defined . "Config")}}<li><a data-pjax href="/admin/browse/{{ .Config.Content }}/"><i class="fa fa-newspaper-o"></i> Content</a></li>{{ end }}
2015-09-27 19:07:34 +00:00
{{ if and (Defined . "User") }}<li><a data-pjax href="/admin/browse/{{ .User.Content }}/"><i class="fa fa-newspaper-o"></i> Content</a></li>{{ end }}
2015-09-20 10:03:17 +00:00
<li><a data-pjax href="/admin/browse/"><i class="fa fa-folder-o"></i> Browse</a></li>
<li><a data-pjax href="/admin/settings/"><i class="fa fa-cog"></i> Settings</a></li>
<li><a data-pjax id="logout" href=" #logout " ><i class= " fa fa - sign - out " ></i> Logout</a></li>
2015-09-17 16:41:31 +00:00
</ul>
</nav>
2015-09-19 21:17:38 +00:00
<div id="content">
{{ template "content" . }}
2015-09-16 20:48:08 +00:00
</div>
2015-09-14 13:54:58 +00:00
</body>
2015-09-19 21:17:38 +00:00
2015-09-15 10:59:48 +00:00
</html>