-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
156 lines (149 loc) · 5.82 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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<style type="text/css">
html, body {
margin: 0px;
padding: 0px;
/* overflow: hidden; */
width:100%;
height:100%;
}
.image-button {
width: 15px;
height: 8px;
border: none;
background-image: url('./resources/invisible.png');
background-size: contain;
background-repeat: no-repeat;
}
.demotooltip:hover >.tooltip_demo {
display: block;
}
.tooltip_demo {
display: none;
background: #fcfcfc;
border: 1px solid gray;
margin-left: 28px;
padding: 1px;
position: absolute;
z-index: 1000;
width: 180px;
height: 25px;
}
</style>
<script type="text/javascript" src="../v1/plugins.js"></script>
<link rel="stylesheet" href="../v1/plugins.css">
<script type="text/javascript" src="../v1/plugins-ui.js"></script>
<link rel="stylesheet" href="scripts/jquery-ui-1.13.2/jquery-ui.css">
<script type="text/javascript" src="scripts/jquery-3.7.0.min.js"></script>
<script type="text/javascript" src="scripts/jquery-ui-1.13.2/jquery-ui.min.js"></script>
<script type="text/javascript" src="scripts/jquery.classycontextmenu.js"></script>
<link rel="stylesheet" href="scripts/jquery.classycontextmenu.min.css">
<script type="text/javascript" src="scripts/code.js"></script>
<!-- Google Tag Manager -->
<script>
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PS5VBQ77');
</script>
<!-- End Google Tag Manager -->
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PS5VBQ77"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div id="body_plugin">
<div id="base_menu" class="ui-widget">
<button id="create_connection" style="width: 100%;">Create connection</button>
<div id="connection_menu" style="display: none;">
<div>
<label style="width: 96%;" class="connection_lb_name" for="connection_name">Connection name</label>
<input type="text" style="width: 96%;" name="connection_name" id="connection_name" placeholder="Connection name" maxlength="20" />
</div>
<div>
<label style="width: 96%;" class="connection_lb_url" for="connection_url">Connection url</label>
<div class="demotooltip">
<input type="text" style="width: 96%;" name="connection_url" class="demotooltip" id="connection_url" placeholder="Connection url" />
<span class="tooltip_demo" >To create a demo connection, right-click</span>
</div>
</div>
<div>
<label style="width: 96%;" class="connection_lb_username" for="connection_username" >Username</label>
<div class="demotooltip">
<input type="text"style="width: 96%;" name="connection_username" id="connection_username" placeholder="Username" maxlength="20" />
<span class="tooltip_demo" >To create a demo connection, right-click</span>
</div>
</div>
<div>
<div>
<label style="width: 96%;" class="connection_lb_passw" for="connection_password">Password</label>
</div>
<input type="password" style="float:left;width: 86%;" name="connection_password" id="connection_password" placeholder="Password" maxlength="22" />
<button id="show_password" class ="image-button" style="background-color:transparent;float:right;width: 10%;" />
</div>
<div>
<button id="save_sql" style="float:left;width: 48%;" disabled>Save</button> <button id="check_sql" style="float:right;width: 48%;">Check</button>
</div>
</div>
<button id="make_sql" style="width: 100%;">Make SQL</button>
<!--button id="show_request_hystory" style="width: 100%;">Show request history</button-->
<button id="show_about" style="width: 100%;">About</button>
</div>
<div>
<span id="connect_list">Connection list:</span>
<div id="connection_list" >
</div>
</div>
</div>
<div id="context-url-menu">
<ul id="ul-context-url-menu" class="audero-context-menu">
</ul>
</div>
<div id="context-user-menu">
<ul id="ul-context-user-menu" class="audero-context-menu">
</ul>
</div>
<div id="context-passw-menu">
<ul id="ul-context-passw-menu" class="audero-context-menu">
</ul>
</div>
<div id="dialog-warning" title="Not all data has been entered!">
<p id="p-dialog-warning">
To add a new connection <br/> you need to fill in all fields!
</p>
</div>
<div id="dialog-check" style="display: none;">
<p id="p-dialog-check">
Connection verified successfully!
</p>
</div>
<!--table style="width: 100%;">
<tr><td>
<label class="header">Запрос к ClickHouse</label>
</td></tr>
<tr><td>
<button class="btn-text-default" style="width:75px;">Кнопка 1</button>
<button class="btn-text-default submit primary" style="width:75px;">Кнопка 2</button>
<button class="btn-text-default submit" style="width:75px;">Кнопка 3</button>
</td></tr>
<tr><td>
<div class="separator horizontal" style="margin: 5px 0;"></div>
</td></tr>
<tr><td>
<label class="header">SQL запрос</label>
</td></tr>
<tr><td>
<textarea style="height:50%;width: 100%;" class="form-control" placeholder="Select "></textarea>
</td></tr>
<tr><td>
<div class="separator horizontal" style="margin: 5px 0;"></div>
</td></tr>
</table-->
</body>
</html>