course details changes done
This commit is contained in:
parent
bbd7602479
commit
76587ca284
@ -597,7 +597,7 @@
|
||||
<label>
|
||||
Comments
|
||||
</label>
|
||||
<textarea maxlength="100" placeholder="Enter Comments" tabindex="26" class="form-control textdsc" name="Comments" ng-model="myModel.Comments"></textarea>
|
||||
<textarea maxlength="100" placeholder="Enter Comments" tabindex="25" class="form-control textdsc" name="Comments" ng-model="myModel.Comments"></textarea>
|
||||
<span class="text-small block">Max 100 Characters.</span>
|
||||
<!--<span class="error text-small block" ng-if="Form.DeactiveComments.$dirty && Form.DeactiveComments.$invalid">De-Active Comments is required</span>-->
|
||||
</div>
|
||||
@ -624,7 +624,7 @@
|
||||
<label>
|
||||
Reason for Deactivating <span class="symbol required"></span>
|
||||
</label>
|
||||
<textarea maxlength="100" placeholder="Reason for Deactivating" tabindex="27" class="form-control textdsc" name="DeactiveComments"
|
||||
<textarea maxlength="100" placeholder="Reason for Deactivating" tabindex="26" class="form-control textdsc" name="DeactiveComments"
|
||||
ng-model="myModel.DeactiveComments" required></textarea>
|
||||
<span class="text-small block">Max 100 Characters.</span>
|
||||
<span class="error text-small block" ng-if="Form.DeactiveComments.$dirty && Form.DeactiveComments.$invalid">De-Active Comments is required</span>
|
||||
@ -652,7 +652,7 @@
|
||||
University <span class="symbol required"></span>
|
||||
</label>
|
||||
|
||||
<select class="form-control" tabindex="25" class="cs-select cs-skin-elastic" name="university" ng-model="myModelCourseAdd.university"
|
||||
<select class="form-control" tabindex="27" class="cs-select cs-skin-elastic" name="university" ng-model="myModelCourseAdd.university"
|
||||
ng-change="onSlecetUnivAdd()" required>
|
||||
<option value="" disabled selected>Select University</option>
|
||||
<option ng-repeat="item in universityData" value="{{item.UniversityID}}">{{item.UniversityName}}</option>
|
||||
@ -669,7 +669,7 @@
|
||||
<span style="padding: auto 0; color: #007AFF; font-weight: bold;">fetching...</span>
|
||||
</div>
|
||||
<div ng-if="courseLoading == false">
|
||||
<select class="form-control" tabindex="26" name="course" ng-model="myModelCourseAdd.course" class="cs-select cs-skin-elastic"
|
||||
<select class="form-control" tabindex="28" name="course" ng-model="myModelCourseAdd.course" class="cs-select cs-skin-elastic"
|
||||
required>
|
||||
<option value="" disabled selected>Select Course</option>
|
||||
<option ng-repeat="item in courseDataAdd" value="{{item.CourseID}}">{{item.CourseName}}</option>
|
||||
@ -688,7 +688,7 @@
|
||||
<span style="padding: auto 0; color: #007AFF; font-weight: bold;">fetching...</span>
|
||||
</div>
|
||||
<div ng-if="courseLoading == false">
|
||||
<select class="form-control" tabindex="26" name="batch" ng-model="myModelCourseAdd.batch" class="cs-select cs-skin-elastic"
|
||||
<select class="form-control" tabindex="29" name="batch" ng-model="myModelCourseAdd.batch" class="cs-select cs-skin-elastic"
|
||||
required>
|
||||
<option value="" disabled selected>Select Batch</option>
|
||||
<option ng-repeat="item in batchDataAdd" value="{{item.BatchCode}}">{{item.BatchName}}</option>
|
||||
@ -699,14 +699,88 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div ng-repeat="check in courseDataAdd" ng-if="check.CourseID==myModelCourseAdd.course">
|
||||
|
||||
<div class="col-md-4 form-group"
|
||||
ng-class="{'has-error':Form.specilization1.$dirty && Form.specilization1.$invalid}">
|
||||
<label>
|
||||
Specilization 1
|
||||
</label>
|
||||
|
||||
<input type="text" placeholder="Enter Specilization 1"
|
||||
tabindex="30" class="form-control" name="specilization1"
|
||||
ng-model="check.Specilization1" ng-pattern="/^[a-zA-Z0-9-./\s]*$/" readonly/>
|
||||
<!--<span class="error text-small block"
|
||||
ng-if="Form.specilization1.$dirty && Form.specilization1.$error.required">Specilization 1 is required</span>-->
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.specilization1.$dirty && Form.specilization1.$error.pattern">Invalid Specilization 1 </span>
|
||||
<!--<span class="success text-small"-->
|
||||
<!--ng-if="Form.specilization1.$valid">Thank You!</span>-->
|
||||
</div>
|
||||
<div class="col-md-4 form-group"
|
||||
ng-class="{'has-error':Form.specilization2.$dirty && Form.specilization2.$invalid}">
|
||||
<label>
|
||||
Specilization 2
|
||||
</label>
|
||||
|
||||
<input type="text" placeholder="Enter Specilization 2"
|
||||
tabindex="31" class="form-control" name="specilization2"
|
||||
ng-model="check.Specilization2" ng-pattern="/^[a-zA-Z0-9-./\s]*$/" readonly/>
|
||||
<!--<span class="error text-small block"
|
||||
ng-if="Form.specilization1.$dirty && Form.specilization1.$error.required">Specilization 1 is required</span>-->
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.specilization2.$dirty && Form.specilization2.$error.pattern">Invalid Specilization 2 </span>
|
||||
<!--<span class="success text-small"-->
|
||||
<!--ng-if="Form.specilization1.$valid">Thank You!</span>-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div ng-if="myModelCourseAdd.course==''">
|
||||
|
||||
<div class="col-md-4 form-group"
|
||||
ng-class="{'has-error':Form.specilization1.$dirty && Form.specilization1.$invalid}">
|
||||
<label>
|
||||
Specilization 1
|
||||
</label>
|
||||
|
||||
<input type="text" placeholder="Enter Specilization 1"
|
||||
tabindex="32" class="form-control" name="specilization1"
|
||||
ng-model="check.Specilization1" ng-pattern="/^[a-zA-Z0-9-./\s]*$/" readonly/>
|
||||
<!--<span class="error text-small block"
|
||||
ng-if="Form.specilization1.$dirty && Form.specilization1.$error.required">Specilization 1 is required</span>-->
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.specilization1.$dirty && Form.specilization1.$error.pattern">Invalid Specilization 1 </span>
|
||||
<!--<span class="success text-small"-->
|
||||
<!--ng-if="Form.specilization1.$valid">Thank You!</span>-->
|
||||
</div>
|
||||
<div class="col-md-4 form-group"
|
||||
ng-class="{'has-error':Form.specilization2.$dirty && Form.specilization2.$invalid}">
|
||||
<label>
|
||||
Specilization 2
|
||||
</label>
|
||||
|
||||
<input type="text" placeholder="Enter Specilization 2"
|
||||
tabindex="33" class="form-control" name="specilization2"
|
||||
ng-model="check.Specilization2" ng-pattern="/^[a-zA-Z0-9-./\s]*$/" readonly/>
|
||||
<!--<span class="error text-small block"
|
||||
ng-if="Form.specilization1.$dirty && Form.specilization1.$error.required">Specilization 1 is required</span>-->
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.specilization2.$dirty && Form.specilization2.$error.pattern">Invalid Specilization 2 </span>
|
||||
<!--<span class="success text-small"-->
|
||||
<!--ng-if="Form.specilization1.$valid">Thank You!</span>-->
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.enrollmentid.$dirty && Form.enrollmentid.$invalid}">
|
||||
<label>
|
||||
Enrollment ID
|
||||
</label>
|
||||
<input type="text" name="enrollmentid" tabindex="27" placeholder="Enter Entollment ID" class="form-control" ng-model="myModelCourseAdd.enrollmentid"
|
||||
<input type="text" name="enrollmentid" tabindex="34" placeholder="Enter Entollment ID" class="form-control" ng-model="myModelCourseAdd.enrollmentid"
|
||||
/>
|
||||
<span class="error text-small block" ng-if="Form.enrollmentid.$dirty && Form.enrollmentid.$error.required">Enrollment ID is required</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.dateofjoining.$dirty && Form.dateofjoining.$invalid, 'has-success':Form.dateofjoining.$valid}">
|
||||
<label>
|
||||
@ -718,7 +792,7 @@
|
||||
/*top: -225px !important;*/
|
||||
}
|
||||
</style>
|
||||
<input type="text" tabindex="28" class="form-control" ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myModelCourseAdd.dateofjoining"
|
||||
<input type="text" tabindex="34" class="form-control" ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myModelCourseAdd.dateofjoining"
|
||||
is-open="startOpen" ng-init="startOpen = false" name="dateofjoining" datepicker-options="dateOptions"
|
||||
placeholder="Select Date of Joining" close-text="Close" required="required" datepicker-position="top"
|
||||
max-date="todayDate"
|
||||
@ -730,11 +804,11 @@
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="pull-right">
|
||||
<button type="submit" ng-disabled="disableButton" tabindex="30" ladda="ldloading1.zoom_in" class="btn btn-wide btn-success"
|
||||
<button type="submit" ng-disabled="disableButton" tabindex="36" ladda="ldloading1.zoom_in" class="btn btn-wide btn-success"
|
||||
data-style="zoom-in">
|
||||
Submit
|
||||
</button>
|
||||
<button type="reset" tabindex="31" class="btn btn-warning btn-wide" tabindex="9" ng-click="studentFORM.reset(Form)">
|
||||
<button type="reset" tabindex="37" class="btn btn-warning btn-wide" tabindex="32" ng-click="studentFORM.reset(Form)">
|
||||
Reset
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user