published, with headers
[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>{{registration.work.title}}</label>
131         <div ng:show="registration.type == 'symposium'">
132                 <p>Tip registracije: Organizator simpozija</p>
133                 <label><b>Tema simpozija: </b><i>{{registration.symposium.title}}</i></label>
134                 <!--
135                 <label>Summary:</label> {{registration.symposium.abstract}}
136                 <br><br>
137                 -->
138                 <blockquote>
139                 <label>Prijavljeni radovi:</label>
140                 <ol>
141                 <li ng:repeat="w in symposium.works">
142                 <!--
143                 <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
144                 -->
145                 <span ng:show="registration.$id != w.$id">{{w.title}}</span>
146                 <b ng:show="registration.$id == w.$id">{{w.title}}</b>
147                 </li>
148                 </ol>
149                 </blockquote>
150         </div>
151 </div>
152 <!--
153 <div ng:show="registration.$id || symposium">
154         <h2>Contact Information</h2>
155         <label>{{registration.person.name}} {{registration.person.surname}}</label>
156         <label>{{registration.person.inst}}</label>
157         <label>{{registration.person.address1}}</label>
158         <label>{{registration.person.city}}, {{registration.person.zip}}, {{registration.person.country}}</label>
159         <label ng:show="registration.type == 'participant'"><h3>Registration type</h3> no paper</label>
160         <div ng:show="registration.type == 'symposium'">
161                 <p>Symposium organizer</p>
162                 <h3>Symposium</h3>
163                 <label>Topic:</label><i>{{registration.symposium.title}}</i>
164                 <label>Summary:</label> {{registration.symposium.abstract}}
165                 <br><br>
166                 <label>Submitted papers for this symposium:</label>
167                 <ol>
168                 <li ng:repeat="w in symposium.works">
169                 <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
170                 <span ng:show="registration.$id != w.$id">{{w.title}}</span>
171                 <b ng:show="registration.$id == w.$id">{{w.title}}</b>
172                 </li>
173                 </ol>
174         </div>
175 </div>
176 -->
177
178
179 <div id="submission" ng:show="! registration.$id && ! symposium.$id">
180         <div>
181                 <h2>Tip registracije</h2>
182                 <label><input type="radio" name="registration.type" value="participant" ng:required>Samo registracija</label>
183                 <label><input type="radio" name="registration.type" value="sparticipant" ng:required>Sudionik simpozija/okruglog stola</label>
184                 <label><input type="radio" name="registration.type" value="symposium" ng:required>Organizator simpozija</label>
185                 <label><input type="radio" name="registration.type" value="round" ng:required>Organizator okruglog stola</label>
186                 <label><input type="radio" name="registration.type" value="lecture" ng:required>Usmeno priopćenje</label>
187                 <label><input type="radio" name="registration.type" value="poster" ng:required>Prezentacija postera</label>
188         </div>
189                 <label><input type="radio" name="registration.type" value="student" ng:required ng:change="registration.dinner = 'no'">Student - samo registracija</label>
190                 <label><input type="radio" name="registration.type" value="accomp" ng:required>Osoba u pratnji</label>
191 </div>
192
193 <div id="participant" ng:show="! registration.$id && ! symposium.$id">
194
195         
196         <h2>Podaci za kontakt</h2>
197         <div class="labelTop">
198                 <div class="input input4">Ime</div>
199                 <div class="input input4">Prezime</div>
200         </div>
201         <div style="clear: both">
202                 <input class="input4" name="registration.person.name" ng:required>
203                 <input class="input4" name="registration.person.surname" ng:required>
204         </div>
205         <div class="labelTop">
206                 <div class="input input5">Ustanova</div>
207         </div>  
208         <div style="clear: both">
209                 <input class="input5" name="registration.person.inst">
210         </div>
211         <div class="labelTop">
212                 <div class="input input5">Adresa</div>
213         </div>  
214         <div style="clear: both">
215                 <input class="input5" name="registration.person.address1" ng:required>
216         </div>
217         <div class="labelTop">
218                 <div class="input input6">Grad</div>
219                 <div class="input input6">Poštanski br.</div>
220                 <div class="input input6">Zemlja</div>
221         </div>
222         <div style="clear: both">
223                 <input class="input6" name="registration.person.city" ng:required>
224                 <input class="input6" name="registration.person.zip">
225                 <input class="input6" name="registration.person.country">
226         </div>
227         <div class="labelTop">
228                 <div class="input input4">E-pošta</div>
229                 <div class="input input4">Tel. broj</div>
230         </div>
231         <div style="clear: both">
232                 <input class="input4" name="registration.person.email" ng:validate="email" ng:required>
233                 <input class="input4" name="registration.person.phone">
234         </div>
235         <div ng:show="registration.type == 'lecture' || registration.type == 'poster' || registration.type == 'sparticipant' || registration.type == 'symposium' || registration.type == 'round'">
236                 <br><input type="checkbox" name="registration.student">Označite ako ste student.
237         </div>
238         <div style="clear: both; margin-top: 20px;">
239                 Hoćete li biti na domjenku dobrodošlice u četvrtak u 20 sati?<br/>
240                 <input type="radio" name="registration.reception" value="yes">Da
241                 <input type="radio" name="registration.reception" value="no">Ne
242         </div>
243         <div ng:show="registration.type != 'student'" style="clear: both; margin-top: 20px;">
244                 Hoćete li biti na zajedničkoj večeri u petak u 20 sati? (Večera je uključena u kotizaciju.)<br/>
245                 <input type="radio" name="registration.dinner" value="yes">Da
246                 <input type="radio" name="registration.dinner" value="no">Ne
247         </div>
248         
249 </div>
250
251
252         
253         <div ng:show="registration.type == 'sparticipant' && ! last_saved.$id">
254                 <h2>Tema simpozija/okruglog stola</h2>
255                 <input class="input1" name="registration.sympattend" ng:required>
256         </div>
257
258
259 <div id="work" ng:show="registration.type != 'participant' && registration.type != 'sparticipant' && registration.type != 'student' && registration.type != 'accomp'">
260 <div ng:show="registration.type == 'symposium' && registration.symposium.work_nr < 4 && ! symposium.$id">
261
262         <h2>Simpozij</h2>
263         <label for="registration.symposium.title">Tema:</label>
264                 <input class="input1" name="registration.symposium.title" ng:required>
265         <label>Organizator(i):</label>
266                 <!--
267                 <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>
268                 -->
269                 <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>
270                 <div class="clear" ng:repeat="organizer in registration.symposium.organizers">
271                 <input class="input2" name="organizer.name" ng:required>
272                 <input class="input2" name="organizer.surname" ng:required>
273                 <input class="input3" name="organizer.inst" >
274                 <input class="input2" name="organizer.email" ng:required ng:validate="email">
275                 <a href="" ng:click="registration.symposium.organizers.$remove(organizer)">X</a>
276                 </div>
277                 <div class="clear"><a class="addPerson" href="" ng:click="registration.symposium.organizers.$add()">Dodaj drugog organizatora</a></div>
278         <label>Sažetak (<span class="lengthCount">{{registration.symposium.abstract.length}}</span> / maks. 2000 znakova)</label>
279                 <textarea class="input1" name="registration.symposium.abstract" rows="10" ng:validate="max_length:2000" ng:required></textarea>
280                 
281                 <div ng:show="symposium">
282                         <b>Simpozij:</b> {{registration.symposium.title}}
283                         <blockquote>
284                         <label>Prijavljeni radovi za ovaj simpozij:</label>
285                         <ol>
286                         <li ng:repeat="w in symposium.works">
287                         <!--
288                         <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
289                         -->
290                         <span ng:show="registration.$id != w.$id">{{w.title}}</span>
291                         <b ng:show="registration.$id == w.$id">{{w.title}}</b>
292                         </li>
293                         </ol>
294                         </blockquote>
295                 </div>
296 </div>
297
298 <div ng:show="registration.type && ! last_saved.$id">
299
300 <!--
301                 <div ng:show="symposium">
302                         <b>Symposium:</b> {{registration.symposium.title}}
303                         <blockquote>
304                         <label>Submitted papers for this symposium:</label>
305                         <ol>
306                         <li ng:repeat="w in symposium.works">
307                         <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
308                         <b ng:show="registration.$id == w.$id">{{w.title}}</b>
309                         </li>
310                         </ol>
311                         </blockquote>
312                 </div>
313 -->
314 <h3 ng:show="registration.type == 'symposium'">Prijava rada unutar simpizija ({{registration.symposium.work_nr}})</h3>
315 <h2 ng:show="registration.type == 'lecture'">Prijava usmenog priopćenja</h2>
316 <h2 ng:show="registration.type == 'poster'">Prijava postera</h2>
317 <h2 ng:show="registration.type == 'round'">Prijava teme okruglog stola</h2>
318
319
320 <label>Naslov:</label>
321         <input class="input1" name="registration.work.title" ng:required>
322 <div ng:show="registration.type != 'round'">
323 <label>Autori:</label>
324         <div>
325                 <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>
326         </div>
327         <div class="clear" ng:repeat="author in registration.work.authors">
328                 <input class="input2" name="author.name" ng:required>
329                 <input class="input2" name="author.surname" ng:required>
330                 <input class="input3" name="author.inst" >
331                 <input class="input2" name="author.email" ng:required ng:validate="email">
332                 <a href="" ng:click="registration.work.authors.$remove(author)">X</a>
333         </div>
334         <a class="addPerson" href="" ng:click="registration.work.authors.$add()">Dodaj još jednog autora</a>
335 </div>
336 <div ng:show="registration.type == 'round'">
337 <label>Organizator:</label>
338         <!--
339         <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>
340         -->
341                 <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>
342         <div class="clear" ng:repeat="organizer in registration.work.organizers">
343                 <input class="input2" name="organizer.name" ng:required>
344                 <input class="input2" name="organizer.surname" ng:required>
345                 <input class="input3" name="organizer.inst" >
346                 <input class="input2" name="organizer.email" ng:required ng:validate="email">
347                 <a href="" ng:click="registration.work.organizers.$remove(organizer)">X</a>
348         </div>
349         <div class="clear"><a class="addPerson" href="" ng:click="registration.work.organizers.$add()">Add another organizer</a></div>
350 </div>
351
352 <label>Sažetak (<span class="lengthCount">{{registration.work.abstract.length}}</span> / maks. 2000 znakova)</label>
353         <textarea class="input1" name="registration.work.abstract" rows="10" ng:validate="max_length:2000" ng:required></textarea>
354
355
356 </div> <!-- ng:show="registration.type" -->
357 </div>
358
359 <div class="button" ng:show="! last_saved.$equals(registration) && $invalidWidgets.visible() == 0 && (symposium.$id || (registration.reception != null && registration.dinner != null))">
360 <input type="submit" value="Snimi" ng:click="save();" ng:show="! last_saved.$equals(registration) && $invalidWidgets.visible() == 0" >
361 </div>
362
363 <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.
364 <span ng:show="$invalidWidgets.visible() &gt; 0">Obratite pažnju na polja s narančastim okvirom. <!-- - {{$invalidWidgets.visible()}} left. --></span>
365 <span ng:show="(registration.reception == null || registration.dinner == null) && ! symposium.$id && registration.type != 'student'">
366 Odlučite o dolasku na domjenak i večeru.</span>
367 <span ng:show="(registration.reception == null || registration.dinner == null) && ! symposium.$id && registration.type == 'student'">
368 Odlučite o dolasku na domjenak.</span>
369 </div>
370
371
372 <div style="margin-bottom: 40px" ng:show="registration.$id && last_saved.$equals(registration)">
373
374         <div class="saved" ng:show="registration.type == 'participant' || registration.type == 'sparticipant' || registration.type == 'student' || registration.type == 'accomp' && ! symposium">
375                 <span class="saved2">Hvala! Vaša registracija je uspješno predana!</span>
376                 <div class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011/registracija/kotizacija">Molimo pročitajte upute za plaćanje kotizacije</a></div>
377                 <div class="gohome" ng:show="registration.type == 'student' || registration.student == true">
378                         Dokaz o studentskom statusu treba poslati na adresu <a href="mailto:drzb@ffzg.hr">drzb@ffzg.hr</a>.
379                 </div>
380                 <br><br>
381         </div>
382         <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">
383                 <span class="saved2">Hvala! Vaš prijedlog je uspješno predan. <br></span>
384                 <span class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011/registracija/kotizacija">Molimo pročitajte upute za plaćanje kotizacije.</a></span>
385                 
386         </div>
387         <div class="button button2" ng:show="registration.type != 'participant' && registration.type != 'sparticipant' && registration.type != 'student' && registration.type != 'accomp' && last_saved.$id && ! symposium">
388                 <span class="saved2">Hvala! Vaš prijedlog je uspješno predan. <br></span>
389                 <div class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011/registracija/kotizacija">Molimo pročitajte upute za plaćanje kotizacije.</a></div>
390                 <div class="gohome" ng:show="registration.type == 'student' || registration.student == true">
391                         Dokaz o studentskom statusu treba poslati na adresu <a href="mailto:drzb@ffzg.hr">drzb@ffzg.hr</a>.
392                 <br>
393         </div>
394         
395 </div>
396         <div class="button button2" ng:show="last_saved.$id && symposium && registration.symposium.work_nr < 4">
397                 <input type="reset" value="Dodavanje sljedećeg rada" ng:click="reset()"> 
398         </div>
399 <!--
400 <div class="button2" ng:show="registration.$id && registration.type != 'participant' && registration.type != 'sparticipant' && last_saved.$equals(registration)">
401         <input type="reset" value="Submit another paper" ng:click="reset()">
402         <div class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011/">Go to conference home page</a></div>
403 </div>
404 -->
405 </div>
406 <div id="footer">
407         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
408         <div id="go_to_top"><a href="#"></a></div>
409    <p id="foot">
410         <a href="http://psihologija.ffzg.hr" target="_blank">http://psihologija.ffzg.hr</a>
411     </p> 
412 </div>
413
414 <!--
415 <div ng:show="registration.$id">
416 Permalink to <a href="#{{registration.$id}}">DRZB2011 registration</a> which you can bookmark
417 </div>
418 -->
419
420 <div style="clear: both">
421 <input type=checkbox name=debug style="float: right; clear: both">
422 <pre ng:show="debug">
423
424 dirty={{! last_saved.$equals(registration)}} invalid={{$invalidWidgets.visible()}}
425
426 registration = {{registration}}
427
428 last_saved = {{last_saved}}
429
430 master = {{master}}
431
432 symposium = {{symposium}}
433
434 $id={{$id}}
435 registration.$id={{registration.$id}}
436 </pre>
437 </div>
438
439 </body>
440 </html>