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 banner = prefix + "static/banner_"+n+".jpg";
|
||||||
var e = document.createElement("img");
|
var e = document.createElement("img");
|
||||||
e.src = banner;
|
e.src = banner;
|
||||||
e.setAttribute("class", "nntpchan_banner");
|
e.id = "nntpchan_banner";
|
||||||
elem.appendChild(e);
|
elem.appendChild(e);
|
||||||
}
|
}
|
||||||
|
@ -321,3 +321,8 @@ textarea#reply-text {
|
|||||||
hr {
|
hr {
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#nntpchan_banner {
|
||||||
|
align: center;
|
||||||
|
}
|
@ -31,6 +31,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<hr />
|
<hr />
|
||||||
<div onload="nntpchan_inject_banners(this, '{{board.Prefix}}');">
|
<div onload="nntpchan_inject_banners(this, '{{board.Prefix}}');">
|
||||||
|
[banner]
|
||||||
</div>
|
</div>
|
||||||
<div id="threads_container">
|
<div id="threads_container">
|
||||||
{{#board.Threads}}
|
{{#board.Threads}}
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
<h4>We've Had {{totalposts}} Posts Since August 01 2015 </h4>
|
<h4>We've Had {{totalposts}} Posts Since August 01 2015 </h4>
|
||||||
</div>
|
</div>
|
||||||
<div onload="nntpchan_inject_banners(this, '{{prefix}}');">
|
<div onload="nntpchan_inject_banners(this, '{{prefix}}');">
|
||||||
|
[banner]
|
||||||
</div>
|
</div>
|
||||||
<div class="index-inner">
|
<div class="index-inner">
|
||||||
<table>
|
<table>
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div onload="nntpchan_inject_banners(this, '{{prefix}}');">
|
<div onload="nntpchan_inject_banners(this, '{{prefix}}');">
|
||||||
|
[banner]
|
||||||
</div>
|
</div>
|
||||||
<div id="ukko_threads">
|
<div id="ukko_threads">
|
||||||
{{#threads}}
|
{{#threads}}
|
||||||
|
Reference in New Issue
Block a user