Subversion Repositories SmartDukaan

Rev

Rev 20580 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Hotspot Store</title>
<link href="/css/style.css" type="text/css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="/css/storelocator.css">
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAWr2xrDfxwBgFUkm0Jvda1l7Byhk6pG4w&region=IN"></script>
<script type="text/javascript" src="/js/jquery-3.0.0.min.js"></script>
<script type="text/javascript" src="/js/jquery.storelocator.js"></script>
<script type="text/javascript" src="/js/handlebars.min.js"></script>
#include ("templates/commonjsfiles.vm" )
<!--API initialised-->

<script type="text/javascript">
        defaultLoc = {lat: 28.704, lng: 77.102};
        $(function() {
                $('#bh-sl-map-container').storeLocator({
                        autoGeocode: true,
                        infowindowTemplatePath   : '/template/infowindow-description.html',
                        listTemplatePath         : '/template/location-list-description.html',
                        dataType: 'json',
                        dataLocation: '/data/locations.json',
                        lengthUnit: 'km',
                        noForm: true,
                        defaultLoc:true,
                        defaultLat:defaultLoc.lat,
                        defaultLng:defaultLoc.lng
                });
        });
</script>

</head>

<body>

#include("templates/header.vm")
<div class="storeLocatorPage_container">
    <div class="bh-sl-container" style="min-height:800px">
      <div id="page-header">
        <h1 class="bh-sl-title">Locate Us</h1>
      </div>
      
      <div class="bh-sl-form-container">
        <div class="form-input">
          <label for="bh-sl-address">Enter Address or Pin Code:</label>
          <input type="text" id="bh-sl-address" name="bh-sl-address" />
        </div>
        <button id="bh-sl-submit" type="submit" style="background-color:#ffce00;color:black">Submit</button>
      </div>

      <div id="bh-sl-map-container" class="bh-sl-map-container">
        <div id="bh-sl-map" class="bh-sl-map"></div>
        <div class="bh-sl-loc-list">
          <ul class="list"></ul>
        </div>
      </div>
    </div>
<div class="storeLocatorPage_container">
<!--Footer Starts Here-->

#include("templates/footer.vm")
<!--Footer Ends Here-->


</body>
</html>