-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (51 loc) · 1.66 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
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>DB Data Converter</title>
<script src="./js/bundle.js"></script>
<link rel="stylesheet" type="text/css" href="css/main.css">
</head>
<body>
<section>
<textarea id="inputSection">
# id, name, status, remark
'1', 'Name1', 'ok', 'なんとなくここに備考欄'
'2', 'Name2', 'ng','2行の場合、\nこんな感じ'
'3', 'Name3', 'ok','とってもとってもとってもとってもとってもとっても長い文章'
'4', 'A, B, C, D', 'ok',''
'5', '', NULL,''
'6', NULL, 'NG',''
</textarea>
<br />
<input type="button" id="perform_from_wb" value="From Workbench">
<input type="button" id="perform_from_sql" value="From SQL">
<input type="button" id="perform_from_tsv" value="From TSV">
<input type="button" id="perform_remove_null" value="Remove Null">
</section>
<section id="displayTable"></section>
<section>
<div>
<input type="text" placeholder="table name" id="table_name">
</div>
<div>
<input type="button" id="generate_sql" value="toSQL" disabled="disabled">
<label>
<input type="checkbox" id="combine_1_query">
combine to 1query
</label>
<input type="button" id="generate_factory" value="toFactory" disabled="disabled">
<input type="button" id="generate_factory2" value="toFactory2" disabled="disabled">
<input type="button" id="generate_xml" value="toXml" disabled="disabled">
<input type="button" id="generate_xml2" value="toXml2" disabled="disabled">
</div>
<div>
<pre id="outputText"></pre>
</div>
</section>
</body>
</html>