layout changes, removed irrelevant test cases

This commit is contained in:
Jonas Winkler
2019-05-23 18:25:23 +02:00
parent 5dda05d712
commit 8cb25069d7
4 changed files with 23 additions and 204 deletions

View File

@@ -6,26 +6,29 @@
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.grid {
display: flex;
flex-wrap: wrap;
margin: 10px 0px 10px 10px;
}
.box {
width: 12.5%;
padding: 1em;
float: left;
opacity: 0.7;
padding-right: 10px;
padding-bottom: 15px;
opacity: 0.8;
transition: all 0.5s;
}
.box:hover {
opacity: 1;
transition: all 0.5s;
}
.box:last-of-type {
padding-right: 0;
}
.result {
border: 1px solid #cccccc;
border-radius: 2%;
overflow: hidden;
height: 350px;
position: relative;
box-shadow: 1px 1px 4px #cccccc;
}
.result .header {
padding: 5px;
@@ -95,9 +98,6 @@
background: white;
}
.grid {
margin-right: 260px;
}
.grid:after {
content: "";
display: table;
@@ -135,6 +135,15 @@
{# This is just copypasta from the parent change_list_results.html file #}
{% if result_hidden_fields %}
<div class="hiddenfields">{# DIV for HTML validation #}
{% for item in result_hidden_fields %}{{ item }}{% endfor %}
</div>
{% endif %}
{% if results %}
<div class="results">
<table id="result_list">
<thead>
<tr>
@@ -155,6 +164,8 @@
</tr>
</thead>
</table>
{% endif %}
{# /copypasta #}
@@ -213,3 +224,5 @@
.prop("checked", this.checked);
});
</script>
</div>

View File

@@ -24,7 +24,7 @@ var pdfDoc = null,
pageNum = 1,
pageRendering = false,
pageNumPending = null,
scale = 1.0,
scale = 1.44,
canvas = document.getElementById('the-canvas'),
ctx = canvas.getContext('2d');