Added Breeze
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"resources/css/app.css": {
|
||||
"file": "assets/app-BURll_0Q.css",
|
||||
"src": "resources/css/app.css",
|
||||
"isEntry": true,
|
||||
"name": "app",
|
||||
"names": [
|
||||
"app.css"
|
||||
]
|
||||
},
|
||||
"resources/js/app.js": {
|
||||
"file": "assets/app-BjMeHjpC.js",
|
||||
"name": "app",
|
||||
"src": "resources/js/app.js",
|
||||
"isEntry": true
|
||||
}
|
||||
}
|
||||
Executable
+80
@@ -0,0 +1,80 @@
|
||||
#contactFieldValue {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.contact {
|
||||
background-color: #111111;
|
||||
padding: 10px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.contactSocial {
|
||||
background-color: #111111;
|
||||
padding: 10px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.contactIcon {
|
||||
width: 120px;
|
||||
heigth: 120px;
|
||||
}
|
||||
|
||||
.social {
|
||||
float: left;
|
||||
width: 170px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.banner {
|
||||
float: left;
|
||||
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.contactBlock {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.contactForm {
|
||||
padding: 15px;
|
||||
background-color: #111111;
|
||||
}
|
||||
|
||||
.contactForm > button {
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.contactForm > div > input,
|
||||
.contactForm > div > textarea {
|
||||
background-color: #DDddDD;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.contacts_table{
|
||||
font-size: 18px;
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
}
|
||||
|
||||
.contacts_table A{
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
|
||||
.contacts_table TH{
|
||||
text-align: center;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.contacts_table TR TD, .contacts_table TR TH {
|
||||
|
||||
|
||||
}
|
||||
|
||||
.contacts_table TR TD A {
|
||||
color: #DDddDD;
|
||||
}
|
||||
|
||||
.contacts_table TR TD A:hover {
|
||||
color: #da9001;
|
||||
}
|
||||
Executable
+24
@@ -0,0 +1,24 @@
|
||||
.mday{
|
||||
color: orange;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#longArticle {
|
||||
/* display: none;*/
|
||||
}
|
||||
|
||||
.newsBody A, .newsFooter A {
|
||||
color: orange;
|
||||
}
|
||||
|
||||
.newsHeader A{
|
||||
color: orange;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.newsHeader A:hover, .newsBody A:hover, .newsFooter A:hover{
|
||||
color: red;
|
||||
cursor: pointer;
|
||||
}
|
||||
Executable
BIN
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
Executable
BIN
Binary file not shown.
|
After Width: | Height: | Size: 369 KiB |
Executable
BIN
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
Executable
BIN
Binary file not shown.
|
After Width: | Height: | Size: 480 KiB |
Executable
+72
@@ -0,0 +1,72 @@
|
||||
ymaps.ready(init);
|
||||
|
||||
function execCmd(url, func, cls, name) {
|
||||
var XHR = ("onload" in new XMLHttpRequest()) ? XMLHttpRequest : XDomainRequest;
|
||||
var xhr = new XHR();
|
||||
|
||||
xhr.onreadystatechange = function() {
|
||||
if (xhr.readyState == 4 && xhr.status == 200) {
|
||||
func(0,xhr.responseText,cls,name);
|
||||
}
|
||||
|
||||
if (xhr.readyState == 4 && xhr.status != 200) {
|
||||
func(-1,xhr.status + ': ' + xhr.statusText);
|
||||
}
|
||||
};
|
||||
|
||||
xhr.open('GET', url, true);
|
||||
xhr.send();
|
||||
}
|
||||
|
||||
function getPlace(status, json) {
|
||||
var place = JSON.parse(json);
|
||||
console.log(place);
|
||||
|
||||
var descr = "<div>"+place.name
|
||||
+ '</div><div>'+place.address
|
||||
+ '</div><div><a href="'+place.url+'">'
|
||||
+ place.url+'</a></div><div>'+place.phone+'</div>';
|
||||
|
||||
var myMap = getMap(place.x, place.y);
|
||||
|
||||
// Создаем геообъект с типом геометрии "Точка".
|
||||
myGeoObject = getGeoObject(place.x, place.y, place.name, descr);
|
||||
myMap.geoObjects.add(myGeoObject);
|
||||
}
|
||||
|
||||
function getGeoObject(x,y, name, descr) {
|
||||
return new ymaps.GeoObject({
|
||||
// Описание геометрии.
|
||||
geometry: {
|
||||
type: "Point",
|
||||
coordinates: [x, y]
|
||||
},
|
||||
// Свойства.
|
||||
properties: {
|
||||
// Контент метки.
|
||||
// iconContent: descr,
|
||||
hintContent: name,
|
||||
balloonContent: descr
|
||||
}
|
||||
}, {
|
||||
// Опции.
|
||||
// Иконка метки будет растягиваться под размер ее содержимого.
|
||||
preset: 'islands#redIcon',
|
||||
// Метку можно перемещать.
|
||||
draggable: false
|
||||
});
|
||||
}
|
||||
|
||||
function getMap(x, y) {
|
||||
return new ymaps.Map("map", {
|
||||
center: [x, y],
|
||||
zoom: 16
|
||||
}, {
|
||||
searchControlProvider: 'yandex#search'
|
||||
});
|
||||
}
|
||||
|
||||
function init() {
|
||||
var url = "/api/getplace/id/"+map_id;
|
||||
execCmd(url, getPlace);
|
||||
}
|
||||
Reference in New Issue
Block a user