-
Notifications
You must be signed in to change notification settings - Fork 0
/
registration.html
152 lines (141 loc) · 4.26 KB
/
registration.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
---
layout: page
title: Registration
---
<div class="section">
<h2>General Informations</h2>
<p>
{{ site.data.registration.info }}
</p>
</div>
{% if site.data.registration.posters? %}
<div class="section">
<h2>Posters and Talks</h2>
<p>
{{ site.data.registration.posters }}
</p>
</div>
{% endif %}
<div class="section">
<h2>Participants</h2>
<p>{{ site.data.registration.selection.info }}<p>
<div class="collection">
{% for item in site.data.registration.selection.specs %}
<a
{% if item.url contains "http://" %}
href="{{ item.url }}"
{% else %}
href="{{ site.url }}/{{ item.url }}"
{% endif %}
class="collection-item black-text">
{{ item.text }}
{% if item.url != "#!" %}
<span class="badge custom1 white-text">{{ item.button }}</span>
{% endif %}
</a>
{% for item2 in item.subpoints %}
<a
{% if item2.url contains "http://" %}
href="{{ item2.url }}"
{% else %}
href="{{ site.url }}/{{ item2.url }}"
{% endif %}
class="collection-item black-text custom1 lighten-5">
{{ item2.text }}
{% if item.url != "#!" %}
<span class="badge custom1 white-text">{{ item2.button }}</span>
{% endif %}
</a>
{% endfor %}
{% endfor %}
</div>
</div>
<div class="section">
<h2>Deadline for Registrations and Payment</h2>
<p>{{ site.data.registration.deadlines.info }}<p>
<div class="collection">
{% for item in site.data.registration.deadlines.specs %}
<a
{% if item.url contains "http://" %}
href="{{ item.url }}"
{% else %}
href="{{ site.url }}/{{ item.url }}"
{% endif %}
class="collection-item black-text">
{{ item.text }}
{% if item.url != "#!" %}
<span class="badge custom1 white-text">pdf</span>
{% endif %}
</a>
{% for item2 in item.subpoints %}
<a
{% if item2.url contains "http://" %}
href="{{ item2.url }}"
{% else %}
href="{{ site.url }}/{{ item2.url }}"
{% endif %}
class="collection-item black-text custom1 lighten-5">
{{ item2.text }}
{% if item.url != "#!" %}
<span class="badge custom1 white-text">{{ item2.button }}</span>
{% endif %}
</a>
{% endfor %}
{% endfor %}
</div>
</div>
{% assign today_date = 'now' | date: '%s' %}
{% assign starting_date = site.data.registration.starting_date | date: '%s' %}
{% assign ending_date = site.data.registration.ending_date | date: '%s' %}
{% if today_date < ending_date %}
{% if today_date > starting_date %}
<div class="col s4 m6">
<div class="row center">
<a href="https://forms.gle/WPaNRSGbVox4kHKj6" target="_blank" id="about-button" class="btn-large waves-effect waves-light">Registration Form</a>
</div>
</div>
{% else %}
<div class="row center">
<h2>Registrations are not open yet! <br>For any info on the openinga date look at AISF social pages.</h2>
</div>
{% endif %}
{% else %}
<div class="row center">
<h2>Registration are closed for this edition. <br>Thanks to everyone who participated, hope to see you next time!</h2>
</div>
{% endif %}
<div class="section">
<h2>Terms and Conditions</h2>
<p>{{ site.data.registration.terms.info }}<p>
<div class="collection">
{% for item in site.data.registration.terms.specs %}
<a
{% if item.url contains "http://" %}
href="{{ item.url }}"
{% else %}
href="{{ site.url }}/{{ item.url }}"
{% endif %}
class="collection-item black-text">
{{ item.text }}
{% if item.url != "#!" %}
<span class="badge custom1 white-text">{{ item.button }}</span>
{% endif %}
</a>
{% for item2 in item.subpoints %}
<a
{% if item2.url contains "http://" %}
href="{{ item2.url }}"
{% else %}
href="{{ site.url }}/{{ item2.url }}"
{% endif %}
class="collection-item black-text custom1 lighten-5">
{{ item2.text }}
{% if item.url != "#!" %}
<span class="badge custom1 white-text">{{ item2.button }}</span>
{% endif %}
</a>
{% endfor %}
{% endfor %}
</div>
</div>
<div class="row center">