Specs formatting
This commit is contained in:
parent
c97ac4b05d
commit
c153ff55f9
1 changed files with 10 additions and 7 deletions
|
@ -83,14 +83,17 @@
|
||||||
<div class="svgcrop" style="height: 110px; overflow: hidden">
|
<div class="svgcrop" style="height: 110px; overflow: hidden">
|
||||||
<object :data="hit.svg_image" style="margin-top: -60px" type="image/svg+xml"></object>
|
<object :data="hit.svg_image" style="margin-top: -60px" type="image/svg+xml"></object>
|
||||||
</div>
|
</div>
|
||||||
<p class="descriptor">duration</p>
|
|
||||||
<p>{{duration(hit.assignment.submit_page_at, hit.assignment.created_at)}}</p>
|
|
||||||
|
|
||||||
<template v-if="hit.path_length">
|
<div class='columns'>
|
||||||
<p class="descriptor">drawing distance</p>
|
<div class='column'>
|
||||||
<p>{{hit.path_length}} pixels</p>
|
<p class="descriptor">duration</p>
|
||||||
</template>
|
<p>{{duration(hit.assignment.submit_page_at, hit.assignment.created_at)}}</p>
|
||||||
<!-- DURATION en afstand lijntekening -->
|
</div>
|
||||||
|
<div class='column'v-if="hit.path_length">
|
||||||
|
<p class="descriptor">drawing distance</p>
|
||||||
|
<p>{{hit.path_length}} pixels</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue