1cc1e47582
Themes can now inject their own stylesheets and JavaScript files into the header. Added friendlier errors for developers / designers when something goes wrong in the system. Moved three queries to the query generator. _process_where() in the query generator now uses an arbitrary expression parser, thus allowing more complex constructs like IN. Began work on the widget system. Added SimpleLeftJoin and SimpleInnerJoin to the inline query builder. Added SimpleInsertSelect and SimpleInsertInnerJoin to the query generator. _process_columns() now supports parametisation. Fixed a bug in _process_set() where _ was considered an invalid character in column names. Fixed a typo in the interpreter template mapping for topics.
23 lines
907 B
HTML
23 lines
907 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.Sidebars.Right}}class="shrink_main"{{end}}>
|
|
{{range .Header.NoticeList}}<div class="alert">{{.}}</div>{{end}}
|