course details changes done

This commit is contained in:
gandhimathi 2018-01-25 17:47:05 +05:30
parent 2a0c2478b7
commit 756fd2c90f

View File

@ -158,7 +158,7 @@
<input type="text" placeholder="Enter Course ID"
tabindex="2" class="form-control" name="coursecode" ng-maxlength="20"
ng-model="myModel.courseCode" ng-pattern="/^[a-zA-Z0-9-\s]*$/" required/>
ng-model="myModel.courseCode" ng-pattern="/^[a-zA-Z0-9-]*$/" required/>
<span class="error text-small block"
ng-if="Form.coursecode.$dirty && Form.coursecode.$error.required">Course id is required</span>
<span class="error text-small block"
@ -184,6 +184,7 @@
<!--<span class="success text-small"-->
<!--ng-if="Form.stopname.$valid">Thank You!</span>-->
</div>
<!--<div class="col-md-3 form-group"
ng-class="{'has-error':Form.fees.$dirty && Form.fees.$invalid, 'has-success':Form.fees.$valid}">
<label>
@ -223,6 +224,40 @@
</div>
</div>
<div class="row">
<div class="col-md-6 form-group"
ng-class="{'has-error':Form.specilization1.$dirty && Form.specilization1.$invalid}">
<label>
Specilization 1
</label>
<input type="text" placeholder="Enter Specilization 1"
tabindex="4" class="form-control" name="specilization1"
ng-model="myModel.specilization1" ng-pattern="/^[a-zA-Z0-9-./\s]*$/"/>
<!--<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-6 form-group"
ng-class="{'has-error':Form.specilization2.$dirty && Form.specilization2.$invalid}">
<label>
Specilization 2
</label>
<input type="text" placeholder="Enter Specilization 2"
tabindex="5" class="form-control" name="specilization2"
ng-model="myModel.specilization2" ng-pattern="/^[a-zA-Z0-9-./\s]*$/"/>
<!--<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>
@ -245,7 +280,7 @@
</label>
<input type="text" placeholder="Enter Regular Fees Amt"
autofocus tabindex="5" class="form-control" name="regularFees" id="regularFees" ng-maxlength="8"
autofocus tabindex="6" class="form-control" name="regularFees" id="regularFees" ng-maxlength="8"
ng-model="myModelRegular.FeesAmount" ng-pattern="/^[0-9]*$/"/>
<span class="error text-small block"
@ -258,7 +293,7 @@
</label>
<input type="text" placeholder="Enter Lateral Fees Amt"
autofocus tabindex="5" class="form-control" name="lateralFees" id="lateralFees" ng-maxlength="8"
autofocus tabindex="7" class="form-control" name="lateralFees" id="lateralFees" ng-maxlength="8"
ng-model="myModelLateral.FeesAmount" ng-pattern="/^[0-9]*$/"/>
<span class="error text-small block"
@ -290,7 +325,7 @@
</label>
<input type="text" placeholder="Enter Sem/year"
tabindex="6" class="form-control" name="sem_year"
tabindex="8" class="form-control" name="sem_year"
ng-model="myModelSemYear.programName" ng-pattern="/^[a-zA-Z0-9-./\s]*$/"/>
<!--<span class="error text-small block"
ng-if="Form.sem_year.$dirty && Form.sem_year.$error.required">Sem/Year is required</span>-->
@ -304,7 +339,7 @@
</label>
<input type="text" placeholder="Enter Fees Amount"
autofocus tabindex="7" class="form-control" name="feesAmount" id="feesAmount" ng-maxlength="8"
autofocus tabindex="9" class="form-control" name="feesAmount" id="feesAmount" ng-maxlength="8"
ng-model="myModelSemYear.FeesAmount" ng-pattern="/^[0-9]*$/"/>
<!--<span class="error text-small block"
ng-if="Form.feesAmount.$dirty && Form.feesAmount.$invalid"
@ -363,7 +398,7 @@
</label>
<input type="text" placeholder="Enter Prov Cert Fees"
autofocus tabindex="8" class="form-control" name="provFess" id="provFess" ng-maxlength="8"
autofocus tabindex="10" class="form-control" name="provFess" id="provFess" ng-maxlength="8"
ng-model="myModel.provFess" ng-pattern="/^[0-9]*$/">
<span class="error text-small block"
ng-if="Form.provFess.$error.maxlength || Form.provFess.$error.pattern">Enter a valid amount</span>
@ -379,7 +414,7 @@
</label>
<input type="text" placeholder="Enter transfer Cert Fees"
autofocus tabindex="9" class="form-control" name="transferAmount" id="transferAmount" ng-maxlength="8"
autofocus tabindex="11" class="form-control" name="transferAmount" id="transferAmount" ng-maxlength="8"
ng-model="myModel.transferAmount" ng-pattern="/^[0-9]*$/">
<span class="error text-small block"
ng-if="Form.transferAmount.$error.maxlength || Form.transferAmount.$error.pattern">Enter a valid amount</span>
@ -394,7 +429,7 @@
</label>
<input type="text" placeholder="Enter Degree Cert Fees"
autofocus tabindex="10" class="form-control" name="degreeAmount" id="degreeAmount" ng-maxlength="8"
autofocus tabindex="12" class="form-control" name="degreeAmount" id="degreeAmount" ng-maxlength="8"
ng-model="myModel.degreeAmount" ng-pattern="/^[0-9]*$/">
<span class="error text-small block"
ng-if="Form.degreeAmount.$error.maxlength || Form.degreeAmount.$error.pattern">Enter a valid amount</span>
@ -407,7 +442,7 @@
</label>
<input type="text" placeholder="Enter Migration Cert Fees"
autofocus tabindex="11" class="form-control" name="migrationAmount" id="migrationAmount" ng-maxlength="8"
autofocus tabindex="13" class="form-control" name="migrationAmount" id="migrationAmount" ng-maxlength="8"
ng-model="myModel.migrationAmount" ng-pattern="/^[0-9]*$/">
<span class="error text-small block"
ng-if="Form.migrationAmount.$error.maxlength || Form.migrationAmount.$error.pattern">Enter a valid amount</span>
@ -422,7 +457,7 @@
</label>
<input type="text" placeholder="Enter Other Fees"
autofocus tabindex="12" class="form-control" name="otherAmount" id="otherAmount" ng-maxlength="8"
autofocus tabindex="14" class="form-control" name="otherAmount" id="otherAmount" ng-maxlength="8"
ng-model="myModel.otherAmount" ng-pattern="/^[0-9]*$/">
<span class="error text-small block"
ng-if="Form.otherAmount.$error.maxlength || Form.otherAmount.$error.pattern">Enter a valid amount</span>
@ -438,13 +473,13 @@
<div class="col-md-12">
<div class="pull-right">
<button type="submit" ladda="ldloading1.zoom_in" tabindex="13" class="btn btn-wide btn-success" data-style="zoom-in">
<button type="submit" ladda="ldloading1.zoom_in" tabindex="15" class="btn btn-wide btn-success" data-style="zoom-in">
Submit
</button>
<!-- <button type="submit" class="btn btn-success btn-o" tabindex="8">
Submit
</button>-->
<button type="reset" class="btn btn-warning btn-wide" tabindex="14" ng-click="courseForm.reset(Form);"
<button type="reset" class="btn btn-warning btn-wide" tabindex="16" ng-click="courseForm.reset(Form);"
ng-click="branchForm.reset(Form)">
Reset
</button>