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 Frequently Asked Questions - - -

NNTPChan faq

-
-
-
-

-

Question: What is nntpchan?
-
NNTPCchan is a federated imageboard that spans across several networks including tor, i2p and anonet. There are no central servers so that as long as 1 server is left the forum will continue to function.
-

-
-

-

Question: How is this different from *chan?
-
NNTPChan is by design invulnerable to global censorship. All moderation is local to each server.
-

-
-

-

Question: How does moderation work then?
-
Moderation is done with our special tripcodes (ed25519-sha512 signed posts). Anyone can give moderation suggestions, but that doesn't mean anyone will accept them. Those who trust the actions of a moderator can have their frontend whitelist the moderation actions and have them performed without oversight by another moderator.
-

-
-

-

Question: How can I remove content from nntpchan completely?
-
‾\(._.)/‾ I don't know. You probably can't unless every server agrees to remove the content, even then, nothing prevents someone from reposting it. You can't delete what you post on the internet.
-

-

-

Question: Do you allow child porn?
-
No, fuck off and die in a fire. All infringing posts are nuked.
-

-
-

-

Question: Do you allow XYZ content?
-
If it violates USA Law or causes problems with my host, no. Otherwise, probably.
-

-
-

-

Question: Someone posted something I don't like but it's not illegal
-
That is not my problem. All posts on this site are the responsibility of the individual poster and not the administration of this server
-

-
-

-

Question: I found a bug or I have a feature request where do I go?
-
github
-

-
-

-

Please send any gripes/questions/inqueries/suggestions/complaints to ampernand [|at\] gmail {dot} com with subject starting with "nntpchan question"
-

-
-
- - - +nntpchan faq +

nntpchan faq

