-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
29 lines (28 loc) · 1.3 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="src/ttgen.css">
<script src="https://code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script src="src/ttgen.js"></script>
<script src="src/ttgen-ui.js"></script>
<title>Truth Table Generator</title>
</head>
<body>
<form id="inputForm">
Formula: <input type="text" id="input">
<div id="errorArea"></div>
<button type="submit">Generate</button>
<label><input type="checkbox" id="reverse-rows">Reverse rows</label>
<label><input type="checkbox" id="reverse-cols">Reverse proposition symbol columns</label>
<br>
<label>Symbol for <i>true</i>: <input type="text" id="true-symbol" size="5"></label>
<label>Symbol for <i>false</i>: <input type="text" id="false-symbol" size="5"></label>
<br>
<label><input type="checkbox" id="save-settings">Remember settings using cookies</label>
</form>
<p><div id="theTable"></div></p>
<p><textarea id="theLatex" readonly="readonly" rows="14"></textarea></div></p>
</body>
</html>