Archived
1
0

fix banner placements

This commit is contained in:
Jeff Becker 2016-01-20 12:13:14 -05:00
parent 06d4535eaa
commit 329eca6af3
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
4 changed files with 10 additions and 14 deletions

View File

@ -23,14 +23,13 @@
<!-- begin navbar -->
{{{board.Navbar}}}
<!-- end navbar -->
<div id="nntpchan_banner">
</div>
<!-- postform -->
<div id="postform_container">
{{{form}}}
</div>
<hr />
<div id="nntpchan_banner">
</div>
<div id="threads_container">
{{#board.Threads}}
<div class="thread" id="thread_{{OP.PostHash}}">
@ -45,10 +44,10 @@
{{/board.Threads}}
</div>
<script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js">
document.onload = function() {
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
}
</script>
</body>
</html>

View File

@ -74,10 +74,8 @@
</div>
</center>
<script src="{{prefix}}static/nntpchan.js" type="text/javascript">
document.onload = function() {
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{prefix}}");
}
</script>
</body>

View File

@ -24,14 +24,13 @@
<!-- begin navbar -->
{{{thread.Navbar}}}
<!-- end navbar -->
<div id="nntpchan_banner">
</div>
<!-- postform -->
<div id="postform_container">
{{{form}}}
</div>
<hr />
<div id="nntpchan_banner">
</div>
<div class="thread" id="thread_{{thread.OP.PostHash}}">
<div class="thread_header">
</div>
@ -43,10 +42,10 @@
</div>
<br/>
<script src="{{thread.Prefix}}static/nntpchan.js" type="text/javascript">
document.onload = function() {
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{thread.Prefix}}");
}
</script>
</body>

View File

@ -33,10 +33,10 @@
{{/threads}}
</div>
<script type="text/javascript" src="{{prefix}}static/nntpchan.js">
document.onload = function() {
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{prefix}}");
}
</script>
</body>
</html>