+
+
What is nntpchan?
+
NNTPCchan is a federated imageboard that spans across several networks including tor, i2p and anonet. There are no central servers so that as long as 1 server is left the forum will continue to function.
+
+
How is this different from *chan?
+
NNTPChan is by design invulnerable to global censorship. All moderation is local to each server.
+
+
How does moderation work then?
+
Moderation is done with our special tripcodes (ed25519-sha512 signed posts). Anyone can give moderation suggestions, but that doesn't mean anyone will accept them. Those who trust the actions of a moderator can have their frontend whitelist the moderation actions and have them performed without oversight by another moderator.
+
+
How can I remove content from nntpchan completely?
+
‾\(._.)/‾ I don't know. You probably can't unless every server agrees to remove the content, even then, nothing prevents someone from reposting it. You can't delete what you post on the internet.
+
+
do you allow child porn?
+
no.
+
+
Do you allow XYZ content?
+
If it violates USA Law or causes problems with my host, no. Otherwise, probably.
+
+
Someone posted something I don't like but it's not illegal
+
That is not my problem. All posts on this site are the responsibility of the individual poster and not the administration of this server
+
+
code, bugs, feature requests
+
frontend core
+
+

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.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 new file mode 100644 index 0000000..b778a77 --- /dev/null +++ b/contrib/templates/default-orig/boardlist.mustache @@ -0,0 +1,49 @@ +{{! + 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 new file mode 100644 index 0000000..0f44bfd --- /dev/null +++ b/contrib/templates/default-orig/frontpage.mustache @@ -0,0 +1,75 @@ +{{! + 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 new file mode 100644 index 0000000..e22e324 --- /dev/null +++ b/contrib/templates/default-orig/graph_history.mustache @@ -0,0 +1,34 @@ +{{! +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 new file mode 100644 index 0000000..add5a7e --- /dev/null +++ b/contrib/templates/default-orig/keygen.mustache @@ -0,0 +1,22 @@ +{{! + 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/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 @@ + + + + + login + + +
+ + + +
+ + diff --git a/contrib/templates/default-orig/modlogin_result.mustache b/contrib/templates/default-orig/modlogin_result.mustache new file mode 100644 index 0000000..55cbaa2 --- /dev/null +++ b/contrib/templates/default-orig/modlogin_result.mustache @@ -0,0 +1,19 @@ +{{! + modlogin_result.mustache -- shows the result of a login attempt + template parameters: + - prefix ( the site prefix ) + - mod_prefix ( the prefix to the mod panel, could be something like https://mod.site.tld/ or /mod/ ) + - message ( the message returned from the login attempt ) + - fail ( present if the login failed ) // not yet added +}} + + + + + + login + + +

{{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 ) + +}} + + + + + + nntpchan mod page + + +
+
post actions
+
+
+ + +
+
+ + + +
+
+
+
+
key actions
+
+ + +
+
+ + +
+
+
+
+
board actions
+
+ + +
+
+ +
+
+ +
+
+ + +
+
+ +
+
+
+
+
+ lightweight actions +
+
+ +
+
+
+
+ +
+ + +
+
+
+ + + diff --git a/contrib/templates/default-orig/navbar.mustache b/contrib/templates/default-orig/navbar.mustache new file mode 100644 index 0000000..f3c7e39 --- /dev/null +++ b/contrib/templates/default-orig/navbar.mustache @@ -0,0 +1,46 @@ +{{! + 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/newboard.mustache b/contrib/templates/default-orig/newboard.mustache new file mode 100644 index 0000000..a42a5ab --- /dev/null +++ b/contrib/templates/default-orig/newboard.mustache @@ -0,0 +1,56 @@ + + + create new board + + + + + +

make your first post

+
+
+
+
+ + + + + + + + + + + + + + + + + + + +
+ Board Name + + + +
+ Comment + + +
+ Captcha + + captcha +
+ Solution + + +
+
+
+
+ + \ No newline at end of file diff --git a/contrib/templates/default-orig/overview.mustache b/contrib/templates/default-orig/overview.mustache new file mode 100644 index 0000000..01a2f97 --- /dev/null +++ b/contrib/templates/default-orig/overview.mustache @@ -0,0 +1,25 @@ +{{! 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 new file mode 100644 index 0000000..48182da --- /dev/null +++ b/contrib/templates/default-orig/post.mustache @@ -0,0 +1,26 @@ +
+ {{#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 new file mode 100644 index 0000000..1c5ee50 --- /dev/null +++ b/contrib/templates/default-orig/post_fail.mustache @@ -0,0 +1,9 @@ + + + + + + +

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 @@ + + + try again + + + + + +
+ {{#attachment}} + + + + {{/attachment}} + + + + + +
+
+
{{fail_message}}
+ + + + + + + + + + + +
+ Captcha + + captcha +
+ Solution + + + +
+
+
+
+ + \ No newline at end of file diff --git a/contrib/templates/default-orig/post_success.mustache b/contrib/templates/default-orig/post_success.mustache new file mode 100644 index 0000000..aa3c468 --- /dev/null +++ b/contrib/templates/default-orig/post_success.mustache @@ -0,0 +1,15 @@ +{{! + post_success.mustache -- shown when we do a successful post + template parameters: + - 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-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 ) + }} +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 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 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) +}} + + + + + + + + + + + {{#graph.Scale}} + + + + + + {{/graph.Scale}} + +
DayPosts
{{Day}}{{Num}}{{OvercockGraph}}
diff --git a/contrib/templates/default-orig/thread.mustache b/contrib/templates/default-orig/thread.mustache new file mode 100644 index 0000000..6ab6a08 --- /dev/null +++ b/contrib/templates/default-orig/thread.mustache @@ -0,0 +1,45 @@ +{{! + 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 new file mode 100644 index 0000000..6fd3b59 --- /dev/null +++ b/contrib/templates/default-orig/ukko.mustache @@ -0,0 +1,35 @@ +{{! + 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 c438588..f4cb076 100644 --- a/contrib/templates/default/board.mustache +++ b/contrib/templates/default/board.mustache @@ -11,37 +11,24 @@ - 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 b778a77..e6f0144 100644 --- a/contrib/templates/default/boardlist.mustache +++ b/contrib/templates/default/boardlist.mustache @@ -5,45 +5,36 @@ - frontend ( the name of the frontend ) - prefix ( the site's prefix ) }} - + - - - {{frontend}} board list + + {{frontend}} boards -
-
-
- - - - - - - - - {{# graph}} - - - - - - - {{/ graph}} - -
Board Post per Hour Post per Day Total
- {{Board}} - - {{Hour}} - - {{Day}} - - {{All}} -
-
-
-
+ + + + + + + + {{# graph}} + + + + + + + {{/ graph}} +
boardposts per hourposts per daytotal
+ {{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 0f44bfd..1f11e02 100644 --- a/contrib/templates/default/frontpage.mustache +++ b/contrib/templates/default/frontpage.mustache @@ -8,68 +8,4 @@ - 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}}} -
-
-
- - +{{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/default/graph_history.mustache b/contrib/templates/default/graph_history.mustache index e22e324..1860f9b 100644 --- a/contrib/templates/default/graph_history.mustache +++ b/contrib/templates/default/graph_history.mustache @@ -12,23 +12,25 @@ template parameters: Post History - - - - - - - - - - {{#history.Scale}} + + {{#history.Scale}} + + + + + + {{/history.Scale}} + +
MonthPosts
+ + - - - + + + - {{/history.Scale}} - -
{{Date}}{{Num}}{{OvercockGraph}}MonthPosts
+ +
{{Date}}{{Num}}{{OvercockGraph}}
+ - \ No newline at end of file + diff --git a/contrib/templates/default/keygen.mustache b/contrib/templates/default/keygen.mustache index add5a7e..2a8e6ab 100644 --- a/contrib/templates/default/keygen.mustache +++ b/contrib/templates/default/keygen.mustache @@ -5,18 +5,11 @@ - 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 + }} +new tripcode
+new tripcode:
+
+secret: {{secret}}
+public: {{public}}
+tripcode: {{{tripcode}}}
+
diff --git a/contrib/templates/default/modpage.mustache b/contrib/templates/default/modpage.mustache index 938beb5..dd2976c 100644 --- a/contrib/templates/default/modpage.mustache +++ b/contrib/templates/default/modpage.mustache @@ -6,7 +6,8 @@ }} - + + nntpchan mod page diff --git a/contrib/templates/default/navbar.mustache b/contrib/templates/default/navbar.mustache index f3c7e39..90f2a62 100644 --- a/contrib/templates/default/navbar.mustache +++ b/contrib/templates/default/navbar.mustache @@ -9,38 +9,4 @@ - links ( a list of Link Models to display ) - prefix ( site prefix ) }} - -
\ No newline at end of file +

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

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

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

post failed: {{reason}}

+

fail: {{reason}}

- \ No newline at end of file + diff --git a/contrib/templates/default/post_retry.mustache b/contrib/templates/default/post_retry.mustache index 93a79d9..6f4e155 100644 --- a/contrib/templates/default/post_retry.mustache +++ b/contrib/templates/default/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/post_success.mustache b/contrib/templates/default/post_success.mustache index aa3c468..13ff141 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 c2427b9..17a569a 100644 --- a/contrib/templates/default/postform.mustache +++ b/contrib/templates/default/postform.mustache @@ -5,73 +5,16 @@ - 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 - - -
-
-
-
- + }} +
+ +
+
+
+
+
+
+
+
+ captcha +
diff --git a/contrib/templates/default/posts_graph.mustache b/contrib/templates/default/posts_graph.mustache index 7dfd6a1..5ce3b9a 100644 --- a/contrib/templates/default/posts_graph.mustache +++ b/contrib/templates/default/posts_graph.mustache @@ -4,22 +4,4 @@ parameters: * graph - a postsGraph instance (see srnd/model.go) }} - - - - - - - - - - - {{#graph.Scale}} - - - - - - {{/graph.Scale}} - -
DayPosts
{{Day}}{{Num}}{{OvercockGraph}}
+{{#graph.Scale}}{{/graph.Scale}}
datepostscock
{{Day}}{{Num}}{{OvercockGraph}}
diff --git a/contrib/templates/default/thread.mustache b/contrib/templates/default/thread.mustache index 6ab6a08..0517cca 100644 --- a/contrib/templates/default/thread.mustache +++ b/contrib/templates/default/thread.mustache @@ -10,36 +10,18 @@ - 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 + }} + + {{thread.OP.Subject}} + + + + {{{thread.Navbar}}} + {{{form}}} +
+ {{{thread.OP.RenderPost}}} + {{# thread.Replies}} + {{{RenderPost}}} + {{/ thread.Replies}} +
+ diff --git a/contrib/templates/default/ukko.mustache b/contrib/templates/default/ukko.mustache index 6fd3b59..bd92b99 100644 --- a/contrib/templates/default/ukko.mustache +++ b/contrib/templates/default/ukko.mustache @@ -3,33 +3,24 @@ template parameters: - prefix ( site prefix ) - threads ( a list of Thread Models that represent the latest threads ) -}} + }} + - ukko / overboard - - - - - + + ukko/overboard + -
- {{#threads}} - -
-
-
- {{{OP.Truncate.RenderPost}}} - {{#Truncate.Replies}} - {{{Truncate.RenderPost}}} -
- {{/Truncate.Replies}} -
- {{/threads}} -
+ frontpage + {{#threads}} +
+

posted on {{OP.Board}}

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