Archived
1
0

try fixing banners

This commit is contained in:
Jeff Becker 2016-01-20 11:52:04 -05:00
parent 3274536134
commit 9f84ab4ca9
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
5 changed files with 9 additions and 1 deletions

View File

@ -21,6 +21,6 @@ function nntpchan_inject_banners(elem, prefix) {
var banner = prefix + "static/banner_"+n+".jpg";
var e = document.createElement("img");
e.src = banner;
e.setAttribute("class", "nntpchan_banner");
e.id = "nntpchan_banner";
elem.appendChild(e);
}

View File

@ -321,3 +321,8 @@ textarea#reply-text {
hr {
padding-bottom: 20px;
}
#nntpchan_banner {
align: center;
}

View File

@ -31,6 +31,7 @@
</div>
<hr />
<div onload="nntpchan_inject_banners(this, '{{board.Prefix}}');">
[banner]
</div>
<div id="threads_container">
{{#board.Threads}}

View File

@ -31,6 +31,7 @@
<h4>We've Had {{totalposts}} Posts Since August 01 2015 </h4>
</div>
<div onload="nntpchan_inject_banners(this, '{{prefix}}');">
[banner]
</div>
<div class="index-inner">
<table>

View File

@ -14,6 +14,7 @@
</head>
<body>
<div onload="nntpchan_inject_banners(this, '{{prefix}}');">
[banner]
</div>
<div id="ukko_threads">
{{#threads}}