Blame view
app/partials/viewcontact/viewcontact.html
8.58 KB
67c7d62d3
![]() |
1 2 3 |
<div class="myLoader" ng-show="showLoader"> <img src="../img/hourglass.gif" width="50px;"> </div> |
3cab9e8a3
|
4 5 6 7 8 9 10 11 12 13 14 |
<div class="container"> <div class="row"> <div class="col-md-10" style="padding-right: 60px; margin-bottom: 30px;"> <div class="widget"> <div class="widget-header"> <i class="icon-pencil"></i> <i class="fa fa-building-o" aria-hidden="true"></i> <h3>Antioch Flight Department</h3> </div> <div class="widget-content" style="padding-left: 0; padding-right: 0; "> <div class="container"> |
9fabc0d40
![]() |
15 16 17 18 19 20 21 22 23 24 |
<div style="margin-bottom: 25px;"> <button ng-disabled="disablePrev" class="newButtons" ng-click="prevContact()"> <i class="fa fa-long-arrow-left" aria-hidden="true"></i> Previous Contact </button> <button ng-disabled="disableNext" class="newButtons" ng-click="nextContact()"> Next Contact <i class="fa fa-long-arrow-right" aria-hidden="true"></i> </button> </div> |
3cab9e8a3
|
25 26 27 28 29 30 |
<div class="row"> <div class="col-md-6" style="margin-left: 20px;"> <div class="widget stacked"> <div class="widget-header"> <i class="fa fa-building-o" aria-hidden="true"></i> <h3>Contact Detail</h3> |
74c8ae4bb
|
31 32 |
<div class="pull-right" style="margin-top: 5px; margin-right: 10px;"> <toggle ng-model="contactDetail.priceEmail" ng-change="changePriceEmail(contactDetail.id)" size="customToogle" on="PRICE EMAIL ON" off="PRICE EMAIL OFF"></toggle> |
3cab9e8a3
|
33 |
</div> |
74c8ae4bb
|
34 |
|
3cab9e8a3
|
35 36 37 38 39 |
</div> <div class="widget-content"> <div class="row" style="margin-left:0px"> <div class="col-md-6" style="padding-left: 0px;"> <h3> |
9fabc0d40
![]() |
40 |
<b ng-show="editName" style="color:#F90;">{{contactDetail.firstName}} {{contactDetail.lastName}}</b> |
67c7d62d3
![]() |
41 42 |
<input type="text" ng-hide="editName" class="form-control" style="width: 49%; float: left; margin-right: 1%;" ng-model="contactDetail.firstName"> <input type="text" ng-hide="editName" class="form-control" style="width: 49%;" ng-model="contactDetail.lastName"> |
9fabc0d40
![]() |
43 |
<i class="fa fa-pencil-square-o" ng-show="editName" ng-click="nameEdit()" style="font-size: 11px;" aria-hidden="true"></i> |
3cab9e8a3
|
44 45 46 47 48 49 |
</h3> {{contactDetail.owner.companyName}} </div> <div class="col-md-6"> <div style="margin-bottom: 10px" class="input-group email-password"> <span class="input-group-addon email-password"><i class="glyphicon glyphicon-user email-password-icon"></i></span> |
67c7d62d3
![]() |
50 |
<input id="login-username" type="text" ng-model="contactDetail.userName" class="form-control email-password" placeholder="username or email"> |
3cab9e8a3
|
51 52 53 54 55 56 57 58 59 |
</div> <!-- <div class="input-group email-password"> <span class="input-group-addon email-password"><i class="fa fa-key" aria-hidden="true"></i></span> <input id="login-password" type="password" class="form-control email-password" name="password" placeholder="password"> </div> --> </div> </div> <div> |
9fabc0d40
![]() |
60 61 62 63 64 |
<p> <span ng-show="editAddress"> <i class="fa fa-map-marker"></i> {{contactDetail.address}} <i class="fa fa-pencil-square-o" ng-click="addressEdit()" style="font-size: 11px;" aria-hidden="true"></i> </span> |
67c7d62d3
![]() |
65 |
<input type="text" ng-hide="editAddress" style="width: 50%;" class="form-control" ng-model="contactDetail.address"> |
9fabc0d40
![]() |
66 67 68 69 |
</p> <p ng-show="editPhone"><i class="fa fa-phone"></i> {{contactDetail.mobilePhone}} <i class="fa fa-pencil-square-o" ng-click="phoneEdit()" style="font-size: 11px;" aria-hidden="true"></i></p> <p ng-hide="editPhone"> |
67c7d62d3
![]() |
70 |
<input type="text" style="width: 50%;" ng-model="contactDetail.mobilePhone" class="form-control"> |
9fabc0d40
![]() |
71 72 73 74 |
</p> <p ng-show="editMobile"><i class="fa fa-mobile"></i> {{contactDetail.workPhone}} <i class="fa fa-pencil-square-o" ng-click="mobileEdit()" style="font-size: 11px;" aria-hidden="true"></i></p> <p ng-hide="editMobile"> |
67c7d62d3
![]() |
75 |
<input type="text" style="width: 50%;" ng-model="contactDetail.workPhone" class="form-control"> |
9fabc0d40
![]() |
76 77 78 79 |
</p> <p ng-show="editEmail"><i class="fa fa-envelope"></i> {{contactDetail.email}} <i class="fa fa-pencil-square-o" ng-click="emailEdit()" style="font-size: 11px;" aria-hidden="true"></i></p> <p ng-hide="editEmail"> |
67c7d62d3
![]() |
80 |
<input type="email" style="width: 50%;" ng-model="contactDetail.email" class="form-control"> |
9fabc0d40
![]() |
81 |
</p> |
1c12f1ead
|
82 |
<div> |
9642a0a91
|
83 |
<input type="checkbox" ng-checked="contactDetail.primaryContact" ng-click="checkPrimaryContact(contactDetail.owner.id)" ng-model="contactDetail.primaryContact"> |
1c12f1ead
|
84 85 |
<span>Primary Contact </span> </div> |
3cab9e8a3
|
86 87 88 |
</div> </br> <div> |
9fabc0d40
![]() |
89 90 91 |
<p><b>Contact Notes</b> <i ng-show="editContactNotes" class="fa fa-pencil-square-o" ng-click="notesEdit()" style="font-size: 11px;" aria-hidden="true"></i> <p ng-show="editContactNotes">{{contactDetail.note}}</p> <p ng-hide="editContactNotes"> |
67c7d62d3
![]() |
92 |
<textarea ng-model="contactDetail.note" class="form-control" style="resize: vertical;"></textarea> |
9fabc0d40
![]() |
93 94 |
</p> |
67c7d62d3
![]() |
95 96 |
<div> <button ng-click="updateContact(contactDetail)" ng-show="showUpdateBtn" class="btn btn-success pull-left">Update Contact</button> |
7152ff131
|
97 |
<button ng-click="cancelContact()" style="margin-left: 5px;" ng-show="showUpdateBtn" class="btn btn-default pull-left">Cancel</button> |
67c7d62d3
![]() |
98 99 100 |
<button type="button" class="btn btn-primary pull-right">Send Price to This Contacts</button> <div class="clearfix"></div> </div> |
3cab9e8a3
|
101 102 103 104 105 106 107 108 109 110 111 112 |
</div> <!-- <div class="col-md-6"> <button type="button" class="btn btn-primary">Send Price to This Contacts</button> </div> --> </div> </div> </div> </div> </div> </div> </div> </div> |
1c12f1ead
|
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
</div> <div class="customConfirmPopBackdrop" id="primaryContact"> <div class="customModalInner" style="max-width: 400px;"> <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> <table> <tr> <td> <img src="img/info.png" style="width: 50px;"> </td> <td> <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure you want to set this person as your primary contact?</p> </td> </tr> </table> </div> <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="sendPrimaryContact(contactDetail.id)">Yes</button> <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelPrimaryContact()">Cancel</button> </div> </div> |
3cab9e8a3
|
134 |
</div> |