Commit 2be3e512 by Dányi Bence

webui: template refactoring

parent 226ad144
...@@ -2,6 +2,12 @@ ...@@ -2,6 +2,12 @@
{% load i18n %} {% load i18n %}
{% get_current_language as LANGUAGE_CODE %} {% get_current_language as LANGUAGE_CODE %}
{% block content %}
<li class="entry {% if id == vm.id %}opened{% endif %}">
{{block.super }}
</li>
{% endblock content %}
{% block summary %} {% block summary %}
{% include "box/summary-vm.html" %} {% include "box/summary-vm.html" %}
{% endblock summary %} {% endblock summary %}
......
<li class="entry {% block entryclass %}{% endblock entryclass %}"> {% block content %}
{% block summary %}{% endblock summary %} {% block summary %}{% endblock summary %}
<div class="details"> <div class="details">
<div class="details-container"> <div class="details-container">
{% block details %}{% endblock details %} {% block details %}{% endblock details %}
</div> </div>
</div> </div>
</li> {% endblock content %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment