Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="body-login" ng-hide="showCampi">
- <table class="table">
- <thead>
- <tr class="dipendenti-bar">
- <th ng-hide="showForm"></th>
- <th><b>Nome e Cognome</b></th>
- <th><b>Codice Fiscale</b></th>
- <th><b>Dominio</b></th>
- <th><b>Username</b></th>
- <th><b>Password</b></th>
- <th><b>Accesso WEB</b></th>
- <th ng-show="showForm" style="width:14%;padding-left:2%"><b>Confermi?</b></th>
- </tr>
- </thead>
- <tbody>
- <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">
- <td ng-show="item.SEARCH" ng-hide="showForm">
- <div class="row">
- <div class="col-xs-2" style="margin-top:4%">
- <input type="checkbox" title="Seleziona dipendente" ng-model="item.CHECK" ng-click="checksel()" ng-true-value="'1'" ng-false-value="'0'" />
- </div>
- <div class="col-xs-2" style="margin-top:4%">
- <img style="cursor:pointer" title="Modifica dipendente" ng-click="updDipendente(item.PROGRESSIVO);" src="assets/images/Modify.png" />
- </div>
- <div class="col-xs-2" style="margin-top:2%">
- <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 == ''"/>
- <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 != ''"/>
- </div>
- <div class="col-xs-2" style="margin-top:4.2%;margin-left:6%">
- <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}}">
- <img style="cursor:pointer;height:28px;width:28px" title="Visualizza Documento" src="assets/images/acroread.png" />
- </a>
- </div>
- </div>
- </td>
- <td ng-show="item.SEARCH">
- <div ng-bind-html="item.COGNOME + ' ' + item.NOME | highlight:str_cerca"></div>
- <div ng-show="(item.EMAILDIP==null || item.EMAILDIP=='')" style="color:red">Utente senza indirizzo Email</div>
- </td>
- <td ng-show="item.SEARCH">
- <div ng-bind-html="item.CODFISC | highlight:str_cerca"></div>
- </td>
- <td ng-hide="showForm && item.showForm" ng-show="item.SEARCH">
- <!--<div class="row" style="margin-top:8%">-->
- <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 />
- <!--</div>-->
- </td>
- <td ng-show="showForm && item.showForm && item.SEARCH">
- <!--<div class="row" style="margin-top:5%">-->
- <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'" />
- <!--</div>-->
- </td>
- <td ng-hide="showForm && item.showForm" ng-show="item.SEARCH">
- <div ng-hide="item.LDAP == '1'" ng-bind-html="item.WEBUSER | highlight:str_cerca"></div>
- <div ng-hide="item.LDAP == '0'" ng-bind-html="item.UTENTELDAP | highlight:str_cerca"></div>
- </td>
- <td ng-show="showForm && item.showForm && item.SEARCH">
- <input ng-model="item.UTENTELDAP" ng-show="item.LDAP == '1'" style="width:90px"/>
- <div ng-hide="item.LDAP == '1'">{{item.WEBUSER}}</div>
- </td>
- <td ng-hide="(showForm && item.showForm) || item.LDAP=='1' || item.SEARCH == false" >
- </td>
- <td ng-show="showForm && item.showForm && item.SEARCH && item.LDAP=='0'">
- <input ng-model="item.WEBPASSWORD" style="width:90px"/>
- </td>
- <td ng-hide="item.LDAP=='0' || item.SEARCH == false"/>
- <td ng-hide="showForm && item.showForm" ng-show="item.SEARCH">
- <input type="checkbox" ng-model="item.WEBACCESS" ng-true-value="'1'" ng-false-value="'0'" disabled style="margin-left:25%"/>
- </td>
- <td ng-show="showForm && item.showForm && item.SEARCH">
- <input type="checkbox" ng-model="item.WEBACCESS" ng-true-value="'1'" ng-false-value="'0'" style="margin-left:25%"/>
- </td>
- <td ng-show="showForm && item.showForm && item.SEARCH" style="padding-right:3.5%">
- <div class="row">
- <div class="col-xs-1" style="padding:0">
- <img src="assets/images/check.png" class="img-rounded button-icon" ng-click="ok()" />
- </div>
- <div class="col-xs-1 col-xs-offset-6" style="padding:0">
- <img src="assets/images/cancella.png" class="img-rounded button-icon" ng-click="annulla()" />
- </div>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement