Blame view
app/partials/viewcontact/viewcontact.html
10.4 KB
8f7dbe97c
![]() |
1 2 3 4 5 |
<style type="text/css"> .toggle.btn{ width: 140px !important; } </style> |
67c7d62d3
![]() |
6 7 8 |
<div class="myLoader" ng-show="showLoader"> <img src="../img/hourglass.gif" width="50px;"> </div> |
3cab9e8a3
|
9 10 11 12 13 14 15 16 17 18 19 |
<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
![]() |
20 21 22 23 24 25 26 27 28 29 |
<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
|
30 31 32 33 34 |
<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> |
da24c95c8
![]() |
35 36 |
<h3 style="margin-right: 0px;">Contact Detail</h3> <i class="fa fa-trash-o deleteTierIcon" ng-click="deleteContact(contactDetail.id)" style="color: white;" aria-hidden="true"></i> |
74c8ae4bb
|
37 |
<div class="pull-right" style="margin-top: 5px; margin-right: 10px;"> |
8f7dbe97c
![]() |
38 |
<toggle ng-model="contactDetail.priceEmail" style="width: 140px;" ng-change="changePriceEmail(contactDetail.id)" size="customToogle" on="PRICE EMAIL ON" off="PRICE EMAIL OFF"></toggle> |
3cab9e8a3
|
39 |
</div> |
74c8ae4bb
|
40 |
|
3cab9e8a3
|
41 42 43 44 45 |
</div> <div class="widget-content"> <div class="row" style="margin-left:0px"> <div class="col-md-6" style="padding-left: 0px;"> <h3> |
9fabc0d40
![]() |
46 |
<b ng-show="editName" style="color:#F90;">{{contactDetail.firstName}} {{contactDetail.lastName}}</b> |
67c7d62d3
![]() |
47 48 |
<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
![]() |
49 |
<i class="fa fa-pencil-square-o" ng-show="editName" ng-click="nameEdit()" style="font-size: 11px;" aria-hidden="true"></i> |
3cab9e8a3
|
50 51 52 53 54 55 |
</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
![]() |
56 |
<input id="login-username" type="text" ng-model="contactDetail.userName" class="form-control email-password" placeholder="username or email"> |
3cab9e8a3
|
57 58 59 60 61 62 63 64 65 |
</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
![]() |
66 67 68 69 70 |
<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
![]() |
71 |
<input type="text" ng-hide="editAddress" style="width: 50%;" class="form-control" ng-model="contactDetail.address"> |
9fabc0d40
![]() |
72 73 74 75 |
</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
![]() |
76 |
<input type="text" style="width: 50%;" ng-model="contactDetail.mobilePhone" class="form-control"> |
9fabc0d40
![]() |
77 78 79 80 |
</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
![]() |
81 |
<input type="text" style="width: 50%;" ng-model="contactDetail.workPhone" class="form-control"> |
9fabc0d40
![]() |
82 83 84 85 |
</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
![]() |
86 |
<input type="email" style="width: 50%;" ng-model="contactDetail.email" class="form-control"> |
9fabc0d40
![]() |
87 |
</p> |
1c12f1ead
|
88 |
<div> |
9642a0a91
|
89 |
<input type="checkbox" ng-checked="contactDetail.primaryContact" ng-click="checkPrimaryContact(contactDetail.owner.id)" ng-model="contactDetail.primaryContact"> |
1c12f1ead
|
90 91 |
<span>Primary Contact </span> </div> |
3cab9e8a3
|
92 93 94 |
</div> </br> <div> |
9fabc0d40
![]() |
95 96 97 |
<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
![]() |
98 |
<textarea ng-model="contactDetail.note" class="form-control" style="resize: vertical;"></textarea> |
9fabc0d40
![]() |
99 100 |
</p> |
67c7d62d3
![]() |
101 102 |
<div> <button ng-click="updateContact(contactDetail)" ng-show="showUpdateBtn" class="btn btn-success pull-left">Update Contact</button> |
7152ff131
|
103 |
<button ng-click="cancelContact()" style="margin-left: 5px;" ng-show="showUpdateBtn" class="btn btn-default pull-left">Cancel</button> |
67c7d62d3
![]() |
104 105 106 |
<button type="button" class="btn btn-primary pull-right">Send Price to This Contacts</button> <div class="clearfix"></div> </div> |
3cab9e8a3
|
107 108 109 110 111 112 113 114 115 116 117 118 |
</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
|
119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 |
</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> |
da24c95c8
![]() |
140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 |
</div> <div class="customConfirmPopBackdrop" id="toogleMail"> <div class="customModalInner" style="max-width: 400px;"> <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> <table> <tr> <!-- <td> <img src="" style="width: 50px;"> </td> --> <td> <p style="padding: 5px 10px; margin-bottom: 0;text-align: center;">{{messageText}}</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="cancelToogle()">Cancel</button> </div> </div> </div> <div class="customConfirmPopBackdrop" id="delete2"> <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;">Please confirm! Are you sure you want to DELETE this 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="contactDelete()">Accept</button> <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelDelete()">Cancel</button> </div> </div> |
3cab9e8a3
|
181 |
</div> |