forked from rmraya/TMXEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconvertExcel.html
55 lines (49 loc) · 1.91 KB
/
convertExcel.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
55
<!DOCTYPE html>
<html>
<head>
<title>Convert Excel File to TMX</title>
<link id="theme" rel="stylesheet" type="text/css" href="../css/light.css">
<link rel="stylesheet" type="text/css" href="../css/fonts.css">
</head>
<body onload="new ConvertExcel();">
<table class="fill_width">
<tr>
<td class="middle noWrap"><label for="excelFile">Excel File</label></td>
<td class="middle fill_width"><input type="text" id="excelFile" class="fill_width"></td>
<td><button id="browseExcelFiles">Browse...</button></td>
</tr>
<tr>
<td class="middle noWrap"><label for="tmxFile">TMX File</label></td>
<td class="middle fill_width"> <input type="text" id="tmxFile" class="fill_width"></td>
<td class="middle"><button id="browseTmxFiles">Browse...</button></td>
</tr>
<tr>
<td class="middle">
<label for="sheetSelect">Sheet</label>
</td>
<td class="middle">
<select id="sheetSelect" style="width: 50%;"></select>
</td>
</tr>
</table>
<div style="margin:4px 8px;" class="bordered">
<div id="preview" style="width: 100%; height:200px; overflow-x: auto; overflow-y: auto; ">
<pre id="preview" style="width: 100%;">
Preview not available
</pre>
</div>
</div>
<div style="padding: 4px; margin:4px 8px;">
<input type="checkbox" id="openTMX" checked> <label for="openTMX">Open Generated
TMX
File</label>
</div>
<div class="buttonArea">
<button id="refreshPreview">Refresh Preview</button>
<button id="setLanguages">Set Languages</button>
<button id="convert">Convert Excel File to TMX</button>
</div>
<script src="../js/keyboardHandler.js"></script>
<script src="../js/convertExcel.js"></script>
</body>
</html>