From 986c9196167c83bcb5947cc7ed2d4aacdf46a72b Mon Sep 17 00:00:00 2001 From: Linusx <57060126+linuzzx@users.noreply.github.com> Date: Sat, 10 Jan 2026 18:57:08 +0100 Subject: [PATCH] Update webapp.py / web ui (#144) * Update webapp.py PS: Font will work on most devices (preinstalled), else it doesn't really matter * Update webapp.py --- webapp.py | 87 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 48 insertions(+), 39 deletions(-) diff --git a/webapp.py b/webapp.py index 39e5619..c88e85a 100644 --- a/webapp.py +++ b/webapp.py @@ -14,66 +14,75 @@ import wifi from duckyinpython import * -payload_html = """ - - Pico W Ducky -

Pico W Ducky

- {}
PayloadActions
-
- New Script +payload_html = """ + + Pico W Ducky + + + + +

Pico W Ducky

+ {}
PayloadActions

+ """ edit_html = """ - - Script Editor - - -
- -
- -
-
- Home - + + Script Editor + + + + +
+
+ +
+
+ + """ new_html = """ - - New Script - - -
- Script Name
- - Script
- -
- -
-
- Home - + + New Script + + + + +
+
+

New Script:

+
+ +
+
+ +
+ """ response_html = """ - Pico W Ducky -

Pico W Ducky

+ + Pico W Ducky + + + + +

Pico W Ducky

{} -
- Home +
""" -newrow_html = "{}Edit / Run" +newrow_html = "{}" def setPayload(payload_number): if(payload_number == 1):