nut/docs/website/web-layout.conf

186 lines
6.5 KiB
Text
Raw Normal View History

2011-01-26 09:35:08 +00:00
#
# Network UPS Tools website layout (based on AsciiDoc's).
# Three division CSS based layout
#
# Simulated frames using CSS (fixed banner and menu, scrolling content).
# NOTE: This layout does not work with IE6.
#
# +-----------------------------------------------------+
# | #layout-banner |
# +--------------+--------------------------------------+
# | | |
# | | |
# | #layout-menu | #layout-content |
# | | |
# | | |
# | | |
# +--------------+--------------------------------------+
#
# Each of the three divisions is enclosed in a same-named *-box division
# which position and size the layout.
#
# - The #layout-content division is a container for AsciiDoc page documents.
# - Documents rendered in the #layout-content use the standard AsciiDoc
# xhtml11 backend stylesheets.
[specialwords]
#emphasizedwords=(?u)\\?\bNetwork UPS Tools\b
#monospacedwords=(?u)\\?\basciidoc\(1\) (?u)\\?\ba2x\(1\)
[header]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Network UPS Tools - {doctitle}</title>
<meta http-equiv="Content-Type" content="text/html; charset={encoding}" />
<meta name="generator" content="AsciiDoc {asciidoc-version}" />
<meta name="description" content="Power Devices support" />
2012-01-24 10:22:33 +00:00
<meta name="keywords" content="NUT, Network UPS Tools, Eaton, APC, Free Software, UPS, Uninterruptible Power Supplies, PDU, Power Distributions Units, Solar Controllers, power, power devices, control, monitor, Linux, Unix, Windows, Mac OS X" />
2011-01-26 09:35:08 +00:00
<link rel="stylesheet" href="{stylesdir=css}/{theme={backend}}.css" type="text/css" />
{doctype-manpage}<link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}-manpage.css" type="text/css" />
ifdef::quirks[]
<link rel="stylesheet" href="{stylesdir=css}/{theme={backend}}-quirks.css" type="text/css" />
endif::quirks[]
<link rel="stylesheet" href="{stylesdir=css}/web-layout.css" type="text/css" />
<link rel="shortcut icon" href="faviconut.ico" />
<link rel="icon" href="faviconut.png" />
ifdef::toc[]
<script type="text/javascript">
/*<![CDATA[*/
window.onload = function()\{generateToc({toclevels=2})\}
/*]]>*/
</script>
<script type="text/javascript" src="{scriptsdir=.}/toc.js"></script>
endif::toc[]
ifdef::hcl[]
<script type="text/javascript" src="{scriptsdir=.}/jquery.js"></script>
<script type="text/javascript" src="{scriptsdir=.}/ups_data.js"></script>
2012-01-24 10:22:33 +00:00
<script type="text/javascript" src="{scriptsdir=.}/nut_jquery.js"></script>
2011-01-26 09:35:08 +00:00
endif::hcl[]
<!--[if lte IE 7]>
<link rel="stylesheet" href="{stylesdir=css}/ie-overrides.css" type="text/css" />
<![endif]-->
<!--[if lte IE 6]>
<script type="text/javascript" src="./scripts/filter_png.js"></script>
<![endif]-->
</head>
<body>
<div id="layout-banner-box">
<div id="layout-banner">
2012-01-24 10:22:33 +00:00
<div id="layout-logo"><img src="images/nut-logo.png" alt="NUT logo" /></div>
2011-01-26 09:35:08 +00:00
<div id="layout-title">Network UPS Tools</div>
<div id="layout-description">Power Devices support</div>
</div>
</div>
<div id="layout-menu-box">
<ul id="layout-menu">
<li><a href="index.html">Home</a></li>
<li><a href="download.html">Download</a></li>
<li><a href="projects.html">Related projects</a></li>
<li><a href="stable-hcl.html">Compatibility</a></li>
<li><a href="documentation.html">Documentation</a></li>
<li><a href="support.html">Support</a></li>
2013-11-24 15:00:12 +00:00
<li><a href="https://github.com/networkupstools/nut/">GitHub</a></li>
<li><a href="https://alioth.debian.org/projects/nut/">Alioth (old)</a></li>
2011-01-26 09:35:08 +00:00
</ul>
2012-08-12 21:39:31 +00:00
<!-- div id="sponsor"><span>Hosted by<br/></span>
<a href="http://sponsor.com"><img src="images/sponsor-logo.png" alt="Sponsor" /></a>
</div -->
2011-01-26 09:35:08 +00:00
</div>
<div id="layout-content-box">
<div id="layout-content">
# Article, book header.
ifndef::doctype-manpage[]
<div id="header">
<h1>{doctitle}</h1>
<span id="author">{author}</span><br />
<span id="email"><tt>&lt;<a href="mailto:{email}">{email}</a>&gt;</tt></span><br />
{authored}<span id="revision">version {revnumber}{revdate?,}</span>
{authored}{revdate}
</div>
ifdef::toc[]
<div id="toc">
<div id="toctitle">Table of Contents</div>
<noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
</div>
endif::toc[]
endif::doctype-manpage[]
# Man page header.
ifdef::doctype-manpage[]
<div id="header">
<h1>
{doctitle} Manual Page
</h1>
ifdef::toc[]
<div id="toc">
<div id="toctitle">Table of Contents</div>
<noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
</div>
endif::toc[]
<h2>NAME</h2>
<div class="sectionbody">
<p>{manname} -
{manpurpose}
</p>
</div>
</div>
endif::doctype-manpage[]
[footer]
<div id="footer">
<div id="footer-text">
Version {revision}<br />
Last updated {localdate} {localtime}
</div>
ifdef::badges[]
<div id="footer-badges">
ifdef::textonly[]
Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a>
and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.
endif::textonly[]
ifndef::textonly[]
<a href="http://www.methods.co.nz/asciidoc/">
<img style="border:0;width:88px;height:31px"
src="images/asciidoc.png"
2012-08-12 21:39:31 +00:00
alt="Powered by AsciiDoc"/>
2011-01-26 09:35:08 +00:00
</a>
<a href="http://validator.w3.org/check?uri=referer">
<img style="border:0;width:88px;height:31px"
src="http://www.w3.org/Icons/valid-xhtml11-blue"
2012-08-12 21:39:31 +00:00
alt="Valid XHTML 1.1"/>
2011-01-26 09:35:08 +00:00
</a>
<a href="http://jigsaw.w3.org/css-validator/check?uri=referer">
<img style="border:0;width:88px;height:31px"
src="http://jigsaw.w3.org/css-validator/images/vcss-blue"
2012-08-12 21:39:31 +00:00
alt="Valid CSS!"/>
2011-01-26 09:35:08 +00:00
</a>
2012-08-12 21:39:31 +00:00
<a href="http://arnaud.quette.fr/tag/About">
<img style="border:0;width:118px;height:38px;"
src="images/hostedby.png"
alt="Hoster"/>
2011-09-29 18:14:46 +00:00
</a>
2011-01-26 09:35:08 +00:00
endif::textonly[]
</div>
endif::badges[]
</div>
</div>
</div>
2011-06-01 20:31:49 +00:00
<!-- Google Analytics integration -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-9664272-1']);
_gaq.push(['_trackPageview']);
2011-01-26 09:35:08 +00:00
2011-06-01 20:31:49 +00:00
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
2011-01-26 09:35:08 +00:00
2011-06-01 20:31:49 +00:00
</script>
2011-01-26 09:35:08 +00:00
endif::analytics[]
</body>
</html>