<table class="table table-hover">
	<thead class="thead-dark">
		<tr>
			<th scope="col">Site</th>
			<th scope="col">Localisation</th>
			<th scope="col">Application</th>
			<th scope="col">Nom NETBIOS / Alias</th>
			<th scope="col">Adresse IP</th>
			<th scope="col">Commentaires</th>
			<th scope="col">Outils</th>
		</tr>
	</thead>
	<tbody>
		{% for item in data_query %}
			{% if item.PIS_Archive == True %}
				<tr class="table-danger">
			{% else%}
				<tr>
			{% endif %}
				<td>{% if item.PIS_Site != none %}{{item.PIS_Site}}{% else %}&nbsp;{% endif %}</td>
				<td>{% if item.PIS_Localisation != none %}{{item.PIS_Localisation}}{% else %}&nbsp;{% endif %}</td>
				<td>{% if item.PIS_Role != none %}{{item.PIS_Role}}{% else %}&nbsp;{% endif %}</td>
				<td>
					{% if item.PIS_with_Snow == True %}<i class="fas fa-snowflake" title="[SYNC with Snow]"></i>{% endif %}
					{% if item.PIS_Type == "MACHINE PHYSIQUE" or item.PIS_Type == "IBM" or item.PIS_Type == "HP"%}
						<i class="fas fa-server" title="MACHINE PHYSIQUE"></i>
					{% elif item.PIS_Type == "MACHINE VIRTUELLE" %}
						<i class="fas fa-cloud" title="MACHINE VIRTUELLE"></i>
					{% elif item.PIS_Type == "BAIE DE DISQUE" %}
						<i class="fas fa-digital-tachograph" title="BAIE DE DISQUE"></i>
					{% elif item.PIS_Type == "KVM" %}
						<i class="fas fa-external-link-square-alt" title="KVM - ILO - RSA"></i>
					{% elif item.PIS_Type == "VIP" %}
						<i class="fas fa-share-square" title="IP Sup / Virtual IP"></i>
					{% endif %}
					{{item.PIS_Nom_netbios}}{% if item.PIS_Friendly_Name != none %}/ {{item.PIS_Friendly_Name}}{% endif %}</td>
				<td>{% if item.PIS_Adresse_IP != none %}{{item.PIS_Adresse_IP}}{% else %}&nbsp;{% endif %}</td>
				<td>{% if item.PIS_Commentaires != none %}{{item.PIS_Commentaires}}{% else %}&nbsp;{% endif %}</td>
				<td onmouseover="this.style.cursor='pointer';">
					{% if item.PIS_with_Web is True %}<a href="http://{{item.PIS_Adresse_IP}}" class="text-reset" target="_blank" title="[Web]"><i class="fas fa-external-link-alt"></i></a>&nbsp;{% endif %}
					<i class="fas fa-search-plus" onclick="bt_get_srv_info({{item.id}})"></i> 
					<i class="far fa-edit" onclick="bt_edit_srv_info({{item.id}})" ></i>
				</td>
			</tr>
		{% endfor %}
	</tbody>
</table>