ITSM/templates/cmdb_list.html

23 lines
877 B
HTML
Executable File

{% extends "base.html" %}
{% block content %}
<h1 class="page-title">CMDB — Configuration Items</h1>
<div class="tabs">
{% for t in tabs %}<a href="{{ t.href }}" class="{% if t.active %}active{% endif %}">{{ t.label }}</a>{% endfor %}
</div>
<table class="tickets">
<thead><tr><th>Name</th><th>Typ</th><th>Status</th><th>Beschreibung</th></tr></thead>
<tbody>
{% for c in rows %}
<tr class="row" data-href="/assets/{{ c.id }}">
<td><b>{{ c.name }}</b></td>
<td>{{ c.typ }}</td>
<td><span class="pill {{ c.status_class }}">{{ c.status }}</span></td>
<td class="sz">{{ c.beschreibung }}</td>
</tr>
{% endfor %}
{% if rows.is_empty() %}<tr><td colspan="4" class="sz">Keine Configuration Items.</td></tr>{% endif %}
</tbody>
</table>
<div style="margin-top:14px"><a class="btn" href="/assets/new">+ Neues CI</a></div>
{% endblock %}