<table class="table table-hover">
	<thead class="thead-dark">
		<tr>
			<th scope="col">&nbsp;</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">&nbsp;</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_L_Site != none %}{{item.get_PIC_L_Site_display}}{% else %}&nbsp;{% endif %}</td>
				<td>{% if item.PIC_L_Service != none %}{{item.PIC_L_Service}}{% else %}&nbsp;{% 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 %}&nbsp;{% endif %}</td>
				<td>{% if item.PIC_Marque != none or item.PIC_Type != none%}{{item.PIC_Marque}}<br>{{item.PIC_Type}}{% else %}&nbsp;{% endif %}</td>
				<td>{% if item.PIC_Adresse_IP != none %}{{item.PIC_Adresse_IP}}{% else %}&nbsp;{% endif %}</td>
				<td>{% if item.PIC_SN != none %}{{item.PIC_SN}}{% else %}&nbsp;{% endif %}{% if item.PIC_SN != none and  item.PIC_Precisions != none%}<br>{% endif %}{% if item.PIC_Precisions != none %}{{item.PIC_Precisions}}{% else %}&nbsp;{% endif %}</td>
				<td>{% if item.PIC_Commentaires != none %}{{item.PIC_Commentaires}}{% else %}&nbsp;{% 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>&nbsp;{% endif %}
					<i class="fas fa-search-plus" onclick="bt_get_user_info({{item.id}})" title="[Détail]"></i>&nbsp;
					<i class="far fa-edit" onclick="bt_edit_user_info({{item.id}})" title="[Modifier]"></i>&nbsp;
					<i class="fas fa-tasks" onclick="bt_edit_user_statut({{item.id}})" title="[Option supplémentaire]"></i>&nbsp;
				</td>
			</tr>
		{% endfor %}
	</tbody>
</table>