Merge branch 'master' of github.com:dpavlin/angular-mojolicious
[angular-mojolicious.git] / public / app / drzb2011 / registration-en.html
1 <!DOCTYPE HTML>
2 <html xmlns:ng="http://angularjs.org">
3 <head>
4 <meta charset="utf-8">
5 <script src="angular.js" ng:autobind></script>
6
7 <title>Conference registration</title>
8
9 <script src="database.js"></script>
10 <script src="registration.js"></script>
11
12 <link rel="stylesheet" href="registration.css" type="text/css">
13
14 </head>
15 <body>
16
17 <div id="wrapper">
18     <div id="header-eng">
19         <a href="http://psihologija.ffzg.hr/drzb2011-eng"><img src="http://psihologija.ffzg.hr/uploads/qS/LE/qSLEDLKdPrP88dVyNI542g/header-eng2.jpg" alt="Dani Ramira i Zorana Bujasa" class="float_left" /></a>
20     </div>
21
22     <div id="mainNav">
23 <div id="navigation">
24 <ul>
25 <li class="level"><a href="http://psihologija.ffzg.hr/drzb2011-eng">Home</a></li>
26         <li>
27         <a class="level4" href="http://psihologija.ffzg.hr/drzb2011-eng/registration">Registration</a>
28
29         <ul>
30
31         <li>
32                 <a class="level5" href="http://psihologija.ffzg.hr/drzb2011-eng/registration/types">Forms of participation</a>
33
34         <li>
35                 <a class="level5" href="http://psihologija.ffzg.hr/drzb2011-eng/registration/fee">Registration fee</a>
36         <li>
37                 <a class="level5" href="http://psihologija.ffzg.hr/drzb2011-eng/registration/points">Points</a>
38
39    </ul></li>
40
41         <li>
42         <a class="level4" href="http://psihologija.ffzg.hr/drzb2011-eng/submission">Proposal Submission</a>
43         <ul>
44
45         <li>
46                 <a class="level5" href="http://psihologija.ffzg.hr/drzb2011-eng/submission/abstracts">Abstract preparation</a>
47         <li>
48
49                 <a class="level5" href="http://psihologija.ffzg.hr/drzb2011-eng/submission/form">Submission form</a>
50
51    </ul></li>
52         <li>
53                 <a class="level4" href="http://psihologija.ffzg.hr/drzb2011-eng/program">Program</a>
54         <li>
55                 <a class="level4" href="http://psihologija.ffzg.hr/drzb2011-eng/organisation">Organisation</a>
56         <li>
57                 <a target="_blank" class="level4" href="http://psihologija.ffzg.hr/drzb2011-eng/accommodation">Accomodation</a>
58 </ul>
59 </div>
60
61     </div>
62
63     <div id="mainNav_right">
64         <ul>
65             <li><a href="http://psihologija.ffzg.hr/drzb2011">Hrvatski</a></li>
66             <li><a href="http://psihologija.ffzg.hr/drzb2011-eng" class="active">English</a></li>
67         </ul>
68     </div>
69  
70 </div>
71
72 <div class="title">
73 <h1>Registration and proposal submission</h1>
74 </div>
75
76
77
78
79 <div class="root" ng:controller="Registration" ng:init="$window.$root = this;">
80
81
82 <div style="clear: both; padding-top: 10px;" ng:show="! registration.$id && ! symposium.$id">
83 <p>
84 All participants (presenters, coauthors and visitors) have to register via on-line register system.
85 </p>
86
87 <p>
88 Abstract of oral presentation/poster has to be submitted only by first author or by presenting coauthor. Other coauthors do not have to submit the abstract, only register.
89 </p>
90
91 <p>
92 The organizers of symposia have to submit not only the symposium’s abstract, but the abstracts of every single paper within it (it has to be four of them). Authors of papers within symposium DO NOT submit their abstracts on their own, but register as symposium participants.
93 </p>
94
95 <p>
96 The organizers of round tables have to submit only abstract of the round table, while its participants have to register as round table participants.
97 </p>
98
99 <p>
100 The abstracts length should be between 1800 and 2000 characters (space included). 
101 </p>
102
103 <p>
104 One person can be author of maximum three papers, only one of them as first/presenting/single author.
105 </p>
106
107
108
109 </div>
110
111 <!--
112 <a name="{{$location.hash}}" >bla</a>
113 -->
114
115 <div style="margin-bottom: 40px" ng:show="registration.$id && last_saved.$equals(registration)">
116
117
118 </div>
119 <div ng:show="registration.$id || symposium" style="padding-top: 40px">
120         <h2>{{registration.person.name}} {{registration.person.surname}}</h2>
121         <!--
122         <label>Institution: {{registration.person.inst}}</label>
123         <label>Address: {{registration.person.address1}}, {{registration.person.city}}, {{registration.person.zip}}, {{registration.person.country}}</label>
124         -->
125         <label ng:show="registration.type == 'participant'">Registration type: Registration only</label>
126         <label ng:show="registration.type == 'accomp'">Registration type: Accompanying person</label>
127         <label ng:show="registration.type == 'student'">Registration type: Student</label>
128         <label ng:show="registration.type == 'sparticipant'">Registration type: Symposium participant<span ng:show="registration.student == true">, student</span></label>
129         <label ng:show="registration.type == 'round'">Registration type: Round table organizer<span ng:show="registration.student == true">, student</span></label>
130         <label ng:show="registration.type == 'lecture'">Registration type: Oral presentation<span ng:show="registration.student == true">, student</span></label>
131         <label ng:show="registration.type == 'poster'">Registration type: Poster presentation<span ng:show="registration.student == true">, student</span></label>
132         <label ng:show="registration.type == 'poster' || registration.type == 'lecture' || registration.type == 'round'"><b>Title: </b>{{registration.work.title}}</label>
133         <div ng:show="registration.type == 'symposium'">
134                 <p>Symposium organizer</p>
135                 <label><b>Symposium topic: </b><i>{{registration.symposium.title}}</i></label>
136                 <!--
137                 <label>Summary:</label> {{registration.symposium.abstract}}
138                 <br><br>
139                 -->
140                 <blockquote>
141                 <label>Submitted papers:</label>
142                 <ol>
143                 <li ng:repeat="w in symposium.works">
144                 <!--
145                 <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
146                 -->
147                 <span ng:show="registration.$id != w.$id">{{w.title}}</span>
148                 <b ng:show="registration.$id == w.$id">{{w.title}}</b>
149                 </li>
150                 </ol>
151                 </blockquote>
152         </div>
153 </div>
154 <!--
155 <div ng:show="registration.$id || symposium">
156         <h2>Contact Information</h2>
157         <label>{{registration.person.name}} {{registration.person.surname}}</label>
158         <label>{{registration.person.inst}}</label>
159         <label>{{registration.person.address1}}</label>
160         <label>{{registration.person.city}}, {{registration.person.zip}}, {{registration.person.country}}</label>
161         <label ng:show="registration.type == 'participant'"><h3>Registration type</h3> no paper</label>
162         <div ng:show="registration.type == 'symposium'">
163                 <p>Symposium organizer</p>
164                 <h3>Symposium</h3>
165                 <label>Topic:</label><i>{{registration.symposium.title}}</i>
166                 <label>Summary:</label> {{registration.symposium.abstract}}
167                 <br><br>
168                 <label>Submitted papers for this symposium:</label>
169                 <ol>
170                 <li ng:repeat="w in symposium.works">
171                 <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
172                 <span ng:show="registration.$id != w.$id">{{w.title}}</span>
173                 <b ng:show="registration.$id == w.$id">{{w.title}}</b>
174                 </li>
175                 </ol>
176         </div>
177 </div>
178 -->
179
180
181 <div id="submission" ng:show="! registration.$id && ! symposium.$id">
182         <div>
183                 <h2>Registration Type</h2>
184                 <label><input type="radio" name="registration.type" value="participant" ng:required>Registration only</label>
185                 <label><input type="radio" name="registration.type" value="sparticipant" ng:required>Symposium/round table participant</label>
186                 <label><input type="radio" name="registration.type" value="symposium" ng:required>Symposium organizer</label>
187                 <label><input type="radio" name="registration.type" value="round" ng:required>Round table organizer</label>
188                 <label><input type="radio" name="registration.type" value="lecture" ng:required>Oral presentation</label>
189                 <label><input type="radio" name="registration.type" value="poster" ng:required>Poster presentation</label>
190         </div>
191                 <label><input type="radio" name="registration.type" value="student" ng:required ng:change="registration.dinner = 'no'">Student registration only</label>
192                 <label><input type="radio" name="registration.type" value="accomp" ng:required>Accompanying person</label>
193 </div>
194
195 <div id="participant" ng:show="! registration.$id && ! symposium.$id">
196
197         
198         <h2>Contact Information</h2>
199         <div class="labelTop">
200                 <div class="input input4">First name</div>
201                 <div class="input input4">Surname</div>
202         </div>
203         <div style="clear: both">
204                 <input class="input4" name="registration.person.name" ng:required>
205                 <input class="input4" name="registration.person.surname" ng:required>
206         </div>
207         <div class="labelTop">
208                 <div class="input input5">Institution</div>
209         </div>  
210         <div style="clear: both">
211                 <input class="input5" name="registration.person.inst">
212         </div>
213         <div class="labelTop">
214                 <div class="input input5">Address</div>
215         </div>  
216         <div style="clear: both">
217                 <input class="input5" name="registration.person.address1" ng:required>
218         </div>
219         <div class="labelTop">
220                 <div class="input input6">City</div>
221                 <div class="input input6">ZIP</div>
222                 <div class="input input6">Country</div>
223         </div>
224         <div style="clear: both">
225                 <input class="input6" name="registration.person.city" ng:required>
226                 <input class="input6" name="registration.person.zip">
227                 <input class="input6" name="registration.person.country">
228         </div>
229         <div class="labelTop">
230                 <div class="input input4">E-mail</div>
231                 <div class="input input4">Phone number</div>
232         </div>
233         <div style="clear: both">
234                 <input class="input4" name="registration.person.email" ng:validate="email" ng:required>
235                 <input class="input4" name="registration.person.phone">
236         </div>
237         <div ng:show="registration.type == 'lecture' || registration.type == 'poster' || registration.type == 'sparticipant' || registration.type == 'symposium' || registration.type == 'round'">
238                 <br><input type="checkbox" name="registration.student">Check this box if you are student.
239         </div>
240         <div style="clear: both; margin-top: 20px;">
241                 Will you join us for the welcome reception on Thursday at 20 hrs?<br/>
242                 <input type="radio" name="registration.reception" value="yes">Yes
243                 <input type="radio" name="registration.reception" value="no">No
244         </div>
245         <div ng:show="registration.type != 'student'" style="clear: both; margin-top: 20px;">
246                 Will you join us for the conference dinner on Friday at 20 hrs? (Dinner is included in the regostration fee.)<br/>
247                 <input type="radio" name="registration.dinner" value="yes">Yes
248                 <input type="radio" name="registration.dinner" value="no">No
249         </div>
250         
251 </div>
252
253
254         
255         <div ng:show="registration.type == 'sparticipant' && ! last_saved.$id">
256                 <h2>Symposium/round table topic</h2>
257                 <input class="input1" name="registration.sympattend" ng:required>
258         </div>
259
260
261 <div id="work" ng:show="registration.type != 'participant' && registration.type != 'sparticipant' && registration.type != 'student' && registration.type != 'accomp'">
262 <div ng:show="registration.type == 'symposium' && registration.symposium.work_nr < 4 && ! symposium.$id">
263
264         <h2>Symposium</h2>
265         <label for="registration.symposium.title">Topic:</label>
266                 <input class="input1" name="registration.symposium.title" ng:required>
267         <label>Organizer:</label>
268                 <!--
269                 <div class="input input2">First name</div><div class="input input2">Surname</div><div class="input input3">Institution</div><div class="input input2">E-mail</div>
270                 -->
271                 <div class="inputOrg"><span ng:show="registration.person.name">{{registration.person.name}} {{registration.person.surname}}</span><span ng:show="registration.person.inst">, {{registration.person.inst}}</span><span ng:show="registration.person.email">, {{registration.person.email}}</span></div>
272                 <div class="clear" ng:repeat="organizer in registration.symposium.organizers">
273                 <input class="input2" name="organizer.name" ng:required>
274                 <input class="input2" name="organizer.surname" ng:required>
275                 <input class="input3" name="organizer.inst" >
276                 <input class="input2" name="organizer.email" ng:required ng:validate="email">
277                 <a href="" ng:click="registration.symposium.organizers.$remove(organizer)">X</a>
278                 </div>
279                 <div class="clear"><a class="addPerson" href="" ng:click="registration.symposium.organizers.$add()">Add another organizer</a></div>
280         <label>Summary (<span class="lengthCount">{{registration.symposium.abstract.length}}</span> / max. 2000 characters)</label>
281                 <textarea class="input1" name="registration.symposium.abstract" rows="10" ng:validate="max_length:2000" ng:required></textarea>
282                 
283                 <div ng:show="symposium">
284                         <b>Symposium:</b> {{registration.symposium.title}}
285                         <blockquote>
286                         <label>Submitted papers for this symposium:</label>
287                         <ol>
288                         <li ng:repeat="w in symposium.works">
289                         <!--
290                         <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
291                         -->
292                         <span ng:show="registration.$id != w.$id">{{w.title}}</span>
293                         <b ng:show="registration.$id == w.$id">{{w.title}}</b>
294                         </li>
295                         </ol>
296                         </blockquote>
297                 </div>
298 </div>
299
300 <div ng:show="registration.type && ! last_saved.$id">
301
302 <!--
303                 <div ng:show="symposium">
304                         <b>Symposium:</b> {{registration.symposium.title}}
305                         <blockquote>
306                         <label>Submitted papers for this symposium:</label>
307                         <ol>
308                         <li ng:repeat="w in symposium.works">
309                         <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
310                         <b ng:show="registration.$id == w.$id">{{w.title}}</b>
311                         </li>
312                         </ol>
313                         </blockquote>
314                 </div>
315 -->
316 <h3 ng:show="registration.type == 'symposium'">Add Symposium Paper ({{registration.symposium.work_nr}})</h3>
317 <h2 ng:show="registration.type == 'lecture'">Oral Presentation Sumbission</h2>
318 <h2 ng:show="registration.type == 'poster'">Poster Presentation Sumbission</h2>
319 <h2 ng:show="registration.type == 'round'">Round Table Disscussion Sumbission</h2>
320
321
322 <label>Title:</label>
323         <input class="input1" name="registration.work.title" ng:required>
324 <div ng:show="registration.type != 'round'">
325 <label>Authors</label>
326         <div>
327                 <div class="input input2">First name</div><div class="input input2">Surname</div><div class="input input3">Institution</div><div class="input input2">E-mail</div>
328         </div>
329         <div class="clear" ng:repeat="author in registration.work.authors">
330                 <input class="input2" name="author.name" ng:required>
331                 <input class="input2" name="author.surname" ng:required>
332                 <input class="input3" name="author.inst" >
333                 <input class="input2" name="author.email" ng:required ng:validate="email">
334                 <a href="" ng:click="registration.work.authors.$remove(author)">X</a>
335         </div>
336         <a class="addPerson" href="" ng:click="registration.work.authors.$add()">Add another author</a>
337 </div>
338 <div ng:show="registration.type == 'round'">
339 <label>Organizer:</label>
340         <!--
341         <div class="input input2">First name</div><div class="input input2">Surname</div><div class="input input3">Institution</div><div class="input input2">E-mail</div>
342         -->
343                 <div class="inputOrg"><span ng:show="registration.person.name">{{registration.person.name}} {{registration.person.surname}}</span><span ng:show="registration.person.inst">, {{registration.person.inst}}</span><span ng:show="registration.person.email">, {{registration.person.email}}</span></div>
344         <div class="clear" ng:repeat="organizer in registration.work.organizers">
345                 <input class="input2" name="organizer.name" ng:required>
346                 <input class="input2" name="organizer.surname" ng:required>
347                 <input class="input3" name="organizer.inst" >
348                 <input class="input2" name="organizer.email" ng:required ng:validate="email">
349                 <a href="" ng:click="registration.work.organizers.$remove(organizer)">X</a>
350         </div>
351         <div class="clear"><a class="addPerson" href="" ng:click="registration.work.organizers.$add()">Add another organizer</a></div>
352 </div>
353
354 <label>Abstract (<span class="lengthCount">{{registration.work.abstract.length}}</span> / max. 2000 characters)</label>
355         <textarea class="input1" name="registration.work.abstract" rows="10" ng:validate="max_length:2000" ng:required></textarea>
356
357
358 </div> <!-- ng:show="registration.type" -->
359 </div>
360
361 <div class="button" ng:show="! last_saved.$equals(registration) && $invalidWidgets.visible() == 0 && (symposium.$id || (registration.reception != null && registration.dinner != null))">
362 <input type="submit" value="Save" ng:click="save();" ng:show="! last_saved.$equals(registration) && $invalidWidgets.visible() == 0" >
363 </div>
364
365 <div ng:show="$invalidWidgets.visible() &gt; 0 || (! symposium.$id && (registration.dinner == null || registration.reception == null))" style="color:red; margin-top: 20px">Please fill all required fields correctly. 
366 <span ng:show="$invalidWidgets.visible() &gt; 0">Fields with orange border call for your attention. <!-- - {{$invalidWidgets.visible()}} left. --></span>
367 <span ng:show="(registration.reception == null || registration.dinner == null) && ! symposium.$id && registration.type != 'student'">
368 Decide about going to welcome reception and dinner.</span>
369 <span ng:show="(registration.reception == null || registration.dinner == null) && ! symposium.$id && registration.type == 'student'">
370 Decide about going to welcome reception.</span>
371 </div>
372
373
374 <div style="margin-bottom: 40px" ng:show="registration.$id && last_saved.$equals(registration)">
375
376         <div class="saved" ng:show="registration.type == 'participant' || registration.type == 'sparticipant' || registration.type == 'student' || registration.type == 'accomp' && ! symposium">
377                 <span class="saved2">Thank you! Your registration has been submitted successfully!</span>
378                 <div class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011-eng/registration/fee">Please read registration fee payment instructions</a></div>
379                 <div class="gohome" ng:show="registration.type == 'student' || registration.student == true">
380                         You must provide a proof of your student status by e-mail sent to <a href="mailto:drzb@ffzg.hr">drzb@ffzg.hr</a>
381                 </div>
382                 <br><br>
383         </div>
384         <div class="saved" ng:show="registration.type != 'participant' && registration.type != 'sparticipant' && registration.type != 'student' && registration.type != 'accomp' && registration.symposium.work_nr == 4 && last_saved.$id">
385                 <span class="saved2">Thank you. Your proposal has been submitted successfully! <br></span>
386                 <span class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011-eng/registration/fee">Please read conference fee payment instructions</a></span>
387                 
388         </div>
389         <div class="button button2" ng:show="registration.type != 'participant' && registration.type != 'sparticipant' && registration.type != 'student' && registration.type != 'accomp' && last_saved.$id && ! symposium">
390                 <span class="saved2">Thank you. Your proposal has been submitted successfully! <br></span>
391                 <div class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011-eng/registration/fee">Please read registration fee payment instructions</a></div>
392                 <div class="gohome" ng:show="registration.type == 'student' || registration.student == true">
393                         You must provide a proof of your student status by e-mail sent to <a href="mailto:drzb@ffzg.hr">drzb@ffzg.hr</a>
394                 <br>
395         </div>
396         
397 </div>
398         <div class="button button2" ng:show="last_saved.$id && symposium.$id && registration.symposium.work_nr < 4">
399                 <input type="reset" value="Submit another paper" ng:click="reset()"> 
400         </div>
401 <!--
402 <div class="button2" ng:show="registration.$id && registration.type != 'participant' && registration.type != 'sparticipant' && last_saved.$equals(registration)">
403         <input type="reset" value="Submit another paper" ng:click="reset()">
404         <div class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011/">Go to conference home page</a></div>
405 </div>
406 -->
407
408 </div>
409 <div id="footer">
410         Odsjek za psihologiju, Filozofski fakultet Sveučilišta u Zagrebu, Ivana Lučića 3, 10000 Zagreb ; tel. 01/6120 215 ; fax. 01/6120 037
411         <div id="go_to_top"><a href="#"></a></div>
412    <p id="foot">
413         <a href="http://psihologija.ffzg.hr" target="_blank">http://psihologija.ffzg.hr</a>
414     </p> 
415 </div>
416 <!--
417 <div ng:show="registration.$id">
418 Permalink to <a href="#{{registration.$id}}">DRZB2011 registration</a> which you can bookmark
419 </div>
420 -->
421
422 <!--
423 <div style="clear: both">
424 <input type=checkbox name=debug style="float: right; clear: both">
425 <pre ng:show="debug">
426
427 dirty={{! last_saved.$equals(registration)}} invalid={{$invalidWidgets.visible()}}
428
429 registration = {{registration}}
430
431 last_saved = {{last_saved}}
432
433 master = {{master}}
434
435 symposium = {{symposium}}
436
437 $id={{$id}}
438 registration.$id={{registration.$id}}
439 </pre>
440 </div>
441 -->
442
443 </body>
444 </html>