move symposiums list
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 11 Nov 2010 18:19:39 +0000 (19:19 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 11 Nov 2010 18:19:39 +0000 (19:19 +0100)
public/app/conference/symposiums.html [new file with mode: 0644]
templates/conference/symposiums.html.ep [deleted file]

diff --git a/public/app/conference/symposiums.html b/public/app/conference/symposiums.html
new file mode 100644 (file)
index 0000000..33cf1e7
--- /dev/null
@@ -0,0 +1,35 @@
+<script type="text/javascript"> 
+       TestCntl.$inject = ['$xhr', '$route']; 
+
+       function TestCntl(xhr, route){ 
+
+               this.route = route; 
+               this.xhr = xhr; 
+
+               var data = {}
+               this.data = data;
+
+               this.xhr("JSON"
+                       , "http://localhost:5984/conference/_design/symposium/_view/work_nr%2Ctitle?callback=JSON_CALLBACK"
+                       , function(code, response){ 
+                               console.log(code, response, data);
+                               data.response = response;
+                       }
+               ); 
+
+       } 
+</script> 
+
+<div ng:controller="TestCntl"> 
+
+<div ng:repeat="s in data.response.rows">
+<h1 ng:show="s.key[1] == 1">{{s.key[0]}}</h1>
+{{s.key[1]}}. {{s.value}}
+</div>
+
+<input name=debug type=checkbox>
+<pre ng:show="debug">
+data={{data}}
+</pre>
+
+</div> 
diff --git a/templates/conference/symposiums.html.ep b/templates/conference/symposiums.html.ep
deleted file mode 100644 (file)
index 33cf1e7..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<script type="text/javascript"> 
-       TestCntl.$inject = ['$xhr', '$route']; 
-
-       function TestCntl(xhr, route){ 
-
-               this.route = route; 
-               this.xhr = xhr; 
-
-               var data = {}
-               this.data = data;
-
-               this.xhr("JSON"
-                       , "http://localhost:5984/conference/_design/symposium/_view/work_nr%2Ctitle?callback=JSON_CALLBACK"
-                       , function(code, response){ 
-                               console.log(code, response, data);
-                               data.response = response;
-                       }
-               ); 
-
-       } 
-</script> 
-
-<div ng:controller="TestCntl"> 
-
-<div ng:repeat="s in data.response.rows">
-<h1 ng:show="s.key[1] == 1">{{s.key[0]}}</h1>
-{{s.key[1]}}. {{s.value}}
-</div>
-
-<input name=debug type=checkbox>
-<pre ng:show="debug">
-data={{data}}
-</pre>
-
-</div>