]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
ui: Shrink vertical space
authorThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 8 Sep 2016 21:20:32 +0000 (23:20 +0200)
committerStephen Finucane <stephen@that.guru>
Sun, 25 Sep 2016 21:34:08 +0000 (22:34 +0100)
Reduce some vertical padding/margin and remove some useless titles
in list.html and patch.html.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Reviewed-by: Stephen Finucane <stephen@that.guru>
htdocs/css/style.css
patchwork/templates/patchwork/list.html
patchwork/templates/patchwork/submission.html

index a84f03c161e96463a5cfc03dffddb7424fc5ec4d..0bf4b430152584b7d2f315057fad1eb69a4b9c74 100644 (file)
@@ -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;
 }
 
index 9fec773c8867076a54dd3887a2534201f495065b..180c56078b971373c6cefca8e25b0054428a03ba 100644 (file)
@@ -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>
index 088cceb32e586060298ebf4e165302d1a7624fa9..dc3d4056a969e71c800ced50513a1b50f4df2183 100644 (file)
@@ -28,11 +28,6 @@ function toggle_headers(link_id, headers_id)
 </script>
 
 <h1>{{ submission.name }}</h1>
-<div class="core-info">
- <span>Submitted by {{ submission.submitter|personify:project }} on {{ submission.date }}</span>
-</div>
-
-<h2>Details</h2>
 
 <table class="patchmeta">
  <tr>