Oppned knapp for dropdown-menyen funker som det skal
authorRoza Moustafa <roza.92m@hotmail.com>
Tue, 24 Nov 2015 19:47:36 +0000 (20:47 +0100)
committerRoza Moustafa <roza.92m@hotmail.com>
Tue, 24 Nov 2015 19:47:36 +0000 (20:47 +0100)
src/components/search/search.html
src/components/search/search.ts

index 1e9b50d..835c789 100644 (file)
@@ -12,7 +12,7 @@
                id="livesearch"
 
                placeholder="Search"/>
-    <img [hidden]="!loading"
+    <img class="loadingpic" [hidden]="!loading"
          src="https://www.brown.edu/sites/default/themes/pawtuxet/img/loader-larger.gif">
 
 
         </ul>
     </div>
 
+
 </div>
 
-<button type="button" class="knapp" data-toggle="collapse" data-target="#dropdown-menu"><span class="glyphicon glyphicon-menu-down"></span></button>
+<button type="button" class="knapp" data-toggle="collapse" data-target="#dropdown-menu">
+
+    <!--pil opp og ned-->
+
+    <div class="zippy">
+        <div (click)="toggle()" class="zippy__title">
+            {{ visible ? '&xdtri;' : '&xutri;' }} {{title}}
+        </div>
+        <div [hidden]="!visible" class="zippy__content">
+            <content></content>
+        </div>
+    </div>
+
+</button>
 
 <div>
 <ul id="dropdown-menu" class="dropdown-menu">
 </ul>
 
 </div>
-
-
-<!--tester pil oppned-->
-<div class="zippy">
-    <div (click)="toggle()" class="zippy__title">
-        {{ visible ? '&blacktriangledown;' : '&blacktriangleright;' }} {{title}}
-    </div>
-    <div [hidden]="!visible" class="zippy__content">
-        <content></content>
-    </div>
-</div>
\ No newline at end of file
index 98e69aa..4befcdc 100644 (file)
@@ -22,7 +22,7 @@ export class Search {
         this.newsearch.next(orgunit.id);
     }
 
-    //tester pil oppned
+    //pil opp og ned
 
     toggle() {
         this.visible = !this.visible;