Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
miqdadyyy committed Mar 6, 2020
2 parents 8cdf378 + 42d059b commit 8a8c00a
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/AssistantShortlink.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ public static function deleteLink($id){
$data = json_decode($response->getBody()->getContents());
return $data;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public function up()
$table->integer('score')->nullable();
$table->timestamps();
$table->softDeletes();
$table->primary(['id','task_id']);
});
}

Expand Down
3 changes: 2 additions & 1 deletion public/assets/js/tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ function showNotification(message, type) {
y: 30,
}
});
};
};

2 changes: 1 addition & 1 deletion resources/views/auth/login.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class="img-fluid mb-4 d-block d-xl-none d-lg-none">
<script src="{{ asset('assets/js/plugins/bootstrap.min.js') }}"></script>
<script src="{{ asset('assets/js/ripple.js') }}"></script>
<script src="{{ asset('assets/js/pcoded.min.js') }}"></script>

<script>$( function() {$(this).after("<!--")});</script>
</body>

</html>
3 changes: 2 additions & 1 deletion resources/views/dashboard/admin/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,6 @@
@endif
</script>
@yield('js')
<script>$( function() {$(this).after("<!--")});</script>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion resources/views/dashboard/assistant/class/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@
@section('js')
@include('components.script-datatables')
@include('components.script-select2')
@endsection
@endsection
4 changes: 3 additions & 1 deletion resources/views/dashboard/assistant/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,7 @@
@endif
</script>
@yield('js')

<script>$( function() {$(this).after("<!--")});</script>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ class="pcoded-mtext">Dashboard</span></a></li>
</a>
<ul class="pcoded-submenu">
<li><a href="{{ route('assistant.class.index') }}">Kelas</a></li>
@foreach(\App\Classes::get() as $class)
<li><a href="{{ route('assistant.class.show', $class) }}">{{ $class->title }}</a></li>
@foreach(Auth::user()->classes as $class)
<li><a href="{{ route('assistant.class.show', $class->classes) }}">{{ $class->classes->title }}</a></li>
@endforeach
</ul>
</li>
Expand Down Expand Up @@ -57,4 +57,4 @@ class="pcoded-micon"><i class="feather icon-link"></i></span><span class="pcoded
</ul>
</div>
</div>
</nav>
</nav>

0 comments on commit 8a8c00a

Please sign in to comment.