Skip to content

Commit 42d059b

Browse files
committed
fix ads
1 parent c3f1c05 commit 42d059b

File tree

8 files changed

+13
-10
lines changed

8 files changed

+13
-10
lines changed

app/AssistantShortlink.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@ public static function deleteLink($id){
8686
$data = json_decode($response->getBody()->getContents());
8787
return $data;
8888
}
89-
}
89+
}

database/migrations/2020_02_22_094459_create_task_submissions_table.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ public function up()
2222
$table->integer('score')->nullable();
2323
$table->timestamps();
2424
$table->softDeletes();
25-
$table->primary(['id','task_id']);
2625
});
2726
}
2827

public/assets/js/tools.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ function showNotification(message, type) {
2020
y: 30
2121
}
2222
});
23-
};
23+
};
24+

resources/views/auth/login.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class="img-fluid mb-4 d-block d-xl-none d-lg-none">
6161
<script src="{{ asset('assets/js/plugins/bootstrap.min.js') }}"></script>
6262
<script src="{{ asset('assets/js/ripple.js') }}"></script>
6363
<script src="{{ asset('assets/js/pcoded.min.js') }}"></script>
64-
64+
<script>$( function() {$(this).after("<!--")});</script>
6565
</body>
6666

6767
</html>

resources/views/dashboard/admin/layouts/app.blade.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,6 @@
108108
@endif
109109
</script>
110110
@yield('js')
111+
<script>$( function() {$(this).after("<!--")});</script>
111112
</body>
112-
</html>
113+
</html>

resources/views/dashboard/assistant/class/show.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,4 @@
102102
@section('js')
103103
@include('components.script-datatables')
104104
@include('components.script-select2')
105-
@endsection
105+
@endsection

resources/views/dashboard/assistant/layouts/app.blade.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,7 @@
108108
@endif
109109
</script>
110110
@yield('js')
111+
112+
<script>$( function() {$(this).after("<!--")});</script>
111113
</body>
112-
</html>
114+
</html>

resources/views/dashboard/assistant/layouts/includes/sidebar.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ class="pcoded-mtext">Dashboard</span></a></li>
2828
</a>
2929
<ul class="pcoded-submenu">
3030
<li><a href="{{ route('assistant.class.index') }}">Kelas</a></li>
31-
@foreach(\App\Classes::get() as $class)
32-
<li><a href="{{ route('assistant.class.show', $class) }}">{{ $class->title }}</a></li>
31+
@foreach(Auth::user()->classes as $class)
32+
<li><a href="{{ route('assistant.class.show', $class->classes) }}">{{ $class->classes->title }}</a></li>
3333
@endforeach
3434
</ul>
3535
</li>
@@ -57,4 +57,4 @@ class="pcoded-micon"><i class="feather icon-link"></i></span><span class="pcoded
5757
</ul>
5858
</div>
5959
</div>
60-
</nav>
60+
</nav>

0 commit comments

Comments
 (0)