small changes i registration forms; abstracts file added
authorMarijana Glavica <mglavica@ffzg.hr>
Mon, 14 Feb 2011 13:40:37 +0000 (14:40 +0100)
committerMarijana Glavica <mglavica@ffzg.hr>
Mon, 14 Feb 2011 13:40:37 +0000 (14:40 +0100)
public/app/drzb2011/abstracts.html [new file with mode: 0644]
public/app/drzb2011/registration-en.html
public/app/drzb2011/registration-hr.html
public/app/drzb2011/registrations.html

diff --git a/public/app/drzb2011/abstracts.html b/public/app/drzb2011/abstracts.html
new file mode 100644 (file)
index 0000000..2390727
--- /dev/null
@@ -0,0 +1,133 @@
+<!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"> 
+
+Odabir: <br/>
+
+<label class="symposium"><input name="selection" type="radio" value="symposium">Rad unutar simpozija<br></label>
+<label class="lecture"><input name="selection" type="radio" value="lecture">Usmeno priopćenje <br></label>
+<label class="poster"><input name="selection" type="radio" value="poster">Poster <br></label>
+
+
+<div>
+<div ng:repeat="registration in data" ng:show="registration.type == selection || selection == 'all'">
+<!--
+<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>
+-->
+
+       <h1 style="font-size: 14pt; text-align: center; padding-top:48pt">{{registration.work.title | uppercase}}</h1>
+       <span ng:repeat="author in registration.work.authors" ng:show="registration.work.title">
+               <div style="font-size: 12pt; font-weight: bold; text-align: center; margin: 0; padding: 0">{{author.name}} {{author.surname}}</div>
+               <div style="font-size: 12pt; font-style: italic; font-weight: normal; text-align: center; padding-top: 6pt; padding-bottom: 12pt; margin: 0;">{{author.inst}}</div>
+       </span>
+       <div>{{registration.work.abstract}}</div>
+       <div>{{registration._id}}</div>
+</div>
+</div>
+
+<div>
+<input name=debug type=checkbox style="float: right;">
+<pre ng:show="debug">
+data={{data}}
+</pre>
+</div>
+
+</div>
+
+
+</body>
+</html>
index a4b8420..66474d1 100644 (file)
@@ -84,6 +84,9 @@
 All participants (presenters, coauthors and visitors) have to register via on-line register system.
 </p>
 
+<p>Proposal submission has been closed on 27th January 2011.</p>
+
+<!--
 <p>
 Abstract of oral presentation/poster has to be submitted only by first author or by presenting coauthor. Other coauthors do not have to submit the abstract, only register.
 </p>
@@ -103,7 +106,7 @@ The abstracts length should be between 1800 and 2000 characters (space included)
 <p>
 One person can be author of maximum three papers, only one of them as first/presenting/single author.
 </p>
-
+-->
 
 
 </div>
@@ -188,14 +191,16 @@ One person can be author of maximum three papers, only one of them as first/pres
 <div id="submission" ng:show="! registration.$id && ! symposium.$id">
        <div>
                <h2>Registration Type</h2>
-               <label><input type="radio" name="registration.type" value="participant" ng:required>Registration only</label>
+               <label><input type="radio" name="registration.type" value="participant" ng:required>Registration</label>
                <label><input type="radio" name="registration.type" value="sparticipant" ng:required>Symposium/round table participant</label>
+<!--
                <label><input type="radio" name="registration.type" value="symposium" ng:required>Symposium organizer</label>
                <label><input type="radio" name="registration.type" value="round" ng:required>Round table organizer</label>
                <label><input type="radio" name="registration.type" value="lecture" ng:required>Oral presentation</label>
                <label><input type="radio" name="registration.type" value="poster" ng:required>Poster presentation</label>
+-->
        </div>
-               <label><input type="radio" name="registration.type" value="student" ng:required ng:change="registration.dinner = 'no'">Student registration only</label>
+               <label><input type="radio" name="registration.type" value="student" ng:required ng:change="registration.dinner = 'no'">Registration - students</label>
                <label><input type="radio" name="registration.type" value="accomp" ng:required>Accompanying person</label>
 </div>
 
@@ -266,7 +271,7 @@ One person can be author of maximum three papers, only one of them as first/pres
 
 
 <div id="work" ng:show="registration.type != 'participant' && registration.type != 'sparticipant' && registration.type != 'student' && registration.type != 'accomp'">
-<div ng:show="registration.type == 'symposium' && registration.symposium.work_nr < 4 && ! symposium.$id">
+<div ng:show="registration.type == 'symposium' && registration.symposium.work_nr < 5 && ! symposium.$id">
 
        <h2>Symposium</h2>
        <label for="registration.symposium.title">Topic:</label>
@@ -388,7 +393,7 @@ Decide about going to welcome reception.</span>
                </div>
                <br><br>
        </div>
-       <div class="saved" ng:show="registration.type != 'participant' && registration.type != 'sparticipant' && registration.type != 'student' && registration.type != 'accomp' && registration.symposium.work_nr == 4 && last_saved.$id">
+       <div class="saved" ng:show="registration.type != 'participant' && registration.type != 'sparticipant' && registration.type != 'student' && registration.type != 'accomp' && (registration.symposium.work_nr == 5 || registration.symposium.work_last == true) && last_saved.$id">
                <span class="saved2">Thank you. Your proposal has been submitted successfully! <br></span>
                <span class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011-eng/registration/fee">Please read conference fee payment instructions</a></span>
                
@@ -402,9 +407,13 @@ Decide about going to welcome reception.</span>
        </div>
        
 </div>
-       <div class="button button2" ng:show="last_saved.$id && symposium.$id && registration.symposium.work_nr < 4">
+       <div style="clear: both" ng:show="last_saved.$id && symposium.$id && registration.symposium.work_nr == 4 && registration.symposium.work_last == false">
+               <input type="checkbox" name="registration.symposium.work_last">This was the last paper in this symposium
+       </div>
+       <div class="button button2" ng:show="last_saved.$id && symposium.$id && registration.symposium.work_nr < 5 && registration.symposium.work_last == false">
                <input type="reset" value="Submit another paper" ng:click="reset()"> 
        </div>
+       
 <!--
 <div class="button2" ng:show="registration.$id && registration.type != 'participant' && registration.type != 'sparticipant' && last_saved.$equals(registration)">
        <input type="reset" value="Submit another paper" ng:click="reset()">
@@ -413,6 +422,8 @@ Decide about going to welcome reception.</span>
 -->
 
 </div>
+
+
 <div id="footer">
         Odsjek za psihologiju, Filozofski fakultet Sveučilišta u Zagrebu, Ivana Lučića 3, 10000 Zagreb ; tel. 01/6120 215 ; fax. 01/6120 037
         <div id="go_to_top"><a href="#"></a></div>
index 4f151e2..97e99df 100644 (file)
@@ -82,6 +82,9 @@
 Svi sudionici skupa, bez obzira na to jesu li izlagači, suautori ili slušači, moraju se registrirati kroz sustav elektroničke prijave.
 </p>
 
+<p>Prijave izlaganja zatvorene su 27.01.2010.</p>
+
+<!--
 <p>
 Sažetak izlaganja/postera prijavljuje samo prvi autor, odnosno onaj autor koji će rad izložiti. Ostali suautori ne trebaju prijaviti sažetak, nego se samo registrirati.
 </p>
@@ -101,7 +104,7 @@ Duljina sažetka treba biti između 1800 i 2000 znakova (uključujući razmake).
 <p>
 Jedna osoba može biti autor u najviše tri rada, pri čemu na samo jednom može biti prvi ili jedini autor ili autor koji će izlagati.
 </p>
-
+-->
 
 
 </div>
@@ -123,7 +126,7 @@ Jedna osoba može biti autor u najviše tri rada, pri čemu na samo jednom može
        <label ng:show="registration.type == 'participant'">Tip registracije: Samo registracija</label>
        <label ng:show="registration.type == 'accomp'">Tip registracije: Osoba u pratnji</label>
        <label ng:show="registration.type == 'student'">Tip registracije: Student</label>
-       <label ng:show="registration.type == 'sparticipant'">Tip registracije: Sudionik simpozija/okriglog stola<span ng:show="registration.student == true">, student</span></label>
+       <label ng:show="registration.type == 'sparticipant'">Tip registracije: Sudionik simpozija/okruglog stola<span ng:show="registration.student == true">, student</span></label>
        <label ng:show="registration.type == 'round'">Tip registracije: Organizator okruglog stola<span ng:show="registration.student == true">, student</span></label>
        <label ng:show="registration.type == 'lecture'">Tip registracije: Usmeno priopćenje<span ng:show="registration.student == true">, student</span></label>
        <label ng:show="registration.type == 'poster'">Tip registracije: Prezentacija postera<span ng:show="registration.student == true">, student</span></label>
@@ -186,14 +189,16 @@ Jedna osoba može biti autor u najviše tri rada, pri čemu na samo jednom može
 <div id="submission" ng:show="! registration.$id && ! symposium.$id">
        <div>
                <h2>Tip registracije</h2>
-               <label><input type="radio" name="registration.type" value="participant" ng:required>Samo registracija</label>
+               <label><input type="radio" name="registration.type" value="participant" ng:required>Registracija</label>
                <label><input type="radio" name="registration.type" value="sparticipant" ng:required>Sudionik simpozija/okruglog stola</label>
+<!--
                <label><input type="radio" name="registration.type" value="symposium" ng:required>Organizator simpozija</label>
                <label><input type="radio" name="registration.type" value="round" ng:required>Organizator okruglog stola</label>
                <label><input type="radio" name="registration.type" value="lecture" ng:required>Usmeno priopćenje</label>
                <label><input type="radio" name="registration.type" value="poster" ng:required>Prezentacija postera</label>
+-->
        </div>
-               <label><input type="radio" name="registration.type" value="student" ng:required ng:change="registration.dinner = 'no'">Student - samo registracija</label>
+               <label><input type="radio" name="registration.type" value="student" ng:required ng:change="registration.dinner = 'no'">Registracija za studente</label>
                <label><input type="radio" name="registration.type" value="accomp" ng:required>Osoba u pratnji</label>
 </div>
 
@@ -289,7 +294,7 @@ Jedna osoba može biti autor u najviše tri rada, pri čemu na samo jednom može
 
 
 <div id="work" ng:show="registration.type != 'participant' && registration.type != 'sparticipant' && registration.type != 'student' && registration.type != 'accomp'">
-<div ng:show="registration.type == 'symposium' && registration.symposium.work_nr < 4 && ! symposium.$id">
+<div ng:show="registration.type == 'symposium' && registration.symposium.work_nr < 5 && ! symposium.$id">
 
        <h2>Simpozij</h2>
        <label for="registration.symposium.title">Tema:</label>
@@ -411,7 +416,7 @@ Odlučite o dolasku na domjenak.</span>
                </div>
                <br><br>
        </div>
-       <div class="saved" ng:show="registration.type != 'participant' && registration.type != 'sparticipant' && registration.type != 'student' && registration.type != 'accomp' && registration.symposium.work_nr == 4 && last_saved.$id">
+       <div class="saved" ng:show="registration.type != 'participant' && registration.type != 'sparticipant' && registration.type != 'student' && registration.type != 'accomp' && (registration.symposium.work_nr == 5 || registration.symposium.work_last == true) && last_saved.$id">
                <span class="saved2">Hvala! Vaš prijedlog je uspješno predan. <br></span>
                <span class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011/registracija/kotizacija">Molimo pročitajte upute za plaćanje kotizacije.</a></span>
                
@@ -425,7 +430,10 @@ Odlučite o dolasku na domjenak.</span>
        </div>
        
 </div>
-       <div class="button button2" ng:show="last_saved.$id && symposium && registration.symposium.work_nr < 4">
+       <div style="clear: both" ng:show="last_saved.$id && symposium.$id && registration.symposium.work_nr == 4 && registration.symposium.work_last == false">
+               <input type="checkbox" name="registration.symposium.work_last">Ovo je bio zadnji rad unutar ovog simpozija
+       </div>
+       <div class="button button2" ng:show="last_saved.$id && symposium.$id && registration.symposium.work_nr < 5 && registration.symposium.work_last == false">
                <input type="reset" value="Dodavanje sljedećeg rada" ng:click="reset()"> 
        </div>
 <!--
@@ -448,9 +456,8 @@ Odlučite o dolasku na domjenak.</span>
 Permalink to <a href="#{{registration.$id}}">DRZB2011 registration</a> which you can bookmark
 </div>
 -->
-<!--
 <div style="clear: both">
-<input type=checkbox name=debug style="float: right; clear: both">
+<input type=checkbox name=debug style="float: left; clear: both">
 <pre ng:show="debug">
 
 dirty={{! last_saved.$equals(registration)}} invalid={{$invalidWidgets.visible()}}
@@ -467,7 +474,6 @@ $id={{$id}}
 registration.$id={{registration.$id}}
 </pre>
 </div>
--->
 
 </body>
 </html>
index c7284f9..8a2d62b 100644 (file)
@@ -114,14 +114,16 @@ Odabir: <br/>
        <span ng:show="registration.student == thrue"> - student</span><br>
 {{registration.person.name}}
 {{registration.person.surname}}
-&lt;{{registration.person.email}}&gt; {{registration.person.city}} {{registration.person.country}}
-<div class=address>{{registration.person.inst}}</div>
+&lt;{{registration.person.email}}&gt; {{registration.person.inst}}, {{registration.person.city}}, {{registration.person.country}}
+
 <div><b>{{registration.work.title}}</b></div>
 <span ng:repeat="author in registration.work.authors" ng:show="registration.work.title">
 {{author.name}}
-{{author.surname}} ;
+{{author.surname}},
+{{author.inst}} <br>
 </span>
 <div class="abstract">{{registration.work.abstract}}</div>
+<div>{{registration._id}}</div>
 <!--
 <div class=address>{{registration.person.zip}} {{registration.person.city}}</div>
 -->