2016-12-02 07:38:54 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
Added Quick Topic.
Added Attachments.
Added Attachment Media Embeds.
Renamed a load of *Store and *Cache methods to reduce the amount of unneccesary typing.
Added petabytes as a unit and cleaned up a few of the friendly units.
Refactored the username change logic to make it easier to maintain.
Refactored the avatar change logic to make it easier to maintain.
Shadow now uses CSS Variables for most of it's colours. We have plans to transpile this to support older browsers later on!
Snuck some CSS Variables into Tempra Conflux.
Added the GroupCache interface to MemoryGroupStore.
Added the Length method to MemoryGroupStore.
Added support for a site short name.
Added the UploadFiles permission.
Renamed more functions.
Fixed the background for the left gutter on the postbit for Tempra Simple and Shadow.
Added support for if statements operating on int8, int16, int32, int32, int64, uint, uint8, uint16, uint32, uint64, float32, and float64 for the template compiler.
Added support for if statements operating on slices and maps for the template compiler.
Fixed a security exploit in reply editing.
Fixed a bug in the URL detector in the parser where it couldn't find URLs with non-standard ports.
Fixed buttons having blue outlines on focus on Shadow.
Refactored the topic creation logic to make it easier to maintain.
Made a few responsive fixes, but there's still more to do in the following commits!
2017-10-05 10:20:28 +00:00
|
|
|
<title>{{.Title}} | {{.Header.Site.Name}}</title>
|
2017-11-23 05:37:08 +00:00
|
|
|
<link href="/static/{{.Header.Theme.Name}}/main.css" rel="stylesheet" type="text/css">
|
2017-06-16 10:41:30 +00:00
|
|
|
{{range .Header.Stylesheets}}
|
2017-06-19 08:06:54 +00:00
|
|
|
<link href="/static/{{.}}" rel="stylesheet" type="text/css">
|
2017-06-16 10:41:30 +00:00
|
|
|
{{end}}
|
2017-02-16 06:47:55 +00:00
|
|
|
<script type="text/javascript" src="/static/jquery-3.1.1.min.js"></script>
|
2018-01-28 14:30:24 +00:00
|
|
|
<script type="text/javascript" src="/static/chartist/chartist.min.js"></script>
|
2017-06-16 10:41:30 +00:00
|
|
|
{{range .Header.Scripts}}
|
2017-06-19 08:06:54 +00:00
|
|
|
<script type="text/javascript" src="/static/{{.}}"></script>
|
2017-06-16 10:41:30 +00:00
|
|
|
{{end}}
|
Added Quick Topic.
Added Attachments.
Added Attachment Media Embeds.
Renamed a load of *Store and *Cache methods to reduce the amount of unneccesary typing.
Added petabytes as a unit and cleaned up a few of the friendly units.
Refactored the username change logic to make it easier to maintain.
Refactored the avatar change logic to make it easier to maintain.
Shadow now uses CSS Variables for most of it's colours. We have plans to transpile this to support older browsers later on!
Snuck some CSS Variables into Tempra Conflux.
Added the GroupCache interface to MemoryGroupStore.
Added the Length method to MemoryGroupStore.
Added support for a site short name.
Added the UploadFiles permission.
Renamed more functions.
Fixed the background for the left gutter on the postbit for Tempra Simple and Shadow.
Added support for if statements operating on int8, int16, int32, int32, int64, uint, uint8, uint16, uint32, uint64, float32, and float64 for the template compiler.
Added support for if statements operating on slices and maps for the template compiler.
Fixed a security exploit in reply editing.
Fixed a bug in the URL detector in the parser where it couldn't find URLs with non-standard ports.
Fixed buttons having blue outlines on focus on Shadow.
Refactored the topic creation logic to make it easier to maintain.
Made a few responsive fixes, but there's still more to do in the following commits!
2017-10-05 10:20:28 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
var session = "{{.CurrentUser.Session}}";
|
|
|
|
var siteURL = "{{.Header.Site.URL}}";
|
2018-06-17 07:28:18 +00:00
|
|
|
var maxRequestSize = "{{.Header.Site.MaxRequestSize}}";
|
Added Quick Topic.
Added Attachments.
Added Attachment Media Embeds.
Renamed a load of *Store and *Cache methods to reduce the amount of unneccesary typing.
Added petabytes as a unit and cleaned up a few of the friendly units.
Refactored the username change logic to make it easier to maintain.
Refactored the avatar change logic to make it easier to maintain.
Shadow now uses CSS Variables for most of it's colours. We have plans to transpile this to support older browsers later on!
Snuck some CSS Variables into Tempra Conflux.
Added the GroupCache interface to MemoryGroupStore.
Added the Length method to MemoryGroupStore.
Added support for a site short name.
Added the UploadFiles permission.
Renamed more functions.
Fixed the background for the left gutter on the postbit for Tempra Simple and Shadow.
Added support for if statements operating on int8, int16, int32, int32, int64, uint, uint8, uint16, uint32, uint64, float32, and float64 for the template compiler.
Added support for if statements operating on slices and maps for the template compiler.
Fixed a security exploit in reply editing.
Fixed a bug in the URL detector in the parser where it couldn't find URLs with non-standard ports.
Fixed buttons having blue outlines on focus on Shadow.
Refactored the topic creation logic to make it easier to maintain.
Made a few responsive fixes, but there's still more to do in the following commits!
2017-10-05 10:20:28 +00:00
|
|
|
</script>
|
2016-12-02 07:38:54 +00:00
|
|
|
<script type="text/javascript" src="/static/global.js"></script>
|
2016-12-24 13:14:40 +00:00
|
|
|
<meta name="viewport" content="width=device-width,initial-scale = 1.0, maximum-scale=1.0,user-scalable=no" />
|
2017-12-25 06:12:19 +00:00
|
|
|
{{if .Header.MetaDesc}}<meta name="description" content="{{.Header.MetaDesc}}" />{{end}}
|
2018-06-17 07:28:18 +00:00
|
|
|
<meta property="og:site_name" content="{{.Header.Site.Name}}">
|
|
|
|
<meta property="og:title" content="{{.Title}} | {{.Header.Site.Name}}">
|
2016-12-02 07:38:54 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2018-04-23 08:38:25 +00:00
|
|
|
{{if not .CurrentUser.IsSuperMod}}<style>.supermod_only { display: none !important; }</style>{{end}}
|
2016-12-02 07:38:54 +00:00
|
|
|
<div class="container">
|
2018-05-27 09:36:35 +00:00
|
|
|
<!--<div class="navrow">-->
|
2018-04-23 08:38:25 +00:00
|
|
|
<div class="left_of_nav">{{dock "leftOfNav" .Header }}</div>
|
|
|
|
<nav class="nav">
|
|
|
|
<div class="move_left">
|
|
|
|
<div class="move_right">
|
2018-05-27 09:36:35 +00:00
|
|
|
<ul>{{/** TODO: Have the theme control whether the long or short form of the name is used **/}}
|
|
|
|
<li id="menu_overview" class="menu_left"><a href="/" rel="home">{{if eq .Header.Theme.Name "nox"}}{{.Header.Site.Name}}{{else}}{{.Header.Site.ShortName}}{{end}}</a></li>
|
2018-04-23 08:38:25 +00:00
|
|
|
{{dock "topMenu" .Header }}
|
|
|
|
<li class="menu_left menu_hamburger" title="{{lang "menu_hamburger_tooltip"}}"><a></a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div style="clear: both;"></div>
|
|
|
|
</nav>
|
2018-05-27 09:36:35 +00:00
|
|
|
<div class="right_of_nav"><!--{{dock "rightOfNav" .Header }}-->
|
|
|
|
{{/** TODO: Make this a separate template and load it via the theme docks, here for now so we can rapidly prototype the Nox theme **/}}
|
|
|
|
{{if eq .Header.Theme.Name "nox"}}
|
|
|
|
<div class="user_box">
|
|
|
|
<img src="{{.CurrentUser.Avatar}}" />
|
|
|
|
<div class="option_box">
|
|
|
|
<span class="username">{{.CurrentUser.Name}}</span>
|
|
|
|
<span class="alerts">21 new alerts</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
2018-04-23 08:38:25 +00:00
|
|
|
</div>
|
2018-05-27 09:36:35 +00:00
|
|
|
<!--</div>-->
|
|
|
|
<div class="midRow">
|
|
|
|
<div class="midLeft"></div>
|
|
|
|
<div id="back" class="zone_{{.Header.Zone}}{{if .Header.Widgets.RightSidebar}} shrink_main{{end}}">
|
|
|
|
<div id="main" >
|
2018-06-17 07:28:18 +00:00
|
|
|
<div class="alertbox initial_alertbox">{{range .Header.NoticeList}}
|
2018-05-27 09:36:35 +00:00
|
|
|
{{template "notice.html" . }}{{end}}
|
|
|
|
</div>
|