[fix] title (network id) is now only when hovering machine name (not whole card)

This commit is contained in:
xdrm-brackets 2017-07-23 02:34:51 +02:00
parent 4ad3aa3735
commit 8a27539a7f
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
<input type='text' class='searchbar' placeholder='Recherche'> <input type='text' class='searchbar' placeholder='Recherche'>
{% for machine in f_machines() %} {% for machine in f_machines() %}
<article class='inline-box' id='{{ machine.id_machine }}' title='{{ machine.ap | default('?') }} ({{ machine.ip | default('?') }})'> <article class='inline-box' id='{{ machine.id_machine }}'>
<span class='state' data-state='{{ f_getstate(machine.id_machine) }}'></span> <span class='state' data-state='{{ f_getstate(machine.id_machine) }}'></span>
<span class='title' style='color: {{ p_theme }}'>{{ machine.name }} <span>#{{ machine.name }}</span></span> <span class='title' style='color: {{ p_theme }}' title='{{ machine.ap | default('?') }} ({{ machine.ip | default('?') }})'>{{ machine.name }} <span>#{{ machine.name }}</span></span>
<span class='link_remove' data-machine='{{ machine.id_machine }}'>{{ p_icon.remove | raw }}</span> <span class='link_remove' data-machine='{{ machine.id_machine }}'>{{ p_icon.remove | raw }}</span>
<span class='link_edit' data-machine='{{ machine.id_machine }}'>{{ p_icon.edit | raw }}</span> <span class='link_edit' data-machine='{{ machine.id_machine }}'>{{ p_icon.edit | raw }}</span>