-
Notifications
You must be signed in to change notification settings - Fork 0
/
gui.hta
108 lines (104 loc) · 3.14 KB
/
gui.hta
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!-- <!DOCTYPE HTML> -->
<html style="width:100%;height:100%">
<head>
<meta charset="UTF-8">
<title>Camphoric CamphorScript Compiler GUI</title>
<script type="text/javascript" src="js/langselect.js"></script>
<script type="text/javascript" src="js/core.js"></script>
<script type="text/javascript" src="js/options.js"></script>
<style>
</style>
<hta:application
applicationname="Camphoric CamphorScript Compiler GUI"
border="thick"
borderstyle="normal"
caption="yes"
contextmenu="yes"
icon="value"
id="value"
innerborder="yes"
maximizebutton="yes"
minimizebutton="yes"
navigable="yes"
scroll="yes"
scrollflat="no"
selection="yes"
showintaskbar="yes"
singleinstance="no"
sysmenu="yes"
version="value"
windowstate="maximize"
/>
</head>
<body onload="init()" style="background-color:#465DAA;width:100%;height:100%">
<form name="c">
<div style="width:100%;height:100%;background-color:trasnparent;display:none;position:absolute" id="opts">
<input type="button" onclick="document.getElementById('opts').style.display='none'" value="close" />
</div>
<table style="width:100%;height:100%">
<tr>
<td colspan=2>
<select name="from" onchange="setTo()">
<option value="">***********FROM***********</option>
<option value="">CamphorScript</option>
<option value="">PreprocessedCamphorScript</option>
<option value="">HalfCompiledCamphorScript</option>
<option value="">CompiledCamphorScript</option>
<option value="">NouDarake</option>
<option value="">Brainf*ck(with spaces)</option>
<option value="">Brainf*ck(without spaces)</option>
</select>
</td>
<td colspan=2 style="text-align:center;width:10000px">
<input type="button" onclick="run()" value=">>>>COMPILE>>>>"/>
</td>
<td colspan=1>
<select name="to">
<option value="">***************TO***************</option>
<option value=""> </option>
<option value=""> </option>
<option value=""> </option>
<option value=""> </option>
<option value=""> </option>
<option value=""> </option>
</select>
</td>
</tr>
<tr>
<td colspan=5>
<input type="file" name="path" style="width:100%" onchange="openFile(this.value)">
</td>
</tr>
<tr>
<td rowspan=4>
<img src="js/gear2.png" width=45 height=45 alt="options" onclick="options()"/>
</td>
<td colspan=4>
</td>
</tr>
<tr style="width:100%;height:100%">
<td style="width:50%;" colspan=2>
<textarea name="inp" style="width:100%;height:100%" readonly></textarea>
<!-- no collapse -->
</td>
<td style="width:50%" colspan=2>
<textarea name="out" style="width:100%;height:100%" ></textarea>
</td>
</tr>
<tr>
<td colspan=4>
<textarea name="err" style="width:100%" rows=4></textarea>
</td>
</tr>
<tr>
<td colspan=1>
<div style="width:150px;height:1px;font-size:1"></div>
<!-- prevents the option bar from becoming too wide -->
</td>
<td colspan=3>
</td>
</tr>
</table>
</form>
</body>
</html>