+ {% if mirror.state == "UP" %}
+ <td style="background-color: green;">
+
+ </td>
+ {% elif mirror.state == "DOWN" %}
+ <td style="background-color: red;">
+
+ </td>
+ {% elif mirror.state == "OUTOFSYNC" %}
+ <td style="background-color: yellow;">
+
+ </td>
+ {% else %}
+ <td style="background-color: grey;">
+
+ </td>
+ {% end %}
+ <td>