try fixing banners
This commit is contained in:
parent
3274536134
commit
9f84ab4ca9
@ -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);
|
||||
}
|
||||
|
@ -321,3 +321,8 @@ textarea#reply-text {
|
||||
hr {
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
|
||||
#nntpchan_banner {
|
||||
align: center;
|
||||
}
|
@ -31,6 +31,7 @@
|
||||
</div>
|
||||
<hr />
|
||||
<div onload="nntpchan_inject_banners(this, '{{board.Prefix}}');">
|
||||
[banner]
|
||||
</div>
|
||||
<div id="threads_container">
|
||||
{{#board.Threads}}
|
||||
|
@ -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>
|
||||
|
@ -14,6 +14,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<div onload="nntpchan_inject_banners(this, '{{prefix}}');">
|
||||
[banner]
|
||||
</div>
|
||||
<div id="ukko_threads">
|
||||
{{#threads}}
|
||||
|
Reference in New Issue
Block a user