2 <html xmlns:ng="http://angularjs.org">
5 <script src="angular.js" ng:autobind></script>
7 <title>Conference registration</title>
9 <script src="registration.js"></script>
11 <style type="text/css">
33 /* margin-bottom: 6px; */
37 text-decoration: none;
39 background: url(http://mjesec.ffzg.hr/drzb2011/images/kvadrat.gif) no-repeat left;
40 border-bottom: 1px solid #CCC;
46 border-bottom: 2px solid #D74F25;
47 border-bottom: 1px solid #46d0fe;
104 input, textarea, .gohome {
107 border: solid 1px #dedede;
112 input:focus, textarea:focus
118 /* border: 1px solid #46d0fe; */
121 .ng-validation-error {
122 border: 1px solid #FF6666;
123 border: 1px solid #EDC8BC;
124 border: 1px solid #FF9966;
125 border: 1px solid #EAB3A2;
126 border: 1px solid #D74F25;
127 border: 1px solid #DC6844;
128 border: 1px solid #DE7F61;
147 text-decoration: none;
151 .button input:hover, .gohome:hover {
158 border: 1px solid #d74f25;
168 text-decoration: none;
175 text-decoration: none;
216 border: 1px solid #ccc;
225 <h1>Registration and Proposal Submission</h1>
228 <p>Svi sudionici skupa, bez obzira na to jesu li izlagači, suautori ili slušači, trebaju prijaviti svoje sudjelovanje kroz sustav elektroničke prijave.</p>
230 <p>Sažetak izlaganja/postera prijavljuje samo prvi autor, odnosno onaj autor koji će rad izložiti. Ostali suautori prilikom prijave na skup ne trebaju prijaviti sažetak, nego se samo registrirati.</p>
232 <p>Organizatori simpozija/okruglog stola prijavljuju i sažetak simpozija i/ili okruglog stola, i sažetak svakog pripadajućeg rada. Autori radova unutar simpozija ne prijavljuju pojedinačno svoje sažetke.</p>
234 <p>Duljina sažetka ne može prelaziti 2000 znakova.</p>
236 <p>Jedna osoba može biti autor u najviše tri rada, pri čemu na samo jednom može biti prvi ili jedini autor.</p>
241 <div class="root" ng:controller="Registration" ng:init="$window.$root = this;">
244 <div ng:show="last_saved.$id || symposium">
245 <h2>{{registration.person.name}} {{registration.person.surname}}</h2>
249 <div id="participant" ng:show="! last_saved.$id && ! symposium">
250 <h2>Contact Information</h2>
251 <div class="labelTop">
252 <div class="input input4">First name</div>
253 <div class="input input4">Surname</div>
255 <div style="clear: both">
256 <input class="input4" name="registration.person.name" ng:required>
257 <input class="input4" name="registration.person.surname" ng:required>
259 <div class="labelTop">
260 <div class="input input5">Institution</div>
262 <div style="clear: both">
263 <input class="input5" name="registration.person.inst">
265 <div class="labelTop">
266 <div class="input input5">Address</div>
268 <div style="clear: both">
269 <input class="input5" name="registration.person.address1" ng:required>
271 <div class="labelTop">
272 <div class="input input6">City</div>
273 <div class="input input6">ZIP</div>
274 <div class="input input6">Country</div>
276 <div style="clear: both">
277 <input class="input6" name="registration.person.city" ng:required>
278 <input class="input6" name="registration.person.zip">
279 <input class="input6" name="registration.person.country">
281 <div class="labelTop">
282 <div class="input input4">E-mail</div>
283 <div class="input input4">Phone number</div>
285 <div style="clear: both">
286 <input class="input4" name="registration.person.email" ng:validate="email" ng:required>
287 <input class="input4" name="registration.person.phone">
292 <div id="submission" ng:show="registration.type != 'symposium' && ! last_saved.$id">
294 <h2>Registration Type</h2>
295 <label><input type="radio" name="registration.type" value="participant" ng:required>Attendance with no presentation</label>
296 <label><input type="radio" name="registration.type" value="sparticipant" ng:required>Symposium participant</label>
297 <label><input type="radio" name="registration.type" value="symposium" ng:required>Symposium organizer</label>
298 <label><input type="radio" name="registration.type" value="lecture" ng:required>Oral presentation</label>
299 <label><input type="radio" name="registration.type" value="poster" ng:required>Poster presentation</label>
300 <label><input type="radio" name="registration.type" value="round" ng:required>Round table discussion</label>
304 <!-- dodano za syposium participants -->
305 <div ng:show="registration.type == 'sparticipant' && ! last_saved.$id">
307 <label for="registration.sympattend">Topic:</label>
308 <input class="input1" name="registration.sympattend" ng:required>
312 <div id="work" ng:show="registration.type != 'participant' && registration.type != 'sparticipant'">
313 <div ng:show="registration.type == 'symposium' && ! last_saved.$id && registration.symposium.work_nr < 2">
316 <label for="registration.symposium.title">Topic:</label>
317 <input class="input1" name="registration.symposium.title" ng:required>
318 <label>Organizer:</label>
319 <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>
320 <div class="clear" ng:repeat="organizer in registration.symposium.organizers">
321 <input class="input2" name="organizer.name" ng:required>
322 <input class="input2" name="organizer.surname" ng:required>
323 <input class="input3" name="organizer.inst" >
324 <input class="input2" name="organizer.email" ng:required ng:validate="email">
325 <a href="" ng:click="registration.symposium.organizers.$remove(organizer)">X</a>
327 <a class="addPerson" href="" ng:click="registration.symposium.organizers.$add()">Add another organizer</a>
328 <label>Summary (2000 characters max.)</label>
329 <textarea class="input1" name="registration.symposium.abstract" rows="10" ng:validate="max_length:2000" ng:required></textarea>
333 <div ng:show="registration.type && ! last_saved.$id">
335 <div ng:show="symposium">
336 <b>Symposium:</b> {{registration.symposium.title}}
338 <label>Submitted papers for this symposium:</label>
340 <li ng:repeat="w in symposium.works">
341 <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
342 <b ng:show="registration.$id == w.$id">{{w.title}}</b>
347 <h2 ng:show="registration.type == 'symposium'">Add Symposia Paper ({{registration.symposium.work_nr}})</h2>
348 <h2 ng:show="registration.type == 'lecture'">Oral Presentation Sumbission</h2>
349 <h2 ng:show="registration.type == 'poster'">Poster Presentation Sumbission</h2>
350 <h2 ng:show="registration.type == 'round'">Round Table Disscussion Sumbission</h2>
353 <label>Title:</label>
354 <input class="input1" name="registration.work.title" ng:required>
355 <label>Authors</label>
357 <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>
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>
366 <a class="addPerson" href="" ng:click="registration.work.authors.$add()">Add another author</a>
369 <label>Abstract (2000 characters max.):</label>
370 <textarea class="input1" name="registration.work.abstract" rows="10" ng:validate="max_length:2000" ng:required></textarea>
373 </div> <!-- ng:show="registration.type" -->
376 <div class="button" ng:show="! last_saved.$equals(registration) && $invalidWidgets.visible() == 0">
377 <input type="submit" value="Save" ng:click="save();" ng:show="! last_saved.$equals(registration) && $invalidWidgets.visible() == 0">
380 <div ng:show="$invalidWidgets.visible() > 0" style="color:red; margin-top: 20px">Please fill all required fields correctly ({{$invalidWidgets.visible()}} fields left). Red colored fields call for your attention.
386 <div style="margin-bottom: 40px" ng:show="registration.$id && last_saved.$equals(registration)">
389 <input type="checkbox" name="last_saved.$id"> Hide submitted registration
392 <div class="saved" ng:show="registration.type == 'participant' || registration.type == 'sparticipant'">
393 <span class="saved2">Your registration has been submitted successfully!</span>
395 <span ng:show="registration.sympattend">You will participate in the symosium <b>"{{registration.sympattend}}"</b><br><br><br></span>
396 <span class="saved3">
397 Thank you. We look forward to seeing you at the conference<br><br>
398 .. Kotizacija upute ..
402 <div class="saved" ng:show="registration.type != 'participant' && registration.type != 'sparticipant'">
403 <span class="saved2">You submitted the paper successfully! <br><br></span>
405 <b>Paper title</b>: {{registration.work.title}} <br><br>
406 <div ng:show="symposium">
407 <b>Symposium:</b> {{registration.symposium.title}}
409 <label>Already submitted papers for this symposium:</label>
411 <li ng:repeat="w in symposium.works">
413 <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
415 <span ng:show="registration.$id != w.$id">{{w.title}}</span>
416 <b ng:show="registration.$id == w.$id">{{w.title}}</b>
422 <div class="button button2" ng:show="registration.$id && registration.type != 'participant' && registration.type != 'sparticipant' && last_saved.$equals(registration)">
423 You can <input type="reset" value="Submit another paper" ng:click="reset()"> or <a href="http://psihologija.ffzg.hr/drzb2011/">just leave</a> this page. <br><br> ... conference fee ... instructions ...<br><br>
427 Registration ID: {{registration.$id}}. You can bookmark this page and review it later.
432 <div class=""><a href="http://psihologija.ffzg.hr/drzb2011/">Go to conference home page</a></div>
436 <div class="button2" ng:show="registration.$id && registration.type != 'participant' && registration.type != 'sparticipant' && last_saved.$equals(registration)">
437 <input type="reset" value="Submit another paper" ng:click="reset()">
438 <div class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011/">Go to conference home page</a></div>
442 <div class="footer"></div>
445 <div ng:show="registration.$id">
446 Permalink to <a href="#{{registration.$id}}">DRZB2011 registration</a> which you can bookmark
450 <input type=checkbox name=debug style="float: right; clear: both">
451 <pre ng:show="debug">
453 dirty={{! last_saved.$equals(registration)}} invalid={{$invalidWidgets.visible()}}
455 registration = {{registration}}
457 last_saved = {{last_saved}}
461 symposium = {{symposium}}
464 registration.$id={{registration.$id}}