McGansWebsite/application/views/subject/add_subject.php
Sasikala a79011514c 20230105
initial update
2023-01-05 17:49:39 +05:30

92 lines
3.5 KiB
PHP

<link href="<?=base_url();?>/assets/datatables/plugins/bootstrap/dataTables.bootstrap4.min.css" rel="stylesheet" type="text/css" />
<?php $this->load->view('includes/header');?>
<div class="page-container">
<!-- start sidebar menu -->
<?php $this->load->view('includes/sidebar');?>
<!-- start page content -->
<div class="page-content-wrapper">
<div class="page-content">
<div class="page-bar">
<div class="page-title-breadcrumb">
<div class=" pull-left">
<div class="page-title">Add Subject</div>
</div>
<ol class="breadcrumb page-breadcrumb pull-right">
<li><i class="fa fa-home"></i>&nbsp;<a class="parent-item" href="<?=base_url();?>/dashboard">Home</a>&nbsp;<i class="fa fa-angle-right"></i>
</li>
<li class="active">Subject</li>
</ol>
</div>
</div>
<!-- Midium Model -->
<div class="row">
<div class="col-md-12 col-sm-12">
<div class="card card-box">
<div class="card-head">
<header>Subject</header>
</div>
<div class="card-body" id="bar-parent">
<form action="<?=base_url();?>add_subject" method="post">
<div class="form-body">
<div class="form-group row">
<label class="control-label col-md-3">Subject Code
<span class="required"> * </span>
</label>
<div class="col-md-5">
<input type="text" name="code" data-required="1" placeholder="Enter Subject Code" class="form-control input-height">
</div>
</div>
<div class="form-group row">
<label class="control-label col-md-3">Name of the Subject.
<span class="required"> * </span>
</label>
<div class="col-md-5">
<input name="subject" type="text" placeholder="Enter Subject Name" class="form-control input-height" /> </div>
</div>
<div class="form-group row">
<label class="control-label col-md-3">Department.
<span class="required"> * </span>
</label>
<div class="col-md-5">
<input name="department" type="text" placeholder="Enter Department" class="form-control input-height" /> </div>
</div>
<div class="form-group row">
<label class="control-label col-md-3">Semester.
<span class="required"> * </span>
</label>
<div class="col-md-5">
<input name="semester" type="text" placeholder="Enter Semester" class="form-control input-height" /> </div>
</div>
<div class="form-group row">
<label class="control-label col-md-3">Profile Images
</label>
<div class="col-md-5 compose-editor">
<input type="file" name="img" placeholder="Enter img" class="form-control default" >
</div>
</div>
</div>
</div>
<div class="form-actions">
<div class="row">
<div class="offset-md-3 col-md-9">
<input type="submit" name="submit" class="btn btn-info m-r-20" value="Submit">
<button type="button" class="btn btn-default">Cancel</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Modal -->
</div>
</div>
</div>
<?php $this->load->view('includes/footer');?>