From 84151dbf02f55e4929d4a54d515057ecb69c8143 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 15 Oct 2018 21:47:09 +0100 Subject: [PATCH] Revert "Drop chat page" This reverts commit 1f4400379e559d734af11bbb0ffb8cc6872eaac6. Signed-off-by: Michael Tremer --- Makefile.am | 1 + src/templates/static/chat.html | 71 ++++++++++++++++++++++++++++++++++ src/web/__init__.py | 1 + 3 files changed, 73 insertions(+) create mode 100644 src/templates/static/chat.html diff --git a/Makefile.am b/Makefile.am index eb09a4fb..60806a30 100644 --- a/Makefile.am +++ b/Makefile.am @@ -171,6 +171,7 @@ templates_people_modules_DATA = \ templates_people_modulesdir = $(templates_peopledir)/modules templates_static_DATA = \ + src/templates/static/chat.html \ src/templates/static/features.html \ src/templates/static/get-involved.html \ src/templates/static/get-started.html \ diff --git a/src/templates/static/chat.html b/src/templates/static/chat.html new file mode 100644 index 00000000..84fc2774 --- /dev/null +++ b/src/templates/static/chat.html @@ -0,0 +1,71 @@ +{% extends "../base.html" %} + +{% block title %}{{ _("Chat") }}{% end block %} + +{% block container %} +
+
+

{{ _("Chat") }}

+ +
+
+

+ On the IPFire channel, you will find people who can help you + with your questions about IPFire. +

+

+ This is a good chance to meet people involved in the project + or just have a chat. +

+
+
+ +
+
+

+ + {{ _("Jabber") }} + +

+ +
+
{{ _("Room") }}
+
ipfire
+ +
{{ _("Server") }}
+
conference.ipfire.org
+
+ +

+ + + {{ _("Need a Jabber account?") }} + + +

+
+ +
+

{{ _("IRC") }}

+ +
+
{{ _("Channel") }}
+
#ipfire
+ +
{{ _("Server") }}
+
irc.freenode.net
+
+ +

+ You can use any IRC client to connect to the server and channel + above or + + use a web client + . +

+
+
+
+
+ +{% end block %} diff --git a/src/web/__init__.py b/src/web/__init__.py index fed37d04..ee51a85a 100644 --- a/src/web/__init__.py +++ b/src/web/__init__.py @@ -110,6 +110,7 @@ class Application(tornado.web.Application): (r"/news/(.*)", tornado.web.RedirectHandler, { "url" : "https://blog.ipfire.org/posts/{1}" }), # Static Pages + (r"/chat", StaticHandler, { "template" : "chat.html" }), (r"/features", StaticHandler, { "template" : "features.html" }), (r"/get-involved", StaticHandler, { "template" : "get-involved.html" }), (r"/get-started", StaticHandler, { "template" : "get-started.html" }), -- 2.47.3