2 <html xmlns:ng="http://angularjs.org">
5 <script src="angular.js" ng:autobind></script>
8 Registrations.$inject = ['$xhr'];
10 function Registrations(xhr){
14 , "/data/drzb2011/Registration?callback=JSON_CALLBACK"
15 , function(code, response){
16 console.log('xhr JSON', code, response);
25 <title>DRZB2011 Registrations</title>
36 <div ng:controller="Registrations">
38 <input name="selection" type="radio" value="all">SVI <br>
39 <input name="selection" type="radio" value="participant">Samo registracija <br>
40 <input name="selection" type="radio" value="sparticipant">Sudionik simpozija/okruglog stola <br>
41 <input name="selection" type="radio" value="symposium">Organizator simpozija <br>
42 <input name="selection" type="radio" value="round">Organizator okruglog stola<br>
43 <input name="selection" type="radio" value="lecture">Usmeno priopćenje <br>
44 <input name="selection" type="radio" value="poster">Poster <br>
45 <input name="selection" type="radio" value="student">Student - samo registracija<br>
46 <input name="selection" type="radio" value="accomp">Osoba u pratnji<br>
50 <li ng:repeat="registration in data" ng:show="registration.type == selection || selection == 'all'">
51 {{registration.type}} <span ng:show="registration.student == thrue"> - student</span><br>
52 {{registration.person.name}}
53 {{registration.person.surname}}
54 <{{registration.person.email}}>
55 <div class=address>{{registration.person.inst}}</div>
56 <div><b>{{registration.work.title}}</b></div>
57 <span ng:show="work" ng:repeat="author in registration.work.authors">
62 <div class=address>{{registration.person.zip}} {{registration.person.city}}</div>
67 <div style="float: right">
68 <input name=debug type=checkbox>