summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrathamesh2024-01-02 12:23:08 +0530
committerPrathamesh2024-01-02 12:23:08 +0530
commit2a05a7d86f4fd744a32f1f6c4d5575323067d69e (patch)
treeb752302348beefae6cb287460affefd17c9784bc
parent78baf5e3301f6f76ca3522bf9ed31f369fdb1176 (diff)
downloadcertificate-generation-2a05a7d86f4fd744a32f1f6c4d5575323067d69e.tar.gz
certificate-generation-2a05a7d86f4fd744a32f1f6c4d5575323067d69e.tar.bz2
certificate-generation-2a05a7d86f4fd744a32f1f6c4d5575323067d69e.zip
Add template changes
-rw-r--r--website/cgen/templates/base.html4
-rw-r--r--website/cgen/templates/index.html10
2 files changed, 7 insertions, 7 deletions
diff --git a/website/cgen/templates/base.html b/website/cgen/templates/base.html
index 4e6bd11..edb4e75 100644
--- a/website/cgen/templates/base.html
+++ b/website/cgen/templates/base.html
@@ -67,8 +67,8 @@
<main>
- <section class="py-5 text-center container">
- <div class="row py-lg-5">
+ <section class="py-5 text-center container" style="max-height:150px;">
+ <div class="row py-lg-5" style="padding-top:1rem; padding-bottom:1rem;">
<div class="col-lg-6 col-md-8 mx-auto">
<h1 class="fw-light">{% block header %} {% endblock %}</h1>
<p class="lead text-muted">{% block header_content %} {% endblock %}</p>
diff --git a/website/cgen/templates/index.html b/website/cgen/templates/index.html
index 5dfdbf7..134f021 100644
--- a/website/cgen/templates/index.html
+++ b/website/cgen/templates/index.html
@@ -60,7 +60,7 @@
{% endblock %}
{% block header_content %}
- Certificates for the following events and courses are available.
+ <u> Certificates for the following events and courses are available.</u>
{% endblock %}
{% block content %}
@@ -68,8 +68,8 @@
{% for event in events %}
<div class="col">
<div class="card shadow-sm">
- <svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">{{ event.name }}</text></svg>
-
+ <!--<svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">{{ event.name }}</text></svg>
+ -->
<div class="card-body">
<p class="card-text">{{ event.name }}</p>
{% for certificate in event.certificate_set.all %}
@@ -77,10 +77,10 @@
<p>{{ certificate.description }}
<div class="btn-group">
<a type="button" href="{% url 'certificate_download' certificate.id %}" class="btn btn-sm btn-outline-secondary">Download</a>
- <a type="button" href="{% url 'verify' %}" class="btn btn-sm btn-outline-secondary">Verify</a>
+ <!--<a type="button" href="{% url 'verify' %}" class="btn btn-sm btn-outline-secondary">Verify</a>-->
</div>
</div>
- <small class="text-muted">9 Downloads</small>
+ <!--<small class="text-muted">9 Downloads</small>-->
{% endfor %}
</div>
</div>