Add master, footer and header templates to lib.
This commit is contained in:
parent
431b8c7eae
commit
b6086753db
3 changed files with 62 additions and 0 deletions
40
lib/default_master.tpl
Normal file
40
lib/default_master.tpl
Normal file
|
|
@ -0,0 +1,40 @@
|
||||||
|
|
||||||
|
<div id="header">
|
||||||
|
<div class="superHeader">
|
||||||
|
% cat `{ get_lib_file top_bar.inc }
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="midHeader">
|
||||||
|
% gentitle
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="subHeader">
|
||||||
|
<br />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
% if (! ~ $#sidebar 0) {
|
||||||
|
<div id="side-bar">
|
||||||
|
|
||||||
|
<div>
|
||||||
|
% if (! ~ $#sideBarNavTitle 0) {
|
||||||
|
% echo '<p class="sideBarTitle">'$"sideBarNavTitle':</p>'
|
||||||
|
% }
|
||||||
|
% gensidebar
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
% }
|
||||||
|
|
||||||
|
<div id="main-copy">
|
||||||
|
|
||||||
|
% genbody
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="footer">
|
||||||
|
% cat `{ get_lib_file footer.inc }
|
||||||
|
</div>
|
||||||
6
lib/footer.inc
Normal file
6
lib/footer.inc
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
<div class="left"><a href="http://repo.cat-v.org/werc/">Powered by werc</a></div>
|
||||||
|
|
||||||
|
<div class="right"><!-- TODO Maybe should add a programatically generated google search box --></div>
|
||||||
|
|
||||||
|
<br />
|
||||||
|
<br class="doNotDisplay doNotPrint" />
|
||||||
16
lib/top_bar.inc
Normal file
16
lib/top_bar.inc
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
<div class="left">
|
||||||
|
<a href="http://gsoc.cat-v.org">gsoc</a> |
|
||||||
|
<a href="http://doc.cat-v.org">doc archive</a> |
|
||||||
|
<a href="http://repo.cat-v.org">software repo</a> |
|
||||||
|
<a href="http://ninetimes.cat-v.org">ninetimes</a> |
|
||||||
|
<a href="http://harmful.cat-v.org">harmful</a> |
|
||||||
|
<a href="http://9p.cat-v.org/">9P</a> |
|
||||||
|
<a href="http://cat-v.org">cat-v.org</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="right">
|
||||||
|
<span class="doNotDisplay">Related sites:</span>
|
||||||
|
| <a href="http://cat-v.org/update_log">site updates</a>
|
||||||
|
| <a href="/sitemap">site map</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue