Git inicializacia
This commit is contained in:
160
resources/views/temp.blade.php
Normal file
160
resources/views/temp.blade.php
Normal file
@@ -0,0 +1,160 @@
|
||||
<!doctype html>
|
||||
<html lang="{{ app()->getLocale() }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>Laravel</title>
|
||||
|
||||
<!-- Fonts -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css">
|
||||
|
||||
<!-- Styles -->
|
||||
<style>
|
||||
html, body {
|
||||
background-color: #fff;
|
||||
color: #636b6f;
|
||||
font-family: 'Raleway', sans-serif;
|
||||
font-weight: 100;
|
||||
height: 100vh;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.full-height {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.flex-center {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.position-ref {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.top-right {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 18px;
|
||||
}
|
||||
|
||||
.content {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 84px;
|
||||
}
|
||||
|
||||
.links > a {
|
||||
color: #636b6f;
|
||||
padding: 0 25px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
letter-spacing: .1rem;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.m-b-md {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
|
||||
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="flex-center position-ref full-height">
|
||||
@if (Route::has('login'))
|
||||
<div class="top-right links">
|
||||
@auth
|
||||
<a href="{{ url('/home') }}">Home</a>
|
||||
@else
|
||||
<a href="{{ route('login') }}">Login</a>
|
||||
<a href="{{ route('register') }}">Register</a>
|
||||
@endauth
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="content">
|
||||
<div class="title m-b-md">
|
||||
Temperature Logs on OkU TT
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
|
||||
{!! Form::open(array( 'url' => 'temp/search' )) !!}
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-12 col-md-12">
|
||||
@if (Session::has('success'))
|
||||
<div class="alert alert-success">{{ Session::get('success') }}</div>
|
||||
@elseif (Session::has('warnning'))
|
||||
<div class="alert alert-danger">{{ Session::get('warnning') }}</div>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-xs-4 col-sm-4 col-md-4">
|
||||
<div class="form-group">
|
||||
{!! Form::label('computer','Pocitac:') !!}
|
||||
<div class="">
|
||||
{!! Form::text('computer', null, ['class' => 'form-control']) !!}
|
||||
{!! $errors->first('event_name', '<p class="alert alert-danger">:message</p>') !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-4 col-sm-4 col-md-4">
|
||||
<div class="form-group">
|
||||
{!! Form::label('user','Uzivatel:') !!}
|
||||
<div class="">
|
||||
{!! Form::text('user', null, ['id' => 'q', 'class' => 'form-control', 'placeholder' => 'Napis uzivatela']) !!}
|
||||
{!! $errors->first('event_name', '<p class="alert alert-danger">:message</p>') !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-3 col-sm-3 col-md-3">
|
||||
<div class="form-group">
|
||||
{!! Form::label('start_date','Start Date:') !!}
|
||||
<div class="">
|
||||
{!! Form::date('start_date', null, ['class' => 'form-control']) !!}
|
||||
{!! $errors->first('start_date', '<p class="alert alert-danger">:message</p>') !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-3 col-sm-3 col-md-3">
|
||||
<div class="form-group">
|
||||
{!! Form::label('end_date','End Date:') !!}
|
||||
<div class="">
|
||||
{!! Form::date('end_date', null, ['class' => 'form-control']) !!}
|
||||
{!! $errors->first('end_date', '<p class="alert alert-danger">:message</p>') !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-1 col-sm-1 col-md-1 text-center"> <br/>
|
||||
{!! Form::submit('Hladaj',['class'=>'btn btn-primary']) !!}
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<script>
|
||||
$(function()
|
||||
{
|
||||
$( "#q" ).autocomplete({
|
||||
source: "search/autocomplete",
|
||||
minLength: 3
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</html>
|
||||
Reference in New Issue
Block a user