add perankingan
This commit is contained in:
commit
d6390cbb59
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Http\Controllers;
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
use App\Models\Alternatif;
|
use App\Models\Alternatif;
|
||||||
|
|
|
@ -18,7 +18,7 @@ class CreateUsersTable extends Migration
|
||||||
$table->string('name');
|
$table->string('name');
|
||||||
$table->string('username')->unique();
|
$table->string('username')->unique();
|
||||||
$table->string('password');
|
$table->string('password');
|
||||||
$table->enum('roles', ['admin', 'penguji'])->default('penguji');
|
$table->enum('roles', ['admin', 'penilai'])->default('penilai');
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,10 +22,10 @@ class UsersSeeder extends Seeder
|
||||||
'roles' => 'admin',
|
'roles' => 'admin',
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => 'Penguji 1',
|
'name' => 'penilai 1',
|
||||||
'username' => 'penguji1',
|
'username' => 'penilai1',
|
||||||
'password' => bcrypt('penguji01'),
|
'password' => bcrypt('penilai01'),
|
||||||
'roles' => 'penguji',
|
'roles' => 'penilai',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -77,6 +77,7 @@
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
<<<<<<< HEAD
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
function goBack() {
|
function goBack() {
|
||||||
|
@ -84,4 +85,6 @@
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
=======
|
||||||
|
>>>>>>> afe2ff37056cbc2ba48d0f5e5a38a8407f5789d8
|
||||||
@endsection
|
@endsection
|
||||||
|
|
|
@ -71,6 +71,7 @@
|
||||||
$('#dataTable').DataTable();
|
$('#dataTable').DataTable();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
function deletePenilaian(kodeAlternatif, periode) {
|
function deletePenilaian(kodeAlternatif, periode) {
|
||||||
Swal.fire({
|
Swal.fire({
|
||||||
title: 'Apakah Anda yakin?',
|
title: 'Apakah Anda yakin?',
|
||||||
|
@ -111,4 +112,8 @@
|
||||||
<script src="{{ url('sbAdmin/vendor/datatables/jquery.dataTables.min.js') }}"></script>
|
<script src="{{ url('sbAdmin/vendor/datatables/jquery.dataTables.min.js') }}"></script>
|
||||||
<script src="{{ url('sbAdmin/vendor/datatables/dataTables.bootstrap4.min.js') }}"></script>
|
<script src="{{ url('sbAdmin/vendor/datatables/dataTables.bootstrap4.min.js') }}"></script>
|
||||||
|
|
||||||
|
=======
|
||||||
|
<!-- Page level custom scripts -->
|
||||||
|
<script src="{{ url('sbAdmin/js/demo/datatables-demo.js') }}"></script>
|
||||||
|
>>>>>>> afe2ff37056cbc2ba48d0f5e5a38a8407f5789d8
|
||||||
@endpush
|
@endpush
|
||||||
|
|
Loading…
Reference in New Issue