mirror of
https://github.com/bvanroll/yahoo-thing.git
synced 2025-08-29 03:52:44 +00:00
fuck a collapse
This commit is contained in:
@@ -2,17 +2,17 @@
|
||||
<div class="container wrapper">
|
||||
<div class="panel-group" id="accordion">
|
||||
{{#each this.data}}
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4 class="panel-title">
|
||||
<a data-toggle="collapse" data-parent="#accordion" href="#{{this._id}}">{{this.title}}</a>
|
||||
<div class="card">
|
||||
<div class="card-header" id="heading{{this._id}}">
|
||||
<h4 class="mb-0">
|
||||
<button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#{{this._id}}" aria-expanded="false" aria-controls="{{this._id}}">{{this.title}}</button
|
||||
</h4>
|
||||
</div>
|
||||
<div id="{{this._id}}" class="panel-collapse collapse in">
|
||||
<div class="panel-body">
|
||||
<h3>description</h3>
|
||||
<div id="{{this._id}}" class="" aria-labelledby="heading{{this.id}}" data-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<h5>description</h5>
|
||||
<p class="description">{{this.description}}</p>
|
||||
<h3>category</h3>
|
||||
<h5>category</h5>
|
||||
<p class="category">{{this.category}}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -2,10 +2,15 @@
|
||||
<head>
|
||||
<title>yahoo questions api</title>
|
||||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
|
||||
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
|
||||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
|
||||
<link rel="stylesheet" href="static/main.css">
|
||||
<script
|
||||
src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
|
||||
integrity="sha256-3edrmyuQ0w65f8gfBsqowzjJe2iM6n0nKciPUp8y+7E="
|
||||
crossorigin="anonymous"></script>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
Reference in New Issue
Block a user