--- /dev/null
+<!DOCTYPE HTML>
+<html xmlns:ng="http://angularjs.org">
+<head>
+<meta charset="utf-8">
+<script src="angular.js" ng:autobind></script>
+
+<script>
+Registrations.$inject = ['$xhr'];
+
+function Registrations(xhr){
+ this.xhr = xhr;
+ var self = this;
+ this.xhr("JSON"
+ , "/data/drzb2011/Registration?callback=JSON_CALLBACK"
+ , function(code, response){
+// console.log('xhr JSON', code, response);
+ self.data = response;
+ }
+ );
+
+}
+
+</script>
+
+<title>DRZB2011 Registrations</title>
+
+<style>
+.address {
+}
+.abstract {
+ font-style: italic;
+ font-size: 90%;
+ color: #3f3f3f;
+}
+
+li {
+ margin-top: 40px;
+}
+
+.participant {
+ background-color: #ffcccc;
+ font-weight: bold;
+}
+.sparticipant {
+ background-color: #ccffe6;
+ font-weight: bold;
+
+}
+.symposium {
+ background-color: #ccccff;
+ font-weight: bold;
+
+}
+.round {
+ background-color: #e6ccff;
+ background-color: #99ffcc;
+ font-weight: bold;
+
+}
+.lecture {
+ background-color: #ffccff;
+ font-weight: bold;
+
+}
+.poster {
+ background-color: #ffcce6;
+ background-color: #ffcc99;
+ font-weight: bold;
+
+}
+.student {
+ background-color: #ffff99;
+ font-weight: bold;
+
+}
+.accomp {
+ background-color: #ccff99;
+ font-weight: bold;
+
+}
+
+</style>
+
+</head>
+<body>
+
+<div ng:controller="Registrations">
+
+
+<div ng:repeat="registration in data">
+<!--
+<span class="{{registration.type}}">
+ <span ng:show="registration.type == 'participant'">samo registracija</span>
+ <span ng:show="registration.type == 'sparticipant'">sudionik simpozija/okruglog stola</span>
+ <span ng:show="registration.type == 'symposium'">organizator simpozija</span>
+ <span ng:show="registration.type == 'round'">organizator okruglog stola</span>
+ <span ng:show="registration.type == 'lecture'">usmeno priopćenje</span>
+ <span ng:show="registration.type == 'poster'">poster</span>
+ <span ng:show="registration.type == 'student'">student - samo registracija</span>
+ <span ng:show="registration.type == 'accomp'">osoba u pratnji</span>
+</span>
+ <span ng:show="registration.student == thrue"> - student</span><br>
+-->
+<p ng:repeat="person in registration.persons">
+
+{{person.surname}},
+{{person.name}},
+{{person.email}},
+{{person.inst}}
+</p>
+<!--
+{{registration.work.authors[0].name}}
+{{registration.work.authors[0].surname}},
+{{registration.work.authors[0].inst}}
+
+-->
+<!--
+<div class=address>{{registration.person.zip}} {{registration.person.city}}</div>
+-->
+</div>
+
+
+<div>
+<input name=debug type=checkbox style="float: right;">
+<pre ng:show="debug">
+data={{data}}
+</pre>
+</div>
+
+</div>
+
+
+</body>
+</html>