]> git.ipfire.org Git - ipfire.org.git/commitdiff
sitemap: Add a new page that links to all sorts of things
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 10 Oct 2023 10:36:11 +0000 (10:36 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 10 Oct 2023 10:36:11 +0000 (10:36 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
src/templates/base.html
src/templates/static/sitemap.html [new file with mode: 0644]
src/web/__init__.py

index dedb50999b6f0efede5c53c7a33976c0def76122..360d52424732915bcd6300c4d668dff8c0c04e11 100644 (file)
@@ -299,7 +299,8 @@ templates_people_messagesdir = $(templates_peopledir)/messages
 templates_static_DATA = \
        src/templates/static/about.html \
        src/templates/static/legal.html \
-       src/templates/static/help.html
+       src/templates/static/help.html \
+       src/templates/static/sitemap.html
 
 templates_staticdir = $(templatesdir)/static
 
index 5ff1e81d17d910a2acc87856055a5be143c80944..2580a09681dfb3b7ba8b87f1a685828b99af7371 100644 (file)
                                                                        </a>
                                                                </li>
                                                                <li>
-                                                                       <a href="/blog">
-                                                                               {{ _("Blog") }}
+                                                                       <a href="https://community.ipfire.org/">
+                                                                               {{ _("Community") }}
                                                                        </a>
                                                                </li>
                                                                <li>
-                                                                       <a href="https://community.ipfire.org/">
-                                                                               {{ _("Community") }}
+                                                                       <a href="/sitemap">
+                                                                               {{ _("Sitemap") }}
                                                                        </a>
                                                                </li>
                                                                <li>
diff --git a/src/templates/static/sitemap.html b/src/templates/static/sitemap.html
new file mode 100644 (file)
index 0000000..053513c
--- /dev/null
@@ -0,0 +1,211 @@
+{% extends "../base.html" %}
+
+{% block title %}{{ _("Sitemap") }}{% end block %}
+
+{% block container %}
+       <section class="hero is-primary is-medium">
+               <div class="hero-body">
+                       <div class="container">
+                               <p class="title is-2 has-text-centered">{{ _("Projects") }}</p>
+
+                               <div class="columns is-centered is-multiline">
+                                       <div class="column is-one-third has-text-centered">
+                                               <div>
+                                                       <p class="heading">Geo Location Database</p>
+                                                       <p class="title">
+                                                               <a href="/projects/location">
+                                                                       {{ _("IPFire Location") }}
+                                                               </a>
+                                                       </p>
+                                               </div>
+                                       </div>
+
+                                       <div class="column is-one-third has-text-centered">
+                                               <div>
+                                                       <p class="heading">Hardware Information</p>
+                                                       <p class="title">
+                                                               <a href="https://fireinfo.ipfire.org">
+                                                                       {{ _("Fireinfo") }}
+                                                               </a>
+                                                       </p>
+                                               </div>
+                                       </div>
+                               </div>
+                       </div>
+               </div>
+       </section>
+
+       <section class="hero is-medium">
+               <div class="hero-body">
+                       <div class="container">
+                               <p class="title is-2 has-text-centered">{{ _("Support") }}</p>
+
+                               <div class="columns is-multiline">
+                                       <div class="column is-one-third has-text-centered">
+                                               <div>
+                                                       <p class="heading">Read The Fascinating Manual</p>
+                                                       <p class="title">
+                                                               <a href="/docs">
+                                                                       {{ _("Documentation") }}
+                                                               </a>
+                                                       </p>
+                                               </div>
+                                       </div>
+
+                                       <div class="column is-one-third has-text-centered">
+                                               <div>
+                                                       <p class="heading">
+                                                               <span class="tag is-lwl">By Our Team Of Experts</span>
+                                                       </p>
+                                                       <p class="title">
+                                                               <a class="has-text-lwl" href="https://store.lightningwirelabs.com/products/groups/support?utm_source={{ hostname }}&amp;utm_medium=sitemap">
+                                                                       {{ _("Professional Support") }}
+                                                               </a>
+                                                       </p>
+                                               </div>
+                                       </div>
+
+                                       <div class="column is-one-third has-text-centered">
+                                               <div>
+                                                       <p class="heading">By Our Community</p>
+                                                       <p class="title">
+                                                               <a href="https://community.ipfire.org">
+                                                                       {{ _("IPFire Community") }}
+                                                               </a>
+                                                       </p>
+                                               </div>
+                                       </div>
+                               </div>
+                       </div>
+               </div>
+       </section>
+
+       <section class="hero is-light is-medium">
+               <div class="hero-body">
+                       <div class="container">
+                               <p class="title is-2 has-text-centered">{{ _("Development") }}</p>
+
+                               <div class="columns is-multiline">
+                                       <div class="column is-one-third has-text-centered">
+                                               <div>
+                                                       <p class="heading">pakfire.ipfire.org</p>
+                                                       <p class="title">
+                                                               <a href="https://pakfire.ipfire.org">
+                                                                       {{ _("Pakfire Build Service") }}
+                                                               </a>
+                                                       </p>
+                                               </div>
+                                       </div>
+
+                                       <div class="column is-one-third has-text-centered">
+                                               <div>
+                                                       <p class="heading">git.ipfire.org</p>
+                                                       <p class="title">
+                                                               <a href="https://git.ipfire.org">
+                                                                       {{ _("Source") }}
+                                                               </a>
+                                                       </p>
+                                               </div>
+                                       </div>
+
+                                       <div class="column is-one-third has-text-centered">
+                                               <div>
+                                                       <p class="heading">lists.ipfire.org</p>
+                                                       <p class="title">
+                                                               <a href="https://lists.ipfire.org">
+                                                                       {{ _("Mailing Lists") }}
+                                                               </a>
+                                                       </p>
+                                               </div>
+                                       </div>
+
+                                       <div class="column is-one-third has-text-centered">
+                                               <div>
+                                                       <p class="heading">bugzilla.ipfire.org</p>
+                                                       <p class="title">
+                                                               <a href="https://bugzilla.ipfire.org">
+                                                                       {{ _("Bugtracker") }}
+                                                               </a>
+                                                       </p>
+                                               </div>
+                                       </div>
+
+                                       <div class="column is-one-third has-text-centered">
+                                               <div>
+                                                       <p class="heading">patchwork.ipfire.org</p>
+                                                       <p class="title">
+                                                               <a href="https://patchwork.ipfire.org">
+                                                                       {{ _("Patches") }}
+                                                               </a>
+                                                       </p>
+                                               </div>
+                                       </div>
+
+                                       <div class="column is-one-third has-text-centered">
+                                               <div>
+                                                       <p class="heading">translate.ipfire.org</p>
+                                                       <p class="title">
+                                                               <a href="https://translate.ipfire.org">
+                                                                       {{ _("Translate") }}
+                                                               </a>
+                                                       </p>
+                                               </div>
+                                       </div>
+
+                                       <div class="column is-one-third has-text-centered">
+                                               <div>
+                                                       <p class="heading">man-pages.ipfire.org</p>
+                                                       <p class="title">
+                                                               <a href="https://man-pages.ipfire.org">
+                                                                       {{ _("Man Pages") }}
+                                                               </a>
+                                                       </p>
+                                               </div>
+                                       </div>
+
+                                       <div class="column is-one-third has-text-centered">
+                                               <div>
+                                                       <p class="heading">nightly.ipfire.org</p>
+                                                       <p class="title">
+                                                               <a href="https://nightly.ipfire.org">
+                                                                       {{ _("Nightly Builds") }}
+                                                               </a>
+                                                       </p>
+                                               </div>
+                                       </div>
+                               </div>
+                       </div>
+               </div>
+       </section>
+
+       <section class="section">
+               <div class="container">
+                       <p class="title is-2 has-text-centered">{{ _("Infrastructure") }}</p>
+
+                       <div class="columns is-centered is-multiline">
+                               <div class="column is-one-third has-text-centered">
+                                       <div>
+                                               <p class="heading">mail.ipfire.org</p>
+                                               <p class="title">
+                                                       <a href="https://mail.ipfire.org">
+                                                               {{ _("Web Mail") }}
+                                                       </a>
+                                               </p>
+                                       </div>
+                               </div>
+
+                               <div class="column is-one-third has-text-centered">
+                                       <div>
+                                               <p class="heading">social.ipfire.org</p>
+                                               <p class="title">
+                                                       <a href="https://mail.ipfire.org">
+                                                               {{ _("Mastodon") }}
+                                                       </a>
+                                               </p>
+                                       </div>
+                               </div>
+                       </div>
+               </div>
+       </section>
+{% end block %}
+
index 86aada8515dbde2523e131f389b579f233fbbb62..adcebde9382b37276d9e034239ffedfd8fa99490 100644 (file)
@@ -192,6 +192,7 @@ class Application(tornado.web.Application):
                        (r"/about",  StaticHandler, { "template" : "about.html" }),
                        (r"/legal", StaticHandler, { "template" : "legal.html" }),
                        (r"/help", StaticHandler, { "template" : "help.html" }),
+                       (r"/sitemap",  StaticHandler, { "template" : "sitemap.html" }),
 
                        # API
                        (r"/api/check/email", auth.APICheckEmail),