nixin-farm/nixin_farm/assets/views/server/list.html

28 lines
671 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% block title %}
List of server
{% endblock title %}
{% block content %}
<h1>server</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>{{"domain" | capitalize }}:</b> {{item.domain}}</label>
</div>
<a href="/servers/{{ item.id }}/edit">Edit</a>
<a href="/servers/{{ item.id }}">View</a>
</div>
{% endfor %}
<br />
<br />
<a href="/servers/new">New server</a>
</div>
{% endblock content %}