portree_kid 2020-07-17 16:38:44 +02:00
parent df28183232
commit a28c7cdddf
3 changed files with 14 additions and 10 deletions

View File

@ -7,6 +7,7 @@
</div>
</h1>
<div id="panel" width="100%">
<el-row v-if="results"><h3>Check not run</h3></el-row>
<el-row v-for="(result,idx) in results" :key="idx">
<el-col :span="2" v-if="result.id<0"><span class="label"><i class="far fa-check-circle"></i></span></el-col>
<el-col :span="2" v-if="result.id>=0"><span class="label"><i class="fas fa-exclamation-triangle"></i></span></el-col>
@ -53,6 +54,9 @@
padding-left: 10px;
padding-right: 10px;
}
h3 {
text-align: center;
}
.label {
display: flex;
justify-content: left;

View File

@ -82,7 +82,7 @@
</el-col>
<el-col :span="17">{{type}}</el-col>
</el-row>
<el-row>
<el-row v-if="editing">
<el-col :span="7">
<span class="label">Calculate :</span>
</el-col>

View File

@ -216,12 +216,12 @@ L.ParkingSpot = L.Circle.extend({
if(this.direction) {
this.direction.setStyle(style);
this.frontWheel.setStyle(style);
if(this.box) {
this.box.setStyle(style);
}
}
this.updateWheelPos();
this.updateBox();
if(this.box) {
this.box.setStyle(style);
}
},
deselect() {
var style = {};
@ -230,13 +230,13 @@ L.ParkingSpot = L.Circle.extend({
if(this.direction) {
this.direction.setStyle(style);
this.frontWheel.setStyle(style);
if(this.box) {
this.box.setStyle(style);
}
}
this.updateWheelPos();
this.updateBox();
},
if(this.box) {
this.box.setStyle(style);
}
},
addListeners: function () {
this.on('editable:drawing:move', function (event) {
console.debug("Move Parking Spot: ", event);