-
Notifications
You must be signed in to change notification settings - Fork 0
/
badge.html
357 lines (338 loc) · 27.2 KB
/
badge.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
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
<!DOCTYPE html>
<html class="rd-template-admin">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Badge | Rundiz template for admin</title>
<link rel="stylesheet" href="assets/css/sanitize/sanitize.css?npm-v=github%3Acsstools%2Fsanitize.css%23main">
<link rel="stylesheet" href="assets/css/sanitize/typography.css?npm-v=github%3Acsstools%2Fsanitize.css%23main">
<link rel="stylesheet" href="assets/css/sanitize/forms.css?npm-v=github%3Acsstools%2Fsanitize.css%23main">
<link rel="stylesheet" href="assets/font-awesome/css/all.min.css?npm-v=6.0.0">
<link rel="stylesheet" href="assets/css/smartmenus/sm-core-css.css?npm-v=1.1.1">
<link rel="stylesheet" href="assets/css/smartmenus/sm-rdta/sm-rdta.css?v=3ef227ffe8516995345c01c6f1a9b9a2">
<link rel="stylesheet" href="assets/css/rdta/typo-and-form/typo-and-form.css?v=782df4c386eb481a46cf4c87aeeb7d40">
<link rel="stylesheet" href="assets/css/rdta/rundiz-template-admin.css?v=c4af81a435d9eb76bbce005b24a0154d">
<link rel="stylesheet" href="assets/css/rdta-demo-pages.css?v=5c5a3502c8c15fba309fc170b49e4583">
<link class="exclude-preview" rel="stylesheet" href="assets/css-preview/view-source.css?v=856c7087abf9e79c34c08320f05131ce"><!-- preview source css excluded. -->
</head>
<body>
<header class="rd-navbar">
<button class="rd-sidebar-toggler" data-target=".rd-page-wrapper" title="Toggle side bar menu"><i class="fa-solid fa-bars fa-fw"></i><span class="screen-reader-only" aria-hidden="true">Toggle side bar menu</span></button>
<div class="rd-site-brand"><a href="./">Admin Dashboard</a></div><!--.rd-site-brand-->
<nav class="nav-right">
<ul class="sm sm-rdta navbar">
<li><a href="#" onclick="return false;"><i class="fa-solid fa-globe fa-fw"></i></a>
<ul>
<li><a href="javascript:alert('link clicked');">Thai</a></li>
<li class="is-active"><a href="javascript:alert('link clicked');">English</a></li>
</ul>
</li>
<li><a href="#" onclick="return false;"><i class="fa-solid fa-bell fa-fw"></i> <span class="rd-notification-badge tiny">3</span></a>
<ul>
<li><a href="#" onclick="return false;">Approve new comments</a></li>
<li><a href="#" onclick="return false;">Approve new posts</a></li>
<li><a href="#" onclick="return false;">There are new contact messages</a></li>
</ul>
</li>
<li class="user"><a href="#" onclick="return false;"><i class="fa-regular fa-circle-user"></i></a>
<ul>
<li><a>Hello, user name</a></li>
<li><a href="#" onclick="return false;">Edit your account</a></li>
<li><a href="#" onclick="return false;">Logout</a></li>
</ul>
</li>
</ul>
</nav><!--.nav-right-->
</header><!--.rd-navbar-->
<div class="rd-page-wrapper">
<div class="rd-sidebar-back"></div>
<section class="rd-sidebar">
<h2 class="screen-reader-only">Sidebar menus</h2>
<div class="rd-sidebar-inner">
<ul class="rd-sidebar-item-list sm sm-vertical sm-rdta">
<li><a href="#" onclick="return false;" title="Admin home"><i class="sidebar-icon fa-solid fa-gauge-high fa-fw"></i> <span class="rd-sidebar-menu-text">Admin home</span></a>
<ul>
<li><a href="./">Admin dashboard</a></li>
<li><a href="javascript:alert('link clicked');">Update</a></li>
</ul>
</li>
<li><a href="#" onclick="return false;" title="Components"><i class="sidebar-icon fa-solid fa-boxes-stacked fa-fw"></i> <span class="rd-sidebar-menu-text">Components</span></a>
<ul>
<li class="sub-menu-heading"><a>Typography & getting started</a></li>
<li><a href="typography.html">Typography & reset</a></li>
<li><a href="basic-layout.html">Basic layout (getting started)</a></li>
<li class="divider"></li>
<li class="sub-menu-heading"><a>More components</a></li>
<li><a href="accordion.html">Accordion</a></li>
<li><a href="alert-box.html">Alert box</a></li>
<li><a href="alert-dialog.html">Alert dialog</a></li>
<li><a href="badge.html">Badge</a></li>
<li><a href="button.html">Button</a></li>
<li><a href="columns-flex.html">Columns flex</a></li>
<li><a href="datatable.html">Data table</a></li>
<li><a href="datatables-js.html">DataTables JS</a></li>
<li><a href="dialog.html">Dialog</a></li>
<li><a href="embeds.html">Embeds</a></li>
<li><a href="form.html">Form</a></li>
<li><a href="helpers.html">Helpers</a></li>
<li><a href="pagination.html">Pagination</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="text.html">Text</a></li>
<li><a href="tooltips.html">Tooltips</a></li>
</ul>
</li>
<li><a href="#" onclick="return false;" title="Examples"><i class="sidebar-icon fa-solid fa-laptop-code"></i> <span class="rd-sidebar-menu-text">Examples</span></a>
<ul>
<li><a href="example-login.html">Login page</a></li>
<li><a href="example-logout.html">Logout page</a></li>
</ul>
</li>
<li><a href="#" onclick="return false;" title="Tools & guide"><i class="sidebar-icon fa-solid fa-code fa-fw"></i> <span class="rd-sidebar-menu-text">Tools & guide</span></a>
<ul>
<li><a href="credits.html">Credits</a></li>
<li><a href="https://css-tricks.com/snippets/css/complete-guide-grid/" target="tools_cssgrid">CSS grid</a></li>
<li><a href="https://css-tricks.com/snippets/css/a-guide-to-flexbox/" target="tools_cssflex">CSS flex box</a></li>
<li><a href="https://www.w3.org/wiki/HTML_structural_elements" target="tools_html5structural">HTML 5 structural elements</a></li>
<li><a href="http://pxtoem.com/" target="pxtoemconverter">Pixel / <code>em</code> converter</a></li>
</ul>
</li>
<li class="divider"></li>
<li class="sub-menu-heading"><a onclick="return false;" title="Experiments"><i class="sidebar-icon fa-solid fa-vial fa-fw"></i> <span class="rd-sidebar-menu-text">Experiments</span></a></li>
<li><a href="#" onclick="return false;" title="Sticky menu"><i class="sidebar-icon fa-solid fa-thumbtack fa-fw"></i> <span class="rd-sidebar-menu-text">Stickey menu</span></a>
<ul>
<li><a href="stickymenu-long-content.html">Sticky menu (long content)</a></li>
<li><a href="stickymenu-long-menu.html">Sticky menu (long menu)</a></li>
<li><a href="stickymenu-long-content-menu.html">Sticky menu (long content & menu)</a></li>
</ul>
</li>
<li><a href="#" onclick="return false;" title="Sub menus"><i class="sidebar-icon fa-solid fa-folder-tree fa-fw"></i> <span class="rd-sidebar-menu-text">Sub menus</span></a>
<ul>
<li><a href="javascript:alert('link clicked');">1</a>
<ul>
<li><a href="javascript:alert('link clicked');">1.1</a>
<ul>
<li><a href="javascript:alert('link clicked');">1.1.1</a>
<ul>
<li><a href="javascript:alert('link clicked');">1.1.1.1</a></li>
<li><a href="#" onclick="return false;">1.1.1.2</a></li>
<li><a href="#" onclick="return false;">1.1.1.3</a></li>
<li><a href="#" onclick="return false;">1.1.1.4</a></li>
<li><a href="#" onclick="return false;">1.1.1.5</a></li>
</ul>
</li>
<li><a href="#" onclick="return false;">1.1.2</a></li>
<li><a href="#" onclick="return false;">1.1.3</a></li>
<li><a href="#" onclick="return false;">1.1.4</a></li>
<li><a href="#" onclick="return false;">1.1.5</a></li>
</ul>
</li>
<li><a href="#" onclick="return false;">1.2</a></li>
<li><a href="#" onclick="return false;">1.3</a></li>
<li><a href="#" onclick="return false;">1.4</a></li>
<li><a href="#" onclick="return false;">1.5</a></li>
</ul>
</li>
<li><a href="#" onclick="return false;">2 (Deep sub menus)</a>
<ul>
<li><a href="#" onclick="return false;">2.1</a></li>
<li><a href="#" onclick="return false;">2.2</a>
<ul>
<li><a href="#" onclick="return false;">2.2.1</a></li>
<li><a href="#" onclick="return false;">2.2.2</a>
<ul>
<li><a href="#" onclick="return false;">2.2.2.1</a></li>
<li><a href="#" onclick="return false;">2.2.2.2</a>
<ul>
<li><a href="#" onclick="return false;">2.2.2.2.1</a></li>
<li><a href="#" onclick="return false;">2.2.2.2.2</a>
<ul>
<li><a href="#" onclick="return false;">2.2.2.2.2.1</a></li>
<li><a href="#" onclick="return false;">2.2.2.2.2.2</a></li>
<li><a href="#" onclick="return false;">2.2.2.2.2.3</a></li>
</ul>
</li>
<li><a href="#" onclick="return false;">2.2.2.2.3</a></li>
</ul>
</li>
<li><a href="#" onclick="return false;">2.2.2.3</a></li>
</ul>
</li>
<li><a href="#" onclick="return false;">2.2.3</a></li>
</ul>
</li>
<li><a href="#" onclick="return false;">2.3</a></li>
</ul>
</li>
<li><a href="#" onclick="return false;">3 (Very long sub menus)</a>
<ul>
<!-- it is recommended that you should not have more than 15 items per sub menu, or you have to modify options in `rdtaSidebarSmartMenus()` function -->
<li><a href="#" onclick="return false;">3.1</a></li>
<li><a href="#" onclick="return false;">3.2</a></li>
<li><a href="#" onclick="return false;">3.3</a></li>
<li><a href="#" onclick="return false;">3.4</a></li>
<li><a href="#" onclick="return false;">3.5</a></li>
<li><a href="#" onclick="return false;">3.6</a></li>
<li><a href="#" onclick="return false;">3.7</a></li>
<li><a href="#" onclick="return false;">3.8</a></li>
<li><a href="#" onclick="return false;">3.9</a></li>
<li><a href="#" onclick="return false;">3.10</a></li>
<li><a href="#" onclick="return false;">3.11</a></li>
<li><a href="#" onclick="return false;">3.12</a></li>
<li><a href="#" onclick="return false;">3.13</a></li>
<li><a href="#" onclick="return false;">3.14</a></li>
<li><a href="#" onclick="return false;">3.15</a></li>
<li><a href="#" onclick="return false;">3.16</a></li>
<li><a href="#" onclick="return false;">3.17</a></li>
<li><a href="#" onclick="return false;">3.18</a></li>
<li><a href="#" onclick="return false;">3.19</a></li>
<li><a href="#" onclick="return false;">3.20</a></li>
<li><a href="#" onclick="return false;">3.21</a></li>
<li><a href="#" onclick="return false;">3.22</a></li>
<li><a href="#" onclick="return false;">3.23</a></li>
<li><a href="#" onclick="return false;">3.24</a></li>
<li><a href="#" onclick="return false;">3.25</a></li>
<li><a href="#" onclick="return false;">3.26</a></li>
<li><a href="#" onclick="return false;">3.27</a></li>
<li><a href="#" onclick="return false;">3.28</a></li>
<li><a href="#" onclick="return false;">3.29</a></li>
<li><a href="#" onclick="return false;">3.30</a></li>
<li><a href="#" onclick="return false;">3.31</a></li>
<li><a href="#" onclick="return false;">3.32</a></li>
<li><a href="#" onclick="return false;">3.33</a></li>
<li><a href="#" onclick="return false;">3.34</a></li>
<li><a href="#" onclick="return false;">3.35</a></li>
<li><a href="#" onclick="return false;">3.36</a></li>
<li><a href="#" onclick="return false;">3.37</a></li>
<li><a href="#" onclick="return false;">3.38</a></li>
<li><a href="#" onclick="return false;">3.39</a></li>
<li><a href="#" onclick="return false;">3.40</a></li>
<li><a href="#" onclick="return false;">3.41</a></li>
<li><a href="#" onclick="return false;">3.42</a></li>
<li><a href="#" onclick="return false;">3.43</a></li>
<li><a href="#" onclick="return false;">3.44</a></li>
<li><a href="#" onclick="return false;">3.45</a></li>
<li><a href="#" onclick="return false;">3.46</a></li>
<li><a href="#" onclick="return false;">3.47</a></li>
<li><a href="#" onclick="return false;">3.48</a></li>
<li><a href="#" onclick="return false;">3.49</a></li>
<li><a href="#" onclick="return false;">3.50</a></li>
</ul>
</li>
<li><a href="#" onclick="return false;">4</a></li>
<li><a href="#" onclick="return false;">5</a></li>
<li><a href="#" onclick="return false;">6</a></li>
<li><a href="#" onclick="return false;">7</a></li>
<li><a href="#" onclick="return false;">8</a></li>
<li class="divider"><a href="#" onclick="alert('Nothing works here!'); return false;">Nothing here will be display.</a></li>
<li><a href="#" onclick="return false;">The above is <code>li.divider</code></a></li>
<li class="sub-menu-heading"><a href="#" onclick="return false;">This is <code>li.sub-menu-heading</code></a></li>
<li><a href="#" onclick="return false;">9 (Sub menu components)</a>
<ul>
<li><a href="#" onclick="return false;">1</a></li>
<li><a href="#" onclick="return false;">2</a></li>
<li><a href="#" onclick="return false;">3</a></li>
<li class="divider"><a href="#" onclick="alert('Nothing works here!'); return false;">Nothing here will be display.</a></li>
<li><a href="#" onclick="return false;">Divider in sub menus</a></li>
<li class="sub-menu-heading"><a>Deeper sub menu heading</a></li>
<li><a href="#" onclick="return false;">4</a></li>
<li><a href="#" onclick="return false;">5</a></li>
</ul>
</li>
<li><a href="#" onclick="return false;">10</a></li>
</ul>
</li>
<li><a href="#" onclick="return false;" title="Long menu text"><i class="sidebar-icon fa-solid fa-greater-than-equal fa-fw"></i> <span class="rd-sidebar-menu-text">Longggggggggggggggggg menu text</span></a>
<ul>
<li><a href="#" onclick="return false;">longggggggggggggggggggggggggggggggggggggggggggg submenu item 1</a>
<ul>
<li><a href="#" onclick="return false;">longggggggggggggggggggggggggggggggggggggggggggg submenu item 1.1</a></li>
<li><a href="#" onclick="return false;">longggggggggggggggggggggggggggggggggggggggggggg submenu item 1.2</a></li>
<li><a href="#" onclick="return false;">longggggggggggggggggggggggggggggggggggggggggggg submenu item 1.3</a></li>
</ul>
</li>
<li><a href="#" onclick="return false;">longggggggggggggggggggggggggggggggggggggggggggg submenu item 2</a>
<ul>
<li><a href="#" onclick="return false;">longggggggggggggggggggggggggggggggggggggggggggg submenu item 2.1</a>
<ul>
<li><a href="#" onclick="return false;">longggggggggggggggggggggggggggggggggggggggggggg submenu item 2.1.1</a></li>
<li><a href="#" onclick="return false;">longggggggggggggggggggggggggggggggggggggggggggg submenu item 2.1.2</a></li>
<li><a href="#" onclick="return false;">longggggggggggggggggggggggggggggggggggggggggggg submenu item 2.1.3</a></li>
</ul>
</li>
<li><a href="#" onclick="return false;">longggggggggggggggggggggggggggggggggggggggggggg submenu item 2.2</a></li>
<li><a href="#" onclick="return false;">longggggggggggggggggggggggggggggggggggggggggggg submenu item 2.3</a></li>
</ul>
</li>
<li><a href="#" onclick="return false;">longggggggggggggggggggggggggggggggggggggggggggg submenu item 3</a></li>
<li><a href="#" onclick="return false;">longggggggggggggggggggggggggggggggggggggggggggg submenu item 4</a></li>
<li><a href="#" onclick="return false;">longggggggggggggggggggggggggggggggggggggggggggg submenu item 5</a></li>
</ul>
</li>
</ul>
<ul class="rd-sidebar-item-list rd-sidebar-expand-collapse-controls">
<li>
<a data-target=".rd-page-wrapper" title="Expane/collapse menu"><i class="sidebar-icon faicon fa-solid fa-chevron-left fa-fw" data-toggle-icon="fa-chevron-left fa-chevron-right"></i> <span class="screen-reader-only" aria-hidden="true">Expane/collapse menu</span></a>
<hr>
</li>
</ul>
</div><!--.rd-sidebar-inner-->
</section><!--.rd-sidebar-->
<main>
<nav>
<ul class="rd-breadcrumb">
<li><a href="./">Home</a></li>
<li class="current"><a href="#" onclick="return false;">Badge</a></li>
</ul>
</nav>
<div class="rd-page-content">
<h1>Badge</h1>
<p>The notification badge.</p>
<hr>
<h2>Examples</h2>
<p class="code-sample-badgesamples1">
This is normal text size.
<span class="rd-notification-badge">Normal</span>
<span class="rd-notification-badge badge-primary">Primary</span>
<span class="rd-notification-badge badge-info">Info</span>
<span class="rd-notification-badge badge-danger">Danger</span>
<span class="rd-notification-badge badge-warning">Warning</span>
<span class="rd-notification-badge badge-success">Success</span>
</p>
<h3>Source</h3>
<pre class="preview-source" data-target-src=".code-sample-badgesamples1" data-target-src-remove-first-space="24" data-inner-html="true"></pre>
<h3>Badge within heading text</h3>
<h1>Heading 1 <span class="rd-notification-badge">Normal</span></h1>
<h2>Heading 2 <span class="rd-notification-badge">Normal</span></h2>
<h3>Heading 3 <span class="rd-notification-badge">Normal</span></h3>
<h4>Heading 4 <span class="rd-notification-badge">Normal</span></h4>
<h5>Heading 5 <span class="rd-notification-badge">Normal</span></h5>
<h6>Heading 6 <span class="rd-notification-badge">Normal</span></h6>
<h3>Tiny badge</h3>
<p>Add <code>tiny</code> class into badge element to display tiny bade.</p>
<p class="code-sample-badgetiny">
<span class="rd-notification-badge tiny">Normal</span>
<span class="rd-notification-badge badge-primary tiny">Primary</span>
<span class="rd-notification-badge badge-info tiny">Info</span>
<span class="rd-notification-badge badge-danger tiny">Danger</span>
<span class="rd-notification-badge badge-warning tiny">Warning</span>
<span class="rd-notification-badge badge-success tiny">Success</span>
</p>
<h4>Source</h4>
<pre class="preview-source" data-target-src=".code-sample-badgetiny" data-target-src-remove-first-space="24" data-inner-html="true"></pre>
</div><!--.rd-page-content-->
</main>
<footer>
<div class="rd-page-footer-left"><a href="http://rundiz.com" target="_blank">Rundiz</a> template for admin</div>
<div class="rd-page-footer-right">My app version n.n.</div>
</footer>
</div><!--.rd-page-wrapper-->
<script src="//code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="assets/js/smartmenus/jquery.smartmenus.min.js?npm-v=1.1.1"></script>
<script src="assets/js/popper.js/umd/popper.min.js?npm-v=2.11.2"></script>
<script src="assets/js/sticky-sidebar/jquery.sticky-sidebar.min.js?npm-v=3.3.1"></script>
<script src="assets/js/resize-sensor/ResizeSensor.js?v=8652505c23e8fdc8016445c5e13bee64"></script><!-- use with sticky sidebar js, manual update. -->
<script src="assets/js/rdta/rundiz-template-admin.js?v=da4ea17f9a3341bc37d653a0fa05aaed"></script>
<script class="exclude-preview" src="assets/js-preview/view-target-source.js?v=5d8e14607272d449d23384736d9e83c0"></script>
<script class="exclude-preview" src="assets/js-preview/view-source.js?v=8921f78eb4b62617fff7cd24b9329802"></script>
</body>
</html>