-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
70 lines (67 loc) · 3.77 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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" type="image/png" href="./img/OurSQL.png">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<link rel="stylesheet" href="css/index.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OurSQL</title>
</head>
<body>
<div class="body-container">
<div id="dashboard">
<i class="small material-icons grey-text left" style="margin-top: 7px;">account_circle</i>
<h6>Guest Account</h6>
<p>Wanna save your progress and databases?<br>Click <a class="pink-text text-lighten-3" href="#">here</a>, login with your e-mail and have your data backed-up at MongoDB clouds.</p>
<hr>
<h4 style="margin-top: 0px;">Databases</h4>
<div class="ui-accordion yellow-text black" id="accordion"></div>
<h6 class="dash-bottom1">Watch the Github Repo <a href="https://github.com/muskemteers/OurSQL" target="_blank">here</a></h6>
<h6 class="dash-bottom2">& Developers <a href="./html/creators.html">here</a></h6>
</div>
<div id="query-n-result">
<h4 style="text-align: center; margin: 10px 0px;">OurSQL</h4>
<textarea id="query-text"></textarea>
<div class="row" style="margin: 0px 0px;">
<div class="col s10" id="query-error"><span class="red-text">Response to your Query will be shown here</span></div>
<div class="col s2 center-align green-text" id="suggestQuery">Suggested Queries</div>
</div>
<div class="flex-auto-queries">
<button class="sub-auto-queries" id="auto-select-all">SELECT <strong>*</strong></button>
<button class="sub-auto-queries" id="auto-select">SELECT</button>
<button class="sub-auto-queries" id="auto-insert">INSERT</button>
<button class="sub-auto-queries" id="auto-delete">DELETE</button>
<button class="sub-auto-queries" id="auto-update">UPDATE</button>
<button class="sub-auto-queries" id="auto-clear">Clear Query</button>
<button class="sub-auto-queries" id="auto-save">Save Query</button>
</div>
<div><button id="execute-button"><strong>Execute SQL</strong></button></div>
<h4 style="text-align: center; margin: 5px 0px;">Results/Responses </h4>
<div id="result-response"></div>
</div>
<div id="prev-n-saved">
<div id="saved-queries">
<h4 class="right-align" style="padding: 0px; margin: 0px;">Saved Queries</h4>
<hr>
<div id="saved-query-div">
<ol id="save-ol"></ol>
</div>
</div>
<div id="history-queries">
<h4 class="right-align" style="padding: 0px; margin: 0px;">Previous Queries</h4>
<hr>
<div id="history-query-div">
<ol id="history-ol"></ol>
</div>
</div>
</div>
</div>
</body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js "></script>
<script src="https://code.jquery.com/jquery-3.5.1.js " integrity="sha256-QWo7LDvxbWT2tbbQ97B53yJnYU3WhH/C8ycbRAkjPDc=" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js" integrity="sha256-T0Vest3yCU7pafRw9r+settMBX6JkKN06dqBnpQ8d30=" crossorigin="anonymous"></script>
<script src="js/index.js"></script>
</html>