12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <table class="table table-hover">
- <thead class="thead-dark">
- <tr>
- <th scope="col"> </th>
- <th scope="col">Site</th>
- <th scope="col" >Service</th>
- <th scope="col" >Nom NETBIOS</th>
- <th scope="col" >Marque et Modèle</th>
- <th scope="col">Adresse IP</th>
- <th scope="col">Numéro de série</th>
- <th scope="col">Commentaires</th>
- <th scope="col"> </th>
- </tr>
- </thead>
- <tbody>
- {% for item in data_query %}
- {% if item.PIC_L_Statut == "PREPROD" %}
- <tr class="table-success">
- {% elif item.PIC_L_Statut == "EN STOCK" %}
- <tr class="table-info">
- {% elif item.PIC_L_Statut == "HS" %}
- <tr class="table-warning">
- {% elif item.PIC_L_Statut == "ADEPROD" %}
- <tr class="table-danger">
- {% else%}
- <tr>
- {% endif %}
- <td><i class="fas fa-print" title="[IMP]"></i></td>
- <td>{% if item.PIC_Site != none %}{{item.PIC_Site}}{% else %} {% endif %}</td>
- <td>{% if item.PIC_Service != none %}{{item.PIC_Service}}{% else %} {% endif %}</td>
- <td>{% if item.PIC_Nom_netbios != none %}<span onmouseover="this.style.cursor='pointer';" onclick="bt_get_user_info({{item.id}})">{{item.PIC_Nom_netbios}}</span>{% else %} {% endif %}</td>
- <td>{% if item.PIC_Marque != none or item.PIC_Type != none%}{{item.PIC_Marque}}<br>{{item.PIC_Type}}{% else %} {% endif %}</td>
- <td>{% if item.PIC_Adresse_IP != none %}{{item.PIC_Adresse_IP}}{% else %} {% endif %}</td>
- <td>{% if item.PIC_SN != none %}{{item.PIC_SN}}{% else %} {% endif %}{% if item.PIC_SN != none and item.PIC_Precisions != none%}<br>{% endif %}{% if item.PIC_Precisions != none %}{{item.PIC_Precisions}}{% else %} {% endif %}</td>
- <td>{% if item.PIC_Commentaires != none %}{{item.PIC_Commentaires}}{% else %} {% endif %}</td>
- <td onmouseover="this.style.cursor='pointer';">
- {% if item.PIC_L_Chassi_Type == "IMP" and item.PIC_Adresse_IP != none %}<a href="http://{{item.PIC_Adresse_IP}}" class="text-reset" target="_blank" title="[Web admin]"><i class="fas fa-external-link-alt"></i></a> {% endif %}
- <i class="fas fa-search-plus" onclick="bt_get_user_info({{item.id}})" title="[Détail]"></i>
- <i class="fas fa-history" onclick="bt_get_user_hist({{item.id}})" title="[Historique]"></i>
- <i class="far fa-edit" onclick="bt_edit_user_info({{item.id}})" title="[Modifier]"></i>
- <i class="fas fa-tasks" onclick="bt_edit_user_statut({{item.id}})" title="[Option supplémentaire]"></i>
- </td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
|