Commit Graph

16 Commits

Author SHA1 Message Date
Leo-Andres Hofmann
4d70f59173 pakfire: Implement feedback from mailing list discussion
- Improve lockfile test: Return immediately if lockfile is present,
to prevent unnecessary and expensive "pidof" calls

- Add better explanation to the log file reading command and JS

- Change user interface: If no errors occurred, the page returns to
the main screen (after a short delay). If an error occurred, the log
output remains and a message is shown.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-14 14:36:15 +00:00
Leo-Andres Hofmann
db9ee62e0a pakfire.cgi: Implement JavaScript log message display
Currently the page becomes unresponsive while Pakfire is busy.
This patch implements a AJAX/JSON driven log output, to provide
continuous information to the user while Pakfire is running.

The output is updated 1x per second, if the load should be too high,
the interval can be change by writing to "pakfire.refreshInterval".

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
2022-01-14 14:35:57 +00:00
Leo-Andres Hofmann
910f1e8494 rrdimage: Add scripts for new graph display method
This patch adds two scripts which will later be used to display graphs:

-> getrrdimage.cgi: Generates PNG images for graphs.
Until now, each CGI with embedded graphs had to be able to output
images. These functions are now gathered in this new script.
The additional parameter handling can be removed and the CGIs can
be simplified. This makes it easier to use and output the graphs.

-> rrdimage.js: Interactive Javascript functions
This allows the user to select time ranges without reloading the page.
In addition, the graphs are now periodically updated, allowing users
to live monitor the data.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-04-06 10:01:15 +00:00
Leo-Andres Hofmann
6c958adf2f Remove unused snortupdateutility.js
This script doesn't seem to be maintained or used anywhere anymore.
The last reference to it was removed in commit 1772664.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-03-29 10:27:23 +00:00
Leo-Andres Hofmann
b4434345dc zoneconf.cgi: Add Javascript for new GUI elements
Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-22 18:58:13 +00:00
Leo-Andres Hofmann
5c33a76135 zoneconf.cgi: Add NIC selection highlighting
This improves the usability of the zone configuration by marking assigned
NICs in the zone color. The highlighting is initially applied to the static
HTML output, and JavaScript is used to follow changes made by the user.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-11-27 15:48:02 +00:00
Michael Tremer
64d2fbd918 Remove shipped version of jquery. 2013-10-15 16:49:43 +02:00
Joern-Ingo Weigert
d0d063fe14 Colorize the bandwidth meter and update jquery. 2013-03-08 16:23:13 +01:00
Daniel Glanzmann
d6a60bb348 Reimplemented display of bandwith usage in webif 2008-12-17 20:48:03 +01:00
ms
c6fbd6eadf Alte Stylesheets entfernt. Wir haben ja Themes.
Ne Menge Pakete geloescht, da wir nicht den Eindruck hatten, dass diese 
benutzt werden.
Initscripts fuer Amavisd-new und Spamassassin gebaut.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@978 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-10-19 15:21:00 +00:00
ms
395e3b9017 Snort Oberflaeche erweitert.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@518 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-05-03 18:25:22 +00:00
ms
622d6b0a43 New Webinterface-Style by benne
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@78 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-03-12 15:52:13 +00:00
ms
db085d8ac1 Endlich neues Webinterface
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@69 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-02-22 19:52:10 +00:00
ms
ac1cfefab2 SMP-Config angepasst.. CGIs usw. wurden im Windoof-Format gespeichert... muss noch alles korrigiert werden...
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@67 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-02-21 20:38:06 +00:00
ipfire
8dfa965257 git-svn-id: http://svn.ipfire.org/svn/ipfire/IPFire/source@31 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 2006-02-16 12:20:54 +00:00
ipfire
cd1a292722 git-svn-id: http://svn.ipfire.org/svn/ipfire/IPFire/source@16 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 2006-02-15 21:15:54 +00:00