Commit Graph

53 Commits

Author SHA1 Message Date
Michael Tremer
b4880b752e web-user-interface: Force browsers to reload the changed CSS
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-25 10:22:18 +00:00
Michael Tremer
0e415928b7 web-user-interface: Replace the old tux logo with out new word mark
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-10 12:23:15 +00:00
Robin Roevens
2b25c02932 pakfire: Translate WUI header/footer text
Add en/nl/fr/de translations for:
  - Traffic: In XXX bit/s Out XXX bit/s
  - IPFire X.XX (xxx) - Core Update XXX ...

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
2022-07-28 13:44:29 +00:00
Leo-Andres Hofmann
64db1faf67 manualpages: Add path and file extension to the configuration
This allows to correctly assign an URL to a file without relying
on unique base names.
A custom read function is required because General::readhash()
doesn't allow paths as hash keys. Modifying the existing functions
could affect other CGIs and was therefore dismissed.

Fixes: #12806

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
2022-06-04 09:23:42 +00:00
Leo-Andres Hofmann
cdf0522ec2 HTML: Add language attribute
This attribute is recommended by W3C, because it is used by
screen readers to provide the correct pronunciation.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-04-24 14:21:49 +00:00
Leo-Andres Hofmann
c13060fd4c menu: Fix warnings, clean code
This patch adds default values and removes a missing translation
to fix "uninitialized value" and "odd number of elements" warnings.

Removes function calls from functions.pl that have already been
handled by the header before it is loaded by eval().

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
2022-04-23 14:34:00 +00:00
Peter Müller
66c3619872 Early spring clean: Remove trailing whitespaces, and correct licence headers
Bumping across one of our scripts with very long trailing whitespaces, I
thought it might be a good idea to clean these up. Doing so, some
missing or inconsistent licence headers were fixed.

There is no need in shipping all these files en bloc, as their
functionality won't change.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-18 23:54:57 +00:00
Leo-Andres Hofmann
b91a0f297a ipfire-theme/functions.pl: Load $extrahead after jQuery
This ensures that jQuery is also available for custom javascript
added to the HTML <head> with $extrahead.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2021-12-03 18:29:16 +01:00
Leo-Andres Hofmann
b0323d1946 webinterface: Add links to the configuration wiki
This patch adds a little "help" icon to the page header.
If a manual entry exists for a configuration page, the icon
appears and offers a quick way to access the wiki.
Wiki pages can be configured in the "manualpages" file.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Tested-by: Bernhard Bitsch <bbitsch@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2021-11-19 07:18:20 +01:00
Jonatan Schlag
8186b37230 Hardcode theme to ipfire
This disables the theme support and makes it impossible to use any other
themes than the ipfire default theme.

The only intention of this patch is to hardcode the theme to ipfire.
To change any cgi we have is an ugly way, but the only way to do this
fast. The colour handling needs certainly to be improved as well, but
this will and should be done in other patches.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-04-08 10:11:34 +00:00
Leo-Andres Hofmann
9064bc7242 rrdimage: Add CSS and Javascript to ipfire theme
This patch adds styling for the new graph time range buttons
and loads the Javascript in the HTML head.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-04-06 10:03:44 +00:00
Peter Müller
725396af2c link to HTTPS version of www.ipfire.org in WebUI
Change links to www.ipfire.org in WebUI themes since the website
now uses HTTPS.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-07 16:14:36 +00:00
Alf Høgemark
f00699e8bb Change case of the unit "bit" from "Bit" to "bit" in web UI
The correct case for "kilobit" is "kilobit", not "kiloBit".
And the same applies for Mbit, Gbit etc.
Reference is https://en.wikipedia.org/wiki/Kilobit

This commit changes the texts used in the web UI, so
that it correctly displays as "bit", "kbit", "Mbit" etc.

This fixes bugzilla item 10918.

Signed-off-by: Alf Høgemark <alf@i100.no>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-07-20 16:46:23 +01:00
Larsen
a2069a37b8 Link the IPFire logo to ipfire.org
Signed-off-by: Lars Schuhmacher <larsen007@web.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-07-29 16:22:06 +01:00
Michael Tremer
6e8089a94f theme: Fix spacing of version string in footer. 2014-05-10 14:25:36 +02:00
Michael Tremer
2b6c5f2579 ipfire theme: Fix default setting for hostname in title. 2014-03-13 15:43:52 +01:00
Alf Høgemark
480f354d89 ipfire theme: Use div align for center
Revert change to make openbox produce validating html,
when center alignment for box is wanted.

I have not been able to find css solution for
properly aligning the div horisontally.
2014-02-26 18:37:57 +01:00
Alf Høgemark
0f43165084 ipfire theme: Fix align on div, and fix javascript tag
Remove align attribute on div for openbox, rather use
style attribute with text-align, since align attribute
causes html validation warnings, since it is deprecated.

Remove deprecated and useless attribute on javascript tag.
2014-02-22 17:35:46 +01:00
Michael Tremer
2f65e28425 Merge remote-tracking branch 'alfh/bugfix_missing_swapvisibility' into next 2014-02-19 20:48:12 +01:00
Alf Høgemark
a636a76016 ipfire theme: Add missing swapVisibility javascript function
qos.cgi and media.cgi depend on swapVisibility function, this
is defined in each theme, but was missing from the new theme.

Add the function, and implement it using jquery, since jquery
is always present in the new theme.
2014-02-19 18:05:55 +01:00
Alf Høgemark
db3096173d webgui menus: Make top menu item clickable on mobile safari
The menus in the new default theme does not work properly on
ipad and I guess other devices using mobile safari.

The reason is that <a> tags without href is not marked as
clickable by ios, and therefore no css hover effect is applied.

The fix is either to add a href="#" attribute
or a onclick="return true;" atribute on the <a> tag.
I prefer the href solution, since it is a no javascript solution.
2014-02-19 17:30:49 +01:00
Michael Tremer
7fbb771896 theme: Change HTML doctype to HTML5.
This is really not valid HTML5 code, nor is it XHTML 1.1 Strict.
2014-01-11 12:55:30 +01:00
Michael Tremer
935f311ed9 Add an alternative default theme with rounded corners. 2014-01-05 21:07:41 +01:00
Michael Tremer
fe9f758815 ipfire theme: Show hostname in title by default. 2014-01-05 19:36:06 +01:00
Michael Tremer
dd2ef3b237 ipfire-theme: Update path to jQuery. 2014-01-05 19:32:23 +01:00
Michael Tremer
121628ea68 GUI: Remove the blend effects option. 2014-01-05 19:31:32 +01:00
Michael Tremer
f14e224b1c ipfire theme: Update file paths to web resource files. 2014-01-05 19:18:55 +01:00
Michael Tremer
802d795488 header.pl: Include required perl module. 2014-01-05 19:06:08 +01:00
Michael Tremer
a4b9426b0f Rename ipfire-new theme to ipfire. 2014-01-05 18:58:27 +01:00
Michael Tremer
ff972c8276 Rename old default theme to ipfire-legacy. 2014-01-05 18:58:02 +01:00
Michael Tremer
0b1b223aa0 webif: Use new version of jquery. 2013-10-15 16:48:10 +02:00
Michael Tremer
2ad1a8bc0c Revert "Update accelerator changes from Jörn-Ingo Weigert."
This reverts commit 5cf2c33968.

Conflicts:
	html/html/themes/ipfire/include/functions.pl
	html/html/themes/maniac/include/functions.pl
	langs/de/cgi-bin/de.pl
	langs/en/cgi-bin/en.pl
2013-05-11 11:39:36 +02:00
Michael Tremer
67fd2a703d Fix spacing in new uptime bar. 2013-04-30 12:28:34 +02:00
Michael Tremer
5cf2c33968 Update accelerator changes from Jörn-Ingo Weigert.
Conflicts:
	config/rootfiles/core/68/filelists/files
2013-04-29 13:13:07 +02:00
Michael Tremer
c1b2758242 Merge remote-tracking branch 'jiweigert/XHTML_1.0' into core68 2013-03-08 16:47:43 +01:00
Joern-Ingo Weigert
70b1b5d22f WUI: Make the shown uptime in the footer more beautiful. 2013-03-08 16:39:32 +01:00
Joern-Ingo Weigert
d0d063fe14 Colorize the bandwidth meter and update jquery. 2013-03-08 16:23:13 +01:00
Joern-Ingo Weigert
8ed76a233c Modify Page Header to correct XHTML-Sytax (ipfire) 2013-03-04 21:28:34 +01:00
Jan Paul Tuecking
8a5823b8c4 This fixes Bug #0000652 - IE8 needs forced blank, other browser are still fine 2010-06-18 22:49:16 +02:00
Daniel Glanzmann
d6a60bb348 Reimplemented display of bandwith usage in webif 2008-12-17 20:48:03 +01:00
maniacikarus
ad35f3d20d Version Tag verschoben und Credits angepasst
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@939 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-10-03 14:36:03 +00:00
ms
70df830214 Ein Paar Dateien fuer die GPLv3 angepasst.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@853 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-29 13:25:32 +00:00
maniacikarus
7c98b47551 Ajax Speed Anzeige ncohmal veraendert
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@725 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-07-28 20:22:43 +00:00
maniacikarus
18322edf27 Ajax Speedmeter ist ueber Guioptions deaktivierbar -> friss gut CPU
Connections CGI sollte die IPSec Verbindungen einfaerben
Hardwaregraphen sollten wieder funktionieren
QOS gefixt,viele kleine Fehler
Squid Initskript setzt die Squid und Squidguard logs auch owner squid


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@633 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-06-16 14:30:20 +00:00
maniacikarus
94ec137db5 Ajax Speed Anzeige geändert
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@617 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-06-07 18:32:39 +00:00
ms
3ef6c343e0 Das kleine AJAX-Bandbreitenmeter gefixt. Zeigte zu hohe Werte aufgrund eines Berechnungsfehlers an und die XML-Schnittstelle wurde nicht korrekt angesprochen.
Bootsplash-Bilder entfernt.
Snort-Scripte nochmal getestet. Laedt die Updates korrekt und wird auch korrekt gestartet.
Snortctrl geschrieben, welche noch nicht aufgerufen wird.
Grub-Patch verschoben.
Clamav-Update.
CDRom-Auswurf getestet.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@606 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-06-04 16:50:12 +00:00
maniacikarus
6be4dd2404 Config types auf ist Zustand gebogen ... hoffentlich ...
header.pl von doppelten funktionen befreit die schon in der genereal stehen


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@562 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-05-18 16:48:08 +00:00
ms
4aedc9624f Unsere Konsole ist jetzt UTF8-Fit.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@548 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-05-09 18:10:57 +00:00
ms
16f6c28c89 Pakfire Installationsfixes und AJAX-Speedmeter.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@531 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-05-05 20:18:27 +00:00
ms
d86ddb4871 Squidupdate und QoS-Fix.
Hostname als Ueberschrift.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@458 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-03-25 04:40:27 +00:00