From: Michael Tremer Date: Tue, 22 Oct 2019 10:24:33 +0000 (+0100) Subject: location: Add a "How to use" page X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55eea0982ecb04c75d8b1a4f9236b50f77a0d8ef;p=ipfire.org.git location: Add a "How to use" page Signed-off-by: Michael Tremer --- diff --git a/Makefile.am b/Makefile.am index a50e5847..c1e02ec3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -181,6 +181,7 @@ templates_fireinfo_modulesdir = $(templates_fireinfodir)/modules templates_location_DATA = \ src/templates/location/base.html \ src/templates/location/blacklists.html \ + src/templates/location/how-to-use.html \ src/templates/location/index.html \ src/templates/location/lookup.html @@ -910,10 +911,12 @@ static_images_DATA = \ src/static/img/apple-touch-icon-76x76-precomposed.png \ src/static/img/apple-touch-icon-72x72-precomposed.png \ src/static/img/apple-touch-icon-60x60-precomposed.png \ + src/static/img/bash-logo.svg \ src/static/img/default-avatar.jpg \ src/static/img/ipfire-tux.png \ src/static/img/iuse-not-found.png \ - src/static/img/lightningwirelabs-logo.svg + src/static/img/lightningwirelabs-logo.svg \ + src/static/img/python-logo.svg static_imagesdir = $(staticdir)/img diff --git a/src/scss/style.scss b/src/scss/style.scss index 0da1d000..401590f1 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -80,6 +80,11 @@ pre { background-color: inherit; padding: 0; } + + &.pre-light { + background-color: $white; + color: $body-bg; + } } .card { diff --git a/src/static/img/bash-logo.svg b/src/static/img/bash-logo.svg new file mode 100644 index 00000000..2fb24a3c --- /dev/null +++ b/src/static/img/bash-logo.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/src/static/img/python-logo.svg b/src/static/img/python-logo.svg new file mode 100644 index 00000000..366f52f3 --- /dev/null +++ b/src/static/img/python-logo.svg @@ -0,0 +1,113 @@ + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/src/templates/base.html b/src/templates/base.html index 568b8b7f..55086919 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -153,6 +153,12 @@