-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin.html
More file actions
56 lines (56 loc) · 3.2 KB
/
admin.html
File metadata and controls
56 lines (56 loc) · 3.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML LANG="en">
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset={{.CharSet}}">
<META HTTP-EQUIV="Content-Language" CONTENT="en-US">
<META HTTP-EQUIV="google" CONTENT="notranslate">
<META HTTP-EQUIV="charset" CONTENT="{{.CharSet}}">
<META HTTP-EQUIV="encoding" CONTENT="{{.CharSet}}">
<META NAME="viewport" CONTENT="width=device-width">
<LINK REL="icon" TYPE="image/x-icon" HREF="/favicon.ico">
<LINK REL="shortcut icon" HREF="/favicon.ico">
<TITLE>BloKi Admin : {{.SiteName}}</TITLE>
<STYLE TYPE="text/css"><!--
A:link {text-decoration: none; color:#000000; }
A:visited {text-decoration: none; color:#000000; }
A:active {text-decoration: none; color:#FF0000; }
A:hover {text-decoration: none; background-color: #FF8000; color: #FFFFFF; }
body { margin:0; padding:0; background-color: #000000; font-family: Tahoma, Arial, Geneva, sans-serif; }
td, th { font-family: Tahoma, Arial, Geneva, sans-serif; font-size:13px; margin:0px; border:none; }
input, div { font-family: Tahoma, Arial, Geneva, sans-serif; font-size:13px; }
.container { width:100%; }
.header { width:95%; background-color:#000000; padding:10px; color:#FFFFFF; font-weight:bold; background-color: #000000; display: flex; align-items: center; }
.header A:link { color:#FFFFFF; }
.header A:visited { color:#FFFFFF; }
.sidebar { color:#FFFFFF; width:10%; float:left; background-color:#000000; }
.content { width:80%; float:left; background-color:#E0E0E0; padding: 10px; }
.menuitem { color:#FFFFFF; font-weight:bold; padding:10px; }
.menuitem A:link { color:#FFFFFF; }
.menuitem A:visited { color:#FFFFFF; }
.active { color:#FFFFFF; font-weight:bold; padding:10px; background-color: #0070BB; }
.active A:link { color:#FFFFFF; }
.active A:visited { color:#FFFFFF; }
--></STYLE>
</HEAD>
<BODY>
<FORM ACTION="{{.AdminUrl}}" METHOD="POST" ENCTYPE="multipart/form-data">
<DIV CLASS="container">
<DIV CLASS="header">
<DIV STYLE="flex:1; text-align: left;">
BloKi Admin - <A HREF="/">{{.SiteName}}</A>
</DIV>
<DIV STYLE="flex:1; text-align: right;">
Howdy, {{.UserName}}
</DIV>
</DIV>
<DIV CLASS="sidebar">
<DIV CLASS="{{if eq .ActiveTab "posts"}}active{{else}}menuitem{{end}}"><A HREF="{{.AdminUrl}}?tab=posts">Posts</A></DIV>
<DIV CLASS="{{if eq .ActiveTab "media"}}active{{else}}menuitem{{end}}"><A HREF="{{.AdminUrl}}?tab=media">Media</A></DIV>
<DIV CLASS="{{if eq .ActiveTab "users"}}active{{else}}menuitem{{end}}"><A HREF="{{.AdminUrl}}?tab=users">Users</A></DIV>
<DIV CLASS="{{if eq .ActiveTab "git"}}active{{else}}menuitem{{end}}"><A HREF="{{.AdminUrl}}?tab=git">Git</A></DIV>
</DIV>
<DIV CLASS="content">
{{.AdminTab}}
</DIV>
</DIV>
</FORM></BODY></HTML>