Permalink
Browse files

Manually added the tt/ dir from ttify

  • Loading branch information...
1 parent 8db4b74 commit 2eb9f8a57cc896efec078fc2696a925035d05f5e @petdance committed May 1, 2007
Showing with 105 additions and 0 deletions.
  1. +33 −0 tt/feedback.tt
  2. +66 −0 tt/section.tt
  3. +6 −0 tt/sidebar.tt
View
@@ -0,0 +1,33 @@
+<hr />
+<h3>We want your feedback</h3>
+If we can improve perl101.org in any way, please let us know with this form.
+<p>
+</p>
+<form method="post" action="/cgi-sys/formmail.pl" enctype="application/x-www-form-urlencoded">
+ <input name="subject" value="p101: [% htmlfile %]" type="hidden">
+ <input name="recipient" value="andy@petdance.com" type="hidden" />
+
+ <input name="return_link_url" value="http://perl101.org/[% htmlfile %]" type="hidden" />
+ <input name="return_link_title" value="Return to Perl 101" type="hidden" />
+ <table>
+ <tbody>
+ <tr>
+ <th align="right">Your name</th>
+ <td><input name="realname" type="text"></td>
+ </tr>
+
+ <tr>
+ <th align="right">Your email</th>
+ <td><input name="email" type="text"></td>
+ </tr>
+ <tr valign="top">
+ <th align="right">Your comment</th>
+ <td>
+ <textarea name="text" rows="10" cols="50"></textarea>
+ <br />
+ <input name=".submit" value="Send" type="submit">
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</form>
View
@@ -0,0 +1,66 @@
+<?xml version="1.0"?>
+<!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">
+ <head>
+ <title>Perl 101 - [% section | html %]</title>
+ <link rel="stylesheet"
+ type="text/css"
+ media="screen"
+ href="static/theme/styles.css" />
+ <link rel="stylesheet"
+ type="text/css"
+ media="print"
+ href="static/theme/print.css" />
+ <link rel="stylesheet"
+ type="text/css"
+ media="handheld"
+ href="static/theme/handheld.css" />
+ <link rel="stylesheet"
+ type="text/css"
+ media="screen"
+ href="static/theme/css/styles/orange.css" />
+ <link rel="stylesheet"
+ type="text/css"
+ media="screen"
+ href="static/theme/css/width/width_default.css" />
+ <link rel="stylesheet"
+ type="text/css"
+ media="screen"
+ href="static/theme/css/sidebar/sidebar_left.css" />
+ </head>
+ <body>
+ <div id="container">
+ <!-- Start container -->
+ <div id="pageHeader">
+ <!-- Start page header -->
+ <a href="/"><img src="static/images/perl101logo.png" border="0" /></a>
+ <h2>Things Every Perl Programmer Should Know</h2>
+ </div><!-- End page header -->
+ <div id="sidebarContainer">
+ <!-- Start Sidebar wrapper -->
+
+ <div class="sideHeader">
+ Topics
+ </div><!-- Sidebar header -->
+ <div id="sidebar">
+ <!-- Start sidebar content -->
+ [% INCLUDE 'sidebar.tt' %]
+ </div><!-- End sidebar content -->
+ </div><!-- End sidebar wrapper -->
+ <div id="contentContainer">
+ <!-- Start main content wrapper -->
+ <div id="content">
+ <!-- Start content -->
+ [% pod %]
+ [% INCLUDE 'feedback.tt' %]
+ <div id="footer">
+ <!-- Start Footer -->
+ <p>&copy; 2007 Andy Lester</p>
+ </div><!-- End Footer -->
+ </div><!-- End content -->
+ </div><!-- End main content wrapper -->
+ </div><!-- End container -->
+ </body>
+</html>
+[%# vi: ft=tt2html
+%]
View
@@ -0,0 +1,6 @@
+<!--- This is the sidebar -->
+<ul>
+[% FOR link IN sidelinks %]
+ <li><a href="[% link.filename %]">[% link.text %]</a></li>
+[% END %]
+</ul>

0 comments on commit 2eb9f8a

Please sign in to comment.