1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-03 07:36:23 -07:00

Show board dir in page header along with board name

This commit is contained in:
Joshua Merrell 2018-03-08 14:27:51 -08:00
parent 9986bc8a6f
commit be879078d2
3 changed files with 14 additions and 16 deletions

View file

@ -1,8 +1,3 @@
#board-title {
font-size:50px;
text-align:center;
}
#boardmenu-bottom {
margin-top:16px;
}
@ -97,11 +92,15 @@ table#pages td {
position:absolute;
}
#top-pane {
margin-top:32px;
header {
margin-top:50px;
text-align:center;
width:100%;
z-index:1;
}
header h1 {
font-size:30px;
margin: 0px;
}
#topbar {
@ -243,7 +242,6 @@ hr {
clear:both;
}
.upload {
float:left;
max-width: 100%;

View file

@ -53,7 +53,7 @@ body {
ul.staffmenu li:hover {
background: #404040; }
#board-title {
header h1 {
color: #e1b400; }
img.thumbnail {

View file

@ -7,7 +7,7 @@
{{else}}{{if stringNeq $op.MessageHTML ""}}
<title>/{{$board.Dir}}/ - {{truncateString $op.MessageText 20 true}}</title>
{{end}}{{end}}
<title>/{{$board.Dir}} - {{$board.Title}}</title>
<title>/{{$board.Dir}}/ - {{$board.Title}}</title>
<script type="text/javascript" src="/javascript/jquery-3.3.1.min.js"></script>
<script type="text/javascript">
var styles = [{{range $ii, $style := $config.Styles_img}}{{if gt $ii 0}}, {{end}}"{{$style}}"{{end}}];
@ -30,8 +30,8 @@
<a href="/{{$board.Dir}}/" class="topbar-item">/{{$board.Dir}}/</a>
{{end}}
</div>
<div id="top-pane">
<span id="board-title">{{$board.Title}}</span><br />
<span id="board-subtitle">{{$board.Subtitle}}</span>
</div>
<header>
<h1>/{{$board.Dir}}/ - {{$board.Title}}</h1>
<div id="board-subtitle">{{$board.Subtitle}}</div>
</header>
<hr />