2011-04-15 19:28:37 +02:00
|
|
|
{% extends "_base.html" %}
|
|
|
|
|
2012-05-06 20:27:14 +02:00
|
|
|
{% load url from future %}
|
|
|
|
|
2011-04-15 19:28:37 +02:00
|
|
|
{% block title %}
|
|
|
|
{{ block.super }} - World scan
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h2>Scan your packages</h2>
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
|
|
|
<p>Import your /var/lib/portage/world file</p>
|
|
|
|
|
2012-05-06 20:27:14 +02:00
|
|
|
<form action="{% url "world_scan" %}" method="post" enctype="multipart/form-data">{% csrf_token %}
|
2011-04-16 11:44:57 +02:00
|
|
|
{{ world_form.as_p }}
|
2012-08-08 10:46:36 +02:00
|
|
|
<input class="btn" type="submit" value="Submit" />
|
2011-04-15 19:28:37 +02:00
|
|
|
</form>
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
|
|
|
<p>Or just list some packages</p>
|
|
|
|
|
2012-05-06 20:27:14 +02:00
|
|
|
<form action="{% url "world_scan" %}" method="post">{% csrf_token %}
|
2011-04-16 11:44:57 +02:00
|
|
|
{{ packages_form.as_p }}
|
2012-08-08 10:46:36 +02:00
|
|
|
<input class="btn" type="submit" value="Submit" />
|
2011-04-15 19:28:37 +02:00
|
|
|
</form>
|
|
|
|
|
|
|
|
{% endblock %}
|