Commit 76d6ca9f authored by Martin Gregor's avatar Martin Gregor
Browse files

odstranenie www priecinka

parent 7a39920a
......@@ -10,4 +10,3 @@ vendor/*
!.gitignore
!.htaccess
!web.config
app/config/config.local.neon
......@@ -21,7 +21,7 @@ $configurator->createRobotLoader()
// Create Dependency Injection container from config.neon file
$configurator->addConfig(__DIR__ . '/config/config.neon');
$configurator->addConfig(__DIR__ . '/config/config.local.neon', $configurator::NONE); // none section
//$configurator->addConfig(__DIR__ . '/config/config.local.neon', $configurator::NONE); // none section
$container = $configurator->createContainer();
return $container;
......@@ -36,3 +36,8 @@ common:
production < common:
development < common:
nette:
database:
dsn: 'mysql:host=127.0.0.1;dbname=annotations'
user: root
password:
......@@ -20,19 +20,19 @@
<title>{block title|striptags|upper}Annotations{/block}</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="shortcut icon" href="{$basePath}/favicon.ico">
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="shortcut icon" href="/favicon.ico">
<style>
body {
padding-top: 50px;
padding-bottom: 20px;
}
</style>
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="/css/main.css">
<!--[if lt IE 9]>
<script src="js/vendor/html5-3.6-respond-1.1.0.min.js"></script>
<script src="/js/vendor/html5-3.6-respond-1.1.0.min.js"></script>
<![endif]-->
{block styles}{/block}
{block head}{/block}
......@@ -50,10 +50,10 @@
{block scripts}
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.10.1.min.js"><\/script>')</script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="{$basePath}/js/netteForms.js"></script>
<script src="{$basePath}/js/main.js"></script>
<script>window.jQuery || document.write('<script src="/js/vendor/jquery-1.10.1.min.js"><\/script>')</script>
<script src="/js/vendor/bootstrap.min.js"></script>
<script src="/js/netteForms.js"></script>
<script src="/js/main.js"></script>
{/block}
</body>
</html>
{layout '../@layout.latte'}
{block content}
<h1 n:block=title>Pridanie viet</h1>
{control addForm}
{* or use {include '../components/form.latte', form => signInForm} *}
<div class="row">
<div class="col-md-12">
<h1 n:block=title class="page-title">
<span class="label label-default">
Pridanie viet
</span>
</h1>
</div>
</div>
<div class="panel panel-primary center-block">
<div class="panel-body">
{control addForm}
</div>
</div>
{/block}
favicon.ico

1.39 KB

Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment