This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="row cstToolBar"> | |
<div class="col-sm-10 table-toolbar-left" > | |
<button class="btn btn-primary btn-labeled fa fa-plus" type="button">Nova Categoria</button> | |
</div> | |
<div class="col-sm-2 table-toolbar-right"> | |
<div class="input-group"> | |
<input type="text" class="form-control" placeholder="Filtrar" v-model="filterTerm" v-on:keyup.enter="search"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@extends( | |
'admin.base', | |
[ | |
'title' => 'Categorias', | |
'pageTitle' => 'Categorias', | |
'breadCrumb' => ['Categorias'] | |
] | |
) | |
@section('page-content') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue'; | |
import VueResource from 'vue-resource'; | |
import VueGridCategory from '../components/gridCategory.vue'; | |
Vue.use(VueResource); | |
new Vue({ | |
el: '#vueCategory', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use Danbru\Http\Requests; | |
use Prettus\Validator\Contracts\ValidatorInterface; | |
use Prettus\Validator\Exceptions\ValidatorException; | |
use Danbru\Http\Requests\CatCreateRequest; |
NewerOlder