21d623cba4
Added the authentication interface and associated struct to better organise / escapsulate the authentication logic. Added the LogError function. We'll put together a custom logger at some point which will supersede this. Reorganised things a little. Moved two queries into the query generator and inlined four with the query builder. Added SimpleInsertLeftJoin to the query generator. Added SimpleInsertSelect, SimpleInsertLeftJoin, and SimpleInsertInnerJoin to the query builder. Removed the undocumented password reset mechanism for security reasons. We have a proper interface for this in the control panel. Made one of the template compiler errors less cryptic. Fixed the CSS on widget_simple. Fixed a glitch in the weak password detector regarding unique character detection. Moved the responsive CSS in media.partial.css for Tempra Conflux, and Tempra Simple. Added the CreateUser method to the UserStore. Users are no longer logged out on all devices when logging out. Took the first step towards SEO URLs.
23 lines
913 B
HTML
23 lines
913 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>{{.Title}}</title>
|
|
<link href="/static/main.css" rel="stylesheet" type="text/css">
|
|
{{range .Header.Stylesheets}}
|
|
<link href="/static/{{.}}" rel="stylesheet" type="text/css">
|
|
{{end}}
|
|
<script type="text/javascript" src="/static/jquery-3.1.1.min.js"></script>
|
|
{{range .Header.Scripts}}
|
|
<script type="text/javascript" src="/static/{{.}}"></script>
|
|
{{end}}
|
|
<script type="text/javascript">var session = "{{.CurrentUser.Session}}";
|
|
</script>
|
|
<script type="text/javascript" src="/static/global.js"></script>
|
|
<meta name="viewport" content="width=device-width,initial-scale = 1.0, maximum-scale=1.0,user-scalable=no" />
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
{{template "menu.html" .}}
|
|
<div id="back"><div id="main" {{if .Header.Widgets.RightSidebar}}class="shrink_main"{{end}}>
|
|
{{range .Header.NoticeList}}<div class="alert">{{.}}</div>{{end}}
|