Commit d9cf16e6 authored by Enrico Zini's avatar Enrico Zini

Merge branch 'master' into 'master'

More bootstrapping containers

See merge request !2
parents 8f5ca1e4 4ff09d59
......@@ -97,7 +97,9 @@ $(function() {
{% block content %}
{% csrf_token %}
<h1>{% trans "Debtags tag editor" %} - {{pkg.name}}</h1>
<div class="container-fluid">
<h1>{% trans "Debtags tag editor" %} - {{pkg.name}}</h1>
</div>
<div id="editor" class="container-fluid">
<div class="row">
......
......@@ -3,14 +3,16 @@
{% block title %}Debtags Editor{% endblock %}
{% block content %}
<div id="intro">
<p>This is the Debtags tag editor: enter a package name to edit its tags.</p>
</div>
<div class="container-fluid">
<div id="intro">
<p>This is the Debtags tag editor: enter a package name to edit its tags.</p>
</div>
<div id="begin">
<form name="begin" method="GET" action="{% url "editor_index" %}">
Package to edit: <input type="text" name="pkg">
<input type="submit" value="Search">
<div id="begin">
<form name="begin" method="GET" action="{% url "editor_index" %}">
Package to edit: <input type="text" name="pkg" />
<input type="submit" value="Search" />
</form>
</div>
</div>
{% endblock %}
......@@ -2,102 +2,102 @@
{% block content %}
<div id="intro">
<div class="container-fluid">
<p>This page shows all known information about package <b>{{pkg.name}}</b>.</p>
</div>
<p>
<a href="https://screenshots.debian.net/package/{{pkg.name}}">
<img src="https://screenshots.debian.net/thumbnail/{{pkg.name}}">
</a>
<a href="{% url "editor_edit" name=pkg.name %}">{{pkg.name}}</a> - {{pkg.sdesc}}
</p>
{% if pkg.source != pkg.name %}
<p>From source: <b>{{pkg.source}}</b></p>
{% endif %}
{{pkg.ldesc_html|safe}}
<a href="https://qa.debian.org/cgi-bin/dcontrol?package={{pkg.name}}&version={{pkg.version}}">debian/control</a>
<dl>
<dt>Section</dt>
<dd><b>{{extra.bininfo.sec}}</b></dd>
<dt>Architecture{{extra.bininfo.archs|pluralize}}</dt>
<dd>{{extra.bininfo.archs|join:", "}}</dd>
{% if extra.bininfo.predeps %}
<dt>Pre-depends</dt>
<dd>
{% for name in extra.bininfo.predeps %}
<a href="{% url "report_pkginfo" name=name %}">{{name}}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
</dd>
{% endif %}
{% if extra.bininfo.deps %}
<dt>Depends</dt>
<dd>
{% for name in extra.bininfo.deps %}
<a href="{% url "report_pkginfo" name=name %}">{{name}}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
</dd>
{% endif %}
<p>
<a href="https://screenshots.debian.net/package/{{pkg.name}}">
<img src="https://screenshots.debian.net/thumbnail/{{pkg.name}}">
</a>
<a href="{% url "editor_edit" name=pkg.name %}">{{pkg.name}}</a> - {{pkg.sdesc}}
</p>
{% if extra.bininfo.recs %}
<dt>Recommends</dt>
<dd>
{% for name in extra.bininfo.recs %}
<a href="{% url "report_pkginfo" name=name %}">{{name}}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
</dd>
{% if pkg.source != pkg.name %}
<p>From source: <b>{{pkg.source}}</b></p>
{% endif %}
{% if extra.bininfo.suggs %}
<dt>Suggests</dt>
<dd>
{% for name in extra.bininfo.suggs %}
<a href="{% url "report_pkginfo" name=name %}">{{name}}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
</dd>
{% endif %}
{% if extra.bininfo.ehns %}
<dt>Enhances</dt>
<dd>
{% for name in extra.bininfo.ehns %}
<a href="{% url "report_pkginfo" name=name %}">{{name}}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
</dd>
{% endif %}
{% if extra.srcinfo.bd %}
<dt>Build-Depends</dt>
<dd>
{% for name in extra.srcinfo.bd %}
<a href="{% url "report_pkginfo" name=name %}">{{name}}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
</dd>
{% endif %}
{% if extra.srcinfo.bdi %}
<dt>Build-Depends-Indep</dt>
<dd>
{% for name in extra.srcinfo.bdi %}
<a href="{% url "report_pkginfo" name=name %}">{{name}}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
</dd>
{% endif %}
<dt>Distribution{{extra.bininfo.dist|pluralize}}</dt>
<dd>
{% for name in extra.bininfo.dist %}
{{name}}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
</dd>
</dl>
{{pkg.ldesc_html|safe}}
<a href="https://qa.debian.org/cgi-bin/dcontrol?package={{pkg.name}}&version={{pkg.version}}">debian/control</a>
<dl>
<dt>Section</dt>
<dd><b>{{extra.bininfo.sec}}</b></dd>
<dt>Architecture{{extra.bininfo.archs|pluralize}}</dt>
<dd>{{extra.bininfo.archs|join:", "}}</dd>
{% if extra.bininfo.predeps %}
<dt>Pre-depends</dt>
<dd>
{% for name in extra.bininfo.predeps %}
<a href="{% url "report_pkginfo" name=name %}">{{name}}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
</dd>
{% endif %}
{% if extra.bininfo.deps %}
<dt>Depends</dt>
<dd>
{% for name in extra.bininfo.deps %}
<a href="{% url "report_pkginfo" name=name %}">{{name}}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
</dd>
{% endif %}
{% if extra.bininfo.recs %}
<dt>Recommends</dt>
<dd>
{% for name in extra.bininfo.recs %}
<a href="{% url "report_pkginfo" name=name %}">{{name}}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
</dd>
{% endif %}
{% if extra.bininfo.suggs %}
<dt>Suggests</dt>
<dd>
{% for name in extra.bininfo.suggs %}
<a href="{% url "report_pkginfo" name=name %}">{{name}}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
</dd>
{% endif %}
{% if extra.bininfo.ehns %}
<dt>Enhances</dt>
<dd>
{% for name in extra.bininfo.ehns %}
<a href="{% url "report_pkginfo" name=name %}">{{name}}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
</dd>
{% endif %}
{% if extra.srcinfo.bd %}
<dt>Build-Depends</dt>
<dd>
{% for name in extra.srcinfo.bd %}
<a href="{% url "report_pkginfo" name=name %}">{{name}}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
</dd>
{% endif %}
{% if extra.srcinfo.bdi %}
<dt>Build-Depends-Indep</dt>
<dd>
{% for name in extra.srcinfo.bdi %}
<a href="{% url "report_pkginfo" name=name %}">{{name}}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
</dd>
{% endif %}
<dt>Distribution{{extra.bininfo.dist|pluralize}}</dt>
<dd>
{% for name in extra.bininfo.dist %}
{{name}}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
</dd>
</dl>
</div>
{% endblock %}
......@@ -6,20 +6,22 @@
{% block content %}
<h1>{% trans "Most important packages needing tagging" %}</h1>
<div class="container-fluid">
<h1>{% trans "Most important packages needing tagging" %}</h1>
{% for pkg in pkgs %}
<a href='{{pkg.get_absolute_url}}'>{{pkg.name}}<a> -- {{pkg.sdesc}}
<div class='pkgtags'>
{% for t in pkg.stable_tags.all %}
{{t|tag}}
{% for pkg in pkgs %}
<a href='{{pkg.get_absolute_url}}'>{{pkg.name}}<a> -- {{pkg.sdesc}}
<div class='pkgtags'>
{% for t in pkg.stable_tags.all %}
{{t|tag}}
{% endfor %}
</div>
<div class="pkgsugg">
{% for t in pkg.todolist.all %}
<div class="tip">{{t.format|safe}}</div>
{% endfor %}
</div>
{% endfor %}
</div>
<div class="pkgsugg">
{% for t in pkg.todolist.all %}
<div class="tip">{{t.format|safe}}</div>
{% endfor %}
</div>
{% endfor %}
{% endblock %}
......@@ -2,8 +2,10 @@
{% block content %}
<p>To contribute to the site you need to use
<a href="https://wiki.debian.org/DebianSingleSignOn">Debian's Single Sign-On</a>.
Please see <a href="https://wiki.debian.org/DebianSingleSignOn#Documentation_for_Users">the SSO documentation</a> for details.</p>
<div class="container-fluid">
<p>To contribute to the site you need to use
<a href="https://wiki.debian.org/DebianSingleSignOn">Debian's Single Sign-On</a>.
Please see <a href="https://wiki.debian.org/DebianSingleSignOn#Documentation_for_Users">the SSO documentation</a> for details.</p>
</div>
{% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment