]> git.ipfire.org Git - ipfire.org.git/commitdiff
location: Simplify the install page and add a database download
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 3 Apr 2024 14:54:05 +0000 (14:54 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 3 Apr 2024 14:54:05 +0000 (14:54 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/location/install.html

index 31ed3abfcd52da03b40c696ae9b05baeb8378c32..948dfe415c5ca6f82e74c4ee9eccbc2e35bda66c 100644 (file)
 
                                <h1 class="title">{{ _("Install IPFire Location") }}</h1>
 
-                               <div class="columns is-centered is-multiline py-5">
-                                       <div class="column is-one-third">
-                                               <a class="button is-large is-fullwidth is-light" href="/">
-                                                       {% module IPFireLogo() %}
-                                               </a>
-                                       </div>
-
-                                       <div class="column is-one-third">
-                                               <a class="button is-large is-fullwidth is-light" href="https://archlinux.org/packages/extra/x86_64/libloc/">
-                                                       <span class="icon">
-                                                               <i class="fa-brands fa-linux"></i>
-                                                       </span>
-                                                       <span>Archlinux (AUR)</span>
-                                               </a>
-                                       </div>
-
-                                       <div class="column is-one-third">
-                                               <a class="button is-large is-fullwidth is-light" href="https://packages.debian.org/source/stable/libloc">
-                                                       <span class="icon">
-                                                               <i class="fa-brands fa-debian"></i>
-                                                       </span>
-                                                       <span>Debian</span>
-                                               </a>
-                                       </div>
-
-                                       <div class="column is-one-third">
-                                               <a class="button is-large is-fullwidth is-light" href="https://packages.fedoraproject.org/pkgs/libloc/">
-                                                       <span class="icon">
-                                                               <i class="fa-brands fa-fedora"></i>
-                                                       </span>
-                                                       <span>Fedora</span>
-                                               </a>
-                                       </div>
-
-                                       <div class="column is-one-third">
-                                               <a class="button is-large is-fullwidth is-light" href="https://packages.ubuntu.com/source/stable/libloc">
-                                                       <span class="icon">
-                                                               <i class="fa-brands fa-ubuntu"></i>
-                                                       </span>
-                                                       <span>Ubuntu</span>
-                                               </a>
-                                       </div>
-                               </div>
-
                                <h4 class="subtitle">
                                        IPFire Location supports a variety of distributions.
+
                                        Select your favorite one, install the packages and be ready
                                        to use IPFire Location in seconds.
                                </h4>
                </div>
        </section>
 
-       <section class="hero">
-               <div class="hero-body">
-                       <div class="container">
-                               <h4 class="title is-4">{{ _("Source") }}</h4>
+       <section class="section">
+               <div class="container">
+                       <div class="columns is-centered is-multiline py-5">
+                               <div class="column is-one-third">
+                                       <a class="button is-large is-fullwidth is-light" href="/">
+                                               {% module IPFireLogo() %}
+                                       </a>
+                               </div>
 
-                               <div class="content">
-                                       <p>
-                                               If you want to review the source or if you want to compile
-                                               IPFire Location on your own, you can download the source here.
-                                       </p>
+                               <div class="column is-one-third">
+                                       <a class="button is-large is-fullwidth is-light" href="https://archlinux.org/packages/extra/x86_64/libloc/">
+                                               <span class="icon">
+                                                       <i class="fa-brands fa-linux"></i>
+                                               </span>
+                                               <span>Archlinux (AUR)</span>
+                                       </a>
                                </div>
 
-                               <div class="buttons">
-                                       <a class="button is-light" href="https://source.ipfire.org/releases/libloc/">
-                                               {{ _("Download") }}
+                               <div class="column is-one-third">
+                                       <a class="button is-large is-fullwidth is-light" href="https://packages.debian.org/source/stable/libloc">
+                                               <span class="icon">
+                                                       <i class="fa-brands fa-debian"></i>
+                                               </span>
+                                               <span>Debian</span>
                                        </a>
+                               </div>
 
-                                       <a class="button is-light" href="https://git.ipfire.org/?p=location/libloc.git;a=summary">
-                                               {{ _("Browse") }}
+                               <div class="column is-one-third">
+                                       <a class="button is-large is-fullwidth is-light" href="https://packages.fedoraproject.org/pkgs/libloc/">
+                                               <span class="icon">
+                                                       <i class="fa-brands fa-fedora"></i>
+                                               </span>
+                                               <span>Fedora</span>
                                        </a>
                                </div>
+
+                               <div class="column is-one-third">
+                                       <a class="button is-large is-fullwidth is-light" href="https://packages.ubuntu.com/source/stable/libloc">
+                                               <span class="icon">
+                                                       <i class="fa-brands fa-ubuntu"></i>
+                                               </span>
+                                               <span>Ubuntu</span>
+                                       </a>
+                               </div>
+                       </div>
+               </div>
+       </section>
+
+       <section class="section">
+               <div class="container">
+                       <h4 class="title is-4">{{ _("Source") }}</h4>
+
+                       <div class="content">
+                               <p>
+                                       If you want to review the source or if you want to compile
+                                       IPFire Location on your own, you can download the source here.
+                               </p>
+                       </div>
+
+                       <div class="buttons">
+                               <a class="button is-light" href="https://source.ipfire.org/releases/libloc/">
+                                       {{ _("Download Source") }}
+                               </a>
+
+                               <a class="button is-light" href="https://git.ipfire.org/?p=location/libloc.git;a=summary">
+                                       {{ _("Browse Source") }}
+                               </a>
+                       </div>
+               </div>
+       </section>
+
+       <section class="section">
+               <div class="container">
+                       <h4 class="title is-4">{{ _("Database") }}</h4>
+
+                       <div class="content">
+                               <p>
+                                       If you have installed IPFire Location as a package, the database
+                                       on your system will be updated automatically.
+                                       Alternatively you can trigger a manual update by running
+                                       <code>location update</code>.
+                               </p>
+                       </div>
+
+                       <div class="buttons">
+                               <a class="button is-light" href="https://location.ipfire.org/databases/1/location.db.xz">
+                                       {{ _("Download Database") }}
+                               </a>
                        </div>
                </div>
        </section>