author | Michael Krelin <hacker@klever.net> | 2005-02-02 22:30:27 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2005-02-02 22:30:27 (UTC) |
commit | 870963df2dac72e433fd7f94cd1cccc8cd6ea2d0 (patch) (unidiff) | |
tree | edb6a3f9070ca67c9396ce548f28f82107afc119 /htdocs/simple.chtml | |
parent | b9ddf0a5135cf5b3371f38b41385fa8fc03da146 (diff) | |
download | sitecing-870963df2dac72e433fd7f94cd1cccc8cd6ea2d0.zip sitecing-870963df2dac72e433fd7f94cd1cccc8cd6ea2d0.tar.gz sitecing-870963df2dac72e433fd7f94cd1cccc8cd6ea2d0.tar.bz2 |
1. changed version to -svn
2. added a really simple page example
3. removed 'border=' attribute from iframe
4. added notice about svn version
5. added 'site-C-ing:' prefix to the title
-rw-r--r-- | htdocs/simple.chtml | 31 |
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 @@ | |||
1 | % html(); return; /* vim:set ft=sitecing: */ | ||
2 | %%derive layout = "/ancestry/layout.chtml"; | ||
3 | <%constructor> | ||
4 | b_strict = false; | ||
5 | </%constructor> | ||
6 | <%codemethod string title() %> | ||
7 | return "simple page"; | ||
8 | </%codemethod> | ||
9 | <%method void content() %> | ||
10 | <h1>building a really simple page</h1> | ||
11 | <p> | ||
12 | Building a really simple page is really simple. I will not go into much detail | ||
13 | here. The example provided should speak for itself. | ||
14 | </p> | ||
15 | <p> | ||
16 | The component being written doesn't do much but show you the calendar for the | ||
17 | current month. First, take a look at <a | ||
18 | href="/view/htdocs/examples/calendar.chtml" title="the link opens in the frame | ||
19 | below" target="insert">the code</a> and, after you examined it, feel free to check out | ||
20 | <a href="/examples/calendar" title="the link opens in the frame below" | ||
21 | target="insert">the output</a>. | ||
22 | </p> | ||
23 | |||
24 | <div class="insert"> | ||
25 | <iframe id="insert" name="insert" src="about:blank" width="95%" height="300"> | ||
26 | <p>I wanted to put an <iframe> here, but your browser does not seem to | ||
27 | support it. That is okay, it still will open links somehow.</p> | ||
28 | </iframe> | ||
29 | </div> | ||
30 | |||
31 | </%method> | ||