2 <html xmlns:ng="http://angularjs.org">
5 <script src="angular.js" ng:autobind></script>
7 <script src="registration.js"></script>
8 <title>Conference registration</title>
10 <style type="text/css">
32 /* margin-bottom: 6px; */
36 text-decoration: none;
38 background: url(http://mjesec.ffzg.hr/drzb2011/images/kvadrat.gif) no-repeat left;
39 border-bottom: 1px solid #CCC;
45 border-bottom: 2px solid #D74F25;
46 border-bottom: 1px solid #46d0fe;
103 input, textarea, .gohome {
106 border: solid 1px #dedede;
111 input:focus, textarea:focus
117 /* border: 1px solid #46d0fe; */
120 .ng-validation-error {
121 border: 1px solid #FF6666;
122 border: 1px solid #EDC8BC;
123 border: 1px solid #FF9966;
124 border: 1px solid #EAB3A2;
125 border: 1px solid #D74F25;
126 border: 1px solid #DC6844;
127 border: 1px solid #DE7F61;
146 text-decoration: none;
150 .button input:hover, .gohome:hover {
157 border: 1px solid #d74f25;
167 text-decoration: none;
174 text-decoration: none;
215 border: 1px solid #ccc;
224 <h1>Registration and Proposal Submission</h1>
227 <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>
229 <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>
231 <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>
233 <p>Duljina sažetka ne može prelaziti 2000 znakova.</p>
235 <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>
240 <div class="root" ng:controller="Registration" ng:init="$window.$root = this;">
243 <div ng:show="last_saved.$id || symposium">
244 <h2>{{registration.person.name}} {{registration.person.surname}}</h2>
248 <div id="participant" ng:show="! last_saved.$id && ! symposium">
249 <h2>Contact Information</h2>
250 <div class="labelTop">
251 <div class="input input4">First name</div>
252 <div class="input input4">Surname</div>
254 <div style="clear: both">
255 <input class="input4" name="registration.person.name" ng:required>
256 <input class="input4" name="registration.person.surname" ng:required>
258 <div class="labelTop">
259 <div class="input input5">Institution</div>
261 <div style="clear: both">
262 <input class="input5" name="registration.person.inst">
264 <div class="labelTop">
265 <div class="input input5">Address</div>
267 <div style="clear: both">
268 <input class="input5" name="registration.person.address1" ng:required>
270 <div class="labelTop">
271 <div class="input input6">City</div>
272 <div class="input input6">ZIP</div>
273 <div class="input input6">Country</div>
275 <div style="clear: both">
276 <input class="input6" name="registration.person.city" ng:required>
277 <input class="input6" name="registration.person.zip">
278 <input class="input6" name="registration.person.country">
280 <div class="labelTop">
281 <div class="input input4">E-mail</div>
282 <div class="input input4">Phone number</div>
284 <div style="clear: both">
285 <input class="input4" name="registration.person.email" ng:validate="email" ng:required>
286 <input class="input4" name="registration.person.phone">
291 <div id="submission" ng:show="registration.type != 'symposium' && ! last_saved.$id">
293 <h2>Registration Type</h2>
294 <label><input type="radio" name="registration.type" value="participant" ng:required>Attendance with no presentation</label>
295 <label><input type="radio" name="registration.type" value="sparticipant" ng:required>Symposium participant</label>
296 <label><input type="radio" name="registration.type" value="symposium" ng:required>Symposium organizer</label>
297 <label><input type="radio" name="registration.type" value="lecture" ng:required>Oral presentation</label>
298 <label><input type="radio" name="registration.type" value="poster" ng:required>Poster presentation</label>
299 <label><input type="radio" name="registration.type" value="round" ng:required>Round table discussion</label>
303 <!-- dodano za syposium participants -->
304 <div ng:show="registration.type == 'sparticipant' && ! last_saved.$id">
306 <label for="registration.sympattend">Topic:</label>
307 <input class="input1" name="registration.sympattend" ng:required>
311 <div id="work" ng:show="registration.type != 'participant' && registration.type != 'sparticipant'">
312 <div ng:show="registration.type == 'symposium' && ! last_saved.$id && registration.symposium.work_nr < 2">
315 <label for="registration.symposium.title">Topic:</label>
316 <input class="input1" name="registration.symposium.title" ng:required>
317 <label>Organizer:</label>
318 <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>
319 <div class="clear" ng:repeat="organizer in registration.symposium.organizers">
320 <input class="input2" name="organizer.name" ng:required>
321 <input class="input2" name="organizer.surname" ng:required>
322 <input class="input3" name="organizer.inst" >
323 <input class="input2" name="organizer.email" ng:required ng:validate="email">
324 <a href="" ng:click="registration.symposium.organizers.$remove(organizer)">X</a>
326 <a class="addPerson" href="" ng:click="registration.symposium.organizers.$add()">Add another organizer</a>
327 <label>Summary (2000 characters max.)</label>
328 <textarea class="input1" name="registration.symposium.abstract" rows="10" ng:validate="max_length:2000" ng:required></textarea>
332 <div ng:show="registration.type && ! last_saved.$id">
334 <div ng:show="symposium">
335 <b>Symposium:</b> {{registration.symposium.title}}
337 <label>Submitted papers for this symposium:</label>
339 <li ng:repeat="w in symposium.works">
340 <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
341 <b ng:show="registration.$id == w.$id">{{w.title}}</b>
346 <h2 ng:show="registration.type == 'symposium'">Add Symposia Paper ({{registration.symposium.work_nr}})</h2>
347 <h2 ng:show="registration.type == 'lecture'">Oral Presentation Sumbission</h2>
348 <h2 ng:show="registration.type == 'poster'">Poster Presentation Sumbission</h2>
349 <h2 ng:show="registration.type == 'round'">Round Table Disscussion Sumbission</h2>
352 <label>Title:</label>
353 <input class="input1" name="registration.work.title" ng:required>
354 <label>Authors</label>
356 <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>
358 <div class="clear" ng:repeat="author in registration.work.authors">
359 <input class="input2" name="author.name" ng:required>
360 <input class="input2" name="author.surname" ng:required>
361 <input class="input3" name="author.inst" >
362 <input class="input2" name="author.email" ng:required ng:validate="email">
363 <a href="" ng:click="registration.work.authors.$remove(author)">X</a>
365 <a class="addPerson" href="" ng:click="registration.work.authors.$add()">Add another author</a>
368 <label>Abstract (2000 characters max.):</label>
369 <textarea class="input1" name="registration.work.abstract" rows="10" ng:validate="max_length:2000" ng:required></textarea>
372 </div> <!-- ng:show="registration.type" -->
375 <div class="button" ng:show="! last_saved.$equals(registration) && $invalidWidgets.visible() == 0">
376 <input type="submit" value="Save" ng:click="save();" ng:show="! last_saved.$equals(registration) && $invalidWidgets.visible() == 0">
379 <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.
385 <div style="margin-bottom: 40px" ng:show="registration.$id && last_saved.$equals(registration)">
388 <input type="checkbox" name="last_saved.$id"> Hide submitted registration
391 <div class="saved" ng:show="registration.type == 'participant' || registration.type == 'sparticipant'">
392 <span class="saved2">Your registration has been submitted successfully!</span>
394 <span ng:show="registration.sympattend">You will participate in the symosium <b>"{{registration.sympattend}}"</b><br><br><br></span>
395 <span class="saved3">
396 Thank you. We look forward to seeing you at the conference<br><br>
397 .. Kotizacija upute ..
401 <div class="saved" ng:show="registration.type != 'participant' && registration.type != 'sparticipant'">
402 <span class="saved2">You submitted the paper successfully! <br><br></span>
404 <b>Paper title</b>: {{registration.work.title}} <br><br>
405 <div ng:show="symposium">
406 <b>Symposium:</b> {{registration.symposium.title}}
408 <label>Already submitted papers for this symposium:</label>
410 <li ng:repeat="w in symposium.works">
412 <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
414 <span ng:show="registration.$id != w.$id">{{w.title}}</span>
415 <b ng:show="registration.$id == w.$id">{{w.title}}</b>
421 <div class="button button2" ng:show="registration.$id && registration.type != 'participant' && registration.type != 'sparticipant' && last_saved.$equals(registration)">
422 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>
426 Registration ID: {{registration.$id}}. You can bookmark this page and review it later.
431 <div class=""><a href="http://psihologija.ffzg.hr/drzb2011/">Go to conference home page</a></div>
435 <div class="button2" ng:show="registration.$id && registration.type != 'participant' && registration.type != 'sparticipant' && last_saved.$equals(registration)">
436 <input type="reset" value="Submit another paper" ng:click="reset()">
437 <div class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011/">Go to conference home page</a></div>
441 <div class="footer"></div>
444 <div ng:show="registration.$id">
445 Permalink to <a href="#{{registration.$id}}">DRZB2011 registration</a> which you can bookmark
449 <input type=checkbox name=debug style="float: right; clear: both">
450 <pre ng:show="debug">
452 dirty={{! last_saved.$equals(registration)}} invalid={{$invalidWidgets.visible()}}
454 registration = {{registration}}
456 last_saved = {{last_saved}}
460 symposium = {{symposium}}
463 registration.$id={{registration.$id}}