-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathtable-content.html
233 lines (208 loc) · 8.13 KB
/
table-content.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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
<!--DROP THIS FILE INTO YOUR BROWSER TO PREVIEW THE EFFECT-->
<!DOCTYPE html>
<html>
<head>
<!--ADDITTONAL LINKS TO MAKE THE EXAMPLES LOOK PRETTY-->
<!-- Bootstrap core CSS for better functionality-->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<!-- Font Awesome -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" rel="stylesheet" />
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" />
<!-- MDB -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/3.10.1/mdb.min.css" rel="stylesheet" />
<!-- CORE FILES FOR PERFECT SCROLLBAR FUNCTIONALITY -->
<!-- The Perfect Scrollbar CSS files -->
<link href="../css/perfect-scrollbar.css" rel="stylesheet">
<!-- The Perfect Scrollbar JS files -->
<script src="../dist/perfect-scrollbar.js"></script>
<!--DEFINE CONTAINER-->
<style>
body {
background-color: rgba(247, 247, 247, 0.801);
}
#table tbody,
#table thead tr {
display: block;
}
#table tbody {
height: 200px;
overflow-y: auto;
overflow-x: hidden;
}
#table {
width: 500px;
}
</style>
</head>
<body>
<!--EXAMPLE CONTENT-->
<section class="text-center">
<br>
<h1>Table content</h1>
<p class="lead mt-4 mb-5">You can preview the effect offline below or <strong>fork ready to use template</strong> of
this
example.</p>
<a class="btn btn-lg btn-info ripple-surface mx-4" data-mdb-ripple-color="dark"
style="background-color:hsl(195, 53%, 48%) !important;" href="https://perfectscrollbar.com/"><i
class="fas fa-book mx-2"></i>DOCUMENTATION</a>
<a class="btn btn-link btn-lg ripple-surface mx-4" data-mdb-ripple-color="dark"
style="color:hsl(195, 83%, 25%) !important;" href="https://github.com/mdbootstrap/perfect-scrollbar"><i
class="fab fa-github me-2"></i>GITHUB</a>
<a class="btn btn-lg btn-link ripple-surface mx-4" data-mdb-ripple-color="dark"
style="color: hsl(195, 93%, 38%) !important;"
href="https://www.youtube.com/watch?v=Ro1x0zYUwwA&list=PLl1gkwYU90QlfX9oIJvC4JJKaucei7Hx8&index=12&ab_channel=Keepcoding"><i
class="fab fa-youtube me-2"></i> Tutorials</a>
<a class="btn btn-lg btn-link ripple-surface mx-4" data-mdb-ripple-color="dark"
style="color: hsl(195, 43%, 38%) !important;" href="https://mdbgo.com/"><i class="fas fa-server me-2"></i> Free
Hosting</a>
<a class="btn btn-lg btn-outline-info mx-4"
href="https://mdbootstrap.com/snippets/standard/adamjakubowski/3589990?utm_campaign=PS&utm_source=Package"><i
class="fas fa-code me-2"></i>TEMPLATE</a>
<div class="d-flex justify-content-center mt-5 mb-5">
<div class="alert my-3" role="alert" data-mdb-color="light" style="border: hsl(195, 53%, 48%) 1px solid ;">
<p class="font-weight-bold">Get Free Material Design for Bootstrap 5</p>
<hr>
<p>Material Design 2.0 + latest Bootstrap 5 based on plain JavaScript. 700+ material UI components, super
simple, 1 minute installation, free templates & much more</p>
<a type="button" href="https://mdbootstrap.com/docs/standard/" class="btn btn-outline-info mt-3"
style="color: hsl(195, 43%, 38%); border-color: hsl(195, 43%, 38%);" role="button"
data-mdb-ripple-color="dark">Free Download</a>
</div>
</div>
<hr>
<br>
<div class="row d-flex justify-content-center mb-5">
<div id="table">
<table class="table table-striped table-hover">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Name</th>
<th scope="col">Age</th>
<th scope="col">Occupation</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Alex</td>
<td>20</td>
<td>Student</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Paul</td>
<td>23</td>
<td>Engineer</td>
</tr>
<tr>
<th scope="row">3</th>
<td>Chris</td>
<td>19</td>
<td>Human being</td>
</tr>
<tr>
<th scope="row">4</th>
<td>Satoshi</td>
<td>30</td>
<td>Pokemon trainer</td>
</tr>
<tr>
<th scope="row">5</th>
<td>Jun</td>
<td>27</td>
<td>Hero</td>
</tr>
<tr>
<th scope="row">6</th>
<td>Yong</td>
<td>27</td>
<td>Money maker</td>
</tr>
<tr>
<th scope="row">7</th>
<td>Satoshi</td>
<td>30</td>
<td>Pokemon trainer</td>
</tr>
<tr>
<th scope="row">8</th>
<td>Jun</td>
<td>27</td>
<td>Hero</td>
</tr>
<tr>
<th scope="row">9</th>
<td>Yong</td>
<td>27</td>
<td>Money maker</td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
<!--EXAMPLE CONTENT-->
<!--ADD PERFECT SCROLLBAR TO CONTAINER-->
<script>
new PerfectScrollbar('#table tbody');
</script>
<!--ADDITTONAL SCRIPTS TO MAKE THE EXAMPLE CONTENT LOOK PRETTY-->
<section>
<!--jQuery-->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<!-- Bootstrap core JavaScript -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous">
</script>
<!-- MDB core JavaScript -->
<!-- MDB -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/3.10.1/mdb.min.js"></script>
</script>
</section>
<!-- Footer -->
<footer class="text-white d-block shadow-5" style="background-color: hsl(195, 53%, 88%);">
<!-- Copyright -->
<div class="row pt-3 px-3 w-100">
<div class="col-md-4 d-md-block d-none">
<p class="text-primary ms-3">Project maintained by
<a href="https://mdbootstrap.com/?utm_campaign=PS&utm_source=Package"><img class="align-self-top"
style="height:20px;" src="https://mdbootstrap.com/img/Marketing/general/logo/small/mdb.png"></a></p>
</div>
<div class="text-center text-primary col-md-8 col-lg-4">
<p>Docs & Examples made pretty with
<a href="https://mdbootstrap.com/jquery/docs/?utm_campaign=PS&utm_source=Package"
class="text-primary font-weight-bold">Free MDB UI Kit</a></p>
</div>
<div class="col-md-4 d-lg-block d-none">
<div class="flex-right float-end">
<!--Github-->
<a href="https://github.com/mdbootstrap/mdb-ui-kit" class="pin-ic">
<i class="fab fa-github fa-lg text-primary me-4"> </i>
</a>
<!-- Facebook -->
<a href="https://www.facebook.com/mdbootstrap" class="fb-ic">
<i class="fab fa-facebook-f fa-lg text-primary me-4"> </i>
</a>
<!-- Twitter -->
<a class="tw-ic">
<i href="https://twitter.com/mdbootstrap?lang=en" class="fab fa-twitter fa-lg text-primary me-4"> </i>
</a>
<!--Linkedin -->
<a href="https://www.linkedin.com/company/material-design-for-bootstrap/" class="li-ic">
<i class="fab fa-linkedin-in fa-lg text-primary me-4"> </i>
</a>
<!--Newsletter-->
<a href="https://mdbootstrap.com/newsletter/" class="pin-ic">
<i class="fas fa-envelope fa-lg text-primary"> </i>
</a>
</div>
</div>
</div>
<!-- Copyright -->
</footer>
<!-- Footer -->
</body>
</html>