{% extends 'lara_django_base/lara_base.html' %}

{% block title %}Process-Overview{% endblock %}

{% block top %}
<h1> LARA Processes</h1>
<p>
  <button onclick="window.location.href = 'http://localhost:8000/processes/generator/';">Process Generator</button>
</p>
{% endblock %}

{% block main_content %}
{% if lara_process_list %}
<ul>
  {% for item in lara_process_list %}
  <li><a href="{% url 'lara_processes:device_details' item.device_id %}" title={{ item.device.name }}> {{ item.name }}
      {{ item.full_name }} </a> </li>
  {% endfor %}
</ul>
{% else %}
<p>No processes are available.</p>
{% endif %}


{% endblock %}