Archived
1
0

try fixing banners more D:

This commit is contained in:
Jeff Becker 2016-01-20 11:58:19 -05:00
parent 9f84ab4ca9
commit ba0f5471a3
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
4 changed files with 17 additions and 4 deletions

View File

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

View File

@ -15,6 +15,10 @@
<link rel="stylesheet" href="{{prefix}}static/user.css" /> <link rel="stylesheet" href="{{prefix}}static/user.css" />
<script src="{{prefix}}static/nntpchan.js" type="text/javascript"> <script src="{{prefix}}static/nntpchan.js" type="text/javascript">
</script> </script>
<script>
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
</script>
<title> {{frontend}} on nntpchan </title> <title> {{frontend}} on nntpchan </title>
</head> </head>
<body> <body>
@ -30,7 +34,7 @@
<h3>Fork on github: <a href="https://github.com/majestrate/nntpchan/">frontend</a> and <a href="https://github.com/majestrate/srndv2/">core</a></h3> <h3>Fork on github: <a href="https://github.com/majestrate/nntpchan/">frontend</a> and <a href="https://github.com/majestrate/srndv2/">core</a></h3>
<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 id="nntpchan_banner">
[banner] [banner]
</div> </div>
<div class="index-inner"> <div class="index-inner">

View File

@ -18,6 +18,10 @@
<link rel="stylesheet" href="{{thread.Prefix}}static/site.css" /> <link rel="stylesheet" href="{{thread.Prefix}}static/site.css" />
<link rel="stylesheet" href="{{thread.Prefix}}static/user.css" /> <link rel="stylesheet" href="{{thread.Prefix}}static/user.css" />
<script type="text/javascript" src="{{thread.Prefix}}static/nntpchan.js"></script> <script type="text/javascript" src="{{thread.Prefix}}static/nntpchan.js"></script>
<script>
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
</script>
<title> {{thread.OP.Subject}} </title> <title> {{thread.OP.Subject}} </title>
</head> </head>
<body> <body>
@ -31,7 +35,8 @@
{{{form}}} {{{form}}}
</div> </div>
<hr /> <hr />
<div onload="nntpchan_inject_banners(this, '{{thread.Prefix}}');"> <div id="nntpchan_banner">
[banner]
</div> </div>
<div class="thread" id="thread_{{thread.OP.PostHash}}"> <div class="thread" id="thread_{{thread.OP.PostHash}}">
<div class="thread_header"> <div class="thread_header">

View File

@ -11,9 +11,13 @@
<link rel="stylesheet" href="{{prefix}}static/site.css" /> <link rel="stylesheet" href="{{prefix}}static/site.css" />
<link rel="stylesheet" href="{{prefix}}static/user.css" /> <link rel="stylesheet" href="{{prefix}}static/user.css" />
<script type="text/javascript" src="{{prefix}}static/nntpchan.js"></script> <script type="text/javascript" src="{{prefix}}static/nntpchan.js"></script>
<script>
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
</script>
</head> </head>
<body> <body>
<div onload="nntpchan_inject_banners(this, '{{prefix}}');"> <div id="nntpchan_banner">
[banner] [banner]
</div> </div>
<div id="ukko_threads"> <div id="ukko_threads">