312 lines
9.0 KiB
HTML
312 lines
9.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge" />
|
|
<title>Material Design for Bootstrap</title>
|
|
<!-- MDB icon -->
|
|
<link rel="icon" href="../../img/mdb-favicon.ico" type="image/x-icon" />
|
|
<!-- Font Awesome -->
|
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.11.2/css/all.css" />
|
|
<!-- Google Fonts Roboto -->
|
|
<link
|
|
rel="stylesheet"
|
|
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
|
|
/>
|
|
<!-- MDB -->
|
|
<link rel="stylesheet" href="../../css/mdb.min.css" />
|
|
<!-- PRISM -->
|
|
<link rel="stylesheet" href="../../dev/css/new-prism.css" />
|
|
<!-- Custom styles -->
|
|
<style>
|
|
.bd-example > .progress + .progress {
|
|
margin-top: 1rem;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container my-5">
|
|
<h2 class="mb-5">Progress bars</h2>
|
|
|
|
<div class="mb-5">
|
|
<div class="bd-example">
|
|
<div class="progress">
|
|
<div
|
|
class="progress-bar"
|
|
role="progressbar"
|
|
aria-valuenow="0"
|
|
aria-valuemin="0"
|
|
aria-valuemax="100"
|
|
></div>
|
|
</div>
|
|
<div class="progress">
|
|
<div
|
|
class="progress-bar"
|
|
role="progressbar"
|
|
style="width: 25%;"
|
|
aria-valuenow="25"
|
|
aria-valuemin="0"
|
|
aria-valuemax="100"
|
|
></div>
|
|
</div>
|
|
<div class="progress">
|
|
<div
|
|
class="progress-bar"
|
|
role="progressbar"
|
|
style="width: 50%;"
|
|
aria-valuenow="50"
|
|
aria-valuemin="0"
|
|
aria-valuemax="100"
|
|
></div>
|
|
</div>
|
|
<div class="progress">
|
|
<div
|
|
class="progress-bar"
|
|
role="progressbar"
|
|
style="width: 75%;"
|
|
aria-valuenow="75"
|
|
aria-valuemin="0"
|
|
aria-valuemax="100"
|
|
></div>
|
|
</div>
|
|
<div class="progress">
|
|
<div
|
|
class="progress-bar"
|
|
role="progressbar"
|
|
style="width: 100%;"
|
|
aria-valuenow="100"
|
|
aria-valuemin="0"
|
|
aria-valuemax="100"
|
|
></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mb-5">
|
|
<div class="progress">
|
|
<div
|
|
class="progress-bar w-75"
|
|
role="progressbar"
|
|
aria-valuenow="75"
|
|
aria-valuemin="0"
|
|
aria-valuemax="100"
|
|
></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mb-5">
|
|
<div class="progress" style="height: 20px;">
|
|
<div
|
|
class="progress-bar"
|
|
role="progressbar"
|
|
style="width: 25%;"
|
|
aria-valuenow="25"
|
|
aria-valuemin="0"
|
|
aria-valuemax="100"
|
|
>
|
|
25%
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mb-5">
|
|
<div class="bd-example">
|
|
<div class="progress" style="height: 1px;">
|
|
<div
|
|
class="progress-bar"
|
|
role="progressbar"
|
|
style="width: 25%;"
|
|
aria-valuenow="25"
|
|
aria-valuemin="0"
|
|
aria-valuemax="100"
|
|
></div>
|
|
</div>
|
|
<div class="progress" style="height: 25px;">
|
|
<div
|
|
class="progress-bar"
|
|
role="progressbar"
|
|
style="width: 25%;"
|
|
aria-valuenow="25"
|
|
aria-valuemin="0"
|
|
aria-valuemax="100"
|
|
></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mb-5">
|
|
<div class="bd-example">
|
|
<div class="progress">
|
|
<div
|
|
class="progress-bar bg-success"
|
|
role="progressbar"
|
|
style="width: 25%;"
|
|
aria-valuenow="25"
|
|
aria-valuemin="0"
|
|
aria-valuemax="100"
|
|
></div>
|
|
</div>
|
|
<div class="progress">
|
|
<div
|
|
class="progress-bar bg-info"
|
|
role="progressbar"
|
|
style="width: 50%;"
|
|
aria-valuenow="50"
|
|
aria-valuemin="0"
|
|
aria-valuemax="100"
|
|
></div>
|
|
</div>
|
|
<div class="progress">
|
|
<div
|
|
class="progress-bar bg-warning"
|
|
role="progressbar"
|
|
style="width: 75%;"
|
|
aria-valuenow="75"
|
|
aria-valuemin="0"
|
|
aria-valuemax="100"
|
|
></div>
|
|
</div>
|
|
<div class="progress">
|
|
<div
|
|
class="progress-bar bg-danger"
|
|
role="progressbar"
|
|
style="width: 100%;"
|
|
aria-valuenow="100"
|
|
aria-valuemin="0"
|
|
aria-valuemax="100"
|
|
></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mb-5">
|
|
<div class="progress">
|
|
<div
|
|
class="progress-bar"
|
|
role="progressbar"
|
|
style="width: 15%;"
|
|
aria-valuenow="15"
|
|
aria-valuemin="0"
|
|
aria-valuemax="100"
|
|
></div>
|
|
<div
|
|
class="progress-bar bg-success"
|
|
role="progressbar"
|
|
style="width: 30%;"
|
|
aria-valuenow="30"
|
|
aria-valuemin="0"
|
|
aria-valuemax="100"
|
|
></div>
|
|
<div
|
|
class="progress-bar bg-info"
|
|
role="progressbar"
|
|
style="width: 20%;"
|
|
aria-valuenow="20"
|
|
aria-valuemin="0"
|
|
aria-valuemax="100"
|
|
></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mb-5">
|
|
<div class="bd-example">
|
|
<div class="progress" style="height: 20px;">
|
|
<div
|
|
class="progress-bar progress-bar-striped"
|
|
role="progressbar"
|
|
style="width: 10%;"
|
|
aria-valuenow="10"
|
|
aria-valuemin="0"
|
|
aria-valuemax="100"
|
|
></div>
|
|
</div>
|
|
<div class="progress" style="height: 20px;">
|
|
<div
|
|
class="progress-bar progress-bar-striped bg-success"
|
|
role="progressbar"
|
|
style="width: 25%;"
|
|
aria-valuenow="25"
|
|
aria-valuemin="0"
|
|
aria-valuemax="100"
|
|
></div>
|
|
</div>
|
|
<div class="progress" style="height: 20px;">
|
|
<div
|
|
class="progress-bar progress-bar-striped bg-info"
|
|
role="progressbar"
|
|
style="width: 50%;"
|
|
aria-valuenow="50"
|
|
aria-valuemin="0"
|
|
aria-valuemax="100"
|
|
></div>
|
|
</div>
|
|
<div class="progress" style="height: 20px;">
|
|
<div
|
|
class="progress-bar progress-bar-striped bg-warning"
|
|
role="progressbar"
|
|
style="width: 75%;"
|
|
aria-valuenow="75"
|
|
aria-valuemin="0"
|
|
aria-valuemax="100"
|
|
></div>
|
|
</div>
|
|
<div class="progress" style="height: 20px;">
|
|
<div
|
|
class="progress-bar progress-bar-striped bg-danger"
|
|
role="progressbar"
|
|
style="width: 100%;"
|
|
aria-valuenow="100"
|
|
aria-valuemin="0"
|
|
aria-valuemax="100"
|
|
></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mb-5">
|
|
<div class="bd-example">
|
|
<div class="progress" style="height: 20px;">
|
|
<div
|
|
class="progress-bar progress-bar-striped progress-bar-animated"
|
|
role="progressbar"
|
|
aria-valuenow="75"
|
|
aria-valuemin="0"
|
|
aria-valuemax="100"
|
|
style="width: 75%;"
|
|
></div>
|
|
</div>
|
|
<button
|
|
type="button"
|
|
class="btn btn-primary mt-3"
|
|
data-mdb-toggle="button"
|
|
id="btnToggleAnimatedProgress"
|
|
aria-pressed="true"
|
|
autocomplete="off"
|
|
>
|
|
Toggle animation
|
|
</button>
|
|
|
|
<p class="my-4">
|
|
ten button toggle animation nie działa jak w dokumentacji bootstrapa, ale zostawiam go
|
|
bo moze w dokumentacji ktoś to ogarnie i będzie umiał zrobić tak aby ta animacja się
|
|
włączała i wyłączała i nie zacinała strony tak jak wtedy gdy jest tylko włączona.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mb-5"></div>
|
|
</div>
|
|
|
|
<!-- MDB -->
|
|
<script type="text/javascript" src="../../js/mdb.min.js"></script>
|
|
<!-- PRISM -->
|
|
<script type="text/javascript" src="../../dev/js/new-prism.js"></script>
|
|
<!-- MDB SNIPPET -->
|
|
<script type="text/javascript" src="../../dev/js/dist/mdbsnippet.min.js"></script>
|
|
<!-- Custom scripts -->
|
|
<script type="text/javascript"></script>
|
|
</body>
|
|
</html>
|