summaryrefslogtreecommitdiffabout
path: root/htdocs/simple.chtml
Side-by-side diff
Diffstat (limited to 'htdocs/simple.chtml') (more/less context) (ignore whitespace changes)
-rw-r--r--htdocs/simple.chtml31
1 files changed, 31 insertions, 0 deletions
diff --git a/htdocs/simple.chtml b/htdocs/simple.chtml
new file mode 100644
index 0000000..9900f00
--- a/dev/null
+++ b/htdocs/simple.chtml
@@ -0,0 +1,31 @@
+% html(); return; /* vim:set ft=sitecing: */
+%%derive layout = "/ancestry/layout.chtml";
+<%constructor>
+ b_strict = false;
+</%constructor>
+<%codemethod string title() %>
+ return "simple page";
+</%codemethod>
+<%method void content() %>
+ <h1>building a really simple page</h1>
+ <p>
+ Building a really simple page is really simple. I will not go into much detail
+ here. The example provided should speak for itself.
+ </p>
+ <p>
+ The component being written doesn't do much but show you the calendar for the
+ current month. First, take a look at <a
+ href="/view/htdocs/examples/calendar.chtml" title="the link opens in the frame
+ below" target="insert">the code</a> and, after you examined it, feel free to check out
+ <a href="/examples/calendar" title="the link opens in the frame below"
+ target="insert">the output</a>.
+ </p>
+
+ <div class="insert">
+ <iframe id="insert" name="insert" src="about:blank" width="95%" height="300">
+ <p>I wanted to put an &lt;iframe&gt; here, but your browser does not seem to
+ support it. That is okay, it still will open links somehow.</p>
+ </iframe>
+ </div>
+
+</%method>