Skip to content

Commit

Permalink
added gallery.html
Browse files Browse the repository at this point in the history
  • Loading branch information
student-Ranjan authored May 13, 2024
1 parent 02ff8d3 commit fea11e0
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions gallery.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{% extends 'base.html' %}
{% load static %}

{% block a %}
<div class="text-center fs-1 mt-2 h">Image <b class="text-warning"> Gallery
<i class="fa-solid fa-camera"></i></b></div>
<div class="row mt-2" style="background-image:url({% static 'images/bg.webp' %});background-size:cover;min-height:700px;">
<div class="col-sm-1"></div>
<div class="col-sm-10">
<div class="row">
{% for x in data %}
<div class="col-sm-4">
<!--start card-->
<div class="card w-100">
<img src="/{{x.picture}}" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title text-center mb-2">{{x.gdes}}</h5>

</div>
</div>
<!--end card-->
</div>
{% endfor %}
</div>
</div>
<div class="col-sm-1"></div>
</div>

{% endblock %}

0 comments on commit fea11e0

Please sign in to comment.