-rw-r--r-- | htdocs/ancestry/layout.chtml | 4 | ||||
-rw-r--r-- | htdocs/ancestry/sources.chtml | 4 | ||||
-rw-r--r-- | htdocs/examples/calendar.chtml | 1 | ||||
-rw-r--r-- | htdocs/index.chtml | 8 | ||||
-rw-r--r-- | htdocs/quickref/index.chtml | 3 | ||||
-rw-r--r-- | htdocs/quickref/metasyntax.chtml | 37 | ||||
-rw-r--r-- | htdocs/style.css | 8 |
7 files changed, 53 insertions, 12 deletions
diff --git a/htdocs/ancestry/layout.chtml b/htdocs/ancestry/layout.chtml index df34ad7..4551d04 100644 --- a/htdocs/ancestry/layout.chtml +++ b/htdocs/ancestry/layout.chtml | |||
@@ -24,6 +24,6 @@ | |||
24 | % if(!(urlPrev.empty() || descPrev.empty())) { | 24 | % if(!(urlPrev.empty() || descPrev.empty())) { |
25 | <a class="prevnext-prev" href="<% urlPrev %>" title="<% sitecing::html_escape(titlePrev.empty()?descPrev:titlePrev) %>"><% sitecing::html_escape(descPrev) %></a> | 25 | <a class="prevnext-prev" href="<% urlPrev %>" title="<% sitecing::html_escape(titlePrev.empty()?descPrev:titlePrev) %>">◄ <% sitecing::html_escape(descPrev) %></a> |
26 | % } | 26 | % } |
27 | % if(!(urlNext.empty() || descNext.empty())) { | 27 | % if(!(urlNext.empty() || descNext.empty())) { |
28 | <a class="prevnext-next" href="<% urlNext %>" title="<% sitecing::html_escape(titleNext.empty()?descNext:titleNext) %>"><% sitecing::html_escape(descNext) %></a> | 28 | <a class="prevnext-next" href="<% urlNext %>" title="<% sitecing::html_escape(titleNext.empty()?descNext:titleNext) %>"><% sitecing::html_escape(descNext) %> ►</a> |
29 | % } | 29 | % } |
diff --git a/htdocs/ancestry/sources.chtml b/htdocs/ancestry/sources.chtml index 35ced64..1d9fcc9 100644 --- a/htdocs/ancestry/sources.chtml +++ b/htdocs/ancestry/sources.chtml | |||
@@ -62,2 +62,6 @@ | |||
62 | { 0,0,0 }, | 62 | { 0,0,0 }, |
63 | { "htdocs/quickref", 0, "reference documentation" }, | ||
64 | { "htdocs/quickref", "index.chtml", "the overview" }, | ||
65 | { "htdocs/quickref", "metasyntax.chtml", "component meta syntax quick reference" }, | ||
66 | { 0,0,0 }, | ||
63 | { 0,0,0 }, | 67 | { 0,0,0 }, |
diff --git a/htdocs/examples/calendar.chtml b/htdocs/examples/calendar.chtml index eea20cb..85aa7ba 100644 --- a/htdocs/examples/calendar.chtml +++ b/htdocs/examples/calendar.chtml | |||
@@ -6,2 +6,3 @@ | |||
6 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | 6 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
7 | % __SCIF->flush(); | ||
7 | <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> | 8 | <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> |
diff --git a/htdocs/index.chtml b/htdocs/index.chtml index e8cedda..20d34c2 100644 --- a/htdocs/index.chtml +++ b/htdocs/index.chtml | |||
@@ -35,5 +35,7 @@ | |||
35 | href="mailto:sitecing-patches@klever.net">welcome</a>). Also note that you | 35 | href="mailto:sitecing-patches@klever.net">welcome</a>). Also note that you |
36 | will need <a href="http://fastcgi.com/">mod_fastcgi</a> apache module, which | 36 | may need <a href="http://fastcgi.com/">mod_fastcgi</a> apache module, |
37 | is the only CGI-interface supported by the <em>site-C-ing</em> engine at the | 37 | although now that fastcgi is not the only supported interface you may get the |
38 | moment. | 38 | thing running with 'plain' CGI with a bit of tweaking. Again, if you got it |
39 | working without breaking the fastcgi part your patches are <a | ||
40 | href="mailto:sitecing-patches@klever.net">welcome</a>. | ||
39 | </p> | 41 | </p> |
diff --git a/htdocs/quickref/index.chtml b/htdocs/quickref/index.chtml index 20ef217..d139190 100644 --- a/htdocs/quickref/index.chtml +++ b/htdocs/quickref/index.chtml | |||
@@ -13,3 +13,4 @@ | |||
13 | I am hoping to put together some quick reference documentation here. For now, | 13 | I am hoping to put together some quick reference documentation here. For now, |
14 | I am adding the component meta-syntax quick reference. | 14 | I am adding the <a href="/quickref/metasyntax">component meta-syntax quick |
15 | reference</a>. | ||
15 | </p> | 16 | </p> |
diff --git a/htdocs/quickref/metasyntax.chtml b/htdocs/quickref/metasyntax.chtml index a63f596..4efc37c 100644 --- a/htdocs/quickref/metasyntax.chtml +++ b/htdocs/quickref/metasyntax.chtml | |||
@@ -45,5 +45,6 @@ | |||
45 | <blockquote class="qr_sample"> | 45 | <blockquote class="qr_sample"> |
46 | <div> | ||
46 | <body><br/> | 47 | <body><br/> |
48 | Here is the way we count.<br/><br/> | ||
47 | <em><a href="#qr__line" title="% description">%</a> for(int t=0;t<10;t++) {<br/></em> | 49 | <em><a href="#qr__line" title="% description">%</a> for(int t=0;t<10;t++) {<br/></em> |
48 | Here is the way we count.<br/><br/> | ||
49 | Just saying out loud: <a href="#qr__inline" title="<% ... %> description"><%</a> t <a href="#qr__inline" title="<% ... %> description">%></a><br/><br/> | 50 | Just saying out loud: <a href="#qr__inline" title="<% ... %> description"><%</a> t <a href="#qr__inline" title="<% ... %> description">%></a><br/><br/> |
@@ -51,2 +52,3 @@ | |||
51 | </body> | 52 | </body> |
53 | </div> | ||
52 | </blockquote> | 54 | </blockquote> |
@@ -65,6 +67,8 @@ | |||
65 | <blockquote class="qr_sample"> | 67 | <blockquote class="qr_sample"> |
68 | <div> | ||
69 | Here is the way we count.<br/><br/> | ||
66 | <a href="#qr__line" title="% description">%</a> for(int t=0;t<10;t++) {<br/> | 70 | <a href="#qr__line" title="% description">%</a> for(int t=0;t<10;t++) {<br/> |
67 | Here is the way we count.<br/><br/> | ||
68 | <em> Just saying out loud: <a href="#qr__inline" title="<% ... %> description"><%</a> t <a href="#qr__inline" title="<% ... %> description">%></a><br/><br/></em> | 71 | <em> Just saying out loud: <a href="#qr__inline" title="<% ... %> description"><%</a> t <a href="#qr__inline" title="<% ... %> description">%></a><br/><br/></em> |
69 | <a href="#qr__line" title="% description">%</a> } | 72 | <a href="#qr__line" title="% description">%</a> } |
73 | </div> | ||
70 | </blockquote> | 74 | </blockquote> |
@@ -81,2 +85,3 @@ | |||
81 | <dd> | 85 | <dd> |
86 | <p> | ||
82 | Escape from the output mode to code mode. Opposite to <code><a href="#qr__output" title="<%output> description"><%output></a></code>. Roughly the same as <code><a href="#qr__output" title="<%output> description"></%output></a> <kbd>...</kbd> <a href="#qr__output" title="<%output> description"><%output></a></code> (note the reverse order), but more self-explanatory and applies to more cases. | 87 | Escape from the output mode to code mode. Opposite to <code><a href="#qr__output" title="<%output> description"><%output></a></code>. Roughly the same as <code><a href="#qr__output" title="<%output> description"></%output></a> <kbd>...</kbd> <a href="#qr__output" title="<%output> description"><%output></a></code> (note the reverse order), but more self-explanatory and applies to more cases. |
@@ -84,2 +89,3 @@ | |||
84 | <blockquote class="qr_sample"> | 89 | <blockquote class="qr_sample"> |
90 | <div> | ||
85 | <body><br/> | 91 | <body><br/> |
@@ -93,2 +99,3 @@ | |||
93 | </body> | 99 | </body> |
100 | </div> | ||
94 | </blockquote> | 101 | </blockquote> |
@@ -111,2 +118,3 @@ | |||
111 | <blockquote class="qr_sample"> | 118 | <blockquote class="qr_sample"> |
119 | <div> | ||
112 | <em><a href="#qr__codemethod" title="<%codemethod ... %> description"><%codemethod</a> std::string ua() <a href="#qr__codemethod" title="<%codemethod ... %> description">%></a><br/> | 120 | <em><a href="#qr__codemethod" title="<%codemethod ... %> description"><%codemethod</a> std::string ua() <a href="#qr__codemethod" title="<%codemethod ... %> description">%></a><br/> |
@@ -115,2 +123,3 @@ | |||
115 | The user agent is: <a href="#qr__inline" title="<% ... %> description"><%</a> ua() <a href="#qr__inline" title="<% ... %> description">%></a><br/> | 123 | The user agent is: <a href="#qr__inline" title="<% ... %> description"><%</a> ua() <a href="#qr__inline" title="<% ... %> description">%></a><br/> |
124 | </div> | ||
116 | </blockquote> | 125 | </blockquote> |
@@ -133,2 +142,3 @@ | |||
133 | <blockquote class="qr_sample"> | 142 | <blockquote class="qr_sample"> |
143 | <div> | ||
134 | <a href="#qr___var" title="%%var description">%%var</a> bool is_msie;<br/> | 144 | <a href="#qr___var" title="%%var description">%%var</a> bool is_msie;<br/> |
@@ -137,2 +147,3 @@ | |||
137 | <a href="#qr__constructor" title="<%constructor> description"></%constructor></a><br/></em> | 147 | <a href="#qr__constructor" title="<%constructor> description"></%constructor></a><br/></em> |
148 | </div> | ||
138 | </blockquote> | 149 | </blockquote> |
@@ -161,2 +172,3 @@ | |||
161 | <blockquote class="qr_sample"> | 172 | <blockquote class="qr_sample"> |
173 | <div> | ||
162 | <em><a href="#qr___decl" title="%%decl description">%%decl</a> #include <string><br/></em> | 174 | <em><a href="#qr___decl" title="%%decl description">%%decl</a> #include <string><br/></em> |
@@ -169,2 +181,3 @@ | |||
169 | <a href="#qr__method" title="<%method ... %> description"></%method></a> | 181 | <a href="#qr__method" title="<%method ... %> description"></%method></a> |
182 | </div> | ||
170 | </blockquote> | 183 | </blockquote> |
@@ -183,4 +196,6 @@ | |||
183 | <blockquote class="qr_sample"> | 196 | <blockquote class="qr_sample"> |
197 | <div> | ||
184 | <em><a href="#qr___derive" title="%%derive description">%%derive</a> pagelayout = "/ancestry/page_layout.chtml";<br/></em> | 198 | <em><a href="#qr___derive" title="%%derive description">%%derive</a> pagelayout = "/ancestry/page_layout.chtml";<br/></em> |
185 | <a href="#qr__line" title="% description">%</a> pagelayout::member_function(); | 199 | <a href="#qr__line" title="% description">%</a> pagelayout::member_function(); |
200 | </div> | ||
186 | </blockquote> | 201 | </blockquote> |
@@ -203,2 +218,3 @@ | |||
203 | <blockquote class="qr_sample"> | 218 | <blockquote class="qr_sample"> |
219 | <div> | ||
204 | <a href="#qr___var" title="%%var description">%%var</a> type_t *tmp = 0;<br/> | 220 | <a href="#qr___var" title="%%var description">%%var</a> type_t *tmp = 0;<br/> |
@@ -210,2 +226,3 @@ | |||
210 | <a href="#qr__destructor" title="<%destructor> description"></%destructor></a><br/></em> | 226 | <a href="#qr__destructor" title="<%destructor> description"></%destructor></a><br/></em> |
227 | </div> | ||
211 | </blockquote> | 228 | </blockquote> |
@@ -234,3 +251,4 @@ | |||
234 | <blockquote class="qr_sample"> | 251 | <blockquote class="qr_sample"> |
235 | <em><a href"#qr___impl" title="%%impl description">%%impl</a> #include <string.h><br/></em> | 252 | <div> |
253 | <em><a href="#qr___impl" title="%%impl description">%%impl</a> #include <string.h><br/></em> | ||
236 | <a href="#qr__method" title="<%method ... %gt; description"><%method</a> void output_if_contains(const char *haystack,const char *needle) <a href="#qr__method" title="<%method ... %gt; description">%></a><br/> | 254 | <a href="#qr__method" title="<%method ... %gt; description"><%method</a> void output_if_contains(const char *haystack,const char *needle) <a href="#qr__method" title="<%method ... %gt; description">%></a><br/> |
@@ -253,2 +271,3 @@ | |||
253 | <a href="#qr__method" title="<%method ... %> description"></%method></a><br/> | 271 | <a href="#qr__method" title="<%method ... %> description"></%method></a><br/> |
272 | </div> | ||
254 | </blockquote> | 273 | </blockquote> |
@@ -271,2 +290,3 @@ | |||
271 | <blockquote class="qr_sample"> | 290 | <blockquote class="qr_sample"> |
291 | <div> | ||
272 | <em><a href="#qr__method" title="<%method ... %> description"><%method</a> void emphasized(const char *t) <a href="#qr__method" title="<%method ... %> description">%></a><br/> | 292 | <em><a href="#qr__method" title="<%method ... %> description"><%method</a> void emphasized(const char *t) <a href="#qr__method" title="<%method ... %> description">%></a><br/> |
@@ -275,2 +295,3 @@ | |||
275 | <a href="#qr__line" title="% description">%</a> emphasized("emphasized text"); | 295 | <a href="#qr__line" title="% description">%</a> emphasized("emphasized text"); |
296 | </div> | ||
276 | </blockquote> | 297 | </blockquote> |
@@ -291,2 +312,3 @@ | |||
291 | <blockquote class="qr_sample"> | 312 | <blockquote class="qr_sample"> |
313 | <div> | ||
292 | <a href="#qr__codemethod" title="<%codemethod ... %> description"><%codemethod</a> void count() <a href="#qr__codemethod" title="<%codemethod ... > description">%></a><br/> | 314 | <a href="#qr__codemethod" title="<%codemethod ... %> description"><%codemethod</a> void count() <a href="#qr__codemethod" title="<%codemethod ... > description">%></a><br/> |
@@ -299,2 +321,3 @@ | |||
299 | <a href="#qr__line" title="% description">%</a> count(); | 321 | <a href="#qr__line" title="% description">%</a> count(); |
322 | </div> | ||
300 | </blockquote> | 323 | </blockquote> |
@@ -317,4 +340,6 @@ | |||
317 | <blockquote class="qr_sample"> | 340 | <blockquote class="qr_sample"> |
341 | <div> | ||
318 | <a href="#qr___derive" title="%%derive description">%%derive</a> pagelayout = "/ancestry/page_layout.chtml";<br/> | 342 | <a href="#qr___derive" title="%%derive description">%%derive</a> pagelayout = "/ancestry/page_layout.chtml";<br/> |
319 | <em><a href="#qr___pragma" title="%%pragma description">%%pragma</a> main=pagelayout</em> | 343 | <em><a href="#qr___pragma" title="%%pragma description">%%pragma</a> main=pagelayout</em> |
344 | </div> | ||
320 | </blockquote> | 345 | </blockquote> |
@@ -325,4 +350,4 @@ | |||
325 | <a id="qr___var" name="qr___var" title="member variable declaration"> | 350 | <a id="qr___var" name="qr___var" title="member variable declaration"> |
326 | <code>%%var <kbd>type_t</kbd> <kbd>varname</kbd>;<br/> | 351 | <code>%%var <kbd>type_t</kbd> <kbd>varname</kbd>;</code><br/> |
327 | <code>%%var <kbd>type_t</kbd> <kbd>varname</kbd> = <kbd>initalizer</kbd>;<br/> | 352 | <code>%%var <kbd>type_t</kbd> <kbd>varname</kbd> = <kbd>initalizer</kbd>;</code><br/> |
328 | </a> | 353 | </a> |
@@ -336,2 +361,3 @@ | |||
336 | <blockquote class="qr_sample"> | 361 | <blockquote class="qr_sample"> |
362 | <div> | ||
337 | <em><a href="#qr___var" title="%%var description">%%var</a> std::string strval = "default value";<br/> | 363 | <em><a href="#qr___var" title="%%var description">%%var</a> std::string strval = "default value";<br/> |
@@ -339,2 +365,3 @@ | |||
339 | <a href="#qr___var" title="%%var description">%%var</a> int whatnot;</em> | 365 | <a href="#qr___var" title="%%var description">%%var</a> int whatnot;</em> |
366 | </div> | ||
340 | </blockquote> | 367 | </blockquote> |
diff --git a/htdocs/style.css b/htdocs/style.css index 96e4c59..28aa8df 100644 --- a/htdocs/style.css +++ b/htdocs/style.css | |||
@@ -216,2 +216,3 @@ div.prevnext a:hover { | |||
216 | color: white; | 216 | color: white; |
217 | text-decoration: none; | ||
217 | } | 218 | } |
@@ -226,2 +227,3 @@ dl.quickref { | |||
226 | margin: 1ex 1em; | 227 | margin: 1ex 1em; |
228 | overflow: hidden; | ||
227 | } | 229 | } |
@@ -236,3 +238,4 @@ dl.quickref dd { | |||
236 | padding: 0px; | 238 | padding: 0px; |
237 | border: 1px solid grey; | 239 | border: 1px solid gray; |
240 | overflow: hidden; | ||
238 | } | 241 | } |
@@ -247,2 +250,4 @@ dl.quickref blockquote { | |||
247 | font-family: monospace; | 250 | font-family: monospace; |
251 | font-size: 90%; | ||
252 | overflow: hidden; | ||
248 | } | 253 | } |
@@ -255,2 +260,3 @@ dl.quickref blockquote em { | |||
255 | background: #ffc0c0; | 260 | background: #ffc0c0; |
261 | overflow: hidden; | ||
256 | } | 262 | } |