Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 into production
  • Loading branch information
Pancham1603 committed Nov 30, 2023
2 parents b00a9c4 + 2f6869f commit 42fa203
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions apps/nightpass/templates/lmao.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@
width: 100px;
height: 100px;
object-fit: cover;
border-radius: 10px;
border-radius: 5px;
margin-right: 5px;
}
.resource-details {
flex: 1;
Expand Down Expand Up @@ -292,17 +293,17 @@ <h1>Thapar NightPass</h1>
<div class="resource-card">
<img class "resource-img" src="{{ resource.picture }}" alt="Resource 1">
<div class="resource-details">
<h2 style="margin-bottom: 15px;">{{ resource.name }}</h2>
<p style="margin-bottom: 15px;">{{ resource.description }}</p>
<h2 style="margin-bottom: 5px;">{{ resource.name }}</h2>
<p style="margin-bottom: 5px;">{{ resource.description }}</p>
<button class="book-button" style="background-color: gray;" onclick="openModal('{{ resource.name }}', '{{ resource.description }}', '{{ resource.picture }}', false)">Cancel Slot</button>
</div>
</div>
{% else %}
<div class="resource-card">
<img class "resource-img" src="{{ resource.picture }}" alt="Resource 1">
<div class="resource-details">
<h2 style="margin-bottom: 15px;">{{ resource.name }}</h2>
<p style="margin-bottom: 15px;">{{ resource.description }}</p>
<h2 style="margin-bottom: 5px;">{{ resource.name }}</h2>
<p style="margin-bottom: 5px;">{{ resource.description }}</p>
{% if resource.is_booking %}
<button class="book-button" onclick="openModal('{{ resource.name }}', '{{ resource.description }}', '{{ resource.picture }}', true)">Book Slot</button>
{% else %}
Expand Down

0 comments on commit 42fa203

Please sign in to comment.