nixin-farm/nixin_farm_ssr/assets/views/service/list.html

30 lines
824 B
HTML

{% extends "base.html" %}
{% block title %}
List of service
{% endblock title %}
{% block content %}
<h1>service</h1>
<div class="mb-10">
{% for item in items %}
<div class="mb-5">
<div>
<label><b>{{"name" | capitalize }}:</b> {{item.name}}</label>
</div>
<div>
<label><b>{{"description" | capitalize }}:</b> {{item.description}}</label>
</div>
<div>
<label><b>{{"configuration" | capitalize }}:</b> {{item.configuration}}</label>
</div>
<a href="/services/{{ item.id }}/edit">Edit</a>
<a href="/services/{{ item.id }}">View</a>
</div>
{% endfor %}
<br />
<br />
<a href="/services/new">New service</a>
</div>
{% endblock content %}