diff --git a/resources/assets/js/app.js b/resources/assets/js/app.js index c1620c1b..f028e2c5 100644 --- a/resources/assets/js/app.js +++ b/resources/assets/js/app.js @@ -3,7 +3,7 @@ * First we will load all of this project's JavaScript dependencies which * includes Vue and other libraries. It is a great starting point when * building robust, powerful web applications using Vue and Laravel. - */ + require('./bootstrap'); @@ -13,10 +13,10 @@ window.Vue = require('vue'); * Next, we will create a fresh Vue application instance and attach it to * the page. Then, you may begin adding components to this application * or customize the JavaScript scaffolding to fit your unique needs. - */ Vue.component('example', require('./components/Example.vue')); const app = new Vue({ el: '#app' }); +*/ \ No newline at end of file diff --git a/resources/assets/js/site.js b/resources/assets/js/site.js new file mode 100644 index 00000000..0d18927a --- /dev/null +++ b/resources/assets/js/site.js @@ -0,0 +1,5 @@ +// Site.js + +$("#content").on('click-row.bs.table', function(e, row, $element) { + window.location = $element.data('href'); +}); \ No newline at end of file diff --git a/resources/views/eintragung/create.blade.php b/resources/views/eintragung/create.blade.php new file mode 100644 index 00000000..34ff8c9a --- /dev/null +++ b/resources/views/eintragung/create.blade.php @@ -0,0 +1,12 @@ +@extends('layouts.app') +@section('title', 'Neue Eintragung') + +@section('content') +
+@endsection \ No newline at end of file diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index d19e87fa..ab5fc9c8 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -9,16 +9,14 @@ @section('navbar') - @show -