2013 iteration
[angular-mojolicious.git] / public / app / drzb2013 / registration-en.html
diff --git a/public/app/drzb2013/registration-en.html b/public/app/drzb2013/registration-en.html
new file mode 100644 (file)
index 0000000..66474d1
--- /dev/null
@@ -0,0 +1,462 @@
+<!DOCTYPE HTML>
+<html xmlns:ng="http://angularjs.org">
+<head>
+<meta charset="utf-8">
+<script src="angular.js" ng:autobind></script>
+
+<title>Conference registration</title>
+
+<script src="database.js"></script>
+<script src="registration.js"></script>
+
+<link rel="stylesheet" href="registration.css" type="text/css">
+
+</head>
+<body>
+
+<div id="wrapper">
+    <div id="header-eng">
+        <a href="http://psihologija.ffzg.hr/drzb2011-eng"><img src="http://psihologija.ffzg.hr/uploads/qS/LE/qSLEDLKdPrP88dVyNI542g/header-eng2.jpg" alt="Dani Ramira i Zorana Bujasa" class="float_left" /></a>
+    </div>
+
+    <div id="mainNav">
+<div id="navigation">
+<ul>
+<li class="level"><a href="http://psihologija.ffzg.hr/drzb2011-eng">Home</a></li>
+       <li>
+       <a class="level4" href="http://psihologija.ffzg.hr/drzb2011-eng/registration">Registration</a>
+
+       <ul>
+
+       <li>
+               <a class="level5" href="http://psihologija.ffzg.hr/drzb2011-eng/registration/types">Forms of participation</a>
+
+       <li>
+               <a class="level5" href="http://psihologija.ffzg.hr/drzb2011-eng/registration/fee">Registration fee</a>
+       <li>
+               <a class="level5" href="http://psihologija.ffzg.hr/drzb2011-eng/registration/points">Points</a>
+
+   </ul></li>
+
+       <li>
+       <a class="level4" href="http://psihologija.ffzg.hr/drzb2011-eng/submission">Proposal Submission</a>
+       <ul>
+
+       <li>
+               <a class="level5" href="http://psihologija.ffzg.hr/drzb2011-eng/submission/abstracts">Abstract preparation</a>
+       <li>
+
+               <a class="level5" href="http://psihologija.ffzg.hr/drzb2011-eng/submission/form">Submission form</a>
+
+   </ul></li>
+       <li>
+               <a class="level4" href="http://psihologija.ffzg.hr/drzb2011-eng/program">Program</a>
+       <li>
+               <a class="level4" href="http://psihologija.ffzg.hr/drzb2011-eng/organisation">Organisation</a>
+       <li>
+               <a target="_blank" class="level4" href="http://psihologija.ffzg.hr/drzb2011-eng/accommodation">Accomodation</a>
+</ul>
+</div>
+
+    </div>
+
+    <div id="mainNav_right">
+        <ul>
+            <li><a href="http://psihologija.ffzg.hr/drzb2011">Hrvatski</a></li>
+            <li><a href="http://psihologija.ffzg.hr/drzb2011-eng" class="active">English</a></li>
+        </ul>
+    </div>
+</div>
+
+<div class="title">
+<h1>Registration and proposal submission</h1>
+</div>
+
+
+
+
+<div class="root" ng:controller="Registration" ng:init="$window.$root = this;">
+
+
+<div style="clear: both; padding-top: 10px;" ng:show="! registration.$id && ! symposium.$id">
+<p>
+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>
+
+<p>
+The organizers of symposia have to submit not only the symposium’s abstract, but the abstracts of every single paper within it (it has to be four of them). Authors of papers within symposium DO NOT submit their abstracts on their own, but register as symposium participants.
+</p>
+
+<p>
+The organizers of round tables have to submit only abstract of the round table, while its participants have to register as round table participants.
+</p>
+
+<p>
+The abstracts length should be between 1800 and 2000 characters (space included). 
+</p>
+
+<p>
+One person can be author of maximum three papers, only one of them as first/presenting/single author.
+</p>
+-->
+
+
+</div>
+
+<!--
+<a name="{{$location.hash}}" >bla</a>
+-->
+
+<div style="margin-bottom: 40px" ng:show="registration.$id && last_saved.$equals(registration)">
+
+
+</div>
+<div ng:show="registration.$id || symposium" style="padding-top: 40px">
+       <h2>{{registration.person.name}} {{registration.person.surname}}</h2>
+       <!--
+       <label>Institution: {{registration.person.inst}}</label>
+       <label>Address: {{registration.person.address1}}, {{registration.person.city}}, {{registration.person.zip}}, {{registration.person.country}}</label>
+       -->
+       <label ng:show="registration.type == 'participant'">Registration type: Registration only</label>
+       <label ng:show="registration.type == 'accomp'">Registration type: Accompanying person</label>
+       <label ng:show="registration.type == 'student'">Registration type: Student</label>
+       <label ng:show="registration.type == 'sparticipant'">Registration type: Symposium participant<span ng:show="registration.student == true">, student</span></label>
+       <label ng:show="registration.type == 'round'">Registration type: Round table organizer<span ng:show="registration.student == true">, student</span></label>
+       <label ng:show="registration.type == 'lecture'">Registration type: Oral presentation<span ng:show="registration.student == true">, student</span></label>
+       <label ng:show="registration.type == 'poster'">Registration type: Poster presentation<span ng:show="registration.student == true">, student</span></label>
+       <label ng:show="registration.type == 'poster' || registration.type == 'lecture' || registration.type == 'round'"><b>Title: </b>{{registration.work.title}}</label>
+       <label ng:show="registration.type == 'poster' || registration.type == 'lecture' || registration.type == 'round'"><b>Authors: </b><br>
+       <span ng:repeat="author in registration.work.authors">
+       {{author.name}}
+       {{author.surname}},
+       {{author.inst}} <br>
+       </span>
+        </label>
+       <div ng:show="registration.type == 'symposium'">
+               <p>Symposium organizer</p>
+               <label><b>Symposium topic: </b><i>{{registration.symposium.title}}</i></label>
+               <!--
+               <label>Summary:</label> {{registration.symposium.abstract}}
+               <br><br>
+               -->
+               <blockquote>
+               <label>Submitted papers:</label>
+               <ol>
+               <li ng:repeat="w in symposium.works">
+               <!--
+               <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
+               -->
+               <span ng:show="registration.$id != w.$id">{{w.title}}</span>
+               <b ng:show="registration.$id == w.$id">{{w.title}}</b>
+               </li>
+               </ol>
+               </blockquote>
+       </div>
+</div>
+<!--
+<div ng:show="registration.$id || symposium">
+       <h2>Contact Information</h2>
+       <label>{{registration.person.name}} {{registration.person.surname}}</label>
+       <label>{{registration.person.inst}}</label>
+       <label>{{registration.person.address1}}</label>
+       <label>{{registration.person.city}}, {{registration.person.zip}}, {{registration.person.country}}</label>
+       <label ng:show="registration.type == 'participant'"><h3>Registration type</h3> no paper</label>
+       <div ng:show="registration.type == 'symposium'">
+               <p>Symposium organizer</p>
+               <h3>Symposium</h3>
+               <label>Topic:</label><i>{{registration.symposium.title}}</i>
+               <label>Summary:</label> {{registration.symposium.abstract}}
+               <br><br>
+               <label>Submitted papers for this symposium:</label>
+               <ol>
+               <li ng:repeat="w in symposium.works">
+               <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
+               <span ng:show="registration.$id != w.$id">{{w.title}}</span>
+               <b ng:show="registration.$id == w.$id">{{w.title}}</b>
+               </li>
+               </ol>
+       </div>
+</div>
+-->
+
+
+<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</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'">Registration - students</label>
+               <label><input type="radio" name="registration.type" value="accomp" ng:required>Accompanying person</label>
+</div>
+
+<div id="participant" ng:show="! registration.$id && ! symposium.$id">
+
+       
+       <h2>Contact Information</h2>
+       <div class="labelTop">
+               <div class="input input4">First name</div>
+               <div class="input input4">Surname</div>
+       </div>
+       <div style="clear: both">
+               <input class="input4" name="registration.person.name" ng:required>
+               <input class="input4" name="registration.person.surname" ng:required>
+       </div>
+       <div class="labelTop">
+               <div class="input input5">Institution</div>
+       </div>  
+       <div style="clear: both">
+               <input class="input5" name="registration.person.inst">
+       </div>
+       <div class="labelTop">
+               <div class="input input5">Address</div>
+       </div>  
+       <div style="clear: both">
+               <input class="input5" name="registration.person.address1" ng:required>
+       </div>
+       <div class="labelTop">
+               <div class="input input6">City</div>
+               <div class="input input6">ZIP</div>
+               <div class="input input6">Country</div>
+       </div>
+       <div style="clear: both">
+               <input class="input6" name="registration.person.city" ng:required>
+               <input class="input6" name="registration.person.zip">
+               <input class="input6" name="registration.person.country">
+       </div>
+       <div class="labelTop">
+               <div class="input input4">E-mail</div>
+               <div class="input input4">Phone number</div>
+       </div>
+       <div style="clear: both">
+               <input class="input4" name="registration.person.email" ng:validate="email" ng:required>
+               <input class="input4" name="registration.person.phone">
+       </div>
+       <div ng:show="registration.type == 'lecture' || registration.type == 'poster' || registration.type == 'sparticipant' || registration.type == 'symposium' || registration.type == 'round'">
+               <br><input type="checkbox" name="registration.student">Check this box if you are student.
+       </div>
+       <div style="clear: both; margin-top: 20px;">
+               Will you join us for the welcome reception on Thursday at 20 hrs?<br/>
+               <input type="radio" name="registration.reception" value="yes">Yes
+               <input type="radio" name="registration.reception" value="no">No
+       </div>
+       <div ng:show="registration.type != 'student'" style="clear: both; margin-top: 20px;">
+               Will you join us for the conference dinner on Friday at 20 hrs? (Dinner is included in the regostration fee.)<br/>
+               <input type="radio" name="registration.dinner" value="yes">Yes
+               <input type="radio" name="registration.dinner" value="no">No
+       </div>
+       
+</div>
+
+
+       
+       <div ng:show="registration.type == 'sparticipant' && ! last_saved.$id">
+               <h2>Symposium/round table topic</h2>
+               <input class="input1" name="registration.sympattend" ng:required>
+       </div>
+
+
+<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 < 5 && ! symposium.$id">
+
+       <h2>Symposium</h2>
+       <label for="registration.symposium.title">Topic:</label>
+               <input class="input1" name="registration.symposium.title" ng:required>
+       <label>Organizer:</label>
+               <!--
+               <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>
+               -->
+               <div class="inputOrg"><span ng:show="registration.person.name">{{registration.person.name}} {{registration.person.surname}}</span><span ng:show="registration.person.inst">, {{registration.person.inst}}</span><span ng:show="registration.person.email">, {{registration.person.email}}</span></div>
+               <div class="clear" ng:repeat="organizer in registration.symposium.organizers">
+               <input class="input2" name="organizer.name" ng:required>
+               <input class="input2" name="organizer.surname" ng:required>
+               <input class="input3" name="organizer.inst" >
+               <input class="input2" name="organizer.email" ng:required ng:validate="email">
+               <a href="" ng:click="registration.symposium.organizers.$remove(organizer)">X</a>
+               </div>
+               <div class="clear"><a class="addPerson" href="" ng:click="registration.symposium.organizers.$add()">Add another organizer</a></div>
+       <label>Summary (<span class="lengthCount">{{registration.symposium.abstract.length}}</span> / max. 2000 characters)</label>
+               <textarea class="input1" name="registration.symposium.abstract" rows="10" ng:validate="max_length:2000" ng:required></textarea>
+               
+               <div ng:show="symposium">
+                       <b>Symposium:</b> {{registration.symposium.title}}
+                       <blockquote>
+                       <label>Submitted papers for this symposium:</label>
+                       <ol>
+                       <li ng:repeat="w in symposium.works">
+                       <!--
+                       <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
+                       -->
+                       <span ng:show="registration.$id != w.$id">{{w.title}}</span>
+                       <b ng:show="registration.$id == w.$id">{{w.title}}</b>
+                       </li>
+                       </ol>
+                       </blockquote>
+               </div>
+</div>
+
+<div ng:show="registration.type && ! last_saved.$id">
+
+<!--
+               <div ng:show="symposium">
+                       <b>Symposium:</b> {{registration.symposium.title}}
+                       <blockquote>
+                       <label>Submitted papers for this symposium:</label>
+                       <ol>
+                       <li ng:repeat="w in symposium.works">
+                       <a ng:show="registration.$id != w.$id" href="#{{w.$id}}" >{{w.title}}</a>
+                       <b ng:show="registration.$id == w.$id">{{w.title}}</b>
+                       </li>
+                       </ol>
+                       </blockquote>
+               </div>
+-->
+<h3 ng:show="registration.type == 'symposium'">Add Symposium Paper ({{registration.symposium.work_nr}})</h3>
+<h2 ng:show="registration.type == 'lecture'">Oral Presentation Sumbission</h2>
+<h2 ng:show="registration.type == 'poster'">Poster Presentation Sumbission</h2>
+<h2 ng:show="registration.type == 'round'">Round Table Disscussion Sumbission</h2>
+
+
+<label>Title:</label>
+       <input class="input1" name="registration.work.title" ng:required>
+<div ng:show="registration.type != 'round'">
+<label>Authors</label>
+       <div>
+               <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>
+       </div>
+       <div class="clear" ng:repeat="author in registration.work.authors">
+               <input class="input2" name="author.name" ng:required>
+               <input class="input2" name="author.surname" ng:required>
+               <input class="input3" name="author.inst" >
+               <input class="input2" name="author.email" ng:required ng:validate="email">
+               <a href="" ng:click="registration.work.authors.$remove(author)">X</a>
+       </div>
+       <a class="addPerson" href="" ng:click="registration.work.authors.$add()">Add another author</a>
+</div>
+<div ng:show="registration.type == 'round'">
+<label>Organizer:</label>
+       <!--
+       <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>
+       -->
+               <div class="inputOrg"><span ng:show="registration.person.name">{{registration.person.name}} {{registration.person.surname}}</span><span ng:show="registration.person.inst">, {{registration.person.inst}}</span><span ng:show="registration.person.email">, {{registration.person.email}}</span></div>
+       <div class="clear" ng:repeat="organizer in registration.work.organizers">
+               <input class="input2" name="organizer.name" ng:required>
+               <input class="input2" name="organizer.surname" ng:required>
+               <input class="input3" name="organizer.inst" >
+               <input class="input2" name="organizer.email" ng:required ng:validate="email">
+               <a href="" ng:click="registration.work.organizers.$remove(organizer)">X</a>
+       </div>
+       <div class="clear"><a class="addPerson" href="" ng:click="registration.work.organizers.$add()">Add another organizer</a></div>
+</div>
+
+<label>Abstract (<span class="lengthCount">{{registration.work.abstract.length}}</span> / max. 2000 characters)</label>
+       <textarea class="input1" name="registration.work.abstract" rows="10" ng:validate="max_length:2000" ng:required></textarea>
+
+
+</div> <!-- ng:show="registration.type" -->
+</div>
+
+<div class="button" ng:show="! last_saved.$equals(registration) && $invalidWidgets.visible() == 0 && (symposium.$id || (registration.reception != null && registration.dinner != null))">
+<input type="submit" value="Save" ng:click="save();" ng:show="! last_saved.$equals(registration) && $invalidWidgets.visible() == 0" >
+</div>
+
+<div ng:show="$invalidWidgets.visible() &gt; 0 || (! symposium.$id && (registration.dinner == null || registration.reception == null))" style="color:red; margin-top: 20px">Please fill all required fields correctly. 
+<span ng:show="$invalidWidgets.visible() &gt; 0">Fields with orange border call for your attention. <!-- - {{$invalidWidgets.visible()}} left. --></span>
+<span ng:show="(registration.reception == null || registration.dinner == null) && ! symposium.$id && registration.type != 'student'">
+Decide about going to welcome reception and dinner.</span>
+<span ng:show="(registration.reception == null || registration.dinner == null) && ! symposium.$id && registration.type == 'student'">
+Decide about going to welcome reception.</span>
+</div>
+
+
+<div style="margin-bottom: 40px" ng:show="registration.$id && last_saved.$equals(registration)">
+
+       <div class="saved" ng:show="registration.type == 'participant' || registration.type == 'sparticipant' || registration.type == 'student' || registration.type == 'accomp' && ! symposium">
+               <span class="saved2">Thank you! Your registration has been submitted successfully!</span>
+               <div class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011-eng/registration/fee">Please read registration fee payment instructions</a></div>
+               <div class="gohome" ng:show="registration.type == 'student' || registration.student == true">
+                       You must provide a proof of your student status by e-mail sent to <a href="mailto:drzb@ffzg.hr">drzb@ffzg.hr</a>
+               </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 == 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>
+               
+       </div>
+       <div class="button button2" ng:show="registration.type != 'participant' && registration.type != 'sparticipant' && registration.type != 'student' && registration.type != 'accomp' && last_saved.$id && ! symposium">
+               <span class="saved2">Thank you. Your proposal has been submitted successfully! <br></span>
+               <div class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011-eng/registration/fee">Please read registration fee payment instructions</a></div>
+               <div class="gohome" ng:show="registration.type == 'student' || registration.student == true">
+                       You must provide a proof of your student status by e-mail sent to <a href="mailto:drzb@ffzg.hr">drzb@ffzg.hr</a>
+               <br>
+       </div>
+       
+</div>
+       <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()">
+       <div class="gohome"><a href="http://psihologija.ffzg.hr/drzb2011/">Go to conference home page</a></div>
+</div>
+-->
+
+</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>
+   <p id="foot">
+        <a href="http://psihologija.ffzg.hr" target="_blank">http://psihologija.ffzg.hr</a>
+    </p> 
+</div>
+<!--
+<div ng:show="registration.$id">
+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">
+<pre ng:show="debug">
+
+dirty={{! last_saved.$equals(registration)}} invalid={{$invalidWidgets.visible()}}
+
+registration = {{registration}}
+
+last_saved = {{last_saved}}
+
+master = {{master}}
+
+symposium = {{symposium}}
+
+$id={{$id}}
+registration.$id={{registration.$id}}
+</pre>
+</div>
+-->
+
+</body>
+</html>