euscan-ng/euscanwww/djeuscan/templates/euscan/world.html

31 lines
619 B
HTML
Raw Normal View History

{% extends "_base.html" %}
2012-05-06 20:27:14 +02:00
{% 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>
2012-05-06 20:27:14 +02:00
<form action="{% url "world_scan" %}" method="post" enctype="multipart/form-data">{% csrf_token %}
{{ world_form.as_p }}
<input class="btn" type="submit" value="Submit" />
</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 %}
{{ packages_form.as_p }}
<input class="btn" type="submit" value="Submit" />
</form>
{% endblock %}