mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-08-03 23:56:22 -07:00
Show board dir in page header along with board name
This commit is contained in:
parent
9986bc8a6f
commit
be879078d2
3 changed files with 14 additions and 16 deletions
|
@ -1,8 +1,3 @@
|
||||||
#board-title {
|
|
||||||
font-size:50px;
|
|
||||||
text-align:center;
|
|
||||||
}
|
|
||||||
|
|
||||||
#boardmenu-bottom {
|
#boardmenu-bottom {
|
||||||
margin-top:16px;
|
margin-top:16px;
|
||||||
}
|
}
|
||||||
|
@ -97,11 +92,15 @@ table#pages td {
|
||||||
position:absolute;
|
position:absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
#top-pane {
|
header {
|
||||||
margin-top:32px;
|
margin-top:50px;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
width:100%;
|
|
||||||
z-index:1;
|
}
|
||||||
|
|
||||||
|
header h1 {
|
||||||
|
font-size:30px;
|
||||||
|
margin: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#topbar {
|
#topbar {
|
||||||
|
@ -243,7 +242,6 @@ hr {
|
||||||
clear:both;
|
clear:both;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.upload {
|
.upload {
|
||||||
float:left;
|
float:left;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|
|
@ -53,7 +53,7 @@ body {
|
||||||
ul.staffmenu li:hover {
|
ul.staffmenu li:hover {
|
||||||
background: #404040; }
|
background: #404040; }
|
||||||
|
|
||||||
#board-title {
|
header h1 {
|
||||||
color: #e1b400; }
|
color: #e1b400; }
|
||||||
|
|
||||||
img.thumbnail {
|
img.thumbnail {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
{{else}}{{if stringNeq $op.MessageHTML ""}}
|
{{else}}{{if stringNeq $op.MessageHTML ""}}
|
||||||
<title>/{{$board.Dir}}/ - {{truncateString $op.MessageText 20 true}}</title>
|
<title>/{{$board.Dir}}/ - {{truncateString $op.MessageText 20 true}}</title>
|
||||||
{{end}}{{end}}
|
{{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" src="/javascript/jquery-3.3.1.min.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var styles = [{{range $ii, $style := $config.Styles_img}}{{if gt $ii 0}}, {{end}}"{{$style}}"{{end}}];
|
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>
|
<a href="/{{$board.Dir}}/" class="topbar-item">/{{$board.Dir}}/</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
<div id="top-pane">
|
<header>
|
||||||
<span id="board-title">{{$board.Title}}</span><br />
|
<h1>/{{$board.Dir}}/ - {{$board.Title}}</h1>
|
||||||
<span id="board-subtitle">{{$board.Subtitle}}</span>
|
<div id="board-subtitle">{{$board.Subtitle}}</div>
|
||||||
</div>
|
</header>
|
||||||
<hr />
|
<hr />
|
Loading…
Add table
Add a link
Reference in a new issue