modal over kart
authorRoza Moustafa <roza.92m@hotmail.com>
Thu, 3 Dec 2015 12:18:22 +0000 (13:18 +0100)
committerRoza Moustafa <roza.92m@hotmail.com>
Thu, 3 Dec 2015 12:18:22 +0000 (13:18 +0100)
src/components/map/map.html
src/css/map.css

index b8ec9b9..075cb28 100644 (file)
@@ -1,20 +1,18 @@
 <div id="map"></div>
 
-<!--<div id="divModal">-->
-    <div class="show" id="divModal" role="dialog">
+    <div id="divModal" role="dialog">
     <div class="modal-dialog modal-sm">
         <div class="modal-content">
             <div class="modal-header">
                 <button type="button" class="close" (click)="closeModal()">&times;</button>
-                <h4 class="modal-title">Modal Header</h4>
+                <h4 class="modal-title">Add new</h4>
             </div>
             <div class="modal-body">
-                <p>This is a small modal.</p>
+                <p>Do you want to add new a facility?</p>
             </div>
             <div class="modal-footer">
-                <button type="button" class="btn btn-default"  (click)="addUnit()">Close</button>
+                <button type="button" class="btn btn-default" (click)="addUnit()">Yes</button>
             </div>
         </div>
     </div>
         </div>
-<!--</div>-->
index 3e6a6d9..2b023e4 100644 (file)
@@ -10,6 +10,7 @@ html, body {
     height: 750px;
     margin: 0 auto;
     width: 100%;
+    position: absolute;
 
 }
 
@@ -190,3 +191,7 @@ html, body {
 }
 
 
+#divModal{
+    position: relative;
+    margin-bottom: 500px;
+}
\ No newline at end of file