From patchwork Fri Jun 17 18:10:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Add Cli to WebUI From: Christian Dresel X-Patchwork-Id: 171 Message-Id: <1466187020-29557-1-git-send-email-fff@chrisi01.de> To: franken-dev@freifunk.net Date: Fri, 17 Jun 2016 20:10:20 +0200 Signed-off-by: Christian Dresel --- .../fff/fff-web/files/www/ssl/cgi-bin/cmd.html | 32 ++++++++++++++++++++++ .../fff/fff-web/files/www/ssl/cgi-bin/header | 1 + 2 files changed, 33 insertions(+) create mode 100644 src/packages/fff/fff-web/files/www/ssl/cgi-bin/cmd.html diff --git a/src/packages/fff/fff-web/files/www/ssl/cgi-bin/cmd.html b/src/packages/fff/fff-web/files/www/ssl/cgi-bin/cmd.html new file mode 100644 index 0000000..e2ebb10 --- /dev/null +++ b/src/packages/fff/fff-web/files/www/ssl/cgi-bin/cmd.html @@ -0,0 +1,32 @@ +#!/usr/bin/haserl + +<%in /www/ssl/cgi-bin/header %> +<%in /www/ssl/cgi-bin/helpers %> +<% show_msg %> +
+ + + + +
+
+ Kommandozeile + + + +
+ + +
<% ${POST_command} %>
+
+
+ Beispiel Kommandos + + + + +
Ausfürbares KommandosErklärung
batctl oZeigt alle Batman Nachbarn an
batctl gwlZeigt alle Gateways in der Batman Gatewayselection an
+
+
+
+<%in /www/ssl/cgi-bin/footer %> diff --git a/src/packages/fff/fff-web/files/www/ssl/cgi-bin/header b/src/packages/fff/fff-web/files/www/ssl/cgi-bin/header index 4cecfcd..5844d07 100755 --- a/src/packages/fff/fff-web/files/www/ssl/cgi-bin/header +++ b/src/packages/fff/fff-web/files/www/ssl/cgi-bin/header @@ -36,6 +36,7 @@ HOSTNAME=$(uci get -q 'system.@system[0].hostname') nav_entry settings.html "Einstellungen" nav_entry ports.html "Anschlüsse" nav_entry wifiscan.html "Wifi Scan" + nav_entry cmd.html "Kommandozeile" nav_entry upgrade.html "Upgrade" nav_entry password.html "Password" nav_entry reboot.html "Neustart"