haciendo css manual

This commit is contained in:
Daniel Cortés
2019-10-11 08:50:33 -03:00
parent 53b709c175
commit bf36de150d
23 changed files with 3964 additions and 2015 deletions

View File

@@ -1,16 +1,21 @@
@extends('admin.base')
@section('title')
<h1>Now</h1>
@endsection
@section('content')
<table class="table">
<div class="pure-g">
<div class="pure-u-1-5">
<h1>Now</h1>
</div>
<div class="pure-u-4-5">
<a class="pure-button u-align-right" href="{{ route('admin.now.create') }}">Create</a>
</div>
</div>
<table class="pure-table">
<thead>
<tr>
<th>Id</th>
<th>Fecha</th>
<th class="controls"><a href="{{ route('admin.now.create') }}">create</a></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
@@ -18,11 +23,13 @@
<tr>
<td>{{$now->id}}</td>
<td>{{$now->created_at->format('Y-m-d')}}</td>
<td class="controls">
<a href="{{ route('admin.now.edit', ['now' => $now->id]) }}">edit</a>
<td>
<a class="pure-button" href="{{ route('admin.now.edit', ['now' => $now->id]) }}">Edit</a>
</td>
<td>
<form action={{ route('admin.now.delete', ['now' => $now->id]) }} method="post">
@csrf
<input type="submit" value="delete"/>
<button type="submit" class="pure-button">Delete</button>
</form>
</td>
</tr>