4f151e2e0ef7131b932cf0e3ee6c122ea415e7fd
[angular-mojolicious.git] / public / app / drzb2011 / registration-hr.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">
19         <a href="http://psihologija.ffzg.hr/drzb2011"><img src="http://psihologija.ffzg.hr/drzb2011/images/header.gif" 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">Naslovnica</a></li>
26         <li>
27         <a class="level4" href="http://psihologija.ffzg.hr/drzb2011/registracija">Registracija</a>
28
29         <ul>
30
31         <li>
32                 <a class="level5" href="http://psihologija.ffzg.hr/drzb2011/registracija/vrste2">Oblici sudjelovanja</a>
33
34         <li>
35                 <a class="level5" href="http://psihologija.ffzg.hr/drzb2011/registracija/kotizacija">Kotizacija</a>
36         <li>
37                 <a class="level5" href="http://psihologija.ffzg.hr/drzb2011/registracija/bodovanje2">Bodovanje</a>
38
39    </ul></li>
40
41         <li>
42         <a class="level4" href="http://psihologija.ffzg.hr/drzb2011/prijava">Prijava izlaganja</a>
43         <ul>
44
45         <li>
46                 <a class="level5" href="http://psihologija.ffzg.hr/drzb2011/prijava/pripremasazetaka">Priprema sažetaka</a>
47         <li>
48
49                 <a class="level5" href="http://psihologija.ffzg.hr/drzb2011/prijava/obrazac">Obrazac za prijavu</a>
50
51    </ul></li>
52         <li>
53                 <a class="level4" href="http://psihologija.ffzg.hr/drzb2011/program">Program</a>
54         <li>
55                 <a class="level4" href="http://psihologija.ffzg.hr/drzb2011/organizacija">Organizacija</a>
56         <li>
57                 <a target="_blank" class="level4" href="http://psihologija.ffzg.hr/drzb2011/smjestaj">Smještaj</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" class="active">Hrvatski</a></li>
66             <li><a href="http://psihologija.ffzg.hr/drzb2011-eng">English</a></li>
67         </ul>
68     </div>
69  
70 </div>
71
72 <div class="title">
73 <h1>Registracija i prijavljivanje izlaganja</h1>
74 </div>
75
76
77 <div class="root" ng:controller="Registration" ng:init="$window.$root = this;">
78
79
80 <div style="clear: both; padding-top: 10px;" ng:show="! registration.$id && ! symposium.$id">
81 <p>
82 Svi sudionici skupa, bez obzira na to jesu li izlagači, suautori ili slušači, moraju se registrirati kroz sustav elektroničke prijave.
83 </p>
84
85 <p>
86 Sažetak izlaganja/postera prijavljuje samo prvi autor, odnosno onaj autor koji će rad izložiti. Ostali suautori ne trebaju prijaviti sažetak, nego se samo registrirati.
87 </p>
88
89 <p>
90 Organizatori simpozija prijavljuju i sažetak simpozija i sažetak svakog pripadajućeg rada (mora ih biti četiri). Autori pojedinih radova unutar simpozija NE prijavljuju pojedinačno svoje sažetke, nego se u sustav registriraju kao sudionici simpozija.
91 </p>
92
93 <p>
94 Organizatori okruglog stola prijavljuju samo sažetak okruglog stola, a sudionici se registriraju kao sudionici okruglog stola.
95 </p>
96
97 <p>
98 Duljina sažetka treba biti između 1800 i 2000 znakova (uključujući razmake).
99 </p>
100
101 <p>
102 Jedna osoba može biti autor u najviše tri rada, pri čemu na samo jednom može biti prvi ili jedini autor ili autor koji će izlagati.
103 </p>
104
105
106
107 </div>
108
109 <!--
110 <a name="{{$location.hash}}" >bla</a>
111 -->
112
113 <div style="margin-bottom: 40px" ng:show="registration.$id && last_saved.$equals(registration)">
114
115
116 </div>
117 <div ng:show="registration.$id || symposium" style="padding-top: 40px">
118         <h2>{{registration.person.name}} {{registration.person.surname}}</h2>
119         <!--
120         <label>Institution: {{registration.person.inst}}</label>
121         <label>Address: {{registration.person.address1}}, {{registration.person.city}}, {{registration.person.zip}}, {{registration.person.country}}</label>
122         -->
123         <label ng:show="registration.type == 'participant'">Tip registracije: Samo registracija</label>
124         <label ng:show="registration.type == 'accomp'">Tip registracije: Osoba u pratnji</label>
125         <label ng:show="registration.type == 'student'">Tip registracije: Student</label>
126         <label ng:show="registration.type == 'sparticipant'">Tip registracije: Sudionik simpozija/okriglog stola<span ng:show="registration.student == true">, student</span></label>
127         <label ng:show="registration.type == 'round'">Tip registracije: Organizator okruglog stola<span ng:show="registration.student == true">, student</span></label>
128         <label ng:show="registration.type == 'lecture'">Tip registracije: Usmeno priopćenje<span ng:show="registration.student == true">, student</span></label>
129         <label ng:show="registration.type == 'poster'">Tip registracije: Prezentacija postera<span ng:show="registration.student == true">, student</span></label>
130         <label ng:show="registration.type == 'poster' || registration.type == 'lecture' || registration.type == 'round'"><b>Naslov: </b><br>{{registration.work.title}}</label>
131         <label ng:show="registration.type == 'poster' || registration.type == 'lecture' || registration.type == 'round'"><b>Autori: </b><br>
132         <span ng:repeat="author in registration.work.authors">
133         {{author.name}}
134         {{author.surname}},
135         {{author.inst}} <br>
136         </span>
137         </label>
138         <div ng:show="registration.type == 'symposium'">
139                 <p>Tip registracije: Organizator simpozija</p>
140                 <label><b>Tema simpozija: </b><i>{{registration.symposium.title}}</i></label>
141                 <!--
142                 <label>Summary:</label> {{registration.symposium.abstract}}
143                 <br><br>
144                 -->
145                 <blockquote>
146                 <label>Prijavljeni radovi:</label>
147                 <ol>
148                 <li ng:repeat="w in symposium.works">
149                 <!--
150                 <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
151                 -->
152                 <span ng:show="registration.$id != w.$id">{{w.title}}</span>
153                 <b ng:show="registration.$id == w.$id">{{w.title}}</b>
154                 </li>
155                 </ol>
156                 </blockquote>
157         </div>
158 </div>
159 <!--
160 <div ng:show="registration.$id || symposium">
161         <h2>Contact Information</h2>
162         <label>{{registration.person.name}} {{registration.person.surname}}</label>
163         <label>{{registration.person.inst}}</label>
164         <label>{{registration.person.address1}}</label>
165         <label>{{registration.person.city}}, {{registration.person.zip}}, {{registration.person.country}}</label>
166         <label ng:show="registration.type == 'participant'"><h3>Registration type</h3> no paper</label>
167         <div ng:show="registration.type == 'symposium'">
168                 <p>Symposium organizer</p>
169                 <h3>Symposium</h3>
170                 <label>Topic:</label><i>{{registration.symposium.title}}</i>
171                 <label>Summary:</label> {{registration.symposium.abstract}}
172                 <br><br>
173                 <label>Submitted papers for this symposium:</label>
174                 <ol>
175                 <li ng:repeat="w in symposium.works">
176                 <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
177                 <span ng:show="registration.$id != w.$id">{{w.title}}</span>
178                 <b ng:show="registration.$id == w.$id">{{w.title}}</b>
179                 </li>
180                 </ol>
181         </div>
182 </div>
183 -->
184
185
186 <div id="submission" ng:show="! registration.$id && ! symposium.$id">
187         <div>
188                 <h2>Tip registracije</h2>
189                 <label><input type="radio" name="registration.type" value="participant" ng:required>Samo registracija</label>
190                 <label><input type="radio" name="registration.type" value="sparticipant" ng:required>Sudionik simpozija/okruglog stola</label>
191                 <label><input type="radio" name="registration.type" value="symposium" ng:required>Organizator simpozija</label>
192                 <label><input type="radio" name="registration.type" value="round" ng:required>Organizator okruglog stola</label>
193                 <label><input type="radio" name="registration.type" value="lecture" ng:required>Usmeno priopćenje</label>
194                 <label><input type="radio" name="registration.type" value="poster" ng:required>Prezentacija postera</label>
195         </div>
196                 <label><input type="radio" name="registration.type" value="student" ng:required ng:change="registration.dinner = 'no'">Student - samo registracija</label>
197                 <label><input type="radio" name="registration.type" value="accomp" ng:required>Osoba u pratnji</label>
198 </div>
199
200 <div id="participant" ng:show="! registration.$id && ! symposium.$id">
201
202         
203         <h2>Podaci za kontakt</h2>
204         <div class="labelTop">
205                 <div class="input input4">Ime</div>
206                 <div class="input input4">Prezime</div>
207         </div>
208         <div style="clear: both">
209                 <input class="input4" name="registration.person.name" ng:required>
210                 <input class="input4" name="registration.person.surname" ng:required>
211         </div>
212         <div class="labelTop">
213                 <div class="input input5">Ustanova</div>
214         </div>  
215         <div style="clear: both">
216                 <input class="input5" name="registration.person.inst">
217         </div>
218         <div class="labelTop">
219                 <div class="input input5">Adresa</div>
220         </div>  
221         <div style="clear: both">
222                 <input class="input5" name="registration.person.address1" ng:required>
223         </div>
224         <div class="labelTop">
225                 <div class="input input6">Grad</div>
226                 <div class="input input6">Poštanski br.</div>
227                 <div class="input input6">Zemlja</div>
228         </div>
229         <div style="clear: both">
230                 <input class="input6" name="registration.person.city" ng:required>
231                 <input class="input6" name="registration.person.zip">
232                 <input class="input6" name="registration.person.country">
233         </div>
234         <div class="labelTop">
235                 <div class="input input4">E-pošta</div>
236                 <div class="input input4">Tel. broj</div>
237         </div>
238         <div style="clear: both">
239                 <input class="input4" name="registration.person.email" ng:validate="email" ng:required>
240                 <input class="input4" name="registration.person.phone">
241         </div>
242         <div ng:show="registration.type == 'lecture' || registration.type == 'poster' || registration.type == 'sparticipant' || registration.type == 'symposium' || registration.type == 'round'">
243                 <br><input type="checkbox" name="registration.student">Označite ako ste student.
244         </div>
245         <div style="clear: both; margin-top: 20px;">
246                 Hoćete li biti na domjenku dobrodošlice u četvrtak u 20 sati?<br/>
247                 <input type="radio" name="registration.reception" value="yes">Da
248                 <input type="radio" name="registration.reception" value="no">Ne
249         </div>
250         <div ng:show="registration.type != 'student'" style="clear: both; margin-top: 20px;">
251                 Hoćete li biti na zajedničkoj večeri u petak u 20 sati? (Večera je uključena u kotizaciju.)<br/>
252                 <input type="radio" name="registration.dinner" value="yes">Da
253                 <input type="radio" name="registration.dinner" value="no">Ne
254         </div>
255         <div ng:show="registration.type != 'student'" style="clear: both; margin-top: 20px;">
256                 Trebate li R-1 račun?<br/>
257                 <input type="radio" name="registration.r1" value="yes">Da
258                 <input type="radio" name="registration.r1" value="no">Ne
259         </div>
260         <div ng:show="registration.r1 == 'yes'">
261                 <div class="labelTop">
262                         <div class="input input5">Naziv organizacije koja uplaćuje</div>
263                 </div>  
264                 <div style="clear: both">
265                         <input class="input5" name="registration.r1inst" ng:required>
266                 </div>
267                 <div class="labelTop">
268                         <div class="input input5">Adresa organizacije</div>
269                 </div>  
270                 <div style="clear: both">
271                         <input class="input5" name="registration.r1address" ng:required>
272                 </div>
273                 <div class="labelTop">
274                         <div class="input input5">OIB organizacije</div>
275                 </div>  
276                 <div style="clear: both">
277                         <input class="input5" name="registration.r1oib" ng:required>
278                 </div>
279         </div>
280         
281 </div>
282
283
284         
285         <div ng:show="registration.type == 'sparticipant' && ! last_saved.$id">
286                 <h2>Tema simpozija/okruglog stola</h2>
287                 <input class="input1" name="registration.sympattend" ng:required>
288         </div>
289
290
291 <div id="work" ng:show="registration.type != 'participant' && registration.type != 'sparticipant' && registration.type != 'student' && registration.type != 'accomp'">
292 <div ng:show="registration.type == 'symposium' && registration.symposium.work_nr < 4 && ! symposium.$id">
293
294         <h2>Simpozij</h2>
295         <label for="registration.symposium.title">Tema:</label>
296                 <input class="input1" name="registration.symposium.title" ng:required>
297         <label>Organizator(i):</label>
298                 <!--
299                 <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>
300                 -->
301                 <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>
302                 <div class="clear" ng:repeat="organizer in registration.symposium.organizers">
303                 <input class="input2" name="organizer.name" ng:required>
304                 <input class="input2" name="organizer.surname" ng:required>
305                 <input class="input3" name="organizer.inst" >
306                 <input class="input2" name="organizer.email" ng:required ng:validate="email">
307                 <a href="" ng:click="registration.symposium.organizers.$remove(organizer)">X</a>
308                 </div>
309                 <div class="clear"><a class="addPerson" href="" ng:click="registration.symposium.organizers.$add()">Dodaj drugog organizatora</a></div>
310         <label>Sažetak (<span class="lengthCount">{{registration.symposium.abstract.length}}</span> / maks. 2000 znakova)</label>
311                 <textarea class="input1" name="registration.symposium.abstract" rows="10" ng:validate="max_length:2000" ng:required></textarea>
312                 
313                 <div ng:show="symposium">
314                         <b>Simpozij:</b> {{registration.symposium.title}}
315                         <blockquote>
316                         <label>Prijavljeni radovi za ovaj simpozij:</label>
317                         <ol>
318                         <li ng:repeat="w in symposium.works">
319                         <!--
320                         <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
321                         -->
322                         <span ng:show="registration.$id != w.$id">{{w.title}}</span>
323                         <b ng:show="registration.$id == w.$id">{{w.title}}</b>
324                         </li>
325                         </ol>
326                         </blockquote>
327                 </div>
328 </div>
329
330 <div ng:show="registration.type && ! last_saved.$id">
331
332 <!--
333                 <div ng:show="symposium">
334                         <b>Symposium:</b> {{registration.symposium.title}}
335                         <blockquote>
336                         <label>Submitted papers for this symposium:</label>
337                         <ol>
338                         <li ng:repeat="w in symposium.works">
339                         <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
340                         <b ng:show="registration.$id == w.$id">{{w.title}}</b>
341                         </li>
342                         </ol>
343                         </blockquote>
344                 </div>
345 -->
346 <h3 ng:show="registration.type == 'symposium'">Prijava rada unutar simpizija ({{registration.symposium.work_nr}})</h3>
347 <h2 ng:show="registration.type == 'lecture'">Prijava usmenog priopćenja</h2>
348 <h2 ng:show="registration.type == 'poster'">Prijava postera</h2>
349 <h2 ng:show="registration.type == 'round'">Prijava teme okruglog stola</h2>
350
351
352 <label>Naslov:</label>
353         <input class="input1" name="registration.work.title" ng:required>
354 <div ng:show="registration.type != 'round'">
355 <label>Autori:</label>
356         <div>
357                 <div class="input input2">Ime</div><div class="input input2">Prezime</div><div class="input input3">Ustanova</div><div class="input input2">E-pošta</div>
358         </div>
359         <div class="clear" ng:repeat="author in registration.work.authors">
360                 <input class="input2" name="author.name" ng:required>
361                 <input class="input2" name="author.surname" ng:required>
362                 <input class="input3" name="author.inst" >
363                 <input class="input2" name="author.email" ng:required ng:validate="email">
364                 <a href="" ng:click="registration.work.authors.$remove(author)">X</a>
365         </div>
366         <a class="addPerson" href="" ng:click="registration.work.authors.$add()">Dodaj još jednog autora</a>
367 </div>
368 <div ng:show="registration.type == 'round'">
369 <label>Organizator:</label>
370         <!--
371         <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>
372         -->
373                 <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>
374         <div class="clear" ng:repeat="organizer in registration.work.organizers">
375                 <input class="input2" name="organizer.name" ng:required>
376                 <input class="input2" name="organizer.surname" ng:required>
377                 <input class="input3" name="organizer.inst" >
378                 <input class="input2" name="organizer.email" ng:required ng:validate="email">
379                 <a href="" ng:click="registration.work.organizers.$remove(organizer)">X</a>
380         </div>
381         <div class="clear"><a class="addPerson" href="" ng:click="registration.work.organizers.$add()">Add another organizer</a></div>
382 </div>
383
384 <label>Sažetak (<span class="lengthCount">{{registration.work.abstract.length}}</span> / maks. 2000 znakova)</label>
385         <textarea class="input1" name="registration.work.abstract" rows="10" ng:validate="max_length:2000" ng:required></textarea>
386
387
388 </div> <!-- ng:show="registration.type" -->
389 </div>
390
391 <div class="button" ng:show="! last_saved.$equals(registration) && $invalidWidgets.visible() == 0 && (symposium.$id || (registration.reception != null && registration.dinner != null))">
392 <input type="submit" value="Snimi" ng:click="save();" ng:show="! last_saved.$equals(registration) && $invalidWidgets.visible() == 0" >
393 </div>
394
395 <div ng:show="$invalidWidgets.visible() &gt; 0 || (! symposium.$id && (registration.dinner == null || registration.reception == null))" style="color:red; margin-top: 20px">Molimo ispunite sva tražena polja.
396 <span ng:show="$invalidWidgets.visible() &gt; 0">Obratite pažnju na polja s narančastim okvirom. <!-- - {{$invalidWidgets.visible()}} left. --></span>
397 <span ng:show="(registration.reception == null || registration.dinner == null) && ! symposium.$id && registration.type != 'student'">
398 Odlučite o dolasku na domjenak i večeru.</span>
399 <span ng:show="(registration.reception == null || registration.dinner == null) && ! symposium.$id && registration.type == 'student'">
400 Odlučite o dolasku na domjenak.</span>
401 </div>
402
403
404 <div style="margin-bottom: 40px" ng:show="registration.$id && last_saved.$equals(registration)">
405
406         <div class="saved" ng:show="registration.type == 'participant' || registration.type == 'sparticipant' || registration.type == 'student' || registration.type == 'accomp' && ! symposium">
407                 <span class="saved2">Hvala! Vaša registracija je uspješno predana!</span>
408                 <div class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011/registracija/kotizacija">Molimo pročitajte upute za plaćanje kotizacije</a></div>
409                 <div class="gohome" ng:show="registration.type == 'student' || registration.student == true">
410                         Dokaz o studentskom statusu treba poslati na adresu <a href="mailto:drzb@ffzg.hr">drzb@ffzg.hr</a>.
411                 </div>
412                 <br><br>
413         </div>
414         <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">
415                 <span class="saved2">Hvala! Vaš prijedlog je uspješno predan. <br></span>
416                 <span class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011/registracija/kotizacija">Molimo pročitajte upute za plaćanje kotizacije.</a></span>
417                 
418         </div>
419         <div class="button button2" ng:show="registration.type != 'participant' && registration.type != 'sparticipant' && registration.type != 'student' && registration.type != 'accomp' && last_saved.$id && ! symposium">
420                 <span class="saved2">Hvala! Vaš prijedlog je uspješno predan. <br></span>
421                 <div class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011/registracija/kotizacija">Molimo pročitajte upute za plaćanje kotizacije.</a></div>
422                 <div class="gohome" ng:show="registration.type == 'student' || registration.student == true">
423                         Dokaz o studentskom statusu treba poslati na adresu <a href="mailto:drzb@ffzg.hr">drzb@ffzg.hr</a>.
424                 <br>
425         </div>
426         
427 </div>
428         <div class="button button2" ng:show="last_saved.$id && symposium && registration.symposium.work_nr < 4">
429                 <input type="reset" value="Dodavanje sljedećeg rada" ng:click="reset()"> 
430         </div>
431 <!--
432 <div class="button2" ng:show="registration.$id && registration.type != 'participant' && registration.type != 'sparticipant' && last_saved.$equals(registration)">
433         <input type="reset" value="Submit another paper" ng:click="reset()">
434         <div class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011/">Go to conference home page</a></div>
435 </div>
436 -->
437 </div>
438 <div id="footer">
439         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
440         <div id="go_to_top"><a href="#"></a></div>
441    <p id="foot">
442         <a href="http://psihologija.ffzg.hr" target="_blank">http://psihologija.ffzg.hr</a>
443     </p> 
444 </div>
445
446 <!--
447 <div ng:show="registration.$id">
448 Permalink to <a href="#{{registration.$id}}">DRZB2011 registration</a> which you can bookmark
449 </div>
450 -->
451 <!--
452 <div style="clear: both">
453 <input type=checkbox name=debug style="float: right; clear: both">
454 <pre ng:show="debug">
455
456 dirty={{! last_saved.$equals(registration)}} invalid={{$invalidWidgets.visible()}}
457
458 registration = {{registration}}
459
460 last_saved = {{last_saved}}
461
462 master = {{master}}
463
464 symposium = {{symposium}}
465
466 $id={{$id}}
467 registration.$id={{registration.$id}}
468 </pre>
469 </div>
470 -->
471
472 </body>
473 </html>