|
@@ -1,13 +1,14 @@
|
|
|
{% load cycle from future %}
|
|
|
+ {% load staticfiles %}
|
|
|
{% load add_get_parameter %}
|
|
|
{% for state in states %}
|
|
|
{% cycle 'Odd' 'Even' as OddEven silent %}
|
|
|
<tr>
|
|
|
<td width="10%" class="status{{OddEven}}">
|
|
|
<input type="checkbox" name="stateIDs" value="{{ state.id }}" >
|
|
|
- {% if not state.read %}<a href="{% url "state_modify" %}{% add_get action="read" stateID=state.id %}"><img src="{{ STATIC_URL }}images/dropline/mark.png" width=22 height=22 border="0" title="Mark as read"></a>{% else %}<img src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" width=22 height=22>{% endif %}
|
|
|
- <a href="{% url "state_modify" %}{% add_get action="delete" stateID=state.id %}"><img src="{{ STATIC_URL }}images/dropline/delete.png" width=22 height=22 border="0" title="Delete"></a>
|
|
|
- <!-- FIXME:#46 <a href="{% url "state_modify" %}{% add_get action="archive" stateID=state.id %}"><img src="{{ STATIC_URL }}images/dropline/archive.png" width=22 height=22 border="0" title="Archive"></a> -->
|
|
|
+ {% if not state.read %}<a href="{% url "state_modify" %}{% add_get action="read" stateID=state.id %}"><img src="{% static "images/dropline/mark.png" %}" width=22 height=22 border="0" title="Mark as read"></a>{% else %}<img src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" width=22 height=22>{% endif %}
|
|
|
+ <a href="{% url "state_modify" %}{% add_get action="delete" stateID=state.id %}"><img src="{% static "images/dropline/delete.png" %}" width=22 height=22 border="0" title="Delete"></a>
|
|
|
+ <!-- FIXME:#46 <a href="{% url "state_modify" %}{% add_get action="archive" stateID=state.id %}"><img src="{% static "images/dropline/archive.png" %}" width=22 height=22 border="0" title="Archive"></a> -->
|
|
|
</td>
|
|
|
<td width="15%" class="status{{OddEven}}"><span><a href="{% url "state_index" %}{% add_get hostname=state.hostname %}">{{ state.hostname }}</a><br />{{ state.agentip }}</span></td>
|
|
|
<td width="10%" class="status{{OddEven}}"><span{% if state.read %} style="text-decoration: line-through;"{% endif %}>{{ state.state.name }}</span></td>
|