Move the col class to gallery

This commit is contained in:
c0de 2023-12-29 18:22:12 -06:00
parent c8fd56837f
commit bb63b18391
2 changed files with 21 additions and 22 deletions

View File

@ -1,23 +1,22 @@
<div class="col"> <div class="card" aria-hidden="true">
<div class="card" aria-hidden="true"> <div class="card-header">
<div class="card-header"> <div class="d-flex align-items-center">
<div class="d-flex align-items-center"> <strong role="status">Loading...</strong>
<strong role="status">Loading...</strong> <div class="spinner-border ms-auto" aria-hidden="true"></div>
<div class="spinner-border ms-auto" aria-hidden="true"></div>
</div>
</div>
<svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: Loading..." preserveAspectRatio="xMidYMid slice" focusable="false"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">Loading...</text></svg>
<div class="card-body">
<h5 class="card-title placeholder-glow">
<span class="placeholder col-6"></span>
</h5>
<p class="card-text placeholder-glow">
<span class="placeholder col-7"></span>
<span class="placeholder col-4"></span>
<span class="placeholder col-4"></span>
<span class="placeholder col-6"></span>
<span class="placeholder col-8"></span>
</p>
</div> </div>
</div> </div>
<svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: Loading..." preserveAspectRatio="xMidYMid slice" focusable="false"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">Loading...</text></svg>
<div class="card-body">
<h5 class="card-title placeholder-glow">
<span class="placeholder col-6"></span>
</h5>
<p class="card-text placeholder-glow">
<span class="placeholder col-7"></span>
<span class="placeholder col-4"></span>
<span class="placeholder col-4"></span>
<span class="placeholder col-6"></span>
<span class="placeholder col-8"></span>
</p>
</div>
</div> </div>

View File

@ -3,8 +3,8 @@
<div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 g-3" data-memory='{"PercentPossition": true}'> <div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 g-3" data-memory='{"PercentPossition": true}'>
{% for this in gallery_items %} {% for this in gallery_items %}
{% include 'card.html' %} <div class="col-md">{% include 'card.html' %}</div>
{% include 'card_loading.html' %} <div class="col-md">{% include 'card_loading.html' %}</div>
{% endfor %} {% endfor %}
</div> </div>