summaryrefslogtreecommitdiffabout
path: root/htdocs/simple.chtml
Unidiff
Diffstat (limited to 'htdocs/simple.chtml') (more/less context) (ignore whitespace changes)
-rw-r--r--htdocs/simple.chtml3
1 files changed, 2 insertions, 1 deletions
diff --git a/htdocs/simple.chtml b/htdocs/simple.chtml
index 845b840..d538b01 100644
--- a/htdocs/simple.chtml
+++ b/htdocs/simple.chtml
@@ -1,33 +1,34 @@
1% html(); return; /* vim:set ft=sitecing: */ 1% /* vim:set ft=sitecing: */
2%%derive layout = "/ancestry/layout.chtml"; 2%%derive layout = "/ancestry/layout.chtml";
3%%pragma main=page
3<%constructor> 4<%constructor>
4 b_strict = false; 5 b_strict = false;
5 PN_PREV("/","overview","introduction to site-C-ing"); 6 PN_PREV("/","overview","introduction to site-C-ing");
6 PN_NEXT("/exceptions","exceptions","exception handling overview"); 7 PN_NEXT("/exceptions","exceptions","exception handling overview");
7</%constructor> 8</%constructor>
8<%codemethod string title() %> 9<%codemethod string title() %>
9 return "simple page"; 10 return "simple page";
10</%codemethod> 11</%codemethod>
11<%method void content() %> 12<%method void content() %>
12 <h1>building a really simple page</h1> 13 <h1>building a really simple page</h1>
13 <p> 14 <p>
14 Building a really simple page is really simple. I will not go into much detail 15 Building a really simple page is really simple. I will not go into much detail
15 here. The example provided should speak for itself. 16 here. The example provided should speak for itself.
16 </p> 17 </p>
17 <p> 18 <p>
18 The component being written doesn't do much but show you the calendar for the 19 The component being written doesn't do much but show you the calendar for the
19 current month. First, take a look at <a 20 current month. First, take a look at <a
20 href="/view/htdocs/examples/calendar.chtml" title="the link opens in the frame 21 href="/view/htdocs/examples/calendar.chtml" title="the link opens in the frame
21 below" target="insert">the code</a> and, after you examined it, feel free to check out 22 below" target="insert">the code</a> and, after you examined it, feel free to check out
22 <a href="/examples/calendar" title="the link opens in the frame below" 23 <a href="/examples/calendar" title="the link opens in the frame below"
23 target="insert">the output</a>. 24 target="insert">the output</a>.
24 </p> 25 </p>
25 26
26 <div class="insert"> 27 <div class="insert">
27 <iframe id="insert" name="insert" src="about:blank" width="95%" height="300"> 28 <iframe id="insert" name="insert" src="about:blank" width="95%" height="300">
28 <p>I wanted to put an &lt;iframe&gt; here, but your browser does not seem to 29 <p>I wanted to put an &lt;iframe&gt; here, but your browser does not seem to
29 support it. That is okay, it still will open links somehow.</p> 30 support it. That is okay, it still will open links somehow.</p>
30 </iframe> 31 </iframe>
31 </div> 32 </div>
32 33
33</%method> 34</%method>