euscan-ng/euscanwww/djeuscan/templates/euscan/world.html
2012-05-06 20:27:14 +02:00

31 lines
595 B
HTML

{% extends "_base.html" %}
{% load url from future %}
{% block title %}
{{ block.super }} - World scan
{% endblock %}
{% block content %}
<h2>Scan your packages</h2>
<hr />
<p>Import your /var/lib/portage/world file</p>
<form action="{% url "world_scan" %}" method="post" enctype="multipart/form-data">{% csrf_token %}
{{ world_form.as_p }}
<input type="submit" value="Submit" />
</form>
<hr />
<p>Or just list some packages</p>
<form action="{% url "world_scan" %}" method="post">{% csrf_token %}
{{ packages_form.as_p }}
<input type="submit" value="Submit" />
</form>
{% endblock %}