course details changes done
This commit is contained in:
parent
8fb19da9be
commit
20c0b2648e
@ -9,6 +9,33 @@
|
|||||||
|
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
<div data-ng-controller="DatepickerDemoCtrl">
|
||||||
|
<div class="col-md-4 form-group"
|
||||||
|
ng-class="{'has-error':Form.date.$dirty && Form.date.$invalid, 'has-success':Form.date.$valid}">
|
||||||
|
<label>
|
||||||
|
Session Date <span
|
||||||
|
class="symbol required"></span>
|
||||||
|
</label>
|
||||||
|
<input type="text" tabindex="1"
|
||||||
|
class="form-control "
|
||||||
|
ng-click="startOpen = !startOpen"
|
||||||
|
datepicker-popup="dd-MM-yyyy"
|
||||||
|
ng-model="p.SessionDate"
|
||||||
|
is-open="startOpen"
|
||||||
|
ng-init="startOpen = false"
|
||||||
|
name="date"
|
||||||
|
datepicker-options="dateOptions"
|
||||||
|
placeholder="Select Date"
|
||||||
|
close-text="Close" ng-change="getDateFormat(p.SessionDate,'2');" required="required" ng-readonly="true"/>
|
||||||
|
<span class="error text-small block"
|
||||||
|
ng-if="Form.date.$dirty && Form.date.$error.required">Session date is required.</span>
|
||||||
|
<!--<span class="success text-small block"-->
|
||||||
|
<!--ng-if="Form.date.$valid ">Thank You</span>-->
|
||||||
|
</div>
|
||||||
|
<input class="ng-hide" type="text" name="editDate"
|
||||||
|
ng-model="editModel.editDate">
|
||||||
|
|
||||||
|
</div>
|
||||||
<div class="col-md-4 form-group"
|
<div class="col-md-4 form-group"
|
||||||
ng-class="{'has-error':Form.sessionName.$dirty && Form.sessionName.$invalid, 'has-success':Form.sessionName.$valid}">
|
ng-class="{'has-error':Form.sessionName.$dirty && Form.sessionName.$invalid, 'has-success':Form.sessionName.$valid}">
|
||||||
<label>
|
<label>
|
||||||
@ -17,7 +44,7 @@
|
|||||||
|
|
||||||
<input type="text" placeholder="Enter Session Name"
|
<input type="text" placeholder="Enter Session Name"
|
||||||
tabindex="2" class="form-control" name="sessionName" id="sessionName"
|
tabindex="2" class="form-control" name="sessionName" id="sessionName"
|
||||||
ng-model="p.SessionName" ng-pattern="" required/>
|
ng-model="editModel.editSessionName" ng-pattern="" required/>
|
||||||
<span class="error text-small block"
|
<span class="error text-small block"
|
||||||
ng-if="Form.sessionName.$dirty && Form.sessionName.$error.required">Session name is required</span>
|
ng-if="Form.sessionName.$dirty && Form.sessionName.$error.required">Session name is required</span>
|
||||||
<span class="error text-small block"
|
<span class="error text-small block"
|
||||||
@ -53,6 +80,10 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<label>
|
<label>
|
||||||
Active/De-Active
|
Active/De-Active
|
||||||
@ -68,18 +99,17 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
<button type="submit" ladda="ldloading3.zoom_in" tabindex="5" class="btn btn-wide btn-success" data-style="zoom-in" ng-click="updateSession(p,viewUniversity,Form,'zoom-in')">
|
<button type="submit" ladda="ldloading3.zoom_in" tabindex="4" class="btn btn-wide btn-success" data-style="zoom-in" ng-click="updateSession(p,viewUniversity,Form,'zoom-in',editModel)">
|
||||||
Save
|
Save
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<input type="button" class="btn btn-warning btn-wide" tabindex="6" value="Cancel" ng-click="cancel();">
|
<input type="button" class="btn btn-warning btn-wide" tabindex="5" value="Cancel" ng-click="cancel();">
|
||||||
|
|
||||||
</input>
|
</input>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user