85 lines
4.3 KiB
HTML
85 lines
4.3 KiB
HTML
|
<!doctype html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
<title>Collapse</title>
|
||
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||
|
|
||
|
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||
|
<!--[if lt IE 9]>
|
||
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||
|
<![endif]-->
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<div class="container">
|
||
|
|
||
|
<div class="page-header">
|
||
|
<h1>Collapse <small>Bootstrap Visual Test</small></h1>
|
||
|
</div>
|
||
|
|
||
|
<div class="panel-group" id="accordion">
|
||
|
<div class="panel panel-default">
|
||
|
<div class="panel-heading">
|
||
|
<h4 class="panel-title">
|
||
|
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne">
|
||
|
Collapsible Group Item #1
|
||
|
</a>
|
||
|
</h4>
|
||
|
</div>
|
||
|
<div id="collapseOne" class="panel-collapse collapse in">
|
||
|
<div class="panel-body">
|
||
|
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="panel panel-default">
|
||
|
<div class="panel-heading">
|
||
|
<h4 class="panel-title">
|
||
|
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo">
|
||
|
Collapsible Group Item #2
|
||
|
</a>
|
||
|
</h4>
|
||
|
</div>
|
||
|
<div id="collapseTwo" class="panel-collapse collapse">
|
||
|
<div class="panel-body">
|
||
|
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="panel panel-default">
|
||
|
<div class="panel-heading">
|
||
|
<h4 class="panel-title">
|
||
|
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree">
|
||
|
Collapsible Group Item #3
|
||
|
</a>
|
||
|
</h4>
|
||
|
</div>
|
||
|
<div id="collapseThree" class="panel-collapse collapse">
|
||
|
<div class="panel-body">
|
||
|
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<button class="btn" data-toggle="collapse" data-target="<img src=x onerror=alert(0)>">
|
||
|
Collapse with an XSS
|
||
|
</button>
|
||
|
|
||
|
<a role="button" class="btn btn-primary" data-toggle="collapse" data-parent="<img src=1 onerror=\'alert(0)\'>" href="#collapseThree">
|
||
|
Collapse with an XSS in data-parent
|
||
|
</a>
|
||
|
</div>
|
||
|
|
||
|
<!-- JavaScript Includes -->
|
||
|
<script src="../vendor/jquery.min.js"></script>
|
||
|
<script src="../../transition.js"></script>
|
||
|
<script src="../../collapse.js"></script>
|
||
|
|
||
|
</body>
|
||
|
</html>
|