diff --git a/contextzip/webui/assets.py b/contextzip/webui/assets.py new file mode 100644 index 0000000..f765999 --- /dev/null +++ b/contextzip/webui/assets.py @@ -0,0 +1,1012 @@ +""" +webui/assets.py — The local config UI's entire frontend as one string. + +Deliberately a single dependency-free HTML file (inline + + + +
+
+
+
+ + + +
+

contextzip config

+
+ +
+
+
+

Loading project…

+

 

+
+
+
+
–
+
included
+
+
+
–
+
excluded
+
+
+
–
+
packed size
+
+
+
+ +
+

Suggested excludes

+
+ Scanning… +
+
+ +
+
+
+ File tree + +
+ +
+
Scanning your project…
+
+
+ +
+
Working config
+ +
+

always_exclude

+
+
+ +
+

always_include

+
+
+ +
+ + + +
+ +
+ View raw config.json › +
+
+
+
+ +
+
Will write to .contextzip/config.json
+
+ + +
+
+
+
+ +

● Running on 127.0.0.1 only — nothing about this project leaves your machine.

+
+ +
+
+
+ +
+

Saved

+

Your project preferences are set. You can close this tab and go back to your terminal.

+ +
+
+ +
+ + + + +""" + +TOKEN_ERROR_HTML = """ +contextzip + + +
+

Invalid or missing session token

+

This link has expired or is incomplete. Go back to your terminal and + run contextzip config --ui again to get a fresh link.

+
+ +"""