aboutsummaryrefslogtreecommitdiff
path: root/deploy
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-04-03 11:45:15 -0400
committerbob <bcz@cs.brown.edu>2019-04-03 11:45:15 -0400
commitbb7d5a26ec68f283c5adb42d4d6554253de7176f (patch)
tree7efa817102ba54e916601611f608dd4bd761a437 /deploy
parent43a0768690caa89c606dd5d296d3cc8825c1702b (diff)
parentc406c8d123ce0aa9d63fb8a4dd90adfe83d2889d (diff)
merged with master
Diffstat (limited to 'deploy')
-rw-r--r--deploy/assets/env.json15
-rw-r--r--deploy/index.html4
-rw-r--r--deploy/mobile/image.html15
-rw-r--r--deploy/mobile/ink.html13
4 files changed, 46 insertions, 1 deletions
diff --git a/deploy/assets/env.json b/deploy/assets/env.json
new file mode 100644
index 000000000..80963ea0d
--- /dev/null
+++ b/deploy/assets/env.json
@@ -0,0 +1,15 @@
+{
+ "IS_DARPA": false,
+ "IS_IGT": false,
+ "IS_MENU_FIXED": true,
+ "SERVER_URL": "http://localhost:1234",
+ "SERVER_API_PATH": "api",
+ "SAMPLE_SIZE": 100000,
+ "X_BINS": 15,
+ "Y_BINS": 15,
+ "SPLASH_TIME_IN_MS": 0,
+ "SHOW_FPS_COUNTER": true,
+ "SHOW_SHUTDOWN_BUTTON": false,
+ "DEGREE_OF_PARALLISM": 1,
+ "SHOW_WARNINGS": false
+} \ No newline at end of file
diff --git a/deploy/index.html b/deploy/index.html
index e0892662a..ca5c13e98 100644
--- a/deploy/index.html
+++ b/deploy/index.html
@@ -3,12 +3,14 @@
<head>
<title>Dash Web</title>
<link href="https://fonts.googleapis.com/css?family=Fjalla+One|Hind+Siliguri:300" rel="stylesheet">
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
+ integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/typescript/3.3.1/typescript.min.js"></script>
</head>
<body>
<div id="root"></div>
- <script src="./bundle.js"></script>
+ <script src="/bundle.js"></script>
</body>
</html> \ No newline at end of file
diff --git a/deploy/mobile/image.html b/deploy/mobile/image.html
new file mode 100644
index 000000000..6424d2a60
--- /dev/null
+++ b/deploy/mobile/image.html
@@ -0,0 +1,15 @@
+<html>
+
+<head>
+ <title>Test view</title>
+ <link href="https://fonts.googleapis.com/css?family=Fjalla+One|Hind+Siliguri:300" rel="stylesheet">
+</head>
+
+<body>
+ <div id="root">
+ <p>Capture Image: <input type="file" accept="image/*" id="capture">
+ </div>
+ <script src="../imageUpload.js"></script>
+</body>
+
+</html> \ No newline at end of file
diff --git a/deploy/mobile/ink.html b/deploy/mobile/ink.html
new file mode 100644
index 000000000..938d85794
--- /dev/null
+++ b/deploy/mobile/ink.html
@@ -0,0 +1,13 @@
+<html>
+
+<head>
+ <title>Test view</title>
+ <link href="https://fonts.googleapis.com/css?family=Fjalla+One|Hind+Siliguri:300" rel="stylesheet">
+</head>
+
+<body>
+ <div id="root"></div>
+ <script src="../inkControls.js"></script>
+</body>
+
+</html> \ No newline at end of file