remove old duplicate templates
authorDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 8 Jan 2013 20:47:30 +0000 (21:47 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 8 Jan 2013 20:47:30 +0000 (21:47 +0100)
12 files changed:
app/en/index.html [deleted file]
app/en/partials/.gitignore [deleted file]
app/en/partials/confirmation.html [deleted file]
app/en/partials/list.html [deleted file]
app/en/partials/registration.html [deleted file]
app/hr/index.html [deleted file]
app/hr/partials/.gitignore [deleted file]
app/hr/partials/confirmation.html [deleted file]
app/hr/partials/list.html [deleted file]
app/hr/partials/partial1.html [deleted file]
app/hr/partials/partial2.html [deleted file]
app/hr/partials/registration.html [deleted file]

diff --git a/app/en/index.html b/app/en/index.html
deleted file mode 100644 (file)
index 62a9eeb..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-<!doctype html>
-<html lang="en" ng-app="myApp" xmlns:ng="http://angularjs.org">
-<head>
-  <meta charset="utf-8">
-  <title>Conference registration</title>
-
-  <!-- Twtitter bootstrap -->
-  <link rel="stylesheet" href="../lib/bootstrap/css/bootstrap.min.css" />
-  <link rel="stylesheet" href="../lib/bootstrap/css/bootstrap-responsive.min.css" />
-
-  <link rel="stylesheet" href="../css/app.css"/>
-  <link rel="stylesheet" href="../css/drzb2013.css"/>
-
-    <!--[if lte IE 8]>
-      <script>
-        document.createElement('ng-include');
-        document.createElement('ng-pluralize');
-        document.createElement('ng-view');
-        // Optionally these for CSS
-        document.createElement('ng:include');
-        document.createElement('ng:pluralize');
-        document.createElement('ng:view');
-      </script>
-    <![endif]-->
-
-</head>
-<body>
-<!--
-  <ul class="menu">
-    <li><a href="#/registration">registation</a></li>
-    <li><a href="#/list">list</a></li>
-  </ul>
--->
-
-  <!--[if lt IE 8]>
-       <div style="color:red">
-               Your browser is too old to support this application.
-               <hr>
-               Vaš web preglednik je prestar da bi podržao ovu aplikaciju.
-               <hr>
-               Download:
-               <a href="http://www.google.com/search?q=download firefox">Firefox</a>
-               <a href="http://www.google.com/search?q=download google chrome">Chrome</a>
-               <a href="http://www.google.com/search?q=download ie8">Internet Explorer 8</a>
-       </div>
-  <![endif]-->
-
-  <div id="headerwrapp">
-    <div id="header">
-       <a href="http://psihologija.ffzg.unizg.hr/drzb2013"><img src="http://psihologija.ffzg.unizg.hr/uploads/0R/xb/0Rxbp-bkXJR7gASivKSS_Q/Header_DRZB_Engl.jpg" alt="Ramiro and Zoran Bujas' Days" class="float_left" /></a>
-    </div>
-    <div id="mainNav">
-       <div id="navigation">
-         <ul>
-               <li class="level"><a href="http://psihologija.ffzg.unizg.hr/drzb2013-eng">Home</a></li>
-               <li>
-                 <a class="level4" href="http://psihologija.ffzg.unizg.hr/drzb2013-eng/participation">Participation</a>
-                 <ul>
-                       <li>
-                               <a class="level5" href="http://psihologija.ffzg.unizg.hr/drzb2013-eng/participation/forms">Forms of participation</a></li>
-
-                       <li>
-                               <a class="level5" href="http://psihologija.ffzg.unizg.hr/drzb2013-eng/participation/abstracts">Abstract preparation</a></li>
-                       <li>
-                               <a class="level5" href="http://psihologija.ffzg.unizg.hr/drzb2013-eng/participation/registration">Submission and Registration</a></li>
-                       <li>
-                               <a class="level5" href="http://psihologija.ffzg.unizg.hr/drzb2013-eng/participation/fee3">Fee</a></li>
-                       <li>
-                               <a class="level5" href="http://psihologija.ffzg.unizg.hr/drzb2013-eng/participation/points">Points</a></li>
-                 </ul>
-               </li>
-               <li>
-                 <a class="level4" href="http://psihologija.ffzg.unizg.hr/drzb2013-eng/registrations">Registration</a>
-                 <ul>
-                       <li>
-                               <a class="level5" href="http://psihologija.ffzg.unizg.hr/drzb2013-eng/registration/proposalsubmission">Proposal submission and registration</a></li>
-
-                       <li>
-                               <a class="level5" href="http://psihologija.ffzg.unizg.hr/drzb2013-eng/registrationform">Registration form</a></li>
-
-                 </ul>
-               </li>
-       <!--
-               <li>
-                       <a class="level4" href="http://psihologija.ffzg.unizg.hr/drzb2013/program">Program</a>
-       -->
-               <li>
-                       <a class="level4" href="http://psihologija.ffzg.unizg.hr/drzb2013-eng/organisation">Organisation</a></li>
-       <!--
-               <li>
-                       <a target="_blank" class="level4" href="http://psihologija.ffzg.unizg.hr/drzb2013/smjestaj">Smještaj</a>
-               <li>
-                       <a class="level4" href="http://psihologija.ffzg.unizg.hr/psihofest2013">PsihoFest</a></li>
-       -->
-         </ul>
-       </div>
-
-       <div id="mainNav_right">
-               <ul>
-                   <li><a href="http://psihologija.ffzg.unizg.hr/drzb2013/prijava" class="active">Hrvatski</a></li>
-                   <li><a href="http://psihologija.ffzg.unizg.hr/drzb2013-eng">English</a></li>
-               </ul>
-       </div>
-    </div>
-  </div>
-
-  <div class="container" ng-view></div>
-<!--
-  <div>Angular seed app: v<span app-version></span></div>
--->
-  <!-- In production use:
-  <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.2/angular.min.js"></script>
-  -->
-  <script src="../lib/angular/angular.js"></script>
-  <script src="../lib/angular/angular-resource.js"></script>
-  <script src="../js/app.js"></script>
-  <script src="../js/services.js"></script>
-  <script src="../js/controllers.js"></script>
-  <script src="../js/filters.js"></script>
-  <script src="../js/directives.js"></script>
-</body>
-</html>
diff --git a/app/en/partials/.gitignore b/app/en/partials/.gitignore
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/app/en/partials/confirmation.html b/app/en/partials/confirmation.html
deleted file mode 100644 (file)
index 6371d8a..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<h1> Registracija i prijavljivanje izlaganja</h1>
-
-
-<div ng-controller="RegistrationCtrl" name="RegistrationForm">
-
-Thank you. Your proposal has been submitted successfully!
-<br/><br/>
-Registration number: {{registration.id}}
-<br/><br/>
-{{user.firstname}}
-{{user.surname}}<br/>
-<span ng-show="user.organization">
-{{user.organization}}
-</span>
-<br/>
-<div class="gohome">
-       <a href="http://psihologija.ffzg.unizg.hr/drzb2013-eng/sudjelovanje/kotizacija">Please read registration fee payment instructions</a>
-       <br><br>Please send proof of payment of registration fee to the following address: <a href="mailto:drzb@ffzg.hr">drzb@ffzg.hr</a>
-</div>
-
-<!--
-<pre>
-user={{user}}
-
-$routeParams={{$routeParams}}
-
-{{RegistrationForm.$valid}}
-{{RegistrationForm.$error}}
-
-location={{$location}}
-
-</pre>
--->
-</div>
-
-
diff --git a/app/en/partials/list.html b/app/en/partials/list.html
deleted file mode 100644 (file)
index b7f3989..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-<div ng-show="! ready">
-Loading data...
-</div>
-
-
-<form ng-controller="ListCtrl" class="form-search" ng-show="ready">
-
-<h2>Odaberite tip registracije</h2>
-
-<label class="radio input-block-level" ng-repeat="type in RegistrationTypes" ng-switch on="type.code">
-<hr ng-switch-when="false">
-<span ng-switch-default ng-show="RegistrationTypeCount[type.code] > 0">
- <tt>{{RegistrationTypeCount[type.code]}}</tt>
- <input type="radio" name="search.registration_type" ng-model="search.registration_type" value="{{type.code}}" >
- {{type.label}}
- <i>{{type.description}}</i>
-</span>
-</label>
-
-<div>
-Search:
-<input class="search-query" ng-model="search.$">
-<a class="btn btn-invert" href="" ng-click="search.$ = ''">
-<i class="icon-remove"></i></a>
-<b>{{list.length}} results</b>
-<tt>{{search}}</tt>
-</div>
-
-<div ng-show="list.length">
-
-<h2>Prijavljenje registracije {{search.registration_type}}</h2>
-
-
-<ol>
-<li ng-repeat="registration in list">
- <a href="#/registration/{{registration.id}}">edit</a>
- {{registration.user.registration_type}}
- <tt>{{registration._id}}</tt>
-
-       <p>
-        {{registration.user.firstname}}
-        {{registration.user.surname}}
-        <em>{{registration.user.organization}}</em>,
-        {{registration.user.city}},
-        <i>{{registration.user.country}}</i>
-        <tt>&lt;{{registration.user.email}}&gt;</tt>
-       </p>
-
-<p ng-show="registration.user.registration_type == 'symposium'">
-{{registration.symposium.title}}
- <p class="abstract">
- {{registration.symposium.abstract}}
- </p>
-</p>
-
-<h3 ng-show="registration.work.title">
-{{registration.work.title}}
-</h3>
-
-<p ng-repeat="author in registration.work.persons" >
- {{author.firstname}}
- {{author.surname}},
- <em>{{author.organization}}</em>
- <tt>&lt;{{author.email}}&gt;</tt>
-</p>
-
-<p class="abstract">{{registration.work.abstract}}</p>
-
-<ol ng-show="registration.user.registration_type == 'symposium'">
- <li ng-repeat="work in registration.work.symposium_works">
-  <h4>{{work.title}}</h4>
-
-       <p ng-repeat="author in work.persons" >
-        {{author.firstname}}
-        {{author.surname}},
-        <em>{{author.organization}}</em>
-        <tt>&lt;{{author.email}}&gt;</tt>
-       </p>
-
-    <p class="abstract">{{work.abstract}}</p>
-
- </li>
-
-</ol>
-
-</div><!-- ng-show="list.length"-->
-
-</form>
-
diff --git a/app/en/partials/registration.html b/app/en/partials/registration.html
deleted file mode 100644 (file)
index 3c9d870..0000000
+++ /dev/null
@@ -1,201 +0,0 @@
-<h1>Registration and proposal submission</h1>
-
-<div id="intro">
-<p>
-All participants (presenters, coauthors and visitors) have to register via on-line register system.
-</p>
-
-<p>
-Abstract of <strong>oral presentation/poster</strong> 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 <strong>symposia</strong> 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 only register.
-</p>
-
-<p>
-The organizers of <strong>round tables</strong> have to submit only abstract of the round table, while its participants have to register only.
-</p>
-
-<p>
-The abstracts length should be between <strong>1800 and 2000 characters</strong> (space included).
-</p>
-
-<p>
-One person can be author of <strong>maximum three papers</strong>, only one of them as first/presenting/single author.
-</p>
-</div> <!-- intro -->
-
-<form ng-controller="RegistrationCtrl" name="RegistrationForm">
-
-<legend>Registration type</legend>
-
-<label class="radio"><input type="radio" ng-model="user.registration_type" value="lecture" >Oral presentation</label>
-<label class="radio"><input type="radio" ng-model="user.registration_type" value="poster" >Poster prezentation</label>
-<label class="radio"><input type="radio" ng-model="user.registration_type" value="symposium" >Symposium</label>
-<label class="radio"><input type="radio" ng-model="user.registration_type" value="round" >Round table</label>
-<hr />
-<label class="radio"><input type="radio" ng-model="user.registration_type" value="participant" >Registration</label>
-<label class="radio"><input type="radio" ng-model="user.registration_type" value="accomp" >Registration for accompanying persons</label>
-
-<fieldset ng-show="user.registration_type">
-
-<legend>Registration - contact information</legend>
-
-<div class="controls controls-row">
- <input class="my-input span5" ng-model="user.firstname" placeholder="Name" ng-required="true" />
- <input class="my-input span5" ng-model="user.surname"   placeholder="Surname" ng-required="true" />
-</div>
-
-<div class="controls controls-row">
- <input class="my-input span10" ng-model="user.organization" placeholder="Institution" >
-</div>
-
-<div class="controls controls-row">
- <input class="my-input span10" ng-model="user.address" placeholder="Address" >
-</div>
-
-<div class="controls controls-row">
- <input class="my-input span3" ng-model="user.city" placeholder="City" ng-required="true" >
- <input class="my-input span3" ng-model="user.zip_code" placeholder="ZIP" >
- <input class="my-input span4" ng-model="user.country" placeholder="Country" >
-</div>
-
-<div class="controls controls-row">
- <input class="my-input span5" ng-model="user.email" type="email" placeholder="E-mail" ng-required="true" />
- <input class="my-input span5" ng-model="user.phone" placeholder="Phone number" />
-</div>
-
-<legend>
-</legend>
-<label class="checkbox">
- <input ng-model="user.student" type="checkbox" ng-change="change_student()">
-Check this box if you are student
-</label>
-
-<div ng-show="! user.student">
-
-<label class="checkbox">
- <input ng-model="user.hpd_member" type="checkbox">
-Check this box if you are HPD member
-</label>
-
-<label class="checkbox">
-<input type="checkbox" ng-model="user.r1.required">
-Check this box if you need invoice
-</label>
-
-<div ng-show="user.r1.required">
-<legend>
-Institution contact details
-</legend>
-
-<input class="my-input span10" ng-model="user.r1.organization" ng-required="user.r1.required" placeholder="Name">
-<input class="my-input span10" ng-model="user.r1.address" ng-required="user.r1.required" placeholder="Address">
-<input class="my-input span5" ng-model="user.r1.OIB" ng-required="user.r1.required" placeholder="OIB">
-
-</div><!-- r1.required -->
-</div><!-- ! user.student -->
-
-<legend>
-</legend>
-<strong>Will you join us for the welcome reception?</strong>
-<label class="radio"><input type="radio" name="user.reception" ng-model="user.reception" value="yes" ng-required="true">Yes</label>
-<label class="radio"><input type="radio" name="user.reception" ng-model="user.reception" value="no"  ng-required="true">No</label>
-
-<div ng-show="! user.student">
-
-<legend>
-</legend>
-<strong>Will you join us for the conference dinner?</strong>
-Dinner is included in the regostration fee.
-<label class="radio"><input type="radio" name="user.dinner" ng-model="user.dinner" value="yes" ng-required="! user.student && ! user.dinner">Yes</label>
-<label class="radio"><input type="radio" name="user.dinner" ng-model="user.dinner" value="no"  ng-required="! user.student && ! user.dinner">No</label>
-
-
-</div><!-- not student -->
-
-</fieldset><!-- selected registration_type -->
-
-
-<div ng-show="has_work">
-
-<div ng-switch on="work.type">
-<h2 ng-switch-when="lecture">Oral presentation submission</h2>
-<h2 ng-switch-when="poster">Poster presentation submission</h2>
-<h2 ng-switch-when="symposium">Symposium</h2>
-<h2 ng-switch-when="round">Round table</h2>
-<b ng-switch-default>Has unknown work type {{work.type}} to submit</b>
-</div>
-
-<div class="controls controls-row">
- <input class="span10 my-input" ng-model="work.title" placeholder="Title" ng-required="has_work" >
-</div>
-<h3 ng-show="user.registration_type == 'symposium'">Symposium organizer</h3>
-<div ng-repeat="person in work.persons" class="controls controls-row">
-       <input class="span2 my-input" ng-model="person.firstname" placeholder="Name" ng-required="has_work" />
-       <input class="span2 my-input" ng-model="person.surname"   placeholder="Surname" ng-required="has_work" />
-       <input class="span3 my-input" ng-model="person.organization" placeholder="Institution" >
-       <input class="span2 my-input" ng-model="person.email" type="email" placeholder="E-mail" ng-required="has_work" />
-       <a class="controls span1 btn btn-danger" href="" ng-click="removePerson(work.persons,person)">delete</a>
-</div>
-<a class="btn" href="" ng-click="addPerson(work.persons)">add person</a>
-<div class="controls">
- <label>
- Abstract ({{work.abstract.length || 0}}  from max. 2000 characters with spaces)
- </label>
- <textarea class="span10" ng-model="work.abstract" ng-maxlength="2000" rows="10" cols="80" ng-required="has_work" ></textarea>
-</div>
-
-</div><!-- has_work -->
-
-<div ng-show="user.registration_type == 'symposium'">
-
-<h2>Prijava radova unutar simpozija {{work.title}}</h2>
-
-<div ng-repeat="work in work.symposium_works">
-
-<h3>{{$index + 1}}. rad na simpoziju</h3>
-
-<div class="controls controls-row">
- <input class="span10 my-input" ng-model="work.title" placeholder="Title" ng-required="has_work" >
-</div>
-<div ng-repeat="person in work.persons" class="controls controls-row">
-       <input class="span2 my-input" ng-model="person.firstname" placeholder="Name" ng-required="has_work" />
-       <input class="span2 my-input" ng-model="person.surname"   placeholder="Surname" ng-required="has_work" />
-       <input class="span3 my-input" ng-model="person.organization" placeholder="Institution" >
-       <input class="span2 my-input" ng-model="person.email" type="email" placeholder="E-mail" ng-required="has_work" />
-       <a class="controls span1 btn btn-danger" href="" ng-click="removePerson(work.persons,person)">delete</a>
-</div>
-<a class="btn" href="" ng-click="addPerson(work.persons)">add person</a>
-<div class="controls">
- <label>
- Abstract ({{work.abstract.length || 0}}  from max. 2000 characters with spaces)
- </label>
- <textarea class="span10" ng-model="work.abstract" ng-maxlength="2000" rows="10" cols="80" ng-required="has_work" ></textarea>
-</div>
-
-</div><!-- ng-repeat symposium_works  -->
-
-<a class="btn" href="" ng-click="add_symposium_work(work.symposium_works)">Add one more work to the symposium</a>
-
-</div><!-- user.registration_type == 'symposium' -->
-
-<div class="form-actions">
- <button class="btn btn-primary" ng-click="update(registration)" ng-show="RegistrationForm.$valid">Submit</button>
-<p class="left" style="color: red" ng-show="! RegistrationForm.$valid">
-Please fill all required fields correctly. Fields with red border call for your attention.
-</p>
-</div>
-
-<!--
-<pre>
-{{RegistrationForm.$valid}}
-{{RegistrationForm.$error}}
-
-location={{$location.path()}}
-
-</pre>
--->
-</form>
-
diff --git a/app/hr/index.html b/app/hr/index.html
deleted file mode 100644 (file)
index 63a6cc7..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-<!doctype html>
-<html lang="en" ng-app="myApp" xmlns:ng="http://angularjs.org">
-<head>
-  <meta charset="utf-8">
-  <title>Registracija za konferenciju</title>
-
-  <!-- Twtitter bootstrap -->
-  <link rel="stylesheet" href="../lib/bootstrap/css/bootstrap.min.css" />
-  <link rel="stylesheet" href="../lib/bootstrap/css/bootstrap-responsive.min.css" />
-
-  <link rel="stylesheet" href="../css/app.css"/>
-  <link rel="stylesheet" href="../css/drzb2013.css"/>
-
-    <!--[if lte IE 8]>
-      <script>
-        document.createElement('ng-include');
-        document.createElement('ng-pluralize');
-        document.createElement('ng-view');
-        // Optionally these for CSS
-        document.createElement('ng:include');
-        document.createElement('ng:pluralize');
-        document.createElement('ng:view');
-      </script>
-    <![endif]-->
-
-</head>
-<body>
-<!--
-  <ul class="menu">
-    <li><a href="#/registration">registation</a></li>
-    <li><a href="#/list">list</a></li>
-  </ul>
--->
-
-  <!--[if lt IE 8]>
-       <div style="color:red">
-               Your browser is too old to support this application.
-               <hr>
-               Vaš web preglednik je prestar da bi podržao ovu aplikaciju.
-               <hr>
-               Download:
-               <a href="http://www.google.com/search?q=download firefox">Firefox</a>
-               <a href="http://www.google.com/search?q=download google chrome">Chrome</a>
-               <a href="http://www.google.com/search?q=download ie8">Internet Explorer 8</a>
-       </div>
-  <![endif]-->
-
-  <div id="headerwrapp">
-    <div id="header">
-       <a href="http://psihologija.ffzg.unizg.hr/drzb2013"><img src="http://psihologija.ffzg.unizg.hr/uploads/U5/ee/U5eerH9gxcbVpHDVcDqinA/drzb_header_v8.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.unizg.hr/drzb2013">Naslovnica</a></li>
-               <li>
-                 <a class="level4" href="http://psihologija.ffzg.unizg.hr/drzb2013/sudjelovanje">Sudjelovanje</a>
-                 <ul>
-                       <li>
-                               <a class="level5" href="http://psihologija.ffzg.unizg.hr/drzb2013/sudjelovanje/oblici">Oblici sudjelovanja</a></li>
-
-                       <li>
-                               <a class="level5" href="http://psihologija.ffzg.unizg.hr/drzb2013/sudjelovanje/pripremasazetaka">Priprema sažetaka</a></li>
-                       <li>
-                               <a class="level5" href="http://psihologija.ffzg.unizg.hr/drzb2013/sudjelovanje/prijava-izlaganja-i-registracija">Prijava izlaganja i registracija</a></li>
-                       <li>
-                               <a class="level5" href="http://psihologija.ffzg.unizg.hr/drzb2013/sudjelovanje/kotizacija">Kotizacija</a></li>
-                       <li>
-                               <a class="level5" href="http://psihologija.ffzg.unizg.hr/drzb2013/sudjelovanje/bodovanje">Bodovanje</a></li>
-                 </ul>
-               </li>
-               <li>
-                 <a class="level4" href="http://psihologija.ffzg.unizg.hr/drzb2013/prijava">Prijave</a>
-                 <ul>
-                       <li>
-                               <a class="level5" href="http://psihologija.ffzg.unizg.hr/drzb2013/prijave/upute">Prijava izlaganja i registracija</a></li>
-
-                       <li>
-                               <a class="level5" href="http://psihologija.ffzg.unizg.hr/drzb2013/obrazac">Obrazac za prijavu</a></li>
-
-                 </ul>
-               </li>
-       <!--
-               <li>
-                       <a class="level4" href="http://psihologija.ffzg.unizg.hr/drzb2013/program">Program</a>
-       -->
-               <li>
-                       <a class="level4" href="http://psihologija.ffzg.unizg.hr/drzb2013/organizacija">Organizacija</a></li>
-       <!--
-               <li>
-                       <a target="_blank" class="level4" href="http://psihologija.ffzg.unizg.hr/drzb2013/smjestaj">Smještaj</a>
-       -->
-               <li>
-                       <a class="level4" href="http://psihologija.ffzg.unizg.hr/psihofest2013">PsihoFest</a></li>
-         </ul>
-       </div>
-
-       <div id="mainNav_right">
-               <ul>
-                   <li><a href="http://psihologija.ffzg.unizg.hr/drzb2013" class="active">Hrvatski</a></li>
-                   <li><a href="http://psihologija.ffzg.unizg.hr/drzb2013-eng/registrations">English</a></li>
-               </ul>
-       </div>
-    </div>
-  </div>
-
-  <div class="container" ng-view></div>
-<!--
-  <div>Angular seed app: v<span app-version></span></div>
--->
-  <!-- In production use:
-  <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.2/angular.min.js"></script>
-  -->
-  <script src="../lib/angular/angular.js"></script>
-  <script src="../lib/angular/angular-resource.js"></script>
-  <script src="../js/app.js"></script>
-  <script src="../js/services.js"></script>
-  <script src="../js/controllers.js"></script>
-  <script src="../js/filters.js"></script>
-  <script src="../js/directives.js"></script>
-</body>
-</html>
diff --git a/app/hr/partials/.gitignore b/app/hr/partials/.gitignore
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/app/hr/partials/confirmation.html b/app/hr/partials/confirmation.html
deleted file mode 100644 (file)
index e97bf96..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<h1> Registracija i prijavljivanje izlaganja</h1>
-
-
-<div ng-controller="RegistrationCtrl" name="RegistrationForm">
-
-Registracija je uspješno poslana!
-<br/><br/>
-Broj registracije: {{registration.id}}
-<br/><br/>
-{{user.firstname}}
-{{user.surname}}<br/>
-<span ng-show="user.organization">
-{{user.organization}}
-</span>
-<br/>
-<div class="gohome">
-       <a href="http://psihologija.ffzg.unizg.hr/drzb2013/sudjelovanje/kotizacija">Molimo pročitajte upute za plaćanje kotizacije.</a>
-       <br><br>Potvrdu o plaćenoj kotizaciji molimo pošaljite na adresu <a href="mailto:drzb@ffzg.hr">drzb@ffzg.hr</a>
-</div>
-
-<!--
-<pre>
-user={{user}}
-
-$routeParams={{$routeParams}}
-
-{{RegistrationForm.$valid}}
-{{RegistrationForm.$error}}
-
-location={{$location}}
-
-</pre>
--->
-</div>
-
-
diff --git a/app/hr/partials/list.html b/app/hr/partials/list.html
deleted file mode 100644 (file)
index b7f3989..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-<div ng-show="! ready">
-Loading data...
-</div>
-
-
-<form ng-controller="ListCtrl" class="form-search" ng-show="ready">
-
-<h2>Odaberite tip registracije</h2>
-
-<label class="radio input-block-level" ng-repeat="type in RegistrationTypes" ng-switch on="type.code">
-<hr ng-switch-when="false">
-<span ng-switch-default ng-show="RegistrationTypeCount[type.code] > 0">
- <tt>{{RegistrationTypeCount[type.code]}}</tt>
- <input type="radio" name="search.registration_type" ng-model="search.registration_type" value="{{type.code}}" >
- {{type.label}}
- <i>{{type.description}}</i>
-</span>
-</label>
-
-<div>
-Search:
-<input class="search-query" ng-model="search.$">
-<a class="btn btn-invert" href="" ng-click="search.$ = ''">
-<i class="icon-remove"></i></a>
-<b>{{list.length}} results</b>
-<tt>{{search}}</tt>
-</div>
-
-<div ng-show="list.length">
-
-<h2>Prijavljenje registracije {{search.registration_type}}</h2>
-
-
-<ol>
-<li ng-repeat="registration in list">
- <a href="#/registration/{{registration.id}}">edit</a>
- {{registration.user.registration_type}}
- <tt>{{registration._id}}</tt>
-
-       <p>
-        {{registration.user.firstname}}
-        {{registration.user.surname}}
-        <em>{{registration.user.organization}}</em>,
-        {{registration.user.city}},
-        <i>{{registration.user.country}}</i>
-        <tt>&lt;{{registration.user.email}}&gt;</tt>
-       </p>
-
-<p ng-show="registration.user.registration_type == 'symposium'">
-{{registration.symposium.title}}
- <p class="abstract">
- {{registration.symposium.abstract}}
- </p>
-</p>
-
-<h3 ng-show="registration.work.title">
-{{registration.work.title}}
-</h3>
-
-<p ng-repeat="author in registration.work.persons" >
- {{author.firstname}}
- {{author.surname}},
- <em>{{author.organization}}</em>
- <tt>&lt;{{author.email}}&gt;</tt>
-</p>
-
-<p class="abstract">{{registration.work.abstract}}</p>
-
-<ol ng-show="registration.user.registration_type == 'symposium'">
- <li ng-repeat="work in registration.work.symposium_works">
-  <h4>{{work.title}}</h4>
-
-       <p ng-repeat="author in work.persons" >
-        {{author.firstname}}
-        {{author.surname}},
-        <em>{{author.organization}}</em>
-        <tt>&lt;{{author.email}}&gt;</tt>
-       </p>
-
-    <p class="abstract">{{work.abstract}}</p>
-
- </li>
-
-</ol>
-
-</div><!-- ng-show="list.length"-->
-
-</form>
-
diff --git a/app/hr/partials/partial1.html b/app/hr/partials/partial1.html
deleted file mode 100644 (file)
index 89459a6..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<p>This is the partial for view 1.</p>
diff --git a/app/hr/partials/partial2.html b/app/hr/partials/partial2.html
deleted file mode 100644 (file)
index b6503ee..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<p>This is the partial for view 2.</p>
-<p>
-  Showing of 'interpolate' filter:
-  {{ 'Current version is v%VERSION%.' | interpolate }}
-</p>
diff --git a/app/hr/partials/registration.html b/app/hr/partials/registration.html
deleted file mode 100644 (file)
index fe54034..0000000
+++ /dev/null
@@ -1,201 +0,0 @@
-<h1>Registracija i prijavljivanje izlaganja</h1>
-
-<div id="intro">
-<p>
-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>
-Sažetak <strong>izlaganja/postera</strong> prijavljuje samo prvi autor, odnosno onaj autor koji će rad izložiti. Ostali suautori ne trebaju prijaviti sažetak, nego se samo registrirati.
-</p>
-
-<p>
-Organizatori <strong>simpozija</strong> prijavljuju i sažetak simpozija i sažetak svakog pripadajućeg rada (mora ih biti četiri). Autori pojedinih radova unutar simpozija NE prijavljuju pojedinačno svoje sažetke, nego se u sustav samo registriraju.
-</p>
-
-<p>
-Organizatori <strong>okruglog stola</strong> prijavljuju samo sažetak okruglog stola, a sudionici se registriraju kao sudionici okruglog stola.
-</p>
-
-<p>
-Duljina sažetka treba biti između <strong>1800 i 2000 znakova</strong> (uključujući razmake).
-</p>
-
-<p>
-Jedna osoba može biti autor u <strong>najviše tri</strong> rada, pri čemu na samo jednom može biti prvi ili jedini autor ili autor koji će izlagati.
-</p>
-</div> <!-- intro -->
-
-<form ng-controller="RegistrationCtrl" name="RegistrationForm">
-
-<legend>Odaberite tip registracije</legend>
-
-<label class="radio"><input type="radio" ng-model="user.registration_type" value="lecture" >Prijava usmenog izlaganja</label>
-<label class="radio"><input type="radio" ng-model="user.registration_type" value="poster" >Prijava poster prezentacije</label>
-<label class="radio"><input type="radio" ng-model="user.registration_type" value="symposium" >Prijava simpozija</label>
-<label class="radio"><input type="radio" ng-model="user.registration_type" value="round" >Prijava okruglog stola</label>
-<hr />
-<label class="radio"><input type="radio" ng-model="user.registration_type" value="participant" >Registracija</label>
-<label class="radio"><input type="radio" ng-model="user.registration_type" value="accomp" >Registracija za osobe u pratnji</label>
-
-<fieldset ng-show="user.registration_type">
-
-<legend>Registracija - kontakt podaci</legend>
-
-<div class="controls controls-row">
- <input class="my-input span5" ng-model="user.firstname" placeholder="Ime" ng-required="true" />
- <input class="my-input span5" ng-model="user.surname"   placeholder="Prezime" ng-required="true" />
-</div>
-
-<div class="controls controls-row">
- <input class="my-input span10" ng-model="user.organization" placeholder="Ustanova" >
-</div>
-
-<div class="controls controls-row">
- <input class="my-input span10" ng-model="user.address" placeholder="Adresa" >
-</div>
-
-<div class="controls controls-row">
- <input class="my-input span3" ng-model="user.city" placeholder="Grad" ng-required="true" >
- <input class="my-input span3" ng-model="user.zip_code" placeholder="Poštanski br." >
- <input class="my-input span4" ng-model="user.country" placeholder="Zemlja" >
-</div>
-
-<div class="controls controls-row">
- <input class="my-input span5" ng-model="user.email" type="email" placeholder="E-pošta" ng-required="true" />
- <input class="my-input span5" ng-model="user.phone" placeholder="Tel. broj" />
-</div>
-
-<legend>
-</legend>
-<label class="checkbox">
- <input ng-model="user.student" type="checkbox" ng-change="change_student()">
- Označite ako ste student.
-</label>
-
-<div ng-show="! user.student">
-
-<label class="checkbox">
- <input ng-model="user.hpd_member" type="checkbox">
- Označite ako ste član HPD-a
-</label>
-
-<label class="checkbox">
-<input type="checkbox" ng-model="user.r1.required">
-Trebam R-1 račun
-</label>
-
-<div ng-show="user.r1.required">
-<legend>
-Organizacija koja uplaćuje R-1 račun
-</legend>
-
-<input class="my-input span10" ng-model="user.r1.organization" ng-required="user.r1.required" placeholder="Naziv">
-<input class="my-input span10" ng-model="user.r1.address" ng-required="user.r1.required" placeholder="Adresa">
-<input class="my-input span5" ng-model="user.r1.OIB" ng-required="user.r1.required" placeholder="OIB">
-
-</div><!-- r1.required -->
-</div><!-- ! user.student -->
-
-<legend>
-</legend>
-<strong>Hoćete li biti na domjenku dobrodošlice?</strong>
-<label class="radio"><input type="radio" name="user.reception" ng-model="user.reception" value="yes" ng-required="true">Da</label>
-<label class="radio"><input type="radio" name="user.reception" ng-model="user.reception" value="no"  ng-required="true">Ne</label>
-
-<div ng-show="! user.student">
-
-<legend>
-</legend>
-<strong>Hoćete li biti na zajedničkoj večeri?</strong>
-Večera je uključena u kotizaciju.
-<label class="radio"><input type="radio" name="user.dinner" ng-model="user.dinner" value="yes" ng-required="! user.student && ! user.dinner">Da</label>
-<label class="radio"><input type="radio" name="user.dinner" ng-model="user.dinner" value="no"  ng-required="! user.student && ! user.dinner">Ne</label>
-
-
-</div><!-- not student -->
-
-</fieldset><!-- selected registration_type -->
-
-
-<div ng-show="has_work">
-
-<div ng-switch on="work.type">
-<h2 ng-switch-when="lecture">Prijava usmenog izlaganja</h2>
-<h2 ng-switch-when="poster">Prijava poster prezentacije</h2>
-<h2 ng-switch-when="symposium">Prijava teme simpozija</h2>
-<h2 ng-switch-when="round">Prijava teme okruglog stola</h2>
-<b ng-switch-default>Has unknown work type {{work.type}} to submit</b>
-</div>
-
-<div class="controls controls-row">
- <input class="span10 my-input" ng-model="work.title" placeholder="Naslov" ng-required="has_work" >
-</div>
-<h3 ng-show="user.registration_type == 'symposium'">Organizator simpozija</h3>
-<div ng-repeat="person in work.persons" class="controls controls-row">
-       <input class="span2 my-input" ng-model="person.firstname" placeholder="Ime" ng-required="has_work" />
-       <input class="span2 my-input" ng-model="person.surname"   placeholder="Prezime" ng-required="has_work" />
-       <input class="span3 my-input" ng-model="person.organization" placeholder="Ustanova" >
-       <input class="span2 my-input" ng-model="person.email" type="email" placeholder="E-mail" ng-required="has_work" />
-       <a class="controls span1 btn btn-danger" href="" ng-click="removePerson(work.persons,person)">obriši</a>
-</div>
-<a class="btn" href="" ng-click="addPerson(work.persons)">dodaj osobu</a>
-<div class="controls">
- <label>
- Sažetak ({{work.abstract.length || 0}}  od maks. 2000 znakova s razmacima)
- </label>
- <textarea class="span10" ng-model="work.abstract" ng-maxlength="2000" rows="10" cols="80" ng-required="has_work" ></textarea>
-</div>
-
-</div><!-- has_work -->
-
-<div ng-show="user.registration_type == 'symposium'">
-
-<h2>Prijava radova unutar simpozija {{work.title}}</h2>
-
-<div ng-repeat="work in work.symposium_works">
-
-<h3>{{$index + 1}}. rad na simpoziju</h3>
-
-<div class="controls controls-row">
- <input class="span10 my-input" ng-model="work.title" placeholder="Naslov" ng-required="has_work" >
-</div>
-<div ng-repeat="person in work.persons" class="controls controls-row">
-       <input class="span2 my-input" ng-model="person.firstname" placeholder="Ime" ng-required="has_work" />
-       <input class="span2 my-input" ng-model="person.surname"   placeholder="Prezime" ng-required="has_work" />
-       <input class="span3 my-input" ng-model="person.organization" placeholder="Ustanova" >
-       <input class="span2 my-input" ng-model="person.email" type="email" placeholder="E-mail" ng-required="has_work" />
-       <a class="controls span1 btn btn-danger" href="" ng-click="removePerson(work.persons,person)">obriši</a>
-</div>
-<a class="btn" href="" ng-click="addPerson(work.persons)">dodaj osobu</a>
-<div class="controls">
- <label>
- Sažetak ({{work.abstract.length || 0}}  od maks. 2000 znakova s razmacima)
- </label>
- <textarea class="span10" ng-model="work.abstract" ng-maxlength="2000" rows="10" cols="80" ng-required="has_work" ></textarea>
-</div>
-
-</div><!-- ng-repeat symposium_works  -->
-
-<a class="btn" href="" ng-click="add_symposium_work(work.symposium_works)">Dodaj još jedan rad na simpoziju</a>
-
-</div><!-- user.registration_type == 'symposium' -->
-
-<div class="form-actions">
- <button class="btn btn-primary" ng-click="update(registration)" ng-show="RegistrationForm.$valid">Pošalji</button>
-<p class="left" style="color: red" ng-show="! RegistrationForm.$valid">
-Molimo ispunite sva obavezna polja označena crvenim okvirom.
-</p>
-</div>
-
-<!--
-<pre>
-{{RegistrationForm.$valid}}
-{{RegistrationForm.$error}}
-
-location={{$location.path()}}
-
-</pre>
--->
-</form>
-