2 <html xmlns:ng="http://angularjs.org">
5 <script src="angular.js" ng:autobind></script>
7 <title>Conference registration</title>
9 <script src="database.js"></script>
10 <script src="registration.js"></script>
12 <style type="text/css">
34 /* margin-bottom: 6px; */
38 text-decoration: none;
40 background: url(http://mjesec.ffzg.hr/drzb2011/images/kvadrat.gif) no-repeat left;
41 border-bottom: 1px solid #CCC;
47 border-bottom: 2px solid #D74F25;
48 border-bottom: 1px solid #46d0fe;
105 input, textarea, .gohome {
108 border: solid 1px #dedede;
113 input:focus, textarea:focus
119 /* border: 1px solid #46d0fe; */
122 .ng-validation-error {
123 border: 1px solid #FF6666;
124 border: 1px solid #EDC8BC;
125 border: 1px solid #FF9966;
126 border: 1px solid #EAB3A2;
127 border: 1px solid #D74F25;
128 border: 1px solid #DC6844;
129 border: 1px solid #DE7F61;
148 text-decoration: none;
152 .button input:hover, .gohome:hover {
159 border: 1px solid #d74f25;
169 text-decoration: none;
176 text-decoration: none;
217 border: 1px solid #ccc;
226 <h1>Registration and Proposal Submission</h1>
229 <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>
231 <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>
233 <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>
235 <p>Duljina sažetka ne može prelaziti 2000 znakova.</p>
237 <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>
242 <div class="root" ng:controller="Registration" ng:init="$window.$root = this;">
245 <div ng:show="last_saved.$id || symposium">
246 <h2>{{registration.person.name}} {{registration.person.surname}}</h2>
250 <div id="participant" ng:show="! last_saved.$id && ! symposium">
251 <h2>Contact Information</h2>
252 <div class="labelTop">
253 <div class="input input4">First name</div>
254 <div class="input input4">Surname</div>
256 <div style="clear: both">
257 <input class="input4" name="registration.person.name" ng:required>
258 <input class="input4" name="registration.person.surname" ng:required>
260 <div class="labelTop">
261 <div class="input input5">Institution</div>
263 <div style="clear: both">
264 <input class="input5" name="registration.person.inst">
266 <div class="labelTop">
267 <div class="input input5">Address</div>
269 <div style="clear: both">
270 <input class="input5" name="registration.person.address1" ng:required>
272 <div class="labelTop">
273 <div class="input input6">City</div>
274 <div class="input input6">ZIP</div>
275 <div class="input input6">Country</div>
277 <div style="clear: both">
278 <input class="input6" name="registration.person.city" ng:required>
279 <input class="input6" name="registration.person.zip">
280 <input class="input6" name="registration.person.country">
282 <div class="labelTop">
283 <div class="input input4">E-mail</div>
284 <div class="input input4">Phone number</div>
286 <div style="clear: both">
287 <input class="input4" name="registration.person.email" ng:validate="email" ng:required>
288 <input class="input4" name="registration.person.phone">
293 <div id="submission" ng:show="registration.type != 'symposium' && ! last_saved.$id">
295 <h2>Registration Type</h2>
296 <label><input type="radio" name="registration.type" value="participant" ng:required>Attendance with no presentation</label>
297 <label><input type="radio" name="registration.type" value="sparticipant" ng:required>Symposium participant</label>
298 <label><input type="radio" name="registration.type" value="symposium" ng:required>Symposium organizer</label>
299 <label><input type="radio" name="registration.type" value="lecture" ng:required>Oral presentation</label>
300 <label><input type="radio" name="registration.type" value="poster" ng:required>Poster presentation</label>
301 <label><input type="radio" name="registration.type" value="round" ng:required>Round table discussion</label>
305 <!-- dodano za syposium participants -->
306 <div ng:show="registration.type == 'sparticipant' && ! last_saved.$id">
308 <label for="registration.sympattend">Topic:</label>
309 <input class="input1" name="registration.sympattend" ng:required>
313 <div id="work" ng:show="registration.type != 'participant' && registration.type != 'sparticipant'">
314 <div ng:show="registration.type == 'symposium' && ! last_saved.$id && registration.symposium.work_nr < 2">
317 <label for="registration.symposium.title">Topic:</label>
318 <input class="input1" name="registration.symposium.title" ng:required>
319 <label>Organizer:</label>
320 <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>
321 <div class="clear" ng:repeat="organizer in registration.symposium.organizers">
322 <input class="input2" name="organizer.name" ng:required>
323 <input class="input2" name="organizer.surname" ng:required>
324 <input class="input3" name="organizer.inst" >
325 <input class="input2" name="organizer.email" ng:required ng:validate="email">
326 <a href="" ng:click="registration.symposium.organizers.$remove(organizer)">X</a>
328 <a class="addPerson" href="" ng:click="registration.symposium.organizers.$add()">Add another organizer</a>
329 <label>Summary ({{registration.symposium.abstract.length}}/2000 characters max.)</label>
330 <textarea class="input1" name="registration.symposium.abstract" rows="10" ng:validate="max_length:2000" ng:required></textarea>
334 <div ng:show="registration.type && ! last_saved.$id">
336 <div ng:show="symposium">
337 <b>Symposium:</b> {{registration.symposium.title}}
339 <label>Submitted papers for this symposium:</label>
341 <li ng:repeat="w in symposium.works">
342 <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
343 <b ng:show="registration.$id == w.$id">{{w.title}}</b>
348 <h2 ng:show="registration.type == 'symposium'">Add Symposia Paper ({{registration.symposium.work_nr}})</h2>
349 <h2 ng:show="registration.type == 'lecture'">Oral Presentation Sumbission</h2>
350 <h2 ng:show="registration.type == 'poster'">Poster Presentation Sumbission</h2>
351 <h2 ng:show="registration.type == 'round'">Round Table Disscussion Sumbission</h2>
354 <label>Title:</label>
355 <input class="input1" name="registration.work.title" ng:required>
356 <label>Authors</label>
358 <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>
360 <div class="clear" ng:repeat="author in registration.work.authors">
361 <input class="input2" name="author.name" ng:required>
362 <input class="input2" name="author.surname" ng:required>
363 <input class="input3" name="author.inst" >
364 <input class="input2" name="author.email" ng:required ng:validate="email">
365 <a href="" ng:click="registration.work.authors.$remove(author)">X</a>
367 <a class="addPerson" href="" ng:click="registration.work.authors.$add()">Add another author</a>
370 <label>Abstract ({{registration.work.abstract.length}}/2000 characters max.):</label>
371 <textarea class="input1" name="registration.work.abstract" rows="10" ng:validate="max_length:2000" ng:required></textarea>
374 </div> <!-- ng:show="registration.type" -->
377 <div class="button" ng:show="! last_saved.$equals(registration) && $invalidWidgets.visible() == 0">
378 <input type="submit" value="Save" ng:click="save();" ng:show="! last_saved.$equals(registration) && $invalidWidgets.visible() == 0">
381 <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.
387 <div style="margin-bottom: 40px" ng:show="registration.$id && last_saved.$equals(registration)">
390 <input type="checkbox" name="last_saved.$id"> Hide submitted registration
393 <div class="saved" ng:show="registration.type == 'participant' || registration.type == 'sparticipant'">
394 <span class="saved2">Your registration has been submitted successfully!</span>
396 <span ng:show="registration.sympattend">You will participate in the symosium <b>"{{registration.sympattend}}"</b><br><br><br></span>
397 <span class="saved3">
398 Thank you. We look forward to seeing you at the conference<br><br>
399 .. Kotizacija upute ..
403 <div class="saved" ng:show="registration.type != 'participant' && registration.type != 'sparticipant'">
404 <span class="saved2">You submitted the paper successfully! <br><br></span>
406 <b>Paper title</b>: {{registration.work.title}} <br><br>
407 <div ng:show="symposium">
408 <b>Symposium:</b> {{registration.symposium.title}}
410 <label>Already submitted papers for this symposium:</label>
412 <li ng:repeat="w in symposium.works">
414 <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
416 <span ng:show="registration.$id != w.$id">{{w.title}}</span>
417 <b ng:show="registration.$id == w.$id">{{w.title}}</b>
423 <div class="button button2" ng:show="registration.$id && registration.type != 'participant' && registration.type != 'sparticipant' && last_saved.$equals(registration)">
424 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>
428 Registration ID: {{registration.$id}}. You can bookmark this page and review it later.
433 <div class=""><a href="http://psihologija.ffzg.hr/drzb2011/">Go to conference home page</a></div>
437 <div class="button2" ng:show="registration.$id && registration.type != 'participant' && registration.type != 'sparticipant' && last_saved.$equals(registration)">
438 <input type="reset" value="Submit another paper" ng:click="reset()">
439 <div class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011/">Go to conference home page</a></div>
443 <div class="footer"></div>
446 <div ng:show="registration.$id">
447 Permalink to <a href="#{{registration.$id}}">DRZB2011 registration</a> which you can bookmark
451 <input type=checkbox name=debug style="float: right; clear: both">
452 <pre ng:show="debug">
454 dirty={{! last_saved.$equals(registration)}} invalid={{$invalidWidgets.visible()}}
456 registration = {{registration}}
458 last_saved = {{last_saved}}
462 symposium = {{symposium}}
465 registration.$id={{registration.$id}}