Fixed placeholder for search (pair programming)
authorErik Haider Forsén <erikhf@ifi.uio.no>
Thu, 12 Nov 2015 10:27:25 +0000 (11:27 +0100)
committerErik Haider Forsén <erikhf@ifi.uio.no>
Thu, 12 Nov 2015 10:27:25 +0000 (11:27 +0100)
src/components/app.ts
src/components/search/search.html [new file with mode: 0644]
src/components/search/search.ts [new file with mode: 0644]

index 71b4542..27ba52e 100644 (file)
@@ -1,6 +1,7 @@
 import {HTTP_PROVIDERS} from 'angular2/http';
 import {Component, View, bootstrap, provide} from 'angular2/angular2';
 import {Map} from './map/map';
+import {Search} from "./search/search";
 
 declare var System:any;
 
@@ -8,7 +9,7 @@ declare var System:any;
     {
         selector: 'mou-app',
         templateUrl: './components/app.html',
-        directives:[Map]
+        directives:[Map, Search]
     })
 
 
diff --git a/src/components/search/search.html b/src/components/search/search.html
new file mode 100644 (file)
index 0000000..373e5cc
--- /dev/null
@@ -0,0 +1 @@
+<div style="width: 500px; height: 50px; background: #ff647c; ">Søkefelt! </div>
\ No newline at end of file
diff --git a/src/components/search/search.ts b/src/components/search/search.ts
new file mode 100644 (file)
index 0000000..f5a52cb
--- /dev/null
@@ -0,0 +1,12 @@
+import {Component, CORE_DIRECTIVES} from 'angular2/angular2';
+
+@Component({
+    selector: 'mou-search',
+    directives: [CORE_DIRECTIVES],
+    templateUrl: './components/search/search.html'
+})
+
+
+export class Search {
+
+}