[PATCH 3/4] ui: Shrink vertical space
Thomas Monjalon
thomas.monjalon at 6wind.com
Fri Sep 9 07:20:32 AEST 2016
Reduce some vertical padding/margin and remove some useless titles
in list.html and patch.html.
Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
---
htdocs/css/style.css | 10 +++++-----
patchwork/templates/patchwork/list.html | 2 --
patchwork/templates/patchwork/submission.html | 4 +---
3 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/htdocs/css/style.css b/htdocs/css/style.css
index a84f03c..0bf4b43 100644
--- a/htdocs/css/style.css
+++ b/htdocs/css/style.css
@@ -91,8 +91,8 @@ dl dt {
.filters {
border: 1px solid #cccccc;
border-radius: 4px;
- padding: 10px 20px;
- margin-bottom: 20px;
+ padding: 5px 20px;
+ margin: 15px 0;
}
a.filter-action {
@@ -119,7 +119,7 @@ div.filters {
}
div.patchforms {
- margin-top: 2em;
+ margin-top: 1em;
}
/* list order manipulation */
@@ -145,7 +145,7 @@ input#reorder-change {
.paginator {
text-align: right;
clear: both;
- margin: 8px 0 20px;
+ margin: 8px 0 15px;
}
.paginator .prev-na,
@@ -184,7 +184,7 @@ table.patchmeta th {
table.patchmeta tr th, table.patchmeta tr td {
text-align: left;
- padding: 3px 10px 3px 10px;
+ padding: 1px 10px;
vertical-align: middle;
}
diff --git a/patchwork/templates/patchwork/list.html b/patchwork/templates/patchwork/list.html
index 9fec773..180c560 100644
--- a/patchwork/templates/patchwork/list.html
+++ b/patchwork/templates/patchwork/list.html
@@ -8,8 +8,6 @@
{% block body %}
-<h1>Patches</h1>
-
{% if errors %}
<p>The following error{{ errors|length|pluralize:" was,s were" }} encountered
while updating patches:</p>
diff --git a/patchwork/templates/patchwork/submission.html b/patchwork/templates/patchwork/submission.html
index 088cceb..f22c1d0 100644
--- a/patchwork/templates/patchwork/submission.html
+++ b/patchwork/templates/patchwork/submission.html
@@ -28,12 +28,10 @@ function toggle_headers(link_id, headers_id)
</script>
<h1>{{ submission.name }}</h1>
-<div class="core-info">
+<div class="core-info" style="display:none">
<span>Submitted by {{ submission.submitter|personify:project }} on {{ submission.date }}</span>
</div>
-<h2>Details</h2>
-
<table class="patchmeta">
<tr>
<th>Message ID</th>
--
2.7.0
More information about the Patchwork
mailing list