Created
November 25, 2011 13:38
-
-
Save kimarx/1393548 to your computer and use it in GitHub Desktop.
2ch like thread's template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> | |
<style type="text/css"> | |
<!-- | |
* { | |
margin: 0; | |
padding: 0; | |
} | |
body { background-color: rgb(239, 239, 239); } | |
div#header, div.nav { | |
font-family: "Droid Sans", sans-serif; | |
} | |
h1 { | |
padding: 0.5em 0.5em; | |
color: red; | |
font-size: larger; | |
} | |
dl { line-height: 1.5em } | |
dt { padding-left: 0.5em; } | |
dd { | |
padding-bottom: 1.0em; | |
padding-left: 2.0em; | |
white-space: nowrap; | |
} | |
body > div { margin: 0; } | |
span.name { color: rgb(0, 128, 0); font-weight: bold; } | |
span.name > * { font-weight: bold; } | |
div#article { | |
border-top: solid 1px rgb(56, 32, 82); | |
border-bottom: solid 1px rgb(56, 32, 82); | |
padding: 1.0em 0; | |
} | |
div#footer > form > * { margin: 0.25em; } | |
div#footer > form { padding-bottom: 3.5em; } | |
div.nav { | |
padding: 0.5em 0.25em 0.25em; | |
font-size: 1.10em; | |
} | |
dt { font-family: sans-serif; letter-spacing: 0.05em; } | |
div.nav > * { font-family: sans-serif; letter-spacing: 0.05em; } | |
--> | |
</style> | |
<base href="<TMPL_VAR ESCAPE=HTML NAME="BASE">" /> | |
<script type="text/javascript" src="./js/jquery-1.4.2.min.js"></script> | |
<!-- <script type="text/javascript" src="./js/AutoLink.js"></script> --> | |
<title> | |
<TMPL_VAR NAME="TITLE"> | |
</title> | |
</head> | |
<body> | |
<div class="nav"> | |
<TMPL_VAR NAME="NAV"> | |
</div> | |
<div id="header"> | |
</div> | |
<div id="article"> | |
<h1> | |
<TMPL_VAR NAME="TITLE"> | |
</h1> | |
<dl id="thread"> | |
<TMPL_LOOP NAME="THREAD"> | |
<dt> | |
<TMPL_VAR NAME="ID"> : | |
<span class="name"><TMPL_VAR NAME="NAME"></span> : | |
<TMPL_VAR NAME="DATE"> | |
</dt> | |
<dd> | |
<TMPL_VAR NAME="MESSAGE"> | |
</dd> | |
</TMPL_LOOP> | |
</dl> | |
</div> | |
<div class="nav"> | |
<TMPL_VAR NAME="NAV"> | |
</div> | |
<div id="footer"> | |
<form method="POST"> | |
<input type="submit" name="submit" value="POST"/> | |
NAME: <input size="19" name="name"/> | |
MAIL: <input size="19" name="mail"/> | |
<br /> | |
<textarea name="message" wrap="off" cols="70" rows="5"></textarea> | |
<input type="hidden" value="<TMPL_VAR ESCAPE=HTML NAME="KEY">" name="key"/> | |
</form> | |
</div> | |
</body> | |
</html> | |
<!-- Local Variables: --> | |
<!-- mode: html --> | |
<!-- coding: utf-8 --> | |
<!-- End: --> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment