diff --git a/ground/controllers/PageController.php b/ground/controllers/PageController.php
index 2642630..f3fe032 100644
--- a/ground/controllers/PageController.php
+++ b/ground/controllers/PageController.php
@@ -69,6 +69,7 @@ class PageController extends Controller
$result[$id]['name'] = $point->name;
$result[$id]['lat'] = $point->lat;
$result[$id]['lng'] = $point->lng;
+ $result[$id]['img'] = $point->getImg('middle');
$result[$id]['author'] = $point->authorUser->nick;
$result[$id]['categoryId'] = $point->categoryId;
$result[$id]['categoryIcon'] = $categories[$point->categoryId]->icon;
diff --git a/ground/views/pointsTemplate.php b/ground/views/pointsTemplate.php
index 2cc14d8..ec4cb91 100644
--- a/ground/views/pointsTemplate.php
+++ b/ground/views/pointsTemplate.php
@@ -39,7 +39,7 @@ if (App::getParam('user')) {
print "";
}
?>
- Все точки
+ Все типы
= $header ?>
-
- #= $point['id'] ?>
= $point['name'] ?>
- = $point['author'] ?>
-
-
+
diff --git a/public/css/pageStyle.css b/public/css/pageStyle.css
index d8f227b..07fdcfa 100644
--- a/public/css/pageStyle.css
+++ b/public/css/pageStyle.css
@@ -1,3 +1,9 @@
+div.pointsWall {}
+div.pointsWall .line{}
+div.pointsWall .point {background-size: cover; width: 50%; height: 300px; display: inline-block; float: left; padding: 10px;}
+div.pointsWall .point span.header {font-size: 22px; color: white; font-weight: bold; text-shadow: -1px -1px 0 #666, 1px -1px 0 #666, -1px 1px 0 #444, 1px 1px 0 #444;}
+
+
/* -------------------------------------------*/
/* ------------- ADAPTIVE --------------------*/
/* -------------------------------------------*/
@@ -29,4 +35,5 @@
}
.pagePoinsNearCards {display: inline-block; width: 201px; height: 150px; overflow: hidden;}
.pagePoinsNearCardsImg {width: 201px; height: 150px;}
+ div.pointsWall .point {width: 100%;}
}