-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelational_viewer.html
120 lines (108 loc) · 5.68 KB
/
relational_viewer.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Database Relational Viewer</title>
<link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/relational_viewer.css">
<!-- w3 animate -->
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<!-- google fonts -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- bootstrap css 5.3 -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<script src="scripts/relational_viewer.js"></script>
</head>
<body class="noselect">
<div id="snackbar">Notification.</div>
<div class="header shadow d-flex gap-4 justify-content-start align-items-center">
<button id="menu-btn" class="btn btn-primary btn-lg button" type="button" data-bs-toggle="offcanvas"
data-bs-target="#menu-offcanvas" aria-controls="menu-offcanvas">
<span class="material-icons material-icons-outlined align-middle">
widgets
</span>
<span>Menu</span>
</button>
<!-- click refresh / reload btn -->
<button id="head-refresh-btn" onclick="document.location.href = location.href;"
class="btn btn-primary btn-lg button">
<span class="material-icons material-icons-round align-middle" style="font-size: 20px !important;">
sync </span>
Refresh.
</button>
<h1 class="fs-5 text-primary m-0" id="page-header-title">Database Relational Viewer (Version 1.0.0)</h1>
</div>
<div class="offcanvas offcanvas-start show sidebar shadow" tabindex="-1" id="menu-offcanvas"
aria-labelledby="menuOffcanvasLabel">
<div class="offcanvas-header sticky-top bg-white">
<div class="d-grid mt-0 bg-white pt-2">
<h1 id="menuOffcanvasLabel" class="visually-hidden">Menu.</h1>
<!-- refresh button -->
<div class="d-flex gap-2 justify-content-start horizontal-scroll" style="direction: ltr;">
<!-- refresh / reload btn -->
<button id="refresh-btn" class="btn btn-primary btn-lg button">
<span class="material-icons material-icons-round align-middle"
style="font-size: 20px !important;">
sync </span>
Reload.
</button>
<!-- toggle table details collapse btn -->
<button id="toggle-table-details-btn" class="btn btn-primary" type="button"
data-bs-toggle="collapse" data-bs-target=".multi-collapse" aria-expanded="true">
<span class="material-icons material-icons-round align-middle"
style="font-size: 20px !important;">
list </span>
Dbtbl Details.
</button>
<!-- aria-controls="multiCollapseExample1 multiCollapseExample2" -->
</div>
<hr>
<!-- search bar -->
<div class="search-container">
<!-- oninput call search function -->
<!-- <input type="text" placeholder="Search..." id="table-search-bar"> -->
<div class="input-group mb-3" style="direction: ltr;">
<span class="input-group-text text-bg-primary gap-1" id="table-search">
<span class="material-icons material-icons-round align-middle"
style="font-size: 20px !important;">
search </span>
</span>
<input id="table-search-input" type="text" class="form-control" placeholder="table search"
aria-label="table search" aria-describedby="table-search">
</div>
</div>
</div>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body p-0">
<div class="row">
<div class="col">
<div id="tables-list">
<!-- loading -->
<div class="w-100 p-4 text-center" style="height: auto;">'
<div class="spinner-border" style="width: 3rem; height: 3rem;" role="status">
<span class="visually-hidden">Loading...</span>
</div>
</div>
</div>
</div>
<div class="col-8 collapse show">
<div class="h-100 w-100">
<h1>table modification.</h1>
</div>
</div>
</div>
</div>
<div class="offcanvas-body">
<small class="m-0" style="font-size: 12px;">Crafted by AdaptivConcept FL © 2023</small>
</div>
</div>
<canvas id="canvas"></canvas>
<!-- bootstrap js 5.3 -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"></script>
</body>
</html>