diff --git a/contrib/static/faq.html b/contrib/static/faq.html index aaf532d..d376554 100644 --- a/contrib/static/faq.html +++ b/contrib/static/faq.html @@ -1,60 +1,30 @@ - -
- --
-
-
-
-
-
-
-
-
nntpchan faq
+Please send any gripes/questions/inqueries/suggestions/complaints to ampernand [|at\] gmail {dot} com with subject starting with "nntpchan question"
+ + diff --git a/contrib/static/user.css b/contrib/static/user.css index 0ce6d9d..0bd2d1c 100644 --- a/contrib/static/user.css +++ b/contrib/static/user.css @@ -1,3 +1,5 @@ -/* - put your custom stylesheet here -*/ \ No newline at end of file +body{font-family:monospace} +dl{max-width:80ch} +dd{margin-left:2ch;overflow:auto} +.memearrows{color:green} +pre{margin: 0 0 0 0} \ No newline at end of file diff --git a/contrib/templates/default-orig/board.mustache b/contrib/templates/default-orig/board.mustache new file mode 100644 index 0000000..c438588 --- /dev/null +++ b/contrib/templates/default-orig/board.mustache @@ -0,0 +1,47 @@ +{{! + board.mustache, displays the contents of page N of the board + + template parameters: + - board ( the model of the current page ) + - page ( the page number of the current page ) + + board has the properties: + - Prefix ( absolute path like //site.tld/ or /path/ ) + - Board ( the name of the board ) + - Navbar ( a function that renders the navbar, should not be escaped ) + - Threads ( a list of Thread Models with the last few replies ) +}} + + + + + + + +| Board | +Post per Hour | +Post per Day | +Total | +
|---|---|---|---|
| + {{Board}} + | ++ {{Hour}} + | ++ {{Day}} + | ++ {{All}} + | +
| + {{{postsgraph.Render}}} + | +
+ {{! todo: move boardgraph into its own file like postsgraph }}
+
|
+
| Month | +Posts | ++ |
|---|---|---|
| {{Date}} | +{{Num}} | +{{OvercockGraph}} | +
New Tripcode: ++ + \ No newline at end of file diff --git a/contrib/templates/default-orig/modlogin.mustache b/contrib/templates/default-orig/modlogin.mustache new file mode 100644 index 0000000..fb8e584 --- /dev/null +++ b/contrib/templates/default-orig/modlogin.mustache @@ -0,0 +1,14 @@ + + + + +secret: {{secret}}public: {{public}}tripcode: {{{tripcode}}}+
{{message}}
+ + \ No newline at end of file diff --git a/contrib/templates/default-orig/modpage.mustache b/contrib/templates/default-orig/modpage.mustache new file mode 100644 index 0000000..938beb5 --- /dev/null +++ b/contrib/templates/default-orig/modpage.mustache @@ -0,0 +1,83 @@ +{{! + modpage.mustache -- the moderator panel when logged in + template parameters: + - prefix ( the site's prefix ) + +}} + + + + + +make your first post
+| Newsgroup | +Posted | +Subject | +
|---|---|---|
| {{Board}} | +{{Date}} | +{{Truncate.Subject}} | +
post failed: {{reason}}
+ + \ No newline at end of file diff --git a/contrib/templates/default-orig/post_retry.mustache b/contrib/templates/default-orig/post_retry.mustache new file mode 100644 index 0000000..93a79d9 --- /dev/null +++ b/contrib/templates/default-orig/post_retry.mustache @@ -0,0 +1,48 @@ + + +posted as {{message_id}}
+
+
\ No newline at end of file
diff --git a/contrib/templates/default-orig/postform.mustache b/contrib/templates/default-orig/postform.mustache
new file mode 100644
index 0000000..c2427b9
--- /dev/null
+++ b/contrib/templates/default-orig/postform.mustache
@@ -0,0 +1,77 @@
+{{!
+ postform.mustache -- the form for posting
+
+ template parameters:
+ - post_url ( the url of the post form )
+ - reference ( the post we are replying to, or empty string if it's an op )
+ - button ( the text for the reply button )
+ }}
+
+
diff --git a/contrib/templates/default-orig/posts_graph.mustache b/contrib/templates/default-orig/posts_graph.mustache
new file mode 100644
index 0000000..7dfd6a1
--- /dev/null
+++ b/contrib/templates/default-orig/posts_graph.mustache
@@ -0,0 +1,25 @@
+{{!
+posts graph.mustache -- post frequence graph
+parameters:
+
+ * graph - a postsGraph instance (see srnd/model.go)
+}}
+
+| Day | +Posts | ++ |
|---|---|---|
| {{Day}} | +{{Num}} | +{{OvercockGraph}} | +
| Board | -Post per Hour | -Post per Day | -Total | -
|---|---|---|---|
| - {{Board}} - | -- {{Hour}} - | -- {{Day}} - | -- {{All}} - | -
| board | +posts per hour | +posts per day | +total | +
|---|---|---|---|
| + {{Board}} + | ++ {{Hour}} + | ++ {{Day}} + | ++ {{All}} + | +