]> git.ipfire.org Git - ipfire.org.git/blobdiff - src/web/__init__.py
location: Create a page that explains how to report problems
[ipfire.org.git] / src / web / __init__.py
index 48a136052d12b8f9b6133e3fbaef8583476f79a5..dfc72eaa1212e30f246913f2dc7d6bc99ebb17d1 100644 (file)
@@ -195,12 +195,14 @@ class Application(tornado.web.Application):
                        (r"/.well-known/change-password", auth.WellKnownChangePasswordHandler),
 
                        # Location
-                       (r"/location/?", location.IndexHandler),
+                       (r"/location/?", StaticHandler, { "template" : "location/index.html" }),
                        (r"/location/download", tornado.web.RedirectHandler, { "url" : "/location/install" }),
                        (r"/location/how\-to\-use", StaticHandler, { "template" : "location/how-to-use/index.html" }),
                        (r"/location/how\-to\-use/cli", StaticHandler, { "template" : "location/how-to-use/cli.html" }),
+                       (r"/location/how\-to\-use/dns", StaticHandler, { "template" : "location/how-to-use/dns.html" }),
                        (r"/location/how\-to\-use/python", StaticHandler, { "template" : "location/how-to-use/python.html" }),
                        (r"/location/install", StaticHandler, { "template" : "location/install.html" }),
+                       (r"/location/report\-a\-problem", StaticHandler, { "template" : "location/report-a-problem.html" }),
                        (r"/location/lookup/(.+)", location.LookupHandler),
 
                        # Single-Sign-On for Discourse