Skip to content

Commit f239c18

Browse files
authored
Merge branch 'develop' into CD/Added-provisional-CD
2 parents ac54b2d + b8335f6 commit f239c18

File tree

10 files changed

+92
-373
lines changed

10 files changed

+92
-373
lines changed

app/static/css/custom-bootstrap.css

Lines changed: 40 additions & 40 deletions
Large diffs are not rendered by default.

app/static/css/main.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
body {
2020

21-
background: url("../img/background.svg") #f2ede6 center / 640px repeat;
21+
background: url("../img/background.jpeg") #f2ede6 center center repeat fixed;
2222
font-family: ProximaNovaRegular, 'Roboto', sans-serif;
2323
font-size: 15px;
2424
}
@@ -71,7 +71,7 @@ a:hover, a:active, a:focus {
7171
/*-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);*/
7272
/*box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);*/
7373
border: 0;
74-
border-top: 5px solid #e8e2d7;
74+
border-top: 5px solid #E3C3FF;
7575
}
7676

7777
.btn-primary {
@@ -110,7 +110,7 @@ nav.navbar {
110110
/*-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
111111
/*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
112112
border: 0;
113-
border-bottom: 5px solid #e8e2d7;
113+
border-bottom: 5px solid #E3C3FF;
114114
}
115115

116116
.table {
@@ -121,7 +121,7 @@ div.panel {
121121
-webkit-border-radius: 10px;
122122
-moz-border-radius: 10px;
123123
border-radius: 10px;
124-
border: 5px solid #e8e2d7;
124+
border: 5px solid #E3C3FF;
125125
z-index: 3;
126126
}
127127

@@ -260,7 +260,7 @@ img {
260260
padding: 0.5em 1em;
261261
text-align: center;
262262
transition: bottom 1s;
263-
background-color: #e8e2d7;
263+
background-color: #E3C3FF;
264264
z-index:1031; /*footer was set to 1030*/
265265
box-shadow: 0px 15px 15px 15px black;
266266
color: black;

app/static/css/tabs.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
-webkit-border-radius: 0;
33
-moz-border-radius: 0;
44
border-radius: 0;
5-
background: #e8e2d7;
5+
background: #E3C3FF;
66
/*box-shadow: inset 0 -2px 2px rgba(0, 0, 0, 0.1);*/
77
margin: 0;
88
font-style: normal;

app/static/img/background.jpeg

3.01 MB
Loading

app/static/img/background.svg

Lines changed: 13 additions & 306 deletions
Loading

app/templates/403.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,18 @@
77

88
{% block body %}
99
<style>
10-
.text-black {
11-
color: black;
10+
.text-white {
11+
color: white;
12+
}
13+
.custom-a {
14+
color: #E3C3FF;
15+
font-weight: bold;
16+
text-decoration: underline;
1217
}
1318
</style>
14-
<div class="text-black">
19+
<div class="text-white">
1520
<h1 class="text-center margin-top">YOU SHALL NOT PASS!</h1>
1621
<h2 class="text-center">403 Access Forbidden</h2>
17-
<p class="text-center">Please <a href="{% url 'account_login' %}">log in</a> with a more <b>powerful</b> account to access this page</p>
22+
<p class="text-center">Please <a class='custom-a' "{% url 'account_login' %}">log in</a> with a more <b>powerful</b> account to access this page</p>
1823
</div>
1924
{% endblock %}

app/templates/404.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77

88
{% block body %}
99
<style>
10-
.text-black {
11-
color: black;
10+
.text-white {
11+
color: white;
1212
}
1313
</style>
14-
<div class="text-black">
14+
<div class="text-white">
1515
<h1 class="text-center margin-top">¯\_(ツ)_/¯</h1>
1616
<h2 class="text-center">404 Page not found</h2>
1717
<p class="text-center">This specified file was not found on this website. Please check the URL for mistakes and

app/templates/500.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,24 @@
88

99
{% block body %}
1010
<style>
11-
.text-black {
12-
color: black;
11+
.text-white {
12+
color: white;
13+
}
14+
.custom-a {
15+
color: #E3C3FF;
16+
font-weight: bold;
17+
text-decoration: underline;
1318
}
1419
</style>
15-
<div class="text-black">
20+
<div class="text-white">
1621
<h1 class="text-center margin-top">500 Oops</h1>
1722
<h2 class="text-center">Server Error </h2>
1823
<p class="text-center">It seems like you found an error. Please reach us out
1924
at {{ h_contact_email|urlize }} if the problem persists.</p>
2025
{% if h_repo %}
2126
<p class="text-center">
2227
Or you can open an issue
23-
<a target="_blank" href="{{ h_repo }}issues/new">here</a>.
28+
<a class='custom-a' target="_blank" href="{{ h_repo }}issues/new">here</a>.
2429
</p>
2530
{% endif %}
2631
</div>

applications/forms/volunteer.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ class VolunteerApplicationForm(_BaseApplicationForm):
3131
under_age = forms.TypedChoiceField(
3232
required=True,
3333
label="¿Tienes o tendrás la mayoría de edad antes de la fecha del evento?",
34-
initial=False,
34+
initial=True,
3535
coerce=lambda x: x == "True",
36-
choices=((False, "No"), (True, "")),
36+
choices=((True, ""),(False, "No")),
3737
widget=forms.RadioSelect,
3838
)
3939
night_shifts = forms.TypedChoiceField(
@@ -181,11 +181,11 @@ def get_bootstrap_field_info(self):
181181
'margin-bottom: 1em;line-height: 1.25em;">Nosotros, Hackers at UPC, '
182182
"procesamos tu información para organizar la mejor hackathon posible. "
183183
"También incluirá imágenes y videos tuyos durante el evento. "
184-
"Tus datos se utilizarán principalmente para admisiones. También podríamos contactarte "
185-
"(enviándote un correo electrónico) sobre otros eventos que estamos organizando y"
186-
"que son de una naturaleza similar a los que previamente solicitaste. Para más"
187-
"información sobre el procesamiento de tus datos personales y sobre cómo ejercer tus"
188-
"derechos de acceso, rectificación, supresión, limitación, portabilidad y oposición, por"
184+
"Tus datos se utilizarán principalmente para admisiones. También podríamos contactarte "
185+
"(enviándote un correo electrónico) sobre otros eventos que estamos organizando y "
186+
"que son de una naturaleza similar a los que previamente solicitaste. Para más "
187+
"información sobre el procesamiento de tus datos personales y sobre cómo ejercer tus "
188+
"derechos de acceso, rectificación, supresión, limitación, portabilidad y oposición, por "
189189
"favor visita nuestra Política de Privacidad y Cookies.</p>",
190190
}
191191
return fields
@@ -226,6 +226,7 @@ class Meta(_BaseApplicationForm.Meta):
226226
"graduation_year": "What year will you graduate?",
227227
"tshirt_size": "¿Cuál es tu talla de camiseta?",
228228
"diet": "Restricciones alimentarias",
229+
"other_diet": "Otras dietas",
229230
"origin": "¿Cuál es tu lugar de residencia actual?",
230231
"which_hack": "¿En qué ediciones de %s has participado como voluntari@?" % settings.HACKATHON_NAME,
231232
"attendance": "¿Qué días asistirás a HackUPC?",

teams/templates/team.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ <h3>Team code</h3>
1010
<p>Send this to whoever you want to join this team. Remember that teams have a maximum size of {{ h_max_team }}
1111
hackers</p>
1212

13-
<p>Remember this teams are only to apply as a group to make sure your friends are accepted with you. You can change the team afterwards on the event.</p>
14-
<p>When one of your teammate is accepted, any hackers <strong>will not be able to join the team</strong>.</p>
13+
<p>Remember these teams are only to apply as a group to make sure your friends are accepted with you. You can change the team afterwards on the event.</p>
14+
<p>When one of your teammates is accepted, any hackers <strong>will not be able to join the team</strong>.</p>
1515
<hr>
1616
<h3>Teammates ({{ teammates|length }}/{{ h_max_team }})</h3>
1717
<div class="table-responsive">
@@ -48,7 +48,8 @@ <h3>Teammates ({{ teammates|length }}/{{ h_max_team }})</h3>
4848

4949
{% elif not h_app_closed and not team %}
5050
<p>Do you have already a team? Join it below. Otherwise you can create a new team. </p>
51-
<p>This teams are only to apply as a group to make sure your friends are accepted with you. You can change the team afterwards on the event.</p>
51+
<p>These teams are only to apply as a group to make sure your friends are accepted with you. You can change the team afterwards on the event.</p>
52+
<p>When one of your teammates is accepted, any hackers <strong>will not be able to join the team</strong>.</p>
5253
<form action="" method="post" class="form">
5354
{% csrf_token %}
5455
{% bootstrap_form form %}

0 commit comments

Comments
 (0)