✨🚧 Implement admin interface to manage shares and users
This commit is contained in:
42
templates/base.html
Normal file
42
templates/base.html
Normal file
@@ -0,0 +1,42 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>ShareDAV</title>
|
||||
<style>
|
||||
thead {
|
||||
font-weight: bold;
|
||||
}
|
||||
#content {
|
||||
float: right;
|
||||
width: 100%;
|
||||
background-color: #F0F0F0;
|
||||
}
|
||||
#menu {
|
||||
float: left;
|
||||
width: 200px;
|
||||
margin-left: -200px;
|
||||
background-color: #CCCCCC;
|
||||
}
|
||||
#menu span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
body {
|
||||
margin-left: 200px
|
||||
}
|
||||
</style>
|
||||
{{ block "page-styles" . }}{{ end }}
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
{{ block "page-content" . }}{{ end }}
|
||||
</div>
|
||||
<div id="menu">
|
||||
<span><a href="./">ShareDAV</a></span>
|
||||
<span><a href="users">Users</a></span>
|
||||
<span><a href="shares">Shares</a></span>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user