UI incompleto

This commit is contained in:
2021-07-29 22:05:48 -04:00
parent 4374392af1
commit fb18129826
48 changed files with 1063 additions and 0 deletions

View File

@ -0,0 +1,14 @@
@extends('layout.base')
@section('page_content')
<h1 class="ui header">
@hasSection('categorias_title')
Categoría @yield('categorias_title')
@else
Categorías
@endif
</h1>
<div class="ui segment">
@yield('categorias_content')
</div>
@endsection

View File

@ -0,0 +1,28 @@
@extends('categorias.base')
@section('categorias_content')
<div id="categorias"></div>
<div class="ui modal">
<i class="close icon"></i>
<div class="content">
<form class="ui form">
<div class="field">
<label>Nombre</label>
<input type="text" name="nombre" />
</div>
<button class="ui icon button">
<i class="plus icon"></i>
</button>
</form>
</div>
</div>
@endsection
@push('scripts')
<script type="text/javascript" src="{{$urls->scripts}}/categorias.list.js"></script>
<script type="text/javascript">
$(document).ready(() => {
categorias.setup()
})
</script>
@endpush