summaryrefslogtreecommitdiffstats
path: root/website/templates/page
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-10-11 18:02:43 +0100
committerRichard W.M. Jones <rjones@redhat.com>2010-10-13 09:49:58 +0100
commit728c0634432b39aacc7650bcdac92243b5817e6b (patch)
treec2ebed1c9c5d8604d70a3d0d94b2ae31819ab627 /website/templates/page
parent968acff01a0c4d20d89881ab20850ff2db2cbad8 (diff)
downloadvirt-tools-728c0634432b39aacc7650bcdac92243b5817e6b.tar.gz
virt-tools-728c0634432b39aacc7650bcdac92243b5817e6b.tar.xz
virt-tools-728c0634432b39aacc7650bcdac92243b5817e6b.zip
virt-tools website using Template Toolkit (incomplete).
Diffstat (limited to 'website/templates/page')
-rw-r--r--website/templates/page56
1 files changed, 56 insertions, 0 deletions
diff --git a/website/templates/page b/website/templates/page
new file mode 100644
index 0000000..93dd573
--- /dev/null
+++ b/website/templates/page
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>[% title %]</title>
+<meta name="description" content="Virt Tools are open source virtualization management tools for Linux system administrators. This site provides tutorials, videos, documentation, online help and roadmaps to help you understand and get started with the tools." />
+<meta name="keywords" content="virsh, virt-install, virt-manager, virt-top, virt-df, virt-p2v, virt-v2v, virt-viewer, virt-df, ncftool, augeas, aug-tool, guestfish, guestfs-browser, hivex, libguestfs, virt-what" />
+<link rel="stylesheet" href="[% topdir %]/css/standard.css" type="text/css" title="Standard"/>
+[% IF local_stylesheet %]<link rel="stylesheet" href="style.css" type="text/css" title="Standard"/>[% END %]
+<link rel="alternate stylesheet" href="[% topdir %]/css/easytoread.css" type="text/css" title="High contrast, big fonts"/>
+</head>
+<body>
+<h1><span>[% h1 %]</span></h1>
+
+[% IF topdir == "../.." -%]
+<p id="vtbacktosectiontop">
+(from&nbsp;<a href="../">[% section_titles.$section %]</a>)
+</p>
+[%- END %]
+
+<ul id="vtmenu">
+[% FOREACH s IN sections -%]
+ [%- IF section == s -%]
+ [%- IF topdir == "." || topdir == ".." -%]
+ <li class="vtmenuselected">
+ <span>[% section_titles.$s %]</span>
+ </li>
+ [%- ELSE -%]
+ <li class="vtmenuselected">
+ <a href="[% topdir %][% section_paths.$s %]">[% section_titles.$s %]</a>
+ </li>
+ [%- END -%]
+ [%- ELSE -%]
+ <li class="vtmenunotselected">
+ <a href="[% topdir %][% section_paths.$s %]">[% section_titles.$s %]</a>
+ </li>
+ [%- END -%]
+[%- END %]
+</ul>
+
+[% content %]
+
+[% IF topdir == "../.." -%]
+<p id="vtbacktosectionbottom">
+Back to <a href="../">[% section_titles.$section %]</a>.
+</p>
+[%- END %]
+
+<p id="vtfooter">
+Copyright &copy; [% year %] <a href="http://redhat.com/">Red Hat Inc.</a> &mdash;
+License: GPLv2+ &mdash;
+Last updated on [% printable_date %]
+</p>
+
+[%- INCLUDE google_analytics -%]
+</body>
+</html>