-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Soeng Souy
committed
May 17, 2023
1 parent
c412cf0
commit 2752769
Showing
4 changed files
with
95 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
namespace App\Http\Controllers; | ||
|
||
use Illuminate\Http\Request; | ||
|
||
class DepartmentController extends Controller | ||
{ | ||
/** index page department */ | ||
public function indexDepartment() | ||
{ | ||
return view('department.add-department'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
|
||
@extends('layouts.master') | ||
@section('content') | ||
{{-- message --}} | ||
{!! Toastr::message() !!} | ||
<div class="page-wrapper"> | ||
<div class="content container-fluid"> | ||
<div class="page-header"> | ||
<div class="row align-items-center"> | ||
<div class="col"> | ||
<h3 class="page-title">Add Department</h3> | ||
<ul class="breadcrumb"> | ||
<li class="breadcrumb-item"><a href="departments.html">Department</a></li> | ||
<li class="breadcrumb-item active">Add Department</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="row"> | ||
<div class="col-sm-12"> | ||
<div class="card"> | ||
<div class="card-body"> | ||
<form> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<h5 class="form-title"><span>Department Details</span></h5> | ||
</div> | ||
<div class="col-12 col-sm-4"> | ||
<div class="form-group local-forms"> | ||
<label>Department ID <span class="login-danger">*</span></label> | ||
<input type="text" class="form-control"> | ||
</div> | ||
</div> | ||
<div class="col-12 col-sm-4"> | ||
<div class="form-group local-forms"> | ||
<label>Department Name <span class="login-danger">*</span></label> | ||
<input type="text" class="form-control"> | ||
</div> | ||
</div> | ||
<div class="col-12 col-sm-4"> | ||
<div class="form-group local-forms"> | ||
<label>Head of Department <span class="login-danger">*</span></label> | ||
<input type="text" class="form-control"> | ||
</div> | ||
</div> | ||
<div class="col-12 col-sm-4"> | ||
<div class="form-group local-forms calendar-icon"> | ||
<label>Department Start Date <span class="login-danger">*</span></label> | ||
<input class="form-control datetimepicker" type="text" | ||
placeholder="DD-MM-YYYY"> | ||
</div> | ||
</div> | ||
<div class="col-12 col-sm-4"> | ||
<div class="form-group local-forms"> | ||
<label>No of Students <span class="login-danger">*</span></label> | ||
<input type="text" class="form-control"> | ||
</div> | ||
</div> | ||
<div class="col-12"> | ||
<div class="student-submit"> | ||
<button type="submit" class="btn btn-primary">Submit</button> | ||
</div> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters