mer design og fikset at no result forsvinner igjen ved sidebar open
authorRoza Moustafa <roza.92m@hotmail.com>
Thu, 10 Dec 2015 16:44:51 +0000 (17:44 +0100)
committerRoza Moustafa <roza.92m@hotmail.com>
Thu, 10 Dec 2015 16:44:51 +0000 (17:44 +0100)
src/components/search/search.html
src/components/search/search.ts
src/components/sidebar/sidebar.html
src/css/map.css

index 4cbc484..2eb78c2 100644 (file)
@@ -38,7 +38,7 @@
                             <span class="glyphicon glyphicon-remove"></span></button>
                     </li>
                     <li *ng-for="#orgunit of filteredOrgunits" id="orglist" (click)="getMoreInfo(orgunit)">
-                        <a id="left-menu" href="#">{{orgunit.name}}</a>
+                        <a id="left-menu" href="#"><span class="glyphicon glyphicon-map-marker glyresult"></span>  {{orgunit.name}}</a>
                     </li>
                     <li *ng-if="filteredOrgunits.length == 0">
                         <p class="nomatch"> No matching results </p>
index 5186d9c..8621df9 100644 (file)
@@ -39,7 +39,7 @@ export class Search {
     getMoreInfo(orgunit) {
         this.orgunits = [];
         this.newsearch.next(orgunit.id);
-        return document.getElementById("myForm").reset();
+        return document.getElementById("searchform").reset();
 
     }
 
index a3eea04..41e57b1 100644 (file)
@@ -57,7 +57,7 @@
             </div>
             <hr>
             <fieldset class="form-group">
-                <Legend><span class="glyphicon glyphicon-globe"></span> Coordinates</Legend>
+                <Legend><span class="glyphicon glyphicon-map-marker"></span> Coordinates</Legend>
                 <hr>
 
                 <div *ng-if="featureType.value == 'POINT'" class="form-group">
index bcf41f3..de76454 100644 (file)
@@ -341,3 +341,14 @@ label{
     color: #DFC2C8;
 }
 
+.glyresult{
+    font-size: 14px;
+}
+
+.arrowresult{
+    text-align: right;
+    float: right;
+    font-size: 14px;
+    padding: 0;
+}
+