Archived
1
0

initial for catalog

This commit is contained in:
ZiRo 2016-02-19 16:48:41 +01:00
parent 0e0f35e6dc
commit dea611c1ba
3 changed files with 78 additions and 3 deletions

View File

@ -18,7 +18,7 @@ section {
}
.frontend , .subject {
.frontend , .subject, .catalog_subject {
color: #0F0C5D;
}
@ -152,6 +152,30 @@ hr {
margin-top: 2em;
}
.board_header_catalog {
text-align: center;
margin-top: 1em;
}
.catalog_thread {
float: left;
width: 256px;
text-align: center;
padding: 2px;
height: 256px;
overflow: hidden;
background-color: #D6DAF0;
margin: 2px;
border-style: solid;
border-width: 1px;
border-style: solid;
height: 256px;
}
.catalog_header, .catalog_subject {
font-weight: bold;
}
a:hover , a:visited:hover {
color: #ff0000;
}

View File

@ -29,6 +29,7 @@
</div>
</center>
<div class="board_header">{{board.Board}}</div>
<div class="board_header_catalog"><a href="{{board.Prefix}}catalog-{{board.Name}}.html"> Catalog </a></div>
<!-- postform -->
<div id="postform_container">
{{{form}}}
@ -47,7 +48,12 @@
</div>
{{/board.Threads}}
</div>
<div class="pagelist">{{# board.PageList }}[<a href="{{LinkURL}}"> {{Text}} </a>] {{/ board.PageList }}</div>
<div class="pagelist">{{# board.PageList }}[<a href="{{LinkURL}}"> {{Text}} </a>] {{/ board.PageList }}
<span class="navbar-sep">
|
</span>
<a href="{{board.Prefix}}catalog-{{board.Name}}.html"> Catalog </a>
</div>
<script type="text/javascript">
var e = document.getElementById("nntpchan_banner");

View File

@ -0,0 +1,45 @@
<html>
<head>
<meta charset="utf-8" />
<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>Catalog for {{board.Name}}</title>
</head>
<body>
<!-- begin navbar -->
{{{board.Navbar}}}
<!-- end navbar -->
<center>
<div id="nntpchan_banner">
</div>
</center>
<div class="board_header">Catalog for {{board.Name}}</div>
<!-- postform -->
<hr />
<div id="threads_container">
{{#board.Threads}}
<div class="catalog_thread">
<a href="{{OP.PostURL}}">[Open]</a>
<div class="catalog_header">R: {{ReplyCount}} / P: {{Page}}</div>
<div class="catalog_subject">{{OP.Subject}}</div>
<div class="catalog_body">
{{{OP.RenderBody}}}
</div>
</div>
{{/board.Threads}}
</div>
<script type="text/javascript">
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
</script>
<hr/>
<footer>
<p class="legal">All posts on this site are the responsibility of the individual poster and not the administration, pursuant to 47 U.S.C. § 230.</p>
<p class="legal">To make a DMCA request or report illegal content, please contact the administration</p>
</footer>
</body>
</html>