Заголовок сайта
This commit is contained in:
parent
5d2ff6b174
commit
0f0af9877a
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title><?=App::getConfig('title')?></title>
|
||||
<title><?= App::getConfig('title') ?></title>
|
||||
|
||||
<?php if ($styles): ?>
|
||||
<?php foreach ($styles as $style): ?>
|
||||
|
|
@ -17,13 +17,13 @@
|
|||
|
||||
</head>
|
||||
<body>
|
||||
<h1><?=App::getConfig('title')?></h1>
|
||||
<hr/>
|
||||
<div class="header">
|
||||
<h1>WikiPoints</h1>
|
||||
<a href="/">Главная</a> |
|
||||
<a href="/json/points/">Точки</a> |
|
||||
<a href="/json/point/id/1">Выбранная точка</a> |
|
||||
<a href="/json/categories/">Категории</a>
|
||||
<hr/>
|
||||
</div>
|
||||
<?= isset($content) && !empty($content) ? $content : 'No content =(' ?>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -11,3 +11,5 @@ body {margin: 0; padding: 0; height: 100%;}
|
|||
div#map {width: 100%; height: 100%;}
|
||||
div.infoCard {width: 400px;}
|
||||
div.infoCard img {width: 200px; float: left; margin: 0 10px 5px 0;}
|
||||
div.header {display: block; position: absolute; top: 0; left: 20px; border-radius: 0 0 5px 5px; z-index: 1000; background-color: #FFF; padding: 5px 10px;}
|
||||
div.header h1 {display: inline; margin-right: 25px; color: #555;}
|
||||
Loading…
Reference in New Issue