This commit is contained in:
vinicius.reif
2019-09-06 19:40:57 -03:00
parent 075b56fcc6
commit 742991ace8
8 changed files with 286 additions and 75 deletions

View File

@@ -0,0 +1,60 @@
<!DOCTYPE html>
<html lang="en" class="tui-bg-blue-black">
<head>
<meta charset="UTF-8">
<title>Progress Example</title>
<script src="plugins/jquery-3.4.1.min.js"></script>
<script src="../dist/tuicss.min.js"></script>
<link rel="stylesheet" href="../dist/tuicss.min.css">
</head>
<body>
<body class="center" style="padding: 50px">
<div class="tui-window" style="text-align: left;">
<fieldset class="tui-window-fieldset">
<legend class="center">Progress</legend>
0% ............:
<div class="tui-progress-bar inline-block valign-middle">
<span class="tui-progress" style="width: 0%"></span>
</div><br><br>
25% ...........:
<div class="tui-progress-bar inline-block valign-middle">
<span class="tui-progress" style="width: 25%"></span>
</div><br><br>
50% ...........:
<div class="tui-progress-bar inline-block valign-middle">
<span class="tui-progress" style="width: 50%"></span>
</div><br><br>
75% ...........:
<div class="tui-progress-bar inline-block valign-middle">
<span class="tui-progress" style="width: 75%"></span>
</div><br><br>
100% ..........:
<div class="tui-progress-bar inline-block valign-middle">
<span class="tui-progress" style="width: 100%"></span>
</div><br><br>
Texture bg ....:
<div class="tui-progress-bar inline-block valign-middle tui-bg-blue-black">
<span class="tui-progress" style="width: 50%"></span>
</div><br><br>
Indeterminate .:
<div class="tui-progress-bar inline-block valign-middle">
<span class="tui-indeterminate"></span>
</div><br><br>
Labeled .......:
<div class="tui-progress-bar inline-block valign-middle">
<span class="tui-progress-label black-text">75%</span>
<span class="tui-progress" style="width: 75%"></span>
</div><br><br>
Custom ........:
<div class="tui-progress-bar inline-block valign-middle red-255">
<span class="tui-progress green-255" style="width: 50%"></span>
</div>
</fieldset>
</div>
</div>
</body>
</html>

178
examples/table.html Normal file
View File

@@ -0,0 +1,178 @@
<!DOCTYPE html>
<html lang="en" class="tui-bg-blue-black">
<head>
<meta charset="UTF-8">
<title>Table Example</title>
<script src="plugins/jquery-3.4.1.min.js"></script>
<script src="../dist/tuicss.min.js"></script>
<link rel="stylesheet" href="../dist/tuicss.min.css">
<style>
.tui-window {
margin-bottom: 40px;
}
</style>
</head>
<body>
<body class="center" style="padding: 50px">
<div class="tui-window" style="text-align: left;">
<fieldset class="tui-window-fieldset">
<legend class="center">Table</legend>
<table class="tui-table" style="width: 700px">
<thead>
<tr>
<th>Name</th>
<th>PID</th>
<th>CPU</th>
<th>Memory</th>
</tr>
</thead>
<tbody>
<tr>
<td>conhost.exe</td>
<td>25768</td>
<td>00</td>
<td>1.748 Kb</td>
</tr>
<tr>
<td>msdos.exe</td>
<td>748</td>
<td>00</td>
<td>22.216 Kb</td>
</tr>
<tr>
<td>System</td>
<td>25000</td>
<td>12</td>
<td>112 Kb</td>
</tr>
<tr>
<td>svchost.exe</td>
<td>580</td>
<td>01</td>
<td>9.440 Kb</td>
</tr>
<tr>
<td>explorer.exe</td>
<td>4</td>
<td>00</td>
<td>53.740 Kb</td>
</tr>
<tr>
<td>conhost.exe</td>
<td>25768</td>
<td>00</td>
<td>1.748 Kb</td>
</tr>
<tr>
<td>msdos.exe</td>
<td>748</td>
<td>00</td>
<td>22.216 Kb</td>
</tr>
<tr>
<td>System</td>
<td>25000</td>
<td>12</td>
<td>112 Kb</td>
</tr>
<tr>
<td>svchost.exe</td>
<td>580</td>
<td>01</td>
<td>9.440 Kb</td>
</tr>
<tr>
<td>explorer.exe</td>
<td>4</td>
<td>00</td>
<td>53.740 Kb</td>
</tr>
</tbody>
</table>
</fieldset>
</div>
<div class="tui-window" style="text-align: left;">
<fieldset class="tui-window-fieldset">
<legend class="center">Table hover</legend>
<table class="tui-table tui-table-hover" style="width: 700px">
<thead>
<tr>
<th>Name</th>
<th>PID</th>
<th>CPU</th>
<th>Memory</th>
</tr>
</thead>
<tbody>
<tr>
<td>conhost.exe</td>
<td>25768</td>
<td>00</td>
<td>1.748 Kb</td>
</tr>
<tr>
<td>msdos.exe</td>
<td>748</td>
<td>00</td>
<td>22.216 Kb</td>
</tr>
<tr>
<td>System</td>
<td>25000</td>
<td>12</td>
<td>112 Kb</td>
</tr>
<tr>
<td>svchost.exe</td>
<td>580</td>
<td>01</td>
<td>9.440 Kb</td>
</tr>
<tr>
<td>explorer.exe</td>
<td>4</td>
<td>00</td>
<td>53.740 Kb</td>
</tr>
<tr>
<td>conhost.exe</td>
<td>25768</td>
<td>00</td>
<td>1.748 Kb</td>
</tr>
<tr>
<td>msdos.exe</td>
<td>748</td>
<td>00</td>
<td>22.216 Kb</td>
</tr>
<tr>
<td>System</td>
<td>25000</td>
<td>12</td>
<td>112 Kb</td>
</tr>
<tr>
<td>svchost.exe</td>
<td>580</td>
<td>01</td>
<td>9.440 Kb</td>
</tr>
<tr>
<td>explorer.exe</td>
<td>4</td>
<td>00</td>
<td>53.740 Kb</td>
</tr>
</tbody>
</table>
</fieldset>
</div>
</div>
</body>
</html>