Advertisement
Guest User

Untitled

a guest
Jun 29th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.63 KB | None | 0 0
  1. <div class="body-login" ng-hide="showCampi">
  2. <table class="table">
  3. <thead>
  4. <tr class="dipendenti-bar">
  5. <th ng-hide="showForm"></th>
  6. <th><b>Nome e Cognome</b></th>
  7. <th><b>Codice Fiscale</b></th>
  8. <th><b>Dominio</b></th>
  9. <th><b>Username</b></th>
  10. <th><b>Password</b></th>
  11. <th><b>Accesso WEB</b></th>
  12. <th ng-show="showForm" style="width:14%;padding-left:2%"><b>Confermi?</b></th>
  13. </tr>
  14. </thead>
  15. <tbody>
  16. <tr class="tabriga" ng-repeat="item in dati.dipendenti" ng-class="{riga: item.CHECK == '1' || item.showForm == true}" style="height:80px" ng-show="item.SEARCH">
  17. <td ng-show="item.SEARCH" ng-hide="showForm">
  18. <div class="row">
  19. <div class="col-xs-2" style="margin-top:4%">
  20. <input type="checkbox" title="Seleziona dipendente" ng-model="item.CHECK" ng-click="checksel()" ng-true-value="'1'" ng-false-value="'0'" />
  21. </div>
  22. <div class="col-xs-2" style="margin-top:4%">
  23. <img style="cursor:pointer" title="Modifica dipendente" ng-click="updDipendente(item.PROGRESSIVO);" src="assets/images/Modify.png" />
  24. </div>
  25. <div class="col-xs-2" style="margin-top:2%">
  26. <img ng-class="item.EMAILDIP == '' ? 'button-icon-dis' : 'button-icon'" ng-disabled="item.EMAILDIP==''" title="Invia Email al dipendente" ng-click="mailDipendente(item.PROGRESSIVO)" src="assets/images/mail.png" ng-hide="item.EMAILDIP == ''"/>
  27. <img ng-class="item.EMAILDIP == '' ? 'button-icon-dis' : 'button-icon'" ng-disabled="item.EMAILDIP==''" title="Invia Email al dipendente" src="assets/images/mailno.png" ng-hide="item.EMAILDIP != ''"/>
  28. </div>
  29. <div class="col-xs-2" style="margin-top:4.2%;margin-left:6%">
  30. <a href="server/stampa.aspx?cognome={{item.COGNOME}}&nome={{item.NOME}}&webuser={{item.WEBUSER}}&ldap={{item.UTENTELDAP}}&webpassword={{item.WEBPASSWORD}}&emaildip={{item.EMAILDIP}}&ente={{item.ENTE}}&dipendente={{item.PROGRESSIVO}}">
  31. <img style="cursor:pointer;height:28px;width:28px" title="Visualizza Documento" src="assets/images/acroread.png" />
  32. </a>
  33. </div>
  34. </div>
  35. </td>
  36. <td ng-show="item.SEARCH">
  37. <div ng-bind-html="item.COGNOME + ' ' + item.NOME | highlight:str_cerca"></div>
  38. <div ng-show="(item.EMAILDIP==null || item.EMAILDIP=='')" style="color:red">Utente senza indirizzo Email</div>
  39. </td>
  40. <td ng-show="item.SEARCH">
  41. <div ng-bind-html="item.CODFISC | highlight:str_cerca"></div>
  42. </td>
  43. <td ng-hide="showForm && item.showForm" ng-show="item.SEARCH">
  44. <!--<div class="row" style="margin-top:8%">-->
  45. <input type="checkbox" class="col-xs-2" style="margin-top:4%;margin-left:50%" ng-model="item.LDAP" ng-true-value="'1'" ng-false-value="'0'" disabled />
  46. <!--</div>-->
  47. </td>
  48. <td ng-show="showForm && item.showForm && item.SEARCH">
  49. <!--<div class="row" style="margin-top:5%">-->
  50. <input type="checkbox" class="col-xs-2" style="margin-top:4%;margin-left:50%" ng-model="item.LDAP" ng-click="resetLDAP()" ng-true-value="'1'" ng-false-value="'0'" />
  51. <!--</div>-->
  52. </td>
  53. <td ng-hide="showForm && item.showForm" ng-show="item.SEARCH">
  54. <div ng-hide="item.LDAP == '1'" ng-bind-html="item.WEBUSER | highlight:str_cerca"></div>
  55. <div ng-hide="item.LDAP == '0'" ng-bind-html="item.UTENTELDAP | highlight:str_cerca"></div>
  56. </td>
  57. <td ng-show="showForm && item.showForm && item.SEARCH">
  58. <input ng-model="item.UTENTELDAP" ng-show="item.LDAP == '1'" style="width:90px"/>
  59. <div ng-hide="item.LDAP == '1'">{{item.WEBUSER}}</div>
  60. </td>
  61. <td ng-hide="(showForm && item.showForm) || item.LDAP=='1' || item.SEARCH == false" >
  62.  
  63. </td>
  64. <td ng-show="showForm && item.showForm && item.SEARCH && item.LDAP=='0'">
  65. <input ng-model="item.WEBPASSWORD" style="width:90px"/>
  66. </td>
  67. <td ng-hide="item.LDAP=='0' || item.SEARCH == false"/>
  68. <td ng-hide="showForm && item.showForm" ng-show="item.SEARCH">
  69. <input type="checkbox" ng-model="item.WEBACCESS" ng-true-value="'1'" ng-false-value="'0'" disabled style="margin-left:25%"/>
  70. </td>
  71. <td ng-show="showForm && item.showForm && item.SEARCH">
  72. <input type="checkbox" ng-model="item.WEBACCESS" ng-true-value="'1'" ng-false-value="'0'" style="margin-left:25%"/>
  73. </td>
  74. <td ng-show="showForm && item.showForm && item.SEARCH" style="padding-right:3.5%">
  75. <div class="row">
  76. <div class="col-xs-1" style="padding:0">
  77. <img src="assets/images/check.png" class="img-rounded button-icon" ng-click="ok()" />
  78. </div>
  79. <div class="col-xs-1 col-xs-offset-6" style="padding:0">
  80. <img src="assets/images/cancella.png" class="img-rounded button-icon" ng-click="annulla()" />
  81. </div>
  82. </div>
  83. </td>
  84. </tr>
  85. </tbody>
  86. </table>
  87. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement