Заголовок сайта

This commit is contained in:
Krivchikov Dmitry 2014-04-03 13:07:48 +04:00
parent 5d2ff6b174
commit 0f0af9877a
2 changed files with 16 additions and 14 deletions

View File

@ -17,13 +17,13 @@
</head> </head>
<body> <body>
<h1><?=App::getConfig('title')?></h1> <div class="header">
<hr/> <h1>WikiPoints</h1>
<a href="/">Главная</a> | <a href="/">Главная</a> |
<a href="/json/points/">Точки</a> | <a href="/json/points/">Точки</a> |
<a href="/json/point/id/1">Выбранная точка</a> | <a href="/json/point/id/1">Выбранная точка</a> |
<a href="/json/categories/">Категории</a> <a href="/json/categories/">Категории</a>
<hr/> </div>
<?= isset($content) && !empty($content) ? $content : 'No content =(' ?> <?= isset($content) && !empty($content) ? $content : 'No content =(' ?>
</body> </body>
</html> </html>

View File

@ -11,3 +11,5 @@ body {margin: 0; padding: 0; height: 100%;}
div#map {width: 100%; height: 100%;} div#map {width: 100%; height: 100%;}
div.infoCard {width: 400px;} div.infoCard {width: 400px;}
div.infoCard img {width: 200px; float: left; margin: 0 10px 5px 0;} 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;}