Skip to content

Commit

Permalink
Merge pull request #840 from sidoh/web2
Browse files Browse the repository at this point in the history
Revamped web UI!
  • Loading branch information
sidoh authored Nov 10, 2024
2 parents 6403ee2 + 4a117a7 commit bef50f8
Show file tree
Hide file tree
Showing 113 changed files with 18,319 additions and 200 deletions.
9 changes: 4 additions & 5 deletions .build_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@ def is_tool(name):

def build_web():
if is_tool("npm"):
os.chdir("web")
os.chdir("web2")
print("Attempting to build webpage...")
try:
if platform.system() == "Windows":
print(check_output(["npm.cmd", "install", "--only=dev"]))
print(check_output(["node_modules\\.bin\\gulp.cmd"]))
print(check_output(["npm.cmd", "install"]))
print(check_output(["npm.cmd", "run", "build"]))
else:
print(check_output(["npm", "install"]))
print(check_output(["node_modules/.bin/gulp"]))
copyfile("build/index.html.gz.h", "../dist/index.html.gz.h")
print(check_output(["npm", "run", "build"]))
except OSError as e:
print("Encountered error OSError building webpage:", e)
if e.filename:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
/web/package-lock.json
/dist/*.bin
/dist/docs
/web2/node_modules
/web2/dist/build
/web2/dist/compiled
.vscode/
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
Expand Down
203 changes: 91 additions & 112 deletions README.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/bundle.css

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/bundle.css.gz.h

Large diffs are not rendered by default.

327 changes: 327 additions & 0 deletions dist/bundle.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/bundle.js.gz.h

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions dist/index.html.gz.h

Large diffs are not rendered by default.

Loading

0 comments on commit bef50f8

Please sign in to comment.