-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreate table.html
50 lines (44 loc) · 1.17 KB
/
create table.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
<!DOCTYPE html>
<html>
<head>
<title>create table</title>
<link href="./db.css" rel="stylesheet">
<script src="./createtable.js"></script>
</head>
<body>
<div class="layout">
<table>
<tr>
<th colspan="2">
<h1>CREATE TABLE</h1>
</th>
</tr>
<tr>
<td colspan="2" style="text-align: center">
Table Name
<input type="text" id="in1">
</td>
</tr>
<tr>
<td>
<button onclick="addcoll()">+ Add Column</button>
</td>
</tr>
<tr>
<td colspan="2" style="border: 1px solid #000000">
Name of Column Type of column
Constraint
<table id=area>
</table>
Maximum 10 Columns
</td>
</tr>
<tr>
<td style="text-align: center">
<button onclick="create()">Create</button>
</td>
</tr>
</table>
</div>
</body>
</html>