apply small adjustments for new gadjo style

This commit is contained in:
Frédéric Péters 2018-11-24 16:12:04 +01:00
parent 575d9add5e
commit ba2a43ab0d
8 changed files with 28 additions and 4 deletions

View File

@ -5,6 +5,8 @@
{% endblock %}
{% block content %}
<div>
<dl class="deployments">
{% regroup versions by version.version as versions_list %}
{% for version in versions_list %}
@ -17,8 +19,9 @@
</dd>
{% endfor %}
</dl>
</div>
<p><a href="json">As JSON</a></p>
<p><a class="button" href="json">As JSON</a></p>
{% endblock %}

View File

@ -5,12 +5,14 @@
{% endblock %}
{% block content %}
<div>
<p><a href="{{ module.repository_url }}">{{ module.repository_url }}</a></p>
<pre class="difflog">
{{ difflog|safe }}
</pre>
</div>
{% endblock %}

View File

@ -5,6 +5,7 @@
{% endblock %}
{% block content %}
<div>
<p><a href="{{ module.repository_url }}">{{ module.repository_url }}</a></p>
<ul class="issue-list">
@ -18,8 +19,8 @@
{% endfor %}
</ul>
</div>
{% endblock %}
{% block page-end %}
{% endblock %}

View File

@ -5,6 +5,7 @@
{% endblock %}
{% block content %}
<div>
<ul>
{% for module in modules %}
{% with versions=module.get_all_installed_versions %}
@ -15,7 +16,7 @@
{% endwith %}
{% endfor %}
</ul>
</div>
{% endblock %}
{% block page-end %}

View File

@ -6,6 +6,7 @@
{% endblock %}
{% block content %}
<div>
<table class="installed-versions">
<thead>
@ -35,9 +36,11 @@
</tbody>
</table>
</div>
<button id="diff">Diff</button>
<button id="issues">Issues</button>
<a href="{% url 'project-history' slug=project.slug %}">History</a>
<a class="button" href="{% url 'project-history' slug=project.slug %}">History</a>
{% endblock %}

View File

@ -6,6 +6,7 @@
{% endblock %}
{% block content %}
<div>
<table class="history">
<thead>
@ -30,8 +31,12 @@
</tbody>
</table>
</div>
<div class="buttons">
<button id="diff">Diff</button>
<button id="issues">Issues</button>
</div>
<p class="note">
Note: It is possible to click on cell content to filter on that value.

View File

@ -1,3 +1,10 @@
div#appbar + div {
background: white;
padding: 0.5rem;
border-radius: 3px;
box-sizing: border-box;
}
pre.code, pre.sample {
border: 1px solid #babdb6;
padding: 0.5em 1em;

View File

@ -22,6 +22,7 @@ var konami = new Konami('http://en.wikipedia.org/wiki/New_Maps_of_Hell');
{% endblock %}
{% block content %}
<div>
<p>
{% blocktrans %}
@ -41,4 +42,5 @@ Scrutiny provides a view over the different platforms of our projects.
A list of <a href="{% url 'modules-list' %}">all tracked modules</a> is available.
</p>
</div>
{% endblock %}