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

View File

@ -13,6 +13,7 @@
<head> <head>
<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 src="{{prefix}}static/nntpchan.js" type="text/javascript"></script>
<title> {{frontend}} on nntpchan </title> <title> {{frontend}} on nntpchan </title>
</head> </head>
<body> <body>
@ -73,7 +74,7 @@
</div> </div>
</div> </div>
</center> </center>
<script src="{{prefix}}static/nntpchan.js" type="text/javascript"> <script type="text/javascript">
var e = document.getElementById("nntpchan_banner"); var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{prefix}}"); nntpchan_inject_banners(e, "{{prefix}}");
</script> </script>

View File

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

View File

@ -10,6 +10,7 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<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>
</head> </head>
<body> <body>
<div id="nntpchan_banner"> <div id="nntpchan_banner">
@ -32,8 +33,7 @@
</div> </div>
{{/threads}} {{/threads}}
</div> </div>
<script type="text/javascript" src="{{prefix}}static/nntpchan.js"> <script type="text/javascript" >
var e = document.getElementById("nntpchan_banner"); var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{prefix}}"); nntpchan_inject_banners(e, "{{prefix}}");