From bb6af83607ca05c2938f896836ca71e3ee4a126a Mon Sep 17 00:00:00 2001 From: jeff Date: Thu, 6 Aug 2015 14:32:20 -0400 Subject: [PATCH] fronte page --- contrib/static/site.css | 2 +- contrib/templates/default/frontpage.mustache | 53 ++++++++++++++++++++ 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 contrib/templates/default/frontpage.mustache diff --git a/contrib/static/site.css b/contrib/static/site.css index bbf2b76..4c09b55 100644 --- a/contrib/static/site.css +++ b/contrib/static/site.css @@ -19,7 +19,7 @@ font-weight: bold; } -#postform-outer { +#postform-outer , .index-outer { text-align: center; } diff --git a/contrib/templates/default/frontpage.mustache b/contrib/templates/default/frontpage.mustache new file mode 100644 index 0000000..4360ae6 --- /dev/null +++ b/contrib/templates/default/frontpage.mustache @@ -0,0 +1,53 @@ +{{! + frontpage.mustache -- template for index.html + template parameters: + - graph ( a list of 4 string tuples: (board, posts_per_hour, posts_per_day, total_posts) ) + - 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

+

Read the FAQ

+
+
+ + + + + + + + + {{# graph}} + + + + + + + {{/ graph}} + +
Board Post per Hour Post per Day Total
+ {{Board}} + + {{Hour}} + + {{Day}} + + {{All}} +
+
+
+
+ + \ No newline at end of file