2011-04-15 19:28:37 +02:00
|
|
|
{% extends "_base.html" %}
|
|
|
|
|
|
|
|
{% 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 euscan.views.world_scan %}" method="post" enctype="multipart/form-data">{% csrf_token %}
|
2011-04-16 11:44:57 +02:00
|
|
|
{{ world_form.as_p }}
|
2011-04-15 19:28:37 +02:00
|
|
|
<input type="submit" value="Submit" />
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
|
|
|
<p>Or just list some packages</p>
|
|
|
|
|
|
|
|
<form action="{% url euscan.views.world_scan %}" method="post">{% csrf_token %}
|
2011-04-16 11:44:57 +02:00
|
|
|
{{ packages_form.as_p }}
|
2011-04-15 19:28:37 +02:00
|
|
|
<input type="submit" value="Submit" />
|
|
|
|
</form>
|
|
|
|
|
|
|
|
{% endblock %}
|