Daniel Supernault преди 6 години
родител
ревизия
8ee415d66b
променени са 3 файла, в които са добавени 18 реда и са изтрити 2 реда
  1. 1 1
      resources/views/timeline/home.blade.php
  2. 1 1
      resources/views/timeline/local.blade.php
  3. 16 0
      resources/views/timeline/network.blade.php

+ 1 - 1
resources/views/timeline/home.blade.php

@@ -2,7 +2,7 @@
 
 @section('content')
 
-<timeline></timeline>
+<timeline scope="home"></timeline>
 
 @endsection
 

+ 1 - 1
resources/views/timeline/local.blade.php

@@ -2,7 +2,7 @@
 
 @section('content')
 
-<timeline></timeline>
+<timeline scope="local"></timeline>
 
 @endsection
 

+ 16 - 0
resources/views/timeline/network.blade.php

@@ -0,0 +1,16 @@
+@extends('layouts.app')
+
+@section('content')
+
+<timeline scope="network"></timeline>
+
+@endsection
+
+@push('scripts')
+<script type="text/javascript" src="{{ mix('js/timeline.js') }}"></script>
+<script type="text/javascript">
+	new Vue({
+		el: '#content'
+	});
+</script>
+@endpush