0e9cebfa47
Added fsnotify as a dependency, we'll be using it, Rez, and Riot (maybe) soon. Removed the intercept_build_widgets vhook. You can now pass an ID to BlankReply() for mocking replies or whatever else you want to do with this. Added the dock template function for widget docks. Added the logf internal function to the template transpiler and did some minor clean-up. Removed the Sidebars property from theme.json and added the more general Docks one. Improved the footer and the associated CSS. Added the about widget, previously the AboutSegment feature. Removed the about_segment_title and about_segment_body settings. Gosora now exits when it receives the appropriate OS signal. Refactored the modlogs route. More progress on the theme in the Control Panel.
25 lines
885 B
HTML
25 lines
885 B
HTML
<div class="footer">
|
|
{{dock "footer" .Header }}
|
|
<div id="poweredByHolder" class="footerBit">
|
|
<div id="poweredBy">
|
|
<a id="poweredByName" href="https://github.com/Azareal/Gosora">Powered by Gosora</a><span id="poweredByDash"> - </span><span id="poweredByMaker">Made with love by Azareal</span>
|
|
</div>
|
|
<form action="/theme/" method="post">
|
|
<div id="themeSelector" style="float: right;">
|
|
<select id="themeSelectorSelect" name="themeSelector" aria-label="Change the site's appearance">
|
|
{{range .Header.Themes}}
|
|
{{if not .HideFromThemes}}<option val="{{.Name}}"{{if eq $.Header.Theme.Name .Name}} selected{{end}}>{{.FriendlyName}}</option>{{end}}
|
|
{{end}}
|
|
</select>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<aside class="sidebar">{{dock "rightSidebar" .Header }}</aside>
|
|
<div style="clear: both;"></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|