FEATURE #2351 @45m: minor UI tweaks, add error templates

This commit is contained in:
Michal Kváček
2017-03-10 13:42:55 +01:00
parent 0e2aecb529
commit 87af6a018c
9 changed files with 65 additions and 165 deletions
@@ -4,8 +4,9 @@
<meta charset="utf-8" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link href='https://fonts.googleapis.com/css?family=Hind+Siliguri:400,500,700,300&amp;subset=latin,latin-ext'
rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Ubuntu:400,300,500,700&subset=latin-ext,latin' rel='stylesheet'
type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Comfortaa&amp;subset=latin-ext" rel="stylesheet">
<link rel="stylesheet" href="{{asset_path('visitor/css/app.css')}}">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -13,88 +14,19 @@
<title>@yield('pageTitle') | {{setting('pageName')}}</title>
<style>
body {
font-size: 150%;
line-height: 150%;
position: relative;
}
h1 {
font-size: 4em;
font-weight: 100;
padding-top: 30px;
}
header {
background: #7cad2a;
padding: 30px 0;
}
footer {
position: absolute;
bottom: 0;
padding: 5px 0;
}
footer a {
color: white;
.content-container {
width: 75%;
margin: auto;
}
</style>
</head>
<body class="text-center">
<body>
<header>
<a href="{{route('page.index')}}">
<img src="{{asset_path('visitor/images/menu_logo.png')}}" class="PragueTennisCamp-logo-menu" alt="PragueTennisCamp s.r.o.">
</a>
</header>
<div class="row content-container">
<h1>@yield('pageTitle')</h1>
<h1>@yield('pageTitle')</h1>
<div class="row">
@yield('content')
</div>
<footer id="footer">
@if (!empty(setting('facebookProfile')))
<a href="{{setting('facebookProfile')}}" target="_blank">
<i class="fa fa-fw fa-facebook-official fb-color"></i>
</a>
@endif
@if (!empty(setting('linkedInProfile')))
<a href="{{setting('linkedInProfile')}}" target="_blank">
<i class="fa fa-fw fa-linkedin in-color"></i>
</a>
@endif
@if(!empty(setting('gplusProfile')))
<a href="{{setting('gplusProfile')}}" target="_blank">
<i class="fa fa-fw fa-google-plus gp-color"></i>
</a>
@endif
</footer>
{{--<ul class="social-icons menu">--}}
{{--<a href="{{setting('facebookProfile')}}" target="_blank">--}}
{{--<i class="fa fa-fw fa-2x fa-facebook-official fb-color"></i>--}}
{{--</a>--}}
{{--<li>--}}
{{--<a href="{{setting('linkedInProfile')}}" target="_blank">--}}
{{--<i class="fa fa-fw fa-2x fa-linkedin in-color"></i>--}}
{{--</a>--}}
{{--</li>--}}
{{--<li>--}}
{{--<a href="{{setting('gplusProfile')}}" target="_blank">--}}
{{--<i class="fa fa-fw fa-2x fa-google-plus gp-color"></i>--}}
{{--</a>--}}
{{--</li>--}}
{{--</ul>--}}
</body>
</html>