-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpanel.html
88 lines (81 loc) · 2.61 KB
/
panel.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
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>autotsuki</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=roboto:wght@400;700&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="lib/codemirror.css">
<link rel="stylesheet" href="styles.css">
<script src="lib/codemirror.js"></script>
<script src="lib/javascript.min.js"></script>
<style>
.button-group {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
margin: 20px 0;
}
.button-group button {
padding: 10px 20px;
margin: 5px;
background-color: #007BFF;
color: white;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
}
.button-group .divider {
height: 40px;
width: 2px;
background-color: #d3d3d3;
margin: 0 15px;
}
@media (max-width: 600px) {
.button-group {
flex-direction: column;
}
.button-group button {
margin: 10px 0;
}
.button-group .divider {
height: 2px;
width: 160px;
background-color: #d3d3d3;
margin: 0 15px;
}
}
</style>
</head>
<body>
<div class="container">
<h1>AutoTsuki</h1>
<h3>Automate the analysis of web apis using your own rules.</h3>
<div class="form-control">
<label for="templateSelect">template:</label>
<select id="templateSelect"></select>
</div>
<textarea id="code-editor"></textarea>
<div class="button-group">
<div class="button-subgroup">
<button id="applybtn">Apply</button>
</div>
<div class="divider"></div>
<div class="button-subgroup">
<button id="savebtn">Save</button>
<button id="deletebtn">Delete</button>
</div>
<div class="divider"></div>
<div class="button-subgroup">
<button id="sharebtn">Share</button>
<button id="importbtn">Import</button>
</div>
</div>
</div>
<script src="panel.js" defer></script>
</body>
</html>