removing tabs and spaces mix in templates
This commit is contained in:
parent
8c91855a58
commit
ff14477f60
@ -15,7 +15,7 @@
|
||||
<body>
|
||||
<div id="header">
|
||||
<a href="http://www.gentoo.org">
|
||||
<img id="logo" src="{{ STATIC_URL }}img/gentoo_org.png" />
|
||||
<img id="logo" src="{{ STATIC_URL }}img/gentoo_org.png" />
|
||||
</a>
|
||||
{% block header %}<h1>Ebuild Upstream Scanner (euscan)</h1>{% endblock %}
|
||||
</div>
|
||||
@ -24,44 +24,44 @@
|
||||
</div>
|
||||
<div id="menus">
|
||||
{% block menus %}
|
||||
<div class="menu">
|
||||
<ul>
|
||||
{% block menu %}
|
||||
<li><a href="{% url djeuscan.views.index %}">Home</a></li>
|
||||
<li><a href="{% url djeuscan.views.categories %}">Categories</a></li>
|
||||
<li><a href="{% url djeuscan.views.herds %}">Herds</a></li>
|
||||
<li><a href="{% url djeuscan.views.maintainers %}">Maintainers</a></li>
|
||||
<li><a href="{% url djeuscan.views.overlays %}">Overlays</a></li>
|
||||
<li><a href="{% url djeuscan.views.world %}">Scan World</a></li>
|
||||
<li><a href="{% url djeuscan.views.statistics %}">Statistics</a></li>
|
||||
<!--
|
||||
<li>---</li>
|
||||
<li><a href="#">Login</a></li>
|
||||
<li><a href="#">Register</a></li>
|
||||
-->
|
||||
<li>---</li>
|
||||
{% block menu_feed %}
|
||||
<li>
|
||||
<img src="{{ STATIC_URL }}img/feed.png" alt="feed" />
|
||||
<a title="Global Feed" href="{% url global_feed %}">Global Feed</a>
|
||||
</li>
|
||||
{% endblock %}
|
||||
<li>---</li>
|
||||
<li><a href="{% url djeuscan.views.api %}">API</a></li>
|
||||
<li><a href="{% url djeuscan.views.about %}">About</a></li>
|
||||
{% endblock %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="menu">
|
||||
<ul>
|
||||
{% block menu %}
|
||||
<li><a href="{% url djeuscan.views.index %}">Home</a></li>
|
||||
<li><a href="{% url djeuscan.views.categories %}">Categories</a></li>
|
||||
<li><a href="{% url djeuscan.views.herds %}">Herds</a></li>
|
||||
<li><a href="{% url djeuscan.views.maintainers %}">Maintainers</a></li>
|
||||
<li><a href="{% url djeuscan.views.overlays %}">Overlays</a></li>
|
||||
<li><a href="{% url djeuscan.views.world %}">Scan World</a></li>
|
||||
<li><a href="{% url djeuscan.views.statistics %}">Statistics</a></li>
|
||||
<!--
|
||||
<li>---</li>
|
||||
<li><a href="#">Login</a></li>
|
||||
<li><a href="#">Register</a></li>
|
||||
-->
|
||||
<li>---</li>
|
||||
{% block menu_feed %}
|
||||
<li>
|
||||
<img src="{{ STATIC_URL }}img/feed.png" alt="feed" />
|
||||
<a title="Global Feed" href="{% url global_feed %}">Global Feed</a>
|
||||
</li>
|
||||
{% endblock %}
|
||||
<li>---</li>
|
||||
<li><a href="{% url djeuscan.views.api %}">API</a></li>
|
||||
<li><a href="{% url djeuscan.views.about %}">About</a></li>
|
||||
{% endblock %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endblock %}
|
||||
</div>
|
||||
<div id="footer">
|
||||
<p>
|
||||
Questions, Comments, Corrections ?
|
||||
Email: corentin.chary at gmail.com<br />
|
||||
Copyright (C) 2011 <strong>Corentin Chary</strong><br />
|
||||
Original Gentoo artwork and logos copyright (C) Gentoo Foundation.<br />
|
||||
Design inspired by (stolen from) gentoo.org and bugs.gentoo.org.<br />
|
||||
<em>This site is not an official Gentoo website.</em>
|
||||
Questions, Comments, Corrections ?
|
||||
Email: corentin.chary at gmail.com<br />
|
||||
Copyright (C) 2011 <strong>Corentin Chary</strong><br />
|
||||
Original Gentoo artwork and logos copyright (C) Gentoo Foundation.<br />
|
||||
Design inspired by (stolen from) gentoo.org and bugs.gentoo.org.<br />
|
||||
<em>This site is not an official Gentoo website.</em>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -19,7 +19,7 @@
|
||||
<tr>
|
||||
<td>
|
||||
<a href="{% url djeuscan.views.package package.category package.name %}">
|
||||
{{ package.category }}/{{ package.name }}
|
||||
{{ package.category }}/{{ package.name }}
|
||||
</a>
|
||||
{% package_bar package %}
|
||||
</td>
|
||||
|
@ -47,7 +47,7 @@
|
||||
<dd><img src="{% url djeuscan.views.chart_category category 'versions-monthly-small' %}" /></dd>
|
||||
<dt>Packages</dt>
|
||||
<dd><img src="{% url djeuscan.views.chart_category category 'packages-monthly-small' %}" /></dd>
|
||||
</dl>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
@ -45,7 +45,7 @@
|
||||
<dd><img src="{% url djeuscan.views.chart_herd herd.herd 'versions-monthly-small' %}" /></dd>
|
||||
<dt>Packages</dt>
|
||||
<dd><img src="{% url djeuscan.views.chart_herd herd.herd 'packages-monthly-small' %}" /></dd>
|
||||
</dl>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
@ -45,7 +45,7 @@
|
||||
<dd><img src="{% url djeuscan.views.chart_maintainer maintainer.id 'versions-monthly-small' %}" /></dd>
|
||||
<dt>Packages</dt>
|
||||
<dd><img src="{% url djeuscan.views.chart_maintainer maintainer.id 'packages-monthly-small' %}" /></dd>
|
||||
</dl>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
@ -24,11 +24,11 @@
|
||||
<tr>
|
||||
<td>
|
||||
<a href="{% url djeuscan.views.maintainer maintainer.maintainers__id %}">
|
||||
{% if maintainer.maintainers__name != maintainer.maintainers__email %}
|
||||
{{ maintainer.maintainers__name }} <{{ maintainer.maintainers__email }}>
|
||||
{% else %}
|
||||
{{ maintainer.maintainers__name }}
|
||||
{% endif %}
|
||||
{% if maintainer.maintainers__name != maintainer.maintainers__email %}
|
||||
{{ maintainer.maintainers__name }} <{{ maintainer.maintainers__email }}>
|
||||
{% else %}
|
||||
{{ maintainer.maintainers__name }}
|
||||
{% endif %}
|
||||
</a>
|
||||
{% package_bar maintainer %}
|
||||
</td>
|
||||
|
@ -51,7 +51,7 @@
|
||||
{% for maintainer in package.maintainers.all %}
|
||||
{% if maintainer.name != maintainer.email %}
|
||||
<a href="{% url djeuscan.views.maintainer maintainer.id %}">
|
||||
{{ maintainer.name }}
|
||||
{{ maintainer.name }}
|
||||
</a>
|
||||
<{{ maintainer.email }}>
|
||||
{% else %}
|
||||
@ -68,12 +68,12 @@
|
||||
<ul>
|
||||
{% for version in packaged %}
|
||||
<li id="{{ version.version }}-{{version.revision }}:{{ version.slot }}-[{{ version.overlay }}]">
|
||||
{% if version.overlay == "gentoo" %}
|
||||
<img src="{{ STATIC_URL }}img/gentoo-icon.png" alt="gentoo" title="In Gentoo" />
|
||||
{% else %}
|
||||
<img src="{{ STATIC_URL }}img/overlay-icon.png" alt="overlays" title="In Overlays" />
|
||||
{% endif %}
|
||||
{{ version.version }}-{{ version.revision }} :{{ version.slot }} [{{ version.overlay }}]
|
||||
{% if version.overlay == "gentoo" %}
|
||||
<img src="{{ STATIC_URL }}img/gentoo-icon.png" alt="gentoo" title="In Gentoo" />
|
||||
{% else %}
|
||||
<img src="{{ STATIC_URL }}img/overlay-icon.png" alt="overlays" title="In Overlays" />
|
||||
{% endif %}
|
||||
{{ version.version }}-{{ version.revision }} :{{ version.slot }} [{{ version.overlay }}]
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
@ -85,8 +85,8 @@
|
||||
<ul>
|
||||
{% for version in upstream %}
|
||||
<li>
|
||||
<img src="{{ STATIC_URL }}img/upstream-icon.png" alt="upstream" title="Upstream" />
|
||||
{{ version.version }} - {{ version.urls }}
|
||||
<img src="{{ STATIC_URL }}img/upstream-icon.png" alt="upstream" title="Upstream" />
|
||||
{{ version.version }} - {{ version.urls }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
@ -101,14 +101,16 @@
|
||||
{% else %}
|
||||
<li class="removed">
|
||||
{% endif %}
|
||||
{% if version.overlay == "gentoo" %}
|
||||
<img src="{{ STATIC_URL }}img/gentoo-icon.png" alt="gentoo" title="In Gentoo" />
|
||||
{% else %}{% if version.overlay %}
|
||||
<img src="{{ STATIC_URL }}img/overlay-icon.png" alt="overlays" title="In Overlays" />
|
||||
{% else %}
|
||||
<img src="{{ STATIC_URL }}img/upstream-icon.png" alt="upstream" title="Upstream" />
|
||||
{% endif %}{% endif %}
|
||||
{{ version }} - {{ version.datetime }}
|
||||
{% if version.overlay == "gentoo" %}
|
||||
<img src="{{ STATIC_URL }}img/gentoo-icon.png" alt="gentoo" title="In Gentoo" />
|
||||
{% elif version.overlay %}
|
||||
<img src="{{ STATIC_URL }}img/overlay-icon.png" alt="overlays" title="In Overlays" />
|
||||
{% else %}
|
||||
<img src="{{ STATIC_URL }}img/upstream-icon.png" alt="upstream" title="Upstream" />
|
||||
{% endif %}
|
||||
|
||||
{{ version }} - {{ version.datetime }}
|
||||
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user