diff --git a/resources/views/naturezas/area/detalhes.blade.php b/resources/views/naturezas/area/detalhes.blade.php index 1feb0793814eaf5e71868f15cc00fb519ad02bff..f19b95f48807257dd02586745e087d6e89c5420f 100644 --- a/resources/views/naturezas/area/detalhes.blade.php +++ b/resources/views/naturezas/area/detalhes.blade.php @@ -26,43 +26,47 @@ </div> </div> <hr> - <table class="table table-bordered"> - <thead> - <tr> - <th scope="col">Nome</th> - <th scope="col">Opção</th> - </tr> - </thead> - <tbody> - @foreach ($subAreas as $subArea) - <tr> - <td> - {{ $subArea->nome }} - </td> - <td> - <div class="btn-group dropright dropdown-options"> - <a id="options" class="dropdown-toggle " data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> - <img src="{{asset('img/icons/ellipsis-v-solid.svg')}}" style="width:8px"> - </a> - <div class="dropdown-menu"> - <a href="{{ route('subarea.editar', ['id' => $subArea->id]) }}" class="dropdown-item text-center"> - Editar - </a> - <form method="POST" action="{{ route('subarea.deletar', ['id' => $subArea->id]) }}"> - {{ csrf_field() }} - <button type="submit" class="dropdown-item dropdown-item-delete text-center"> - <img src="{{asset('img/icons/logo_lixeira.png')}}" alt=""> - Deletar - </button> - - </form> - </div> - </div> - </td> - </tr> - @endforeach - </tbody> - </table> + <div class="row" style="margin-bottom: 200px;"> + <div class="col-md-12"> + <table class="table table-bordered"> + <thead> + <tr> + <th scope="col">Nome</th> + <th scope="col">Opção</th> + </tr> + </thead> + <tbody> + @foreach ($subAreas as $subArea) + <tr> + <td> + {{ $subArea->nome }} + </td> + <td> + <div class="btn-group dropright dropdown-options"> + <a id="options" class="dropdown-toggle " data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> + <img src="{{asset('img/icons/ellipsis-v-solid.svg')}}" style="width:8px"> + </a> + <div class="dropdown-menu"> + <a href="{{ route('subarea.editar', ['id' => $subArea->id]) }}" class="dropdown-item text-center"> + Editar + </a> + <form method="POST" action="{{ route('subarea.deletar', ['id' => $subArea->id]) }}"> + {{ csrf_field() }} + <button type="submit" class="dropdown-item dropdown-item-delete text-center"> + <img src="{{asset('img/icons/logo_lixeira.png')}}" alt=""> + Deletar + </button> + + </form> + </div> + </div> + </td> + </tr> + @endforeach + </tbody> + </table> + </div> + </div> </div> @endsection \ No newline at end of file diff --git a/resources/views/naturezas/area/editar_area.blade.php b/resources/views/naturezas/area/editar_area.blade.php index 05c437ed860f94f472d5fa2a93bbd4b03c32bca4..98e1f001f4c5c6c5a6fadf1a22f235ea5e5e02b7 100644 --- a/resources/views/naturezas/area/editar_area.blade.php +++ b/resources/views/naturezas/area/editar_area.blade.php @@ -2,17 +2,17 @@ @section('content') -<div class="container" > +<div class="container" style="margin-top: 50px; "> <div class="row" > <div class="col-sm-12"> - <h2 style="margin-top: 100px; ">{{ __('Editar uma área') }}</h2> + <h2 style="color: rgb(0, 140, 255);">{{ __('Editar uma área') }}</h2> </div> </div> <div class="row"> <form method="POST" action="{{ route('area.atualizar', ['id' => $area->id])}}"> @csrf <div class="col-sm-12"> - <label for="nome" class="col-form-label">{{ __('Nome') }}</label> + <label for="nome" class="col-form-label" style="color: rgb(0, 140, 255);">{{ __('Nome') }}<span style="color: red;"> *</span></label> <input id="nome" type="text" class="form-control @error('nome') is-invalid @enderror" name="nome" value="{{ $area->nome }}" required autocomplete="nome" autofocus> @error('nome') @@ -21,7 +21,7 @@ </span> @enderror - <button type="submit" class="btn btn-primary" style="position:relative;top:10px;">{{ __('Salvar') }}</button> + <button type="submit" class="btn btn-info" style="position:relative;top:10px;">{{ __('Salvar') }}</button> </div> </form> </div> diff --git a/resources/views/naturezas/area/nova_area.blade.php b/resources/views/naturezas/area/nova_area.blade.php index 30141b87df1f06ef20e74a4ed57fdf6911d28235..cbb63b53fba7e52ad52e901ef3470018c925783a 100644 --- a/resources/views/naturezas/area/nova_area.blade.php +++ b/resources/views/naturezas/area/nova_area.blade.php @@ -2,17 +2,17 @@ @section('content') -<div class="container" > +<div class="container" style="margin-top: 50px;"> <div class="row" > <div class="col-sm-12"> - <h2 style="margin-top: 100px; ">{{ __('Criar uma nova área') }}</h2> + <h2 style="color: rgb(0, 140, 255);">{{ __('Criar uma nova área') }}</h2> </div> </div> <div class="row"> <form method="POST" action="{{ route('area.salvar', ['id' => $grandeAreaId])}}"> @csrf <div class="col-sm-12"> - <label for="nome" class="col-form-label">{{ __('Nome') }}</label> + <label for="nome" class="col-form-label" style="color: rgb(0, 140, 255);">{{ __('Nome') }}<span style="color: red;"> *</span></label> <input id="nome" type="text" class="form-control @error('nome') is-invalid @enderror" name="nome" value="{{ old('nome') }}" required autocomplete="nome" autofocus> @error('nome') @@ -21,7 +21,7 @@ </span> @enderror - <button type="submit" class="btn btn-primary" style="position:relative;top:10px;">{{ __('Salvar') }}</button> + <button type="submit" class="btn btn-info" style="position:relative;top:10px;">{{ __('Salvar') }}</button> </div> </form> </div> diff --git a/resources/views/naturezas/grandeArea/editar_grande_area.blade.php b/resources/views/naturezas/grandeArea/editar_grande_area.blade.php index d29319b559d159e93175cd1b183ee606cc06aa8c..6f8ebef40f0ac2b0ea25218faed9721b54171861 100644 --- a/resources/views/naturezas/grandeArea/editar_grande_area.blade.php +++ b/resources/views/naturezas/grandeArea/editar_grande_area.blade.php @@ -2,17 +2,17 @@ @section('content') -<div class="container" > +<div class="container" style="margin-top: 50px; "> <div class="row" > <div class="col-sm-12"> - <h2 style="margin-top: 100px; ">{{ __('Editar uma área') }}</h2> + <h2 style="color: rgb(0, 140, 255);">{{ __('Editar uma área') }}</h2> </div> </div> <div class="row"> <form method="POST" action="{{ route('grandearea.atualizar', ['id' => $grandeArea->id])}}"> @csrf <div class="col-sm-12"> - <label for="nome" class="col-form-label">{{ __('Nome') }}</label> + <label for="nome" class="col-form-label" style="color: rgb(0, 140, 255);">{{ __('Nome') }}<span style="color: red;"> *</span></label> <input id="nome" type="text" class="form-control @error('nome') is-invalid @enderror" name="nome" value="{{ $grandeArea->nome }}" required autocomplete="nome" autofocus> @error('nome') @@ -21,7 +21,7 @@ </span> @enderror - <button type="submit" class="btn btn-primary" style="position:relative;top:10px;">{{ __('Salvar') }}</button> + <button type="submit" class="btn btn-info" style="position:relative;top:10px;">{{ __('Salvar') }}</button> </div> </form> </div> diff --git a/resources/views/naturezas/grandeArea/nova_grande_area.blade.php b/resources/views/naturezas/grandeArea/nova_grande_area.blade.php index 388b291a56afa65729490f204b1c91643335428a..5765f660efe1886d1c236209be3406881a4d8a42 100644 --- a/resources/views/naturezas/grandeArea/nova_grande_area.blade.php +++ b/resources/views/naturezas/grandeArea/nova_grande_area.blade.php @@ -2,18 +2,18 @@ @section('content') -<div class="container" > +<div class="container" style="margin-top: 50px;"> <div class="row" > <div class="col-sm-12"> - <h2 style="margin-top: 100px; ">{{ __('Criar uma nova área') }}</h2> + <h2 style="color: rgb(0, 140, 255);">{{ __('Criar uma nova grande área') }}</h2> </div> </div> <div class="row"> <form method="POST" action="{{ route('grandearea.salvar')}}"> @csrf <div class="col-sm-12"> - <label for="nome" class="col-form-label">{{ __('Nome') }}</label> - <input id="nome" type="text" class="form-control @error('nome') is-invalid @enderror" name="nome" value="{{ old('nome') }}" required autocomplete="nome" autofocus> + <label for="nome" class="col-form-label" style="color: rgb(0, 140, 255);">{{ __('Nome') }}<span style="color: red;"> *</span></label> + <input id="nome" type="text" class="form-control @error('nome') is-invalid @enderror" name="nome" value="{{ old('nome') }}" required autocomplete="nome" autofocus > @error('nome') <span class="invalid-feedback" role="alert"> @@ -21,7 +21,7 @@ </span> @enderror - <button type="submit" class="btn btn-primary" style="position:relative;top:10px;">{{ __('Salvar') }}</button> + <button type="submit" class="btn btn-info" style="position:relative;top:10px;">{{ __('Salvar') }}</button> </div> </form> </div> diff --git a/resources/views/naturezas/subArea/editar_subarea.blade.php b/resources/views/naturezas/subArea/editar_subarea.blade.php index 53abe9977de9c29e678962c513d8f3987a93fa88..1f02f55ccb12f52e085150f564e1b4f8447cc244 100644 --- a/resources/views/naturezas/subArea/editar_subarea.blade.php +++ b/resources/views/naturezas/subArea/editar_subarea.blade.php @@ -2,17 +2,17 @@ @section('content') -<div class="container" > +<div class="container" style="margin-top: 50px; "> <div class="row" > <div class="col-sm-12"> - <h2 style="margin-top: 100px; ">{{ __('Editar uma subárea') }}</h2> + <h2 style="color: rgb(0, 140, 255);">{{ __('Editar uma subárea') }}</h2> </div> </div> <div class="row"> <form method="POST" action="{{ route('subarea.atualizar', ['id' => $subarea->id])}}"> @csrf <div class="col-sm-12"> - <label for="nome" class="col-form-label">{{ __('Nome') }}</label> + <label for="nome" class="col-form-label" style="color: rgb(0, 140, 255);">{{ __('Nome') }}<span style="color: red;"> *</span></label> <input id="nome" type="text" class="form-control @error('nome') is-invalid @enderror" name="nome" value="{{ $subarea->nome }}" required autocomplete="nome" autofocus> @error('nome') @@ -21,7 +21,7 @@ </span> @enderror - <button type="submit" class="btn btn-primary" style="position:relative;top:10px;">{{ __('Salvar') }}</button> + <button type="submit" class="btn btn-info" style="position:relative;top:10px;">{{ __('Salvar') }}</button> </div> </form> </div> diff --git a/resources/views/naturezas/subArea/index.blade.php b/resources/views/naturezas/subArea/index.blade.php index a184f67ec90780beec80ce39d89c50bb8ca586c9..081bec92908fb83494f6ae408631a8564cc80431 100644 --- a/resources/views/naturezas/subArea/index.blade.php +++ b/resources/views/naturezas/subArea/index.blade.php @@ -17,44 +17,48 @@ </div> <hr> - <table class="table table-bordered"> - <thead> - <tr> - <th scope="col">Nome</th> - <th scope="col">Opção</th> - </tr> - </thead> - <tbody> - @foreach ($subAreas as $subArea) - <tr> - <td> - {{ $subArea->nome }} - </td> - <td> - <div class="btn-group dropright dropdown-options"> - <a id="options" class="dropdown-toggle " data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> - <img src="{{asset('img/icons/ellipsis-v-solid.svg')}}" style="width:8px"> - </a> - <div class="dropdown-menu"> - <a href="{{ route('subarea.editar', ['id' => $subArea->id]) }}" class="dropdown-item"> - <img src="{{asset('img/icons/edit-regular.svg')}}" class="icon-card" alt=""> - Editar - </a> - <form method="POST" action="{{ route('subarea.deletar', ['id' => $subArea->id]) }}"> - {{ csrf_field() }} - <button type="submit" class="dropdown-item"> - <img src="{{asset('img/icons/trash-alt-regular.svg')}}" class="icon-card" alt=""> - Deletar - </button> - - </form> - </div> - </div> - </td> - </tr> - @endforeach - </tbody> - </table> + <div class="row" style="margin-bottom: 20px;"> + <div class="col-md-12"> + <table class="table table-bordered"> + <thead> + <tr> + <th scope="col">Nome</th> + <th scope="col">Opção</th> + </tr> + </thead> + <tbody> + @foreach ($subAreas as $subArea) + <tr> + <td> + {{ $subArea->nome }} + </td> + <td> + <div class="btn-group dropright dropdown-options"> + <a id="options" class="dropdown-toggle " data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> + <img src="{{asset('img/icons/ellipsis-v-solid.svg')}}" style="width:8px"> + </a> + <div class="dropdown-menu"> + <a href="{{ route('subarea.editar', ['id' => $subArea->id]) }}" class="dropdown-item"> + <img src="{{asset('img/icons/edit-regular.svg')}}" class="icon-card" alt=""> + Editar + </a> + <form method="POST" action="{{ route('subarea.deletar', ['id' => $subArea->id]) }}"> + {{ csrf_field() }} + <button type="submit" class="dropdown-item"> + <img src="{{asset('img/icons/trash-alt-regular.svg')}}" class="icon-card" alt=""> + Deletar + </button> + + </form> + </div> + </div> + </td> + </tr> + @endforeach + </tbody> + </table> + </div> + </div> </div> @endsection \ No newline at end of file diff --git a/resources/views/naturezas/subArea/nova_subarea.blade.php b/resources/views/naturezas/subArea/nova_subarea.blade.php index a2530403f12cd5d5ba9a4eeb6c0ac09933a19948..4182f9860f3a4d8fbb5be82cc903d887e16ff3a6 100644 --- a/resources/views/naturezas/subArea/nova_subarea.blade.php +++ b/resources/views/naturezas/subArea/nova_subarea.blade.php @@ -2,17 +2,17 @@ @section('content') -<div class="container" > +<div class="container" style="margin-top: 50px; "> <div class="row" > <div class="col-sm-12"> - <h2 style="margin-top: 100px; ">{{ __('Criar uma nova subárea') }}</h2> + <h2 style="color: rgb(0, 140, 255);">{{ __('Criar uma nova subárea') }}</h2> </div> </div> <div class="row"> <form method="POST" action="{{ route('subarea.salvar', ['id' => $areaId])}}"> @csrf <div class="col-sm-12"> - <label for="nome" class="col-form-label">{{ __('Nome') }}</label> + <label for="nome" class="col-form-label" style="color: rgb(0, 140, 255);">{{ __('Nome') }}<span style="color: red;"> *</span></label> <input id="nome" type="text" class="form-control @error('nome') is-invalid @enderror" name="nome" value="{{ old('nome') }}" required autocomplete="nome" autofocus> @error('nome') @@ -21,7 +21,7 @@ </span> @enderror - <button type="submit" class="btn btn-primary" style="position:relative;top:10px;">{{ __('Salvar') }}</button> + <button type="submit" class="btn btn-info" style="position:relative;top:10px;">{{ __('Salvar') }}</button> </div> </form> </div>