-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
54 lines (46 loc) · 1.91 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!--
Copyright 2022 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html lang="en">
<body>
<p>
<button id="btnRunTest">Initiate and listen to 3 docs</button>
<button id="btnSizeTest">Initiate and listen to 1000 docs</button>
<button id="btnList">List docs with "matched==true"</button>
<button id="btnCancelTest">Cancel Test</button>
<button id="btnClearLogs">Clear Logs</button>
</p>
<p>
<label for="txtAddDoc">Add a new document: </label>
<input id="txtAddDoc" type="text" />
<button id="btnAddDoc">Add</button>
<br />
<label for="txtDeleteDoc">Delete the document: </label>
<input id="txtDeleteDoc" type="text" />
<button id="btnDeleteDoc">Delete</button>
<br />
<label for="txtModifyDoc">Flip the "matched" of the document: </label>
<input id="txtModifyDoc" type="text" />
<button id="btnModifyDoc">Flip</button>
</p>
<p>
<input id="chkDebugLogging" type="checkbox" />
<label for="chkDebugLogging">Enable Debug Logging</label>
<input id="chkFirestoreEmulator" type="checkbox" />
<label for="chkFirestoreEmulator">Use Firestore Emulator</label>
<input id="chkDisableNetwork" type="checkbox" />
<label for="chkDisableNetwork">Disable network</label>
</p>
<p id="logPara" style="font-family: 'Lucida Console', monospace"></p>
<script src="dist/bundle.browser.js"></script>
</body>
</html>