euscanwww: finish ``world'' feature
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
This commit is contained in:
@ -25,6 +25,7 @@
|
||||
<li><a href="{% url euscan.views.categories %}">Categories</a></li>
|
||||
<li><a href="{% url euscan.views.herds %}">Herds</a></li>
|
||||
<li><a href="{% url euscan.views.maintainers %}">Maintainers</a></li>
|
||||
<li><a href="{% url euscan.views.world %}">World</a></li>
|
||||
<li>---</li>
|
||||
<li><a href="#">Login</a></li>
|
||||
<li><a href="#">Register</a></li>
|
||||
|
@ -19,7 +19,7 @@
|
||||
{% for category in categories %}
|
||||
{% if category.n_versions == category.n_packaged %}
|
||||
<tr class="gradeA">
|
||||
{% else %}{% if category.n_versions < category.n_packaged|mul:2 %}
|
||||
{% else %}{% if category.n_versions < category.n_packaged|mul:1.5 %}
|
||||
<tr class="gradeC">
|
||||
{% else %}
|
||||
<tr class="gradeX">
|
||||
|
@ -2,7 +2,15 @@
|
||||
|
||||
{% block content %}
|
||||
<h2>What's euscan ?</h2>
|
||||
<p>blabla</p>
|
||||
<p>
|
||||
Euscan is both a tool to check if an ebuild is outdated (app-portage/euscan) and a web interface.
|
||||
</p>
|
||||
<p>
|
||||
This web interface allow you to browse the portage tree, and find outdated ebuilds. It was designed to help maintainers monitor their packages and bump them.
|
||||
</p>
|
||||
<p>
|
||||
euscan code source is available at <a href="http://git.iksaif.net/?p=euscan.git;a=summary">http://git.iksaif.net/?p=euscan.git;a=summary</a>.
|
||||
</p>
|
||||
<h2>Statistics</h2>
|
||||
<ul>
|
||||
<li>Packages: {{ n_packages }}</li>
|
||||
|
@ -12,7 +12,7 @@
|
||||
<p>Import your /var/lib/portage/world file</p>
|
||||
|
||||
<form action="{% url euscan.views.world_scan %}" method="post" enctype="multipart/form-data">{% csrf_token %}
|
||||
{{ file_form.as_p }}
|
||||
{{ world_form.as_p }}
|
||||
<input type="submit" value="Submit" />
|
||||
</form>
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
<p>Or just list some packages</p>
|
||||
|
||||
<form action="{% url euscan.views.world_scan %}" method="post">{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
{{ packages_form.as_p }}
|
||||
<input type="submit" value="Submit" />
|
||||
</form>
|
||||
|
||||
|
Reference in New Issue
Block a user