Archived
1
0

workaroung static not being hosted recursively

This commit is contained in:
chen-chan 2015-12-23 05:04:50 +01:00
parent 7d89ab06c7
commit 111522d08e
11 changed files with 11 additions and 16 deletions

View File

@ -1,5 +0,0 @@
body{font-family:monospace}
dl{max-width:80ch}
dd{margin-left:2ch;overflow:auto}
.memearrows{color:green}
pre{margin: 0 0 0 0}

View File

@ -11,7 +11,7 @@
- Navbar ( a function that renders the navbar, should not be escaped ) - Navbar ( a function that renders the navbar, should not be escaped )
- Threads ( a list of Thread Models with the last few replies ) - Threads ( a list of Thread Models with the last few replies )
}} }}
<!doctype html><html><head><link rel="stylesheet" href="/static/chen-chan/main.css"><title>{{board.Board}}</title></head><body> <!doctype html><html><head><link rel="stylesheet" href="/static/chen-chan.css"><title>{{board.Board}}</title></head><body>
{{{board.Navbar}}} {{{board.Navbar}}}
{{{form}}} {{{form}}}
<dl> <dl>

View File

@ -5,7 +5,7 @@
- frontend ( the name of the frontend ) - frontend ( the name of the frontend )
- prefix ( the site's prefix ) - prefix ( the site's prefix )
}} }}
<!doctype html><html><head><link rel="stylesheet" href="/static/chen-chan/main.css"><title>{{frontend}} boards</title></head><body> <!doctype html><html><head><link rel="stylesheet" href="/static/chen-chan.css"><title>{{frontend}} boards</title></head><body>
<table> <table>
<tr> <tr>
<th>board</th> <th>board</th>

View File

@ -8,4 +8,4 @@
- frontend ( the name of the frontend ) - frontend ( the name of the frontend )
- prefix ( the site's prefix ) - prefix ( the site's prefix )
}} }}
<!doctype html><html><head><link rel="stylesheet" href="/static/chen-chan/main.css"><title>{{frontend}} on nntpchan</title></head><body><p>{{frontend}} on nntpchan</p><p><a href="ukko.html">overboard</a> <a href="{{prefix}}boards.html">boards</a> <a href="{{prefix}}static/chen-chan/faq.html">faq</a></p><dl><dt>last posts:</dt><dd>{{{overview.Render}}}</dd></dl><dl><dt>board stats:</dt><dd><table><tr><th>board</th><th>posts this hour</th><th>posts today</th><th>total</th></tr>{{# boardgraph}}<tr><td><a href="{{prefix}}{{Board}}-0.html">{{Board}}</a></td><td>{{Hour}}</td><td>{{Day}}</td><td>{{All}}</td></tr>{{/ boardgraph}}</table></dd></dl><dl><dt>total stats:</dt><dd>{{{postsgraph.Render}}}</dd></dl><p>{{totalposts}} posts total</p></body></html> <!doctype html><html><head><link rel="stylesheet" href="/static/chen-chan.css"><title>{{frontend}} on nntpchan</title></head><body><p>{{frontend}} on nntpchan</p><p><a href="ukko.html">overboard</a> <a href="{{prefix}}boards.html">boards</a> <a href="{{prefix}}chen-chan-faq.html">faq</a></p><dl><dt>last posts:</dt><dd>{{{overview.Render}}}</dd></dl><dl><dt>board stats:</dt><dd><table><tr><th>board</th><th>posts this hour</th><th>posts today</th><th>total</th></tr>{{# boardgraph}}<tr><td><a href="{{prefix}}{{Board}}-0.html">{{Board}}</a></td><td>{{Hour}}</td><td>{{Day}}</td><td>{{All}}</td></tr>{{/ boardgraph}}</table></dd></dl><dl><dt>total stats:</dt><dd>{{{postsgraph.Render}}}</dd></dl><p>{{totalposts}} posts total</p></body></html>

View File

@ -7,8 +7,8 @@ template parameters:
<html> <html>
<head> <head>
<meta charset="utf-8"></meta> <meta charset="utf-8"></meta>
<link rel="stylesheet" href="{{prefix}}static/site.css" /> <link rel="stylesheet" href="{{prefix}}site.css" />
<link rel="stylesheet" href="{{prefix}}static/user.css" /> <link rel="stylesheet" href="{{prefix}}user.css" />
<title> Post History</title> <title> Post History</title>
</head> </head>
<body> <body>

View File

@ -1,4 +1,4 @@
<!doctype html><html><head><link rel="stylesheet" href="{{prefix}}static/chen-chan/main.css"><title>login</title></head><body> <!doctype html><html><head><link rel="stylesheet" href="{{prefix}}static/chen-chan.css"><title>login</title></head><body>
<form action="login" method="POST" name="modlogin"> <form action="login" method="POST" name="modlogin">
<label for="mod_key">secret</label> <label for="mod_key">secret</label>
<input type="password" id="mod_key" name="privkey"> <input type="password" id="mod_key" name="privkey">

View File

@ -4,9 +4,9 @@
- prefix ( the site's prefix ) - prefix ( the site's prefix )
}} }}
<!doctype html><html><head> <!doctype html><html><head>
<link rel="stylesheet" href="{{prefix}}static/chen-chan/main.css"> <link rel="stylesheet" href="{{prefix}}static/chen-chan.css">
<!-- yes it uses js --> <!-- yes it uses js -->
<script src="{{prefix}}static/mod.js"></script> <script src="{{prefix}}mod.js"></script>
<title>nntpchan mod page</title> <title>nntpchan mod page</title>
</head><body> </head><body>
<dl> <dl>

View File

@ -1,4 +1,4 @@
<html><head><link rel="stylesheet" href="/static/chen-chan/main.css"><title>try again</title></head><body> <html><head><link rel="stylesheet" href="/static/chen-chan.css"><title>try again</title></head><body>
<form enctype="multipart/form-data" name="post" method="post"> <form enctype="multipart/form-data" name="post" method="post">
{{#attachment}} {{#attachment}}
<input type="hidden" name="attachment_data" value="{{attachment}}"> <input type="hidden" name="attachment_data" value="{{attachment}}">

View File

@ -11,7 +11,7 @@
- Board , the name of the Board this thread is on - Board , the name of the Board this thread is on
- BoardURL , the url that points to the board index page - BoardURL , the url that points to the board index page
}} }}
<!doctype html><html><head><link rel="stylesheet" href="/static/chen-chan/main.css"><title>{{thread.OP.Subject}}</title><script type="text/javascript" src="{{thread.Prefix}}static/nntpchan.js"></script></head><body> <!doctype html><html><head><link rel="stylesheet" href="/static/chen-chan.css"><title>{{thread.OP.Subject}}</title><script type="text/javascript" src="{{thread.Prefix}}nntpchan.js"></script></head><body>
{{{thread.Navbar}}} {{{thread.Navbar}}}
{{{form}}} {{{form}}}
<dl> <dl>

View File

@ -4,7 +4,7 @@
- prefix ( site prefix ) - prefix ( site prefix )
- threads ( a list of Thread Models that represent the latest threads ) - threads ( a list of Thread Models that represent the latest threads )
}} }}
<!doctype html><html><head><link rel="stylesheet" href="/static/chen-chan/main.css"><title>ukko/overboard</title></head><body> <!doctype html><html><head><link rel="stylesheet" href="/static/chen-chan.css"><title>ukko/overboard</title></head><body>
<a href="/">frontpage</a> <a href="/">frontpage</a>
{{#threads}} {{#threads}}
<hr> <hr>