Archived
1
0

i hate js

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

View File

@ -17,6 +17,7 @@
<meta name="viewport" content="initial-scale=1" />
<link rel="stylesheet" href="{{board.Prefix}}static/site.css" />
<link rel="stylesheet" href="{{board.Prefix}}static/user.css" />
<script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js"></script>
<title>{{board.Board}}</title>
</head>
<body>
@ -43,7 +44,7 @@
</div>
{{/board.Threads}}
</div>
<script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js">
<script type="text/javascript">
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");

View File

@ -13,6 +13,7 @@
<head>
<link rel="stylesheet" href="{{prefix}}static/site.css" />
<link rel="stylesheet" href="{{prefix}}static/user.css" />
<script src="{{prefix}}static/nntpchan.js" type="text/javascript"></script>
<title> {{frontend}} on nntpchan </title>
</head>
<body>
@ -73,7 +74,7 @@
</div>
</div>
</center>
<script src="{{prefix}}static/nntpchan.js" type="text/javascript">
<script type="text/javascript">
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{prefix}}");
</script>

View File

@ -17,6 +17,7 @@
<meta name="viewport" content="initial-scale=1" />
<link rel="stylesheet" href="{{thread.Prefix}}static/site.css" />
<link rel="stylesheet" href="{{thread.Prefix}}static/user.css" />
<script src="{{thread.Prefix}}static/nntpchan.js" type="text/javascript"></script>
<title> {{thread.OP.Subject}} </title>
</head>
<body>
@ -41,8 +42,7 @@
{{/ thread.Replies}}
</div>
<br/>
<script src="{{thread.Prefix}}static/nntpchan.js" type="text/javascript">
<script type="text/javascript">
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{thread.Prefix}}");

View File

@ -10,11 +10,12 @@
<meta charset="utf-8" />
<link rel="stylesheet" href="{{prefix}}static/site.css" />
<link rel="stylesheet" href="{{prefix}}static/user.css" />
</head>
<body>
<div id="nntpchan_banner">
</div>
<div id="ukko_threads">
<script type="text/javascript" src="{{prefix}}static/nntpchan.js"></script>
</head>
<body>
<div id="nntpchan_banner">
</div>
<div id="ukko_threads">
{{#threads}}
<!--
<div class="ukko_thread_header">
@ -32,8 +33,7 @@
</div>
{{/threads}}
</div>
<script type="text/javascript" src="{{prefix}}static/nntpchan.js">
<script type="text/javascript" >
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{prefix}}");