1 <h1>Registracija i prijavljivanje izlaganja</h1>
4 Svi sudionici skupa, bez obzira na to jesu li izlagači, suautori ili slušači, moraju se registrirati kroz sustav elektroničke prijave.
7 <form ng-controller="RegistrationCtrl" name="RegistrationForm">
9 <h2>Odaberite tip registracije</h2>
11 <label class="left"><input type="radio" ng-model="user.registration_type" value="lecture" >Prijava usmenog izlaganja - <i>popunjava prvi autor, odnosno osoba koja će izložiti rad. Ostali autori trebaju se samo registrirati.</i></label>
12 <label class="left"><input type="radio" ng-model="user.registration_type" value="poster" >Prijava poster prezentacije - <i>popunjava prvi autor, ondnosno osoba koja će izložiti rad. Ostali autori trebaju se samo registrirati.</i></label>
13 <label class="left"><input type="radio" ng-model="user.registration_type" value="symposium" >Prijava simpozija - <i>popunjava organizator simpozija, upisuje sažetke svih radova. Autori radova na simpoziju trebaju se samo registrirati.</i></label>
14 <label class="left"><input type="radio" ng-model="user.registration_type" value="round" >Prijava okruglog stola - <i>popunjava organizator okruglog stola. Sudionici se trebaju registrirati.</i></label>
16 <label class="left"><input type="radio" ng-model="user.registration_type" value="participant" >Registracija - <i>popunjavaju slušači i suatori, te autori i suatori radova na simpoziju i sudionici okruglog stola.</i></label>
17 <label class="left"><input type="radio" ng-model="user.registration_type" value="accomp" >Registracija za osobe u pratnji.</label>
19 <div ng-show="user.registration_type">
21 <h2>Registracija - podaci za kontakt</h2>
23 <input ng-model="user.firstname" placeholder="Ime" ng-required="true" />
24 <input ng-model="user.surname" placeholder="Prezime" ng-required="true" />
25 <input ng-model="user.organization" placeholder="Ustanova" >
27 <input ng-model="user.address" placeholder="Adresa" >
28 <input ng-model="user.town" placeholder="Grad" ng-required="true" >
29 <input ng-model="user.zip_code" placeholder="Poštanski br." >
30 <input ng-model="user.country" placeholder="Zemlja" >
32 <input ng-model="user.email" type="email" placeholder="e-mail@example.com" ng-required="true" />
33 <input ng-model="user.phone" placeholder="+385-1-555-1234" />
36 <input ng-model="user.student" type="checkbox" ng-change="change_student()">
37 Označite ako ste student.
40 <div ng-show="! user.student">
43 <input ng-model="user.hpd_member" type="checkbox">
44 Označite ako ste član HPD-a
48 <input type="checkbox" ng-model="user.reception">
49 Označite ako ćete biti na domjenku dobrodošlice
53 <input type="checkbox" ng-model="user.dinner">
54 Označite ako ćete biti na zajedničkoj večeri? (Večera je uključena u kotizaciju.)
58 <input type="checkbox" ng-model="user.r1.required">
62 <div ng-show="user.r1.required">
63 Organizacija koja uplaćuje račun
65 <input class="left" ng-model="user.r1.organization" ng-required="user.r1.required" placeholder="Naziv">
66 <input class="left" ng-model="user.r1.address" ng-required="user.r1.required" placeholder="Adresa">
67 <input class="left" ng-model="user.r1.OIB" ng-required="user.r1.required" placeholder="OIB">
69 </div><!-- r1.required -->
72 </div><!-- not student -->
74 </div><!-- selected registration_type -->
77 <div ng-show="has_work">
79 <div ng-switch on="work.type">
80 <h2 ng-switch-when="lecture">Prijava predavanja</h2>
81 <h2 ng-switch-when="poster">Prijava postera</h2>
82 <h2 ng-switch-when="symposium">Simpozij</h2>
83 <h2 ng-switch-when="round">Prijava teme okruglog stola</h2>
84 <b ng-switch-default>Has unknown work type {{work.type}} to submit</b>
87 <input ng-model="work.title" placeholder="title" ng-required="has_work" >
88 <div ng-show="is_symposium">Organizator simpozija</div>
89 <div ng-repeat="person in work.persons">
90 <input ng-model="person.firstname" placeholder="Ime" ng-required="has_work" />
91 <input ng-model="person.surname" placeholder="Prezime" ng-required="has_work" />
92 <input ng-model="person.organization" placeholder="Ustanova" >
93 <input ng-model="person.email" type="email" placeholder="e-mail@example.com" ng-required="has_work" />
94 <a href="" ng-click="removePerson(work.persons,person)">obriši</a>
96 <a href="" ng-click="addPerson(work.persons)">dodaj osobu</a>
99 Sažetak ({{work.abstract.length || 0}} od maks. 2000 znakova)
101 <textarea ng-model="work.abstract" ng-maxlength="2000" rows="10" cols="80" ng-required="has_work" ></textarea>
103 </div><!-- has_work -->
105 <div ng-show="is_symposium">
107 <h2>Prijava radova unutar simpozija {{work.title}}</h2>
109 <div ng-repeat="work in work.symposium_works">
111 <h3>{{$index + 1}}. rad na simpoziju</h3>
113 <input ng-model="work.title" placeholder="Naslov" ng-required="has_work" >
114 <div ng-repeat="person in work.persons">
115 <input ng-model="person.firstname" placeholder="first name" ng-required="has_work" />
116 <input ng-model="person.surname" placeholder="surname" ng-required="has_work" />
117 <input ng-model="person.organization" placeholder="organizacija" >
118 <input ng-model="person.email" type="email" placeholder="e-mail@example.com" ng-required="has_work" />
119 <a href="" ng-click="removePerson(work.persons,person)">obriši</a>
121 <a href="" ng-click="addPerson(work.persons)">dodaj osobu</a>
124 Sažetak ({{work.abstract.length || 0}} od maks. 2000 znakova)
126 <textarea ng-model="work.abstract" ng-maxlength="2000" rows="10" cols="80" ng-required="has_work" ></textarea>
128 </div><!-- ng-repeat symposium_works -->
130 <a href="" ng-click="add_symposium_work(work.symposium_works)">Dodaj još jedan rad na simpoziju</a>
132 </div><!-- is_symposium -->
134 <button ng-click="update(registration)" ng-show="RegistrationForm.$valid">Registriraj se za konferenciju</button>
136 <div style="color: red" ng-show="! RegistrationForm.$valid">
137 Molimo ispunite sva obavezna polja. Obratite pažnju na polja s narančastim okvirom. Odlučite o dolasku na domjenak i večeru.
145 registration={{registration}}
147 $routeParams={{$routeParams}}
149 {{RegistrationForm.$valid}}
150 {{RegistrationForm.$error}}
152 location={{$location.path()}}