diff --git a/contrib/templates/chen-chan/board.mustache b/contrib/templates/chen-chan/board.mustache new file mode 100644 index 0000000..f4cb076 --- /dev/null +++ b/contrib/templates/chen-chan/board.mustache @@ -0,0 +1,34 @@ +{{! + 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.Board}} + + + {{{board.Navbar}}} + {{{form}}} +
+
+ {{#board.Threads}} + {{{OP.Truncate.RenderPost}}} + {{#Truncate.Replies}} + {{{Truncate.RenderPost}}} + {{/Truncate.Replies}} +
+ {{/board.Threads}} +
+ + diff --git a/contrib/templates/chen-chan/boardlist.mustache b/contrib/templates/chen-chan/boardlist.mustache new file mode 100644 index 0000000..e6f0144 --- /dev/null +++ b/contrib/templates/chen-chan/boardlist.mustache @@ -0,0 +1,40 @@ +{{! + boardlist.mustache -- full list of every board + template parameters: + - graph ( a list of 4 string tuples: (board, posts_per_hour, posts_per_day, total_posts) ) + - frontend ( the name of the frontend ) + - prefix ( the site's prefix ) +}} + + + + + {{frontend}} boards + + + + + + + + + + {{# graph}} + + + + + + + {{/ graph}} +
boardposts per hourposts per daytotal
+ {{Board}} + + {{Hour}} + + {{Day}} + + {{All}} +
+ + diff --git a/contrib/templates/chen-chan/frontpage.mustache b/contrib/templates/chen-chan/frontpage.mustache new file mode 100644 index 0000000..1f11e02 --- /dev/null +++ b/contrib/templates/chen-chan/frontpage.mustache @@ -0,0 +1,11 @@ +{{! + frontpage.mustache -- template for index.html + template parameters: + - boardgraph ( a boardPageRows instance, see srnd/model.go ) + - postgraph ( a postsGraph instance , see srnd/model.go ) + - overview ( an overviewModel instance, see srnd/model.go ) + - totalposts ( the number of total posts we have ever seen ) + - frontend ( the name of the frontend ) + - prefix ( the site's prefix ) +}} +{{frontend}} on nntpchan

{{frontend}} on nntpchan

overboard boards faq

last posts:
{{{overview.Render}}}
board stats:
{{# boardgraph}}{{/ boardgraph}}
boardposts this hourposts todaytotal
{{Board}}{{Hour}}{{Day}}{{All}}
total stats:
{{{postsgraph.Render}}}

{{totalposts}} posts total

diff --git a/contrib/templates/chen-chan/graph_history.mustache b/contrib/templates/chen-chan/graph_history.mustache new file mode 100644 index 0000000..1860f9b --- /dev/null +++ b/contrib/templates/chen-chan/graph_history.mustache @@ -0,0 +1,36 @@ +{{! +graph_history.mustache +template parameters: +- history ( a list of PostEntry instances, see srnd/model.go ) + +}} + + + + + + Post History + + + + + + + + + + + + + {{#history.Scale}} + + + + + + {{/history.Scale}} + +
MonthPosts
{{Date}}{{Num}}{{OvercockGraph}}
+ + + diff --git a/contrib/templates/chen-chan/keygen.mustache b/contrib/templates/chen-chan/keygen.mustache new file mode 100644 index 0000000..2a8e6ab --- /dev/null +++ b/contrib/templates/chen-chan/keygen.mustache @@ -0,0 +1,15 @@ +{{! + keygen.mustache -- page containing a newly generated tripcode + template parameters: + - prefix ( the site prefix ) + - public ( the public key in hex ) + - secret ( the secret key in hex ) + - tripcode ( html version of the public key ) + }} +new tripcode
+new tripcode:
+
+secret: {{secret}}
+public: {{public}}
+tripcode: {{{tripcode}}}
+
diff --git a/contrib/templates/default-orig/modlogin.mustache b/contrib/templates/chen-chan/modlogin.mustache similarity index 100% rename from contrib/templates/default-orig/modlogin.mustache rename to contrib/templates/chen-chan/modlogin.mustache diff --git a/contrib/templates/default-orig/modlogin_result.mustache b/contrib/templates/chen-chan/modlogin_result.mustache similarity index 100% rename from contrib/templates/default-orig/modlogin_result.mustache rename to contrib/templates/chen-chan/modlogin_result.mustache diff --git a/contrib/templates/default-orig/modpage.mustache b/contrib/templates/chen-chan/modpage.mustache similarity index 95% rename from contrib/templates/default-orig/modpage.mustache rename to contrib/templates/chen-chan/modpage.mustache index 938beb5..dd2976c 100644 --- a/contrib/templates/default-orig/modpage.mustache +++ b/contrib/templates/chen-chan/modpage.mustache @@ -6,7 +6,8 @@ }} - + + nntpchan mod page diff --git a/contrib/templates/chen-chan/navbar.mustache b/contrib/templates/chen-chan/navbar.mustache new file mode 100644 index 0000000..90f2a62 --- /dev/null +++ b/contrib/templates/chen-chan/navbar.mustache @@ -0,0 +1,12 @@ +{{! + navbar.mustache -- element on the top of each nod-mod page + + TODO: make this not suck, have a board list, have board page list + + template parameters: + - name ( the name of whatever resource we are on, board/thread ) + - frontend ( the name of the frontend we are on ) + - links ( a list of Link Models to display ) + - prefix ( site prefix ) + }} +

{{name}} on {{frontend}} | {{# links}} {{Text}} {{/ links}} | front page overboard

diff --git a/contrib/templates/default-orig/newboard.mustache b/contrib/templates/chen-chan/newboard.mustache similarity index 93% rename from contrib/templates/default-orig/newboard.mustache rename to contrib/templates/chen-chan/newboard.mustache index a42a5ab..c6315db 100644 --- a/contrib/templates/default-orig/newboard.mustache +++ b/contrib/templates/chen-chan/newboard.mustache @@ -28,7 +28,7 @@ Comment - + @@ -53,4 +53,4 @@ - \ No newline at end of file + diff --git a/contrib/templates/chen-chan/overview.mustache b/contrib/templates/chen-chan/overview.mustache new file mode 100644 index 0000000..ad5b3c3 --- /dev/null +++ b/contrib/templates/chen-chan/overview.mustache @@ -0,0 +1,7 @@ +{{! overview.mustache +paramters: + +- overview (list of PostModels in order of last posted) + +}} +{{#overview}}{{/overview}}
dateboardsubject
{{Date}}{{Board}}{{Truncate.Subject}}
diff --git a/contrib/templates/chen-chan/post.mustache b/contrib/templates/chen-chan/post.mustache new file mode 100644 index 0000000..a4854f5 --- /dev/null +++ b/contrib/templates/chen-chan/post.mustache @@ -0,0 +1,15 @@ +
+ {{ShortHash}} + {{Date}} + {{#IsI2P}}i2p{{/IsI2P}}{{#IsTor}}tor{{/IsTor}}{{#IsClearnet}}clr{{/IsClearnet}} + {{Subject}} + {{Name}} + {{{Pubkey}}} + [reply] +
+
+ {{{RenderBody}}} + {{#Attachments}} + file: {{Filename}}

+ {{/Attachments}} +
diff --git a/contrib/templates/chen-chan/post_fail.mustache b/contrib/templates/chen-chan/post_fail.mustache new file mode 100644 index 0000000..fe6b0ae --- /dev/null +++ b/contrib/templates/chen-chan/post_fail.mustache @@ -0,0 +1,7 @@ + + + + +

fail: {{reason}}

+ + diff --git a/contrib/templates/default-orig/post_retry.mustache b/contrib/templates/chen-chan/post_retry.mustache similarity index 87% rename from contrib/templates/default-orig/post_retry.mustache rename to contrib/templates/chen-chan/post_retry.mustache index 93a79d9..6f4e155 100644 --- a/contrib/templates/default-orig/post_retry.mustache +++ b/contrib/templates/chen-chan/post_retry.mustache @@ -1,11 +1,9 @@ - try again - - - + + try again - +
{{#attachment}} @@ -45,4 +43,4 @@
- \ No newline at end of file + diff --git a/contrib/templates/default-orig/post_success.mustache b/contrib/templates/chen-chan/post_success.mustache similarity index 61% rename from contrib/templates/default-orig/post_success.mustache rename to contrib/templates/chen-chan/post_success.mustache index aa3c468..13ff141 100644 --- a/contrib/templates/default-orig/post_success.mustache +++ b/contrib/templates/chen-chan/post_success.mustache @@ -4,12 +4,12 @@ - redirect_url ( the url of the next page we should redirect to ) - message_id ( the value of the Message-ID header in the post we made, the truncated sha1 of this is the >>posthash ) }} + - - - - + + +
posted as {{message_id}}
- \ No newline at end of file + diff --git a/contrib/templates/chen-chan/postform.mustache b/contrib/templates/chen-chan/postform.mustache new file mode 100644 index 0000000..17a569a --- /dev/null +++ b/contrib/templates/chen-chan/postform.mustache @@ -0,0 +1,20 @@ +{{! + 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 ) + }} +
+ +
+
+
+
+
+
+
+
+ captcha +
diff --git a/contrib/templates/chen-chan/posts_graph.mustache b/contrib/templates/chen-chan/posts_graph.mustache new file mode 100644 index 0000000..5ce3b9a --- /dev/null +++ b/contrib/templates/chen-chan/posts_graph.mustache @@ -0,0 +1,7 @@ +{{! +posts graph.mustache -- post frequence graph +parameters: + + * graph - a postsGraph instance (see srnd/model.go) +}} +{{#graph.Scale}}{{/graph.Scale}}
datepostscock
{{Day}}{{Num}}{{OvercockGraph}}
diff --git a/contrib/templates/chen-chan/thread.mustache b/contrib/templates/chen-chan/thread.mustache new file mode 100644 index 0000000..0517cca --- /dev/null +++ b/contrib/templates/chen-chan/thread.mustache @@ -0,0 +1,27 @@ +{{! + thread.mustache -- renders to a thread-*.html page, shows the entire thread + template parameters: + - board ( the Board Model of the board this thread was posted in ) + - thread ( the Thread Model of the current thread being rendered ) + - form ( the post form markup ) + + Thread Model attributes: + - OP , the Post Model of the original poster + - Replies , a list of all the replies or empty if none + - Board , the name of the Board this thread is on + - BoardURL , the url that points to the board index page + }} + + {{thread.OP.Subject}} + + + + {{{thread.Navbar}}} + {{{form}}} +
+ {{{thread.OP.RenderPost}}} + {{# thread.Replies}} + {{{RenderPost}}} + {{/ thread.Replies}} +
+ diff --git a/contrib/templates/chen-chan/ukko.mustache b/contrib/templates/chen-chan/ukko.mustache new file mode 100644 index 0000000..bd92b99 --- /dev/null +++ b/contrib/templates/chen-chan/ukko.mustache @@ -0,0 +1,26 @@ +{{! + ukko.mustache -- overboard, contains the last threads posted regardless of newsgroup + template parameters: + - prefix ( site prefix ) + - threads ( a list of Thread Models that represent the latest threads ) + }} + + + + + ukko/overboard + + + frontpage + {{#threads}} +
+

posted on {{OP.Board}}

+
+ {{{OP.Truncate.RenderPost}}} + {{#Truncate.Replies}} + {{{Truncate.RenderPost}}} + {{/Truncate.Replies}} +
+ {{/threads}} + + diff --git a/contrib/templates/default-orig/board.mustache b/contrib/templates/default-orig/board.mustache deleted file mode 100644 index c438588..0000000 --- a/contrib/templates/default-orig/board.mustache +++ /dev/null @@ -1,47 +0,0 @@ -{{! - 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.Board}} - - - - {{{board.Navbar}}} - - - -
- {{{form}}} -
-
-
- {{#board.Threads}} -
-
-
- {{{OP.Truncate.RenderPost}}} - {{#Truncate.Replies}} - {{{Truncate.RenderPost}}} -
- {{/Truncate.Replies}} -
- {{/board.Threads}} -
- - diff --git a/contrib/templates/default-orig/boardlist.mustache b/contrib/templates/default-orig/boardlist.mustache deleted file mode 100644 index b778a77..0000000 --- a/contrib/templates/default-orig/boardlist.mustache +++ /dev/null @@ -1,49 +0,0 @@ -{{! - boardlist.mustache -- full list of every board - template parameters: - - graph ( a list of 4 string tuples: (board, posts_per_hour, posts_per_day, total_posts) ) - - frontend ( the name of the frontend ) - - prefix ( the site's prefix ) -}} - - - - - - {{frontend}} board list - - -
-
-
- - - - - - - - - {{# graph}} - - - - - - - {{/ graph}} - -
Board Post per Hour Post per Day Total
- {{Board}} - - {{Hour}} - - {{Day}} - - {{All}} -
-
-
-
- - \ No newline at end of file diff --git a/contrib/templates/default-orig/frontpage.mustache b/contrib/templates/default-orig/frontpage.mustache deleted file mode 100644 index 0f44bfd..0000000 --- a/contrib/templates/default-orig/frontpage.mustache +++ /dev/null @@ -1,75 +0,0 @@ -{{! - frontpage.mustache -- template for index.html - template parameters: - - boardgraph ( a boardPageRows instance, see srnd/model.go ) - - postgraph ( a postsGraph instance , see srnd/model.go ) - - overview ( an overviewModel instance, see srnd/model.go ) - - totalposts ( the number of total posts we have ever seen ) - - frontend ( the name of the frontend ) - - prefix ( the site's prefix ) -}} - - - - - - {{frontend}} on nntpchan - - -
-
-
-

{{frontend}} on nntpchan

-

View the overboard

-

Read the FAQ

-

Join the IRC on rizon or irc2p

-

Lurk on URC

-

Check out the board list

-

Fork on github: frontend and core

-

We've Had {{totalposts}} Posts Since August 01 2015

-
-
- - - - - - - -
- {{{postsgraph.Render}}} - - {{! todo: move boardgraph into its own file like postsgraph }} - - - - - - - - - {{# boardgraph}} - - - - - - - {{/ boardgraph}} - -
Board Posts this Hour Posts Today Total
- {{Board}} - - {{Hour}} - - {{Day}} - - {{All}} -
-
- {{{overview.Render}}} -
-
-
- - diff --git a/contrib/templates/default-orig/graph_history.mustache b/contrib/templates/default-orig/graph_history.mustache deleted file mode 100644 index e22e324..0000000 --- a/contrib/templates/default-orig/graph_history.mustache +++ /dev/null @@ -1,34 +0,0 @@ -{{! -graph_history.mustache -template parameters: -- history ( a list of PostEntry instances, see srnd/model.go ) - -}} - - - - - - Post History - - - - - - - - - - - - {{#history.Scale}} - - - - - - {{/history.Scale}} - -
MonthPosts
{{Date}}{{Num}}{{OvercockGraph}}
- - \ No newline at end of file diff --git a/contrib/templates/default-orig/keygen.mustache b/contrib/templates/default-orig/keygen.mustache deleted file mode 100644 index add5a7e..0000000 --- a/contrib/templates/default-orig/keygen.mustache +++ /dev/null @@ -1,22 +0,0 @@ -{{! - keygen.mustache -- page containing a newly generated tripcode - template parameters: - - prefix ( the site prefix ) - - public ( the public key in hex ) - - secret ( the secret key in hex ) - - tripcode ( html version of the public key ) -}} - - - - - - - here is a new tripcode - - -
New Tripcode:
-      
secret: {{secret}}
public: {{public}}
tripcode: {{{tripcode}}}
-
- - \ No newline at end of file diff --git a/contrib/templates/default-orig/navbar.mustache b/contrib/templates/default-orig/navbar.mustache deleted file mode 100644 index f3c7e39..0000000 --- a/contrib/templates/default-orig/navbar.mustache +++ /dev/null @@ -1,46 +0,0 @@ -{{! - navbar.mustache -- element on the top of each nod-mod page - - TODO: make this not suck, have a board list, have board page list - - template parameters: - - name ( the name of whatever resource we are on, board/thread ) - - frontend ( the name of the frontend we are on ) - - links ( a list of Link Models to display ) - - prefix ( site prefix ) - }} - -
\ No newline at end of file diff --git a/contrib/templates/default-orig/overview.mustache b/contrib/templates/default-orig/overview.mustache deleted file mode 100644 index 01a2f97..0000000 --- a/contrib/templates/default-orig/overview.mustache +++ /dev/null @@ -1,25 +0,0 @@ -{{! overview.mustache -paramters: - -- overview (list of PostModels in order of last posted) - -}} - - - - - - - - - - - {{#overview}} - - - - - - {{/overview}} - -
NewsgroupPostedSubject
{{Board}}{{Date}}{{Truncate.Subject}}
diff --git a/contrib/templates/default-orig/post.mustache b/contrib/templates/default-orig/post.mustache deleted file mode 100644 index 48182da..0000000 --- a/contrib/templates/default-orig/post.mustache +++ /dev/null @@ -1,26 +0,0 @@ -
- {{#IsI2P}} - - {{/IsI2P}} - {{#IsTor}} - - {{/IsTor}} - {{#IsClearnet}} - - {{/IsClearnet}} - - {{Subject}} {{Name}} {{Date}} - No. {{ShortHash}} - [reply] {{{Pubkey}}}
-
- {{#Attachments}} -
-
- {{Filename}} -
-
- {{/Attachments}} - -
diff --git a/contrib/templates/default-orig/post_fail.mustache b/contrib/templates/default-orig/post_fail.mustache deleted file mode 100644 index 1c5ee50..0000000 --- a/contrib/templates/default-orig/post_fail.mustache +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - -

post failed: {{reason}}

- - \ No newline at end of file diff --git a/contrib/templates/default-orig/postform.mustache b/contrib/templates/default-orig/postform.mustache deleted file mode 100644 index c2427b9..0000000 --- a/contrib/templates/default-orig/postform.mustache +++ /dev/null @@ -1,77 +0,0 @@ -{{! - 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 ) - }} -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Name - - -
- Subject - - - -
- Comment - - -
- File - - -
- Get Dubs - - -
- Captcha - - captcha -
- Solution - - -
-
-
-
- diff --git a/contrib/templates/default-orig/posts_graph.mustache b/contrib/templates/default-orig/posts_graph.mustache deleted file mode 100644 index 7dfd6a1..0000000 --- a/contrib/templates/default-orig/posts_graph.mustache +++ /dev/null @@ -1,25 +0,0 @@ -{{! -posts graph.mustache -- post frequence graph -parameters: - - * graph - a postsGraph instance (see srnd/model.go) -}} - - - - - - - - - - - {{#graph.Scale}} - - - - - - {{/graph.Scale}} - -
DayPosts
{{Day}}{{Num}}{{OvercockGraph}}
diff --git a/contrib/templates/default-orig/thread.mustache b/contrib/templates/default-orig/thread.mustache deleted file mode 100644 index 6ab6a08..0000000 --- a/contrib/templates/default-orig/thread.mustache +++ /dev/null @@ -1,45 +0,0 @@ -{{! - thread.mustache -- renders to a thread-*.html page, shows the entire thread - template parameters: - - board ( the Board Model of the board this thread was posted in ) - - thread ( the Thread Model of the current thread being rendered ) - - form ( the post form markup ) - - Thread Model attributes: - - OP , the Post Model of the original poster - - Replies , a list of all the replies or empty if none - - Board , the name of the Board this thread is on - - BoardURL , the url that points to the board index page -}} - - - - - - - - {{thread.OP.Subject}} - - - - - {{{thread.Navbar}}} - - - -
- {{{form}}} -
-
-
-
-
- {{{thread.OP.RenderPost}}} - {{# thread.Replies}} - {{{RenderPost}}} -
- {{/ thread.Replies}} -
-
- - \ No newline at end of file diff --git a/contrib/templates/default-orig/ukko.mustache b/contrib/templates/default-orig/ukko.mustache deleted file mode 100644 index 6fd3b59..0000000 --- a/contrib/templates/default-orig/ukko.mustache +++ /dev/null @@ -1,35 +0,0 @@ -{{! - ukko.mustache -- overboard, contains the last threads posted regardless of newsgroup - template parameters: - - prefix ( site prefix ) - - threads ( a list of Thread Models that represent the latest threads ) -}} - - - ukko / overboard - - - - - - -
- {{#threads}} - -
-
-
- {{{OP.Truncate.RenderPost}}} - {{#Truncate.Replies}} - {{{Truncate.RenderPost}}} -
- {{/Truncate.Replies}} -
- {{/threads}} -
- - diff --git a/contrib/templates/default/board.mustache b/contrib/templates/default/board.mustache index f4cb076..c438588 100644 --- a/contrib/templates/default/board.mustache +++ b/contrib/templates/default/board.mustache @@ -11,24 +11,37 @@ - Navbar ( a function that renders the navbar, should not be escaped ) - Threads ( a list of Thread Models with the last few replies ) }} - - + + + + + {{board.Board}} + {{{board.Navbar}}} - {{{form}}} -
-
- {{#board.Threads}} - {{{OP.Truncate.RenderPost}}} - {{#Truncate.Replies}} - {{{Truncate.RenderPost}}} - {{/Truncate.Replies}} -
- {{/board.Threads}} -
+ + + +
+ {{{form}}} +
+
+
+ {{#board.Threads}} +
+
+
+ {{{OP.Truncate.RenderPost}}} + {{#Truncate.Replies}} + {{{Truncate.RenderPost}}} +
+ {{/Truncate.Replies}} +
+ {{/board.Threads}} +
diff --git a/contrib/templates/default/boardlist.mustache b/contrib/templates/default/boardlist.mustache index e6f0144..b778a77 100644 --- a/contrib/templates/default/boardlist.mustache +++ b/contrib/templates/default/boardlist.mustache @@ -5,36 +5,45 @@ - frontend ( the name of the frontend ) - prefix ( the site's prefix ) }} - + - - {{frontend}} boards + + + {{frontend}} board list - - - - - - - - {{# graph}} - - - - - - - {{/ graph}} -
boardposts per hourposts per daytotal
- {{Board}} - - {{Hour}} - - {{Day}} - - {{All}} -
+
+
+
+ + + + + + + + + {{# graph}} + + + + + + + {{/ graph}} + +
Board Post per Hour Post per Day Total
+ {{Board}} + + {{Hour}} + + {{Day}} + + {{All}} +
+
+
+
- + \ No newline at end of file diff --git a/contrib/templates/default/frontpage.mustache b/contrib/templates/default/frontpage.mustache index 1f11e02..0f44bfd 100644 --- a/contrib/templates/default/frontpage.mustache +++ b/contrib/templates/default/frontpage.mustache @@ -8,4 +8,68 @@ - frontend ( the name of the frontend ) - prefix ( the site's prefix ) }} -{{frontend}} on nntpchan

{{frontend}} on nntpchan

overboard boards faq

last posts:
{{{overview.Render}}}
board stats:
{{# boardgraph}}{{/ boardgraph}}
boardposts this hourposts todaytotal
{{Board}}{{Hour}}{{Day}}{{All}}
total stats:
{{{postsgraph.Render}}}

{{totalposts}} posts total

+ + + + + + {{frontend}} on nntpchan + + +
+
+
+

{{frontend}} on nntpchan

+

View the overboard

+

Read the FAQ

+

Join the IRC on rizon or irc2p

+

Lurk on URC

+

Check out the board list

+

Fork on github: frontend and core

+

We've Had {{totalposts}} Posts Since August 01 2015

+
+
+ + + + + + + +
+ {{{postsgraph.Render}}} + + {{! todo: move boardgraph into its own file like postsgraph }} + + + + + + + + + {{# boardgraph}} + + + + + + + {{/ boardgraph}} + +
Board Posts this Hour Posts Today Total
+ {{Board}} + + {{Hour}} + + {{Day}} + + {{All}} +
+
+ {{{overview.Render}}} +
+
+
+ + diff --git a/contrib/templates/default/graph_history.mustache b/contrib/templates/default/graph_history.mustache index 1860f9b..e22e324 100644 --- a/contrib/templates/default/graph_history.mustache +++ b/contrib/templates/default/graph_history.mustache @@ -12,25 +12,23 @@ template parameters: Post History - - - +
+ + + + + + + + + {{#history.Scale}} - - - + + + - - - {{#history.Scale}} - - - - - - {{/history.Scale}} - -
MonthPosts
MonthPosts{{Date}}{{Num}}{{OvercockGraph}}
{{Date}}{{Num}}{{OvercockGraph}}
- + {{/history.Scale}} + + - + \ No newline at end of file diff --git a/contrib/templates/default/keygen.mustache b/contrib/templates/default/keygen.mustache index 2a8e6ab..add5a7e 100644 --- a/contrib/templates/default/keygen.mustache +++ b/contrib/templates/default/keygen.mustache @@ -5,11 +5,18 @@ - public ( the public key in hex ) - secret ( the secret key in hex ) - tripcode ( html version of the public key ) - }} -new tripcode
-new tripcode:
-
-secret: {{secret}}
-public: {{public}}
-tripcode: {{{tripcode}}}
-
+}} + + + + + + + here is a new tripcode + + +
New Tripcode:
+      
secret: {{secret}}
public: {{public}}
tripcode: {{{tripcode}}}
+
+ + \ No newline at end of file diff --git a/contrib/templates/default/modpage.mustache b/contrib/templates/default/modpage.mustache index dd2976c..938beb5 100644 --- a/contrib/templates/default/modpage.mustache +++ b/contrib/templates/default/modpage.mustache @@ -6,8 +6,7 @@ }} - - + nntpchan mod page diff --git a/contrib/templates/default/navbar.mustache b/contrib/templates/default/navbar.mustache index 90f2a62..f3c7e39 100644 --- a/contrib/templates/default/navbar.mustache +++ b/contrib/templates/default/navbar.mustache @@ -9,4 +9,38 @@ - links ( a list of Link Models to display ) - prefix ( site prefix ) }} -

{{name}} on {{frontend}} | {{# links}} {{Text}} {{/ links}} | front page overboard

+ +
\ No newline at end of file diff --git a/contrib/templates/default/newboard.mustache b/contrib/templates/default/newboard.mustache index c6315db..a42a5ab 100644 --- a/contrib/templates/default/newboard.mustache +++ b/contrib/templates/default/newboard.mustache @@ -28,7 +28,7 @@ Comment - + @@ -53,4 +53,4 @@ - + \ No newline at end of file diff --git a/contrib/templates/default/overview.mustache b/contrib/templates/default/overview.mustache index ad5b3c3..01a2f97 100644 --- a/contrib/templates/default/overview.mustache +++ b/contrib/templates/default/overview.mustache @@ -4,4 +4,22 @@ paramters: - overview (list of PostModels in order of last posted) }} -{{#overview}}{{/overview}}
dateboardsubject
{{Date}}{{Board}}{{Truncate.Subject}}
+ + + + + + + + + + + {{#overview}} + + + + + + {{/overview}} + +
NewsgroupPostedSubject
{{Board}}{{Date}}{{Truncate.Subject}}
diff --git a/contrib/templates/default/post.mustache b/contrib/templates/default/post.mustache index a4854f5..48182da 100644 --- a/contrib/templates/default/post.mustache +++ b/contrib/templates/default/post.mustache @@ -1,15 +1,26 @@ -
- {{ShortHash}} - {{Date}} - {{#IsI2P}}i2p{{/IsI2P}}{{#IsTor}}tor{{/IsTor}}{{#IsClearnet}}clr{{/IsClearnet}} - {{Subject}} - {{Name}} - {{{Pubkey}}} - [reply] -
-
- {{{RenderBody}}} +
+ {{#IsI2P}} + + {{/IsI2P}} + {{#IsTor}} + + {{/IsTor}} + {{#IsClearnet}} + + {{/IsClearnet}} + + {{Subject}} {{Name}} {{Date}} + No. {{ShortHash}} + [reply] {{{Pubkey}}}
+
{{#Attachments}} - file: {{Filename}}

+
+
+ {{Filename}} +
+
{{/Attachments}} -
+ + diff --git a/contrib/templates/default/post_fail.mustache b/contrib/templates/default/post_fail.mustache index fe6b0ae..1c5ee50 100644 --- a/contrib/templates/default/post_fail.mustache +++ b/contrib/templates/default/post_fail.mustache @@ -1,7 +1,9 @@ - + + + -

fail: {{reason}}

+

post failed: {{reason}}

- + \ No newline at end of file diff --git a/contrib/templates/default/post_retry.mustache b/contrib/templates/default/post_retry.mustache index 6f4e155..93a79d9 100644 --- a/contrib/templates/default/post_retry.mustache +++ b/contrib/templates/default/post_retry.mustache @@ -1,9 +1,11 @@ - - try again + try again + + + - +
{{#attachment}} @@ -43,4 +45,4 @@
- + \ No newline at end of file diff --git a/contrib/templates/default/post_success.mustache b/contrib/templates/default/post_success.mustache index 13ff141..aa3c468 100644 --- a/contrib/templates/default/post_success.mustache +++ b/contrib/templates/default/post_success.mustache @@ -4,12 +4,12 @@ - redirect_url ( the url of the next page we should redirect to ) - message_id ( the value of the Message-ID header in the post we made, the truncated sha1 of this is the >>posthash ) }} - - - - + + + +
posted as {{message_id}}
- + \ No newline at end of file diff --git a/contrib/templates/default/postform.mustache b/contrib/templates/default/postform.mustache index 17a569a..c2427b9 100644 --- a/contrib/templates/default/postform.mustache +++ b/contrib/templates/default/postform.mustache @@ -5,16 +5,73 @@ - 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 ) - }} -
- -
-
-
-
-
-
-
-
- captcha -
+ }} +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Name + + +
+ Subject + + + +
+ Comment + + +
+ File + + +
+ Get Dubs + + +
+ Captcha + + captcha +
+ Solution + + +
+
+
+
+ diff --git a/contrib/templates/default/posts_graph.mustache b/contrib/templates/default/posts_graph.mustache index 5ce3b9a..7dfd6a1 100644 --- a/contrib/templates/default/posts_graph.mustache +++ b/contrib/templates/default/posts_graph.mustache @@ -4,4 +4,22 @@ parameters: * graph - a postsGraph instance (see srnd/model.go) }} -{{#graph.Scale}}{{/graph.Scale}}
datepostscock
{{Day}}{{Num}}{{OvercockGraph}}
+ + + + + + + + + + + {{#graph.Scale}} + + + + + + {{/graph.Scale}} + +
DayPosts
{{Day}}{{Num}}{{OvercockGraph}}
diff --git a/contrib/templates/default/thread.mustache b/contrib/templates/default/thread.mustache index 0517cca..6ab6a08 100644 --- a/contrib/templates/default/thread.mustache +++ b/contrib/templates/default/thread.mustache @@ -10,18 +10,36 @@ - Replies , a list of all the replies or empty if none - Board , the name of the Board this thread is on - BoardURL , the url that points to the board index page - }} - - {{thread.OP.Subject}} - - - - {{{thread.Navbar}}} - {{{form}}} -
- {{{thread.OP.RenderPost}}} - {{# thread.Replies}} - {{{RenderPost}}} - {{/ thread.Replies}} -
- +}} + + + + + + + + {{thread.OP.Subject}} + + + + + {{{thread.Navbar}}} + + + +
+ {{{form}}} +
+
+
+
+
+ {{{thread.OP.RenderPost}}} + {{# thread.Replies}} + {{{RenderPost}}} +
+ {{/ thread.Replies}} +
+
+ + \ No newline at end of file diff --git a/contrib/templates/default/ukko.mustache b/contrib/templates/default/ukko.mustache index bd92b99..6fd3b59 100644 --- a/contrib/templates/default/ukko.mustache +++ b/contrib/templates/default/ukko.mustache @@ -3,24 +3,33 @@ template parameters: - prefix ( site prefix ) - threads ( a list of Thread Models that represent the latest threads ) - }} - +}} - - ukko/overboard - + ukko / overboard + + + + + - frontpage - {{#threads}} -
-

posted on {{OP.Board}}

-
- {{{OP.Truncate.RenderPost}}} - {{#Truncate.Replies}} - {{{Truncate.RenderPost}}} - {{/Truncate.Replies}} -
- {{/threads}} +
+ {{#threads}} + +
+
+
+ {{{OP.Truncate.RenderPost}}} + {{#Truncate.Replies}} + {{{Truncate.RenderPost}}} +
+ {{/Truncate.Replies}} +
+ {{/threads}} +