Skip to content

Commit bef50f8

Browse files
authored
Merge pull request #840 from sidoh/web2
Revamped web UI!
2 parents 6403ee2 + 4a117a7 commit bef50f8

File tree

113 files changed

+18319
-200
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+18319
-200
lines changed

.build_web.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,15 @@ def is_tool(name):
1717

1818
def build_web():
1919
if is_tool("npm"):
20-
os.chdir("web")
20+
os.chdir("web2")
2121
print("Attempting to build webpage...")
2222
try:
2323
if platform.system() == "Windows":
24-
print(check_output(["npm.cmd", "install", "--only=dev"]))
25-
print(check_output(["node_modules\\.bin\\gulp.cmd"]))
24+
print(check_output(["npm.cmd", "install"]))
25+
print(check_output(["npm.cmd", "run", "build"]))
2626
else:
2727
print(check_output(["npm", "install"]))
28-
print(check_output(["node_modules/.bin/gulp"]))
29-
copyfile("build/index.html.gz.h", "../dist/index.html.gz.h")
28+
print(check_output(["npm", "run", "build"]))
3029
except OSError as e:
3130
print("Encountered error OSError building webpage:", e)
3231
if e.filename:

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
/web/package-lock.json
1010
/dist/*.bin
1111
/dist/docs
12+
/web2/node_modules
13+
/web2/dist/build
14+
/web2/dist/compiled
1215
.vscode/
1316
.vscode/.browse.c_cpp.db*
1417
.vscode/c_cpp_properties.json

README.md

Lines changed: 91 additions & 112 deletions
Large diffs are not rendered by default.

dist/bundle.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bundle.css.gz.h

Lines changed: 3 additions & 0 deletions
Large diffs are not rendered by default.

dist/bundle.js

Lines changed: 327 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bundle.js.gz.h

Lines changed: 3 additions & 0 deletions
Large diffs are not rendered by default.

dist/index.html.gz.h

Lines changed: 3 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)