summaryrefslogtreecommitdiffstats
path: root/website/src/learning/index.html
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/src/learning/index.html
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/src/learning/index.html')
-rw-r--r--website/src/learning/index.html73
1 files changed, 73 insertions, 0 deletions
diff --git a/website/src/learning/index.html b/website/src/learning/index.html
new file mode 100644
index 0000000..af267cb
--- /dev/null
+++ b/website/src/learning/index.html
@@ -0,0 +1,73 @@
+[% topdir = ".." -%]
+[% PROCESS globals -%]
+[% WRAPPER page
+ title = "virt tools: Tutorials and videos"
+ h1 = "virt tools: Tutorials and videos"
+ section = "learning"
+ local_stylesheet = 1
+%]
+
+[% WRAPPER h2 h2="For absolute beginners, start here" anchor="beginners" %]
+
+[% BLOCK element %]
+<li>
+ <a href="[% x.name %]/">[% x.link %]</a>
+ [% x.rest %]
+ <span class="notes">
+ [% IF x.difficulty > 1 %]Difficulty: [% x.difficulty %] out of 5.[% END %]
+ [% IF x.cmdline %]Requires use of the command line.[% END %]
+ [% IF x.author %]Author: [% x.author %].[% END %]
+ [% IF x.date %]Last updated: [% x.date %].[% END %]
+ </span>
+</li>
+[% END %]
+
+<ul>
+[% FOREACH x IN learning_documents -%]
+ [% IF x.difficulty == 0 %][% INCLUDE element %][% END %]
+[%- END %]
+</ul>
+
+[% END %]
+
+[% WRAPPER h2 h2="Tutorials rated <q>easy</q>" anchor="easy" %]
+
+<ul>
+[% FOREACH x IN learning_documents -%]
+ [% IF x.difficulty == 1 %][% INCLUDE element %][% END %]
+[%- END %]
+</ul>
+
+[% END %]
+
+[% WRAPPER h2 h2="Tutorials rated a little harder" anchor="others" %]
+
+<ul>
+[% FOREACH x IN learning_documents -%]
+ [% IF x.difficulty > 1 %][% INCLUDE element %][% END %]
+[%- END %]
+</ul>
+
+[% END %]
+
+[% WRAPPER h2 h2="More help" anchor="more-help" %]
+
+<p>
+Not found what you're looking for?
+<a href="[% topdir %]/contact/">Contact us via our mailing list
+or chat&nbsp;(IRC).</a>
+</p>
+
+[% END %]
+
+[% WRAPPER h2 h2="Contribute" anchor="contribute" %]
+
+<p>
+Do you want to write a tutorial? Do you blog about virt tools?
+Your writings could appear here.
+<a href="[% topdir %]/contact/">Send us a note on the mailing list.</a>
+</p>
+
+[% END %]
+
+[% END -%]