-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
02ff8d3
commit fea11e0
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 %} |