Initial Page
master
NoNameGuy 2017-06-13 22:36:03 +01:00
parent a8cb019744
commit badfb83f41
8 changed files with 41 additions and 51 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View File

@ -51,7 +51,7 @@ var array2;
});
$("input[name='fuelType']").change(function(){
alert($(this).val());
//alert($(this).val());
});

View File

@ -1,11 +1,10 @@
@extends('layouts.app')
@include('header')
<div class="col-sm-8 text-left">
<h1 class="center">Preço dos Combustíveis</h1>
<hr>
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Login</div>
<div class="panel-heading center">Login</div>
<div class="panel-body">
<form class="form-horizontal" role="form" method="POST" action="{{ route('login') }}">
{{ csrf_field() }}
@ -26,7 +25,7 @@
</div>
@endif
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
<label for="email" class="col-md-4 control-label">E-Mail Address</label>
<label for="email" class="col-md-4 control-label">E-Mail</label>
<div class="col-md-6">
<input id="email" type="email" class="form-control" name="email" value="{{ old('email') }}" required autofocus>
@ -57,7 +56,7 @@
<div class="col-md-6 col-md-offset-4">
<div class="checkbox">
<label>
<input type="checkbox" name="remember" {{ old('remember') ? 'checked' : '' }}> Remember Me
<input type="checkbox" name="remember" {{ old('remember') ? 'checked' : '' }}> Lembrar Me
</label>
</div>
</div>
@ -70,14 +69,12 @@
</button>
<a class="btn btn-link" href="{{ route('password.request') }}">
Forgot Your Password?
Esqueceu-se da Password?
</a>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection
@include('footer')

View File

@ -1,17 +1,16 @@
@extends('layouts.app')
@include('header')
<div class="col-sm-8 text-left">
<h1 class="center">Preço dos Combustíveis</h1>
<hr>
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Register</div>
<div class="panel-heading center">Registar</div>
<div class="panel-body">
<form class="form-horizontal" role="form" method="POST" action="{{ route('register') }}">
{{ csrf_field() }}
<div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}">
<label for="name" class="col-md-4 control-label">Name</label>
<label for="name" class="col-md-4 control-label">Nome</label>
<div class="col-md-6">
<input id="name" type="text" class="form-control" name="name" value="{{ old('name') }}" required autofocus>
@ -25,7 +24,7 @@
</div>
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
<label for="email" class="col-md-4 control-label">E-Mail Address</label>
<label for="email" class="col-md-4 control-label">E-Mail</label>
<div class="col-md-6">
<input id="email" type="email" class="form-control" name="email" value="{{ old('email') }}" required>
@ -53,7 +52,7 @@
</div>
<div class="form-group">
<label for="password-confirm" class="col-md-4 control-label">Confirm Password</label>
<label for="password-confirm" class="col-md-4 control-label">Confirmar Password</label>
<div class="col-md-6">
<input id="password-confirm" type="password" class="form-control" name="password_confirmation" required>
@ -63,14 +62,13 @@
<div class="form-group">
<div class="col-md-6 col-md-offset-4">
<button type="submit" class="btn btn-primary">
Register
Registar
</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection
@include('footer')

View File

@ -0,0 +1,14 @@
@include('header')
<div class="col-sm-8 text-left">
<h1 class="center">Preço dos Combustíveis</h1>
<hr>
<div class="col-sm-6">
</div>
</div>
@include('footer')

View File

@ -4,7 +4,7 @@
</div>
<footer class="container-fluid text-center">
<p>Footer Text</p>
<p>GeoComb - Combustíveis ao Mais Baixo Preço - © 2017</p>
</footer>
</body>

View File

@ -23,7 +23,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Logo</a>
<a class="navbar-brand" href="{{route('home')}}"><img src="../../files/gasico.png" style="heihgt: 25px; width: 25px; float: left">GeoComb</img></a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
@ -35,15 +35,9 @@
</ul>
<ul class="nav navbar-nav navbar-right">
@if (Auth::guest())
<li><a href="{{ route('login') }}">Login</a></li>
<li><a href="{{ route('register') }}">Register</a></li>
<li><a href="{{ route('register') }}">Registar</a></li>
@else
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
@ -74,19 +68,6 @@
</li>
@endif
</ul>
</div>
</div>

View File

@ -11,7 +11,7 @@
<div class="col-sm-8 text-left">
<h1 class="center">Preço dos Combustíveis</h1>
<a href="{{action('LandingController@getJsonOpenMaps')}}">Fetch data station</a>
<!--<a href="{{action('LandingController@getJsonOpenMaps')}}">Fetch data station</a>-->
<hr>
@ -68,7 +68,7 @@
<input class="form-control" id="brand" name="brand" type="text">
<br>
</div>
<button id="landingSearch" type="submit">Search</button>
<button class="btn btn-success" id="landingSearch" type="submit">Search</button>
</form>
@ -77,7 +77,7 @@
{{csrf_field()}}
<input type="hidden" name="district" value="">
<input type="hidden" name="brand" value="">
<button id="landingBack">Back</button>
<button class="btn btn-success" id="landingBack">Back</button>
</form>
<h3 class="text-center">Mais baratas ()</h3>
<div class="form-group">