Started styling the app and have got editing posts working.
This commit is contained in:
parent
7ef6725bdb
commit
bf5d6cbe52
20 changed files with 511 additions and 41 deletions
30
templates/layouts/site.html
Normal file
30
templates/layouts/site.html
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="/assets/css/reset.css">
|
||||
<link rel="stylesheet" href="/assets/css/main.css">
|
||||
<title>Hugo CRM</title>
|
||||
</head>
|
||||
<body class="role-site">
|
||||
<header>
|
||||
<h1>Hugo CRM</h1>
|
||||
<nav>
|
||||
<span>{{.site.Name}}</span>
|
||||
<a href="#">User</a>
|
||||
</nav>
|
||||
</header>
|
||||
<div class="client-area">
|
||||
<nav class="vert">
|
||||
<ul>
|
||||
<li><a href="/sites/{{.site.ID}}/posts">Posts</a></li>
|
||||
<li><a href="/sites/{{.site.ID}}/pages">Pages</a></li>
|
||||
<li><a href="/sites/{{.site.ID}}/uploads">Uploads</a></li>
|
||||
<li><a href="/sites/{{.site.ID}}/settings">Settings</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<main>{{embed}}</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue