Initial commit
This commit is contained in:
6
static/plugins/bootstrap/bootstrap.min.css
vendored
Normal file
6
static/plugins/bootstrap/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
static/plugins/bootstrap/bootstrap.min.js
vendored
Normal file
1
static/plugins/bootstrap/bootstrap.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
80
static/plugins/google-map/gmap.js
Normal file
80
static/plugins/google-map/gmap.js
Normal file
@@ -0,0 +1,80 @@
|
||||
window.marker = null;
|
||||
|
||||
function initialize() {
|
||||
var map;
|
||||
var latitude = $('#map_canvas').attr('data-latitude');
|
||||
var longitude = $('#map_canvas').attr('data-longitude');
|
||||
var mapMarker = $('#map_canvas').attr('data-marker');
|
||||
var mapMarkerName = $('#map_canvas').attr('data-marker-name');
|
||||
var nottingham = new google.maps.LatLng(latitude, longitude);
|
||||
var style = [{
|
||||
"featureType": "road",
|
||||
"elementType": "geometry",
|
||||
"stylers": [{
|
||||
"lightness": 100
|
||||
},
|
||||
{
|
||||
"visibility": "simplified"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"featureType": "water",
|
||||
"elementType": "geometry",
|
||||
"stylers": [{
|
||||
"visibility": "on"
|
||||
},
|
||||
{
|
||||
"color": "#C6E2FF"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"featureType": "poi",
|
||||
"elementType": "geometry.fill",
|
||||
"stylers": [{
|
||||
"color": "#C5E3BF"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "road",
|
||||
"elementType": "geometry.fill",
|
||||
"stylers": [{
|
||||
"color": "#D1D1B8"
|
||||
}]
|
||||
}
|
||||
];
|
||||
var mapOptions = {
|
||||
center: nottingham,
|
||||
mapTypeId: google.maps.MapTypeId.ROADMAP,
|
||||
backgroundColor: "#000",
|
||||
zoom: 15,
|
||||
panControl: false,
|
||||
zoomControl: true,
|
||||
mapTypeControl: false,
|
||||
scaleControl: false,
|
||||
streetViewControl: false,
|
||||
overviewMapControl: false,
|
||||
zoomControlOptions: {
|
||||
style: google.maps.ZoomControlStyle.LARGE
|
||||
}
|
||||
}
|
||||
map = new google.maps.Map(document.getElementById('map_canvas'), mapOptions);
|
||||
var mapType = new google.maps.StyledMapType(style, {
|
||||
name: "Grayscale"
|
||||
});
|
||||
map.mapTypes.set('grey', mapType);
|
||||
map.setMapTypeId('grey');
|
||||
var marker_image = mapMarker;
|
||||
var pinIcon = new google.maps.MarkerImage(marker_image, null, null, null, new google.maps.Size(45, 45));
|
||||
marker = new google.maps.Marker({
|
||||
position: nottingham,
|
||||
map: map,
|
||||
icon: pinIcon,
|
||||
title: mapMarkerName
|
||||
});
|
||||
}
|
||||
var map = document.getElementById('map_canvas');
|
||||
if (map != null) {
|
||||
google.maps.event.addDomListener(window, 'load', initialize);
|
||||
}
|
||||
1
static/plugins/jQuery/jquery.min.js
vendored
Normal file
1
static/plugins/jQuery/jquery.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
static/plugins/slick/slick.css
Normal file
1
static/plugins/slick/slick.css
Normal file
@@ -0,0 +1 @@
|
||||
.slick-list,.slick-slider,.slick-track{position:relative;display:block}.slick-loading .slick-slide,.slick-loading .slick-track{visibility:hidden}.slick-slider{box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.slick-list{overflow:hidden;margin:0;padding:0}.slick-list:focus{outline:0}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-list,.slick-slider .slick-track{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.slick-track{top:0;left:0;margin-left:auto;margin-right:auto}.slick-track:after,.slick-track:before{display:table;content:''}.slick-track:after{clear:both}.slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent}.slick-arrow.slick-hidden{display:none}
|
||||
1
static/plugins/slick/slick.min.js
vendored
Normal file
1
static/plugins/slick/slick.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
static/plugins/themify-icons/fonts/themify.eot
Normal file
BIN
static/plugins/themify-icons/fonts/themify.eot
Normal file
Binary file not shown.
362
static/plugins/themify-icons/fonts/themify.svg
Normal file
362
static/plugins/themify-icons/fonts/themify.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 229 KiB |
BIN
static/plugins/themify-icons/fonts/themify.ttf
Normal file
BIN
static/plugins/themify-icons/fonts/themify.ttf
Normal file
Binary file not shown.
BIN
static/plugins/themify-icons/fonts/themify.woff
Normal file
BIN
static/plugins/themify-icons/fonts/themify.woff
Normal file
Binary file not shown.
1
static/plugins/themify-icons/themify-icons.css
Normal file
1
static/plugins/themify-icons/themify-icons.css
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user