]> git.uio.no Git - u/erikhf/frm.git/commitdiff
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 4cbc484e362b49b5415ec0466aa07a1ac940b084..2eb78c291d87ff8894105405e8085969d2f1a2a1 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 5186d9c67015b8b8ef637a1993451d5f2ade9fd0..8621df966fed31a03f9824e58c0af59399473d5a 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 a3eea0485a8f0d9817610d7bd4a0dcfc0ecb68c0..41e57b15d77f712c586d8b68b8fbd93d6c1ef28f 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 bcf41f3564857f489d502b96173d4b105fd36aba..de76454528343bf015284035f30dc15baab1c556 100644 (file)
@@ -341,3 +341,14 @@ label{
     color: #DFC2C8;
 }
 
+.glyresult{
+    font-size: 14px;
+}
+
+.arrowresult{
+    text-align: right;
+    float: right;
+    font-size: 14px;
+    padding: 0;
+}
+