Add endfor

This commit is contained in:
HackerNCoder 2022-11-18 22:38:32 +01:00
parent 3d71cd07bf
commit 1323cba20c
2 changed files with 13 additions and 8 deletions

View file

@ -3595,8 +3595,7 @@ textarea.form-control-lg {
} }
.btn-sm, .btn-group-sm > .btn { .btn-sm, .btn-group-sm > .btn {
padding: 0.25rem 0.5rem; padding: 0.75rem 1.25rem !important;
font-size: 0.875rem;
border-radius: 0.2rem; border-radius: 0.2rem;
} }

View file

@ -5,19 +5,25 @@
{% block twittertitle %}{{ this.title }} | Queerscriptors{% endblock %} {% block twittertitle %}{{ this.title }} | Queerscriptors{% endblock %}
{% block page %} {% block page %}
{% include 'header.html' %} {% include 'header.html' %}
<div class="container my-5 pt-5" >
{% for project in this.children %} {% for project in this.children %}
{% set image = project.attachments.images.first() %} {% set image = project.attachments.images.first() %}
<div class="card mb-3"> <div class="card mt-3">
<div class="row gb-0" > <div class="row g-0" >
<div class="col-md-0" > <div class="col-md-4" >
<img src="{{image}}" class="img-fluid rounded-start" > <img src="{{image|url}}" class="img-fluid rounded-start" >
</div> </div>
<div class="col-md-8" > <div class="col-md-8" >
<div class="card-body" > <div class="card-body h-100 position-relative" >
<h5 class="card-title" >{{project.title}}</h5> <h3 class="card-title" >{{project.title}}</h3>
<p class="card-text" >{{project.shortbody}}</p> <p class="card-text" >{{project.shortbody}}</p>
<div class="position-absolute bottom-0 end-0 mb-2 me-2">
<a href="{{project|url}}" class="btn btn-primary btn-sm">{{ _("View") }} <i class="fa fa-angle-right" aria-hidden="true"></i></a>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div>
{% endfor %}
</div>
{% endblock %} {% endblock %}