File tree Expand file tree Collapse file tree 3 files changed +28
-10
lines changed
Expand file tree Collapse file tree 3 files changed +28
-10
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,9 @@ <h2>Create Event</h2>
1515 < div class ="btn-container ">
1616 < button type ="submit "> Create</ button >
1717 </ div >
18-
1918 {% if error %}
2019 < label class ="error-label "> {{error}}</ label >
2120 {% endif %}
2221 </ form >
2322</ div >
24- {% endblock %}
23+ {% endblock %}
Original file line number Diff line number Diff line change 11{% extends 'base.html' %}
22{% block content %}
3- < h1 > {{event.name}} Event</ h1 >
4- < li > Category: {{event.category.name}}</ li >
5- < li > Location: {{event.location.city}}</ li >
6- < li > Starts At: {{event.start_time}}</ li >
7- < li > Ends At: {{event.end_time}}</ li >
8- < li > Participants : {{event.participants_num}}/{{event.max_participants}}</ li >
3+ < div class ="event-info-header ">
4+ < h2 > {{event.name}} Event</ h2 >
5+ </ div >
6+ < div class ="event-info-container ">
7+ < ul >
8+ < li > Category: {{event.category.name}}</ li >
9+ < li > Location: {{event.location.city}}</ li >
10+ < li > Starts At: {{event.start_time}}</ li >
11+ < li > Ends At: {{event.end_time}}</ li >
12+ < li > Participants : {{event.participants_num}}/{{event.max_participants}}</ li >
13+ </ ul >
14+ </ div >
915{% endblock %}
1016{% block poll_info %}{% endblock %}
1117{% block teams_info %}{% endblock %}
Original file line number Diff line number Diff line change 139139 margin : 20px ;
140140}
141141
142- .create-event-form {}
143-
144142.create-event-form > div {
145143 display : flex;
146144 justify-content : space-between;
180178
181179.create-event-form # field_is_private > input [type = 'checkbox' ] {
182180 width : 20px ;
181+ }
182+
183+ .event-info-header {
184+ margin : 15px ;
185+ }
186+
187+ .event-info-container {
188+ margin : 20px ;
189+ display : flex;
190+ justify-content : center;
191+ }
192+
193+ .event-info-container > ul > li {
194+ margin : 3px 0 ;
195+ padding : 3px 0 ;
183196}
You can’t perform that action at this time.
0 commit comments