Skip to content

Commit

Permalink
Event page CSS change for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Celeo committed Oct 28, 2024
1 parent d77630e commit 261bfaf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions vzdv-site/templates/changelog.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<div class="card-text">
<ul>
<li>Slight homepage panel loading change</li>
<li>Slight event page styling change</li>
</ul>
</div>
</div>
Expand Down
11 changes: 7 additions & 4 deletions vzdv-site/templates/events/event.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,19 @@
{% block body %}

<div class="row">
<div class="col" id="event-">
<div class="col">
<h2>
{{ event.name }}
{% if event.published %}{% else %}(unpublished){% endif %}
</h2>
</div>
</div>

<div class="row">
<div class="col-12 col-lg-6">
<h5 class="pt-3"><strong>Start:</strong> <span class="d-none event-time" updateTarget="editFormStart">{{ event.start }}</span></h5>
<h5><strong>End:</strong> <span class="d-none event-time" updateTarget="editFormEnd">{{ event.end }}</span></h5>

<p class="pt-3">{{ event.description }}</p>

{% if event_not_over %}
<div class="d-flex justify-content-between">
{% if user_info and user_info.is_some_staff or is_on_roster %}
Expand All @@ -53,7 +56,7 @@
</div>
{% endif %}
</div>
<div class="col">
<div class="col-12 col-lg-6">
<img src="{{ event.image_url }}" alt="Event banner" class="img-fluid" />
</div>
</div>
Expand Down

0 comments on commit 261bfaf

Please sign in to comment.