UI incompleto
This commit is contained in:
14
ui/resources/views/categorias/base.blade.php
Normal file
14
ui/resources/views/categorias/base.blade.php
Normal 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
|
28
ui/resources/views/categorias/list.blade.php
Normal file
28
ui/resources/views/categorias/list.blade.php
Normal 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
|
Reference in New Issue
Block a user