Compare commits

..

2 Commits

Author SHA1 Message Date
54bc29756f Fiksa strekktidsvisninga for diska løpere 2023-11-08 17:37:07 +01:00
4e20399114 Endra git urlen i footeren 2023-11-08 17:36:43 +01:00
2 changed files with 5 additions and 9 deletions

View File

@ -50,7 +50,7 @@
</div> </div>
</div> </div>
<footer><p>Denne sida er fri programmvare under <a href="http://www.gnu.org/licenses/agpl-3.0.html">AGPL 3.0</a>. Kildekoden er tilgjengelig <a href="https://gitlab.com/Trygve/simple-liveresults">her</a>. </p></footer> <footer><p>Denne sida er fri programmvare under <a href="http://www.gnu.org/licenses/agpl-3.0.html">AGPL 3.0</a>. Kildekoden er tilgjengelig <a href="https://git.willy.club/Trygve/simple-liveresults">her</a>. </p></footer>
<script src="ui.js"></script> <script src="ui.js"></script>
<script src="liveresults.js"></script> <script src="liveresults.js"></script>
</body> </body>

View File

@ -177,7 +177,7 @@ function loadresults() {
} }
} }
} }
else if (typeof(xmlObj.ClassResult[i].PersonResult[k])!== 'undefined' && typeof(xmlObj.ClassResult[i].PersonResult[0].Result.SplitTime)!== 'undefined' && persStatus == 'Disqualified'){ else if (typeof(xmlObj.ClassResult[i].PersonResult[k])!== 'undefined' && typeof(xmlObj.ClassResult[i].PersonResult[0].Result.SplitTime)!== 'undefined' && persStatus == 'MissingPunch'){
splitTimes += '<tr><td>' + xmlObj.ClassResult[i].PersonResult[k].Person.Name.Given + " " + xmlObj.ClassResult[i].PersonResult[k].Person.Name.Family + "(DSQ)</td>"; splitTimes += '<tr><td>' + xmlObj.ClassResult[i].PersonResult[k].Person.Name.Given + " " + xmlObj.ClassResult[i].PersonResult[k].Person.Name.Family + "(DSQ)</td>";
let controlTimeDelta = 0; let controlTimeDelta = 0;
@ -189,12 +189,8 @@ function loadresults() {
controlTimeDelta += controlTime; controlTimeDelta += controlTime;
splitTimes += '<td>'+ TimeFormater(controlTime) +'<br>'+ TimeFormater(xmlObj.ClassResult[i].PersonResult[k].Result.SplitTime[t].Time)+'</td>' splitTimes += '<td>'+ TimeFormater(controlTime) +'<br>'+ TimeFormater(xmlObj.ClassResult[i].PersonResult[k].Result.SplitTime[t].Time)+'</td>'
} }
} else {splitTimes += '<td></td>'}
} }}}
else {
splitTimes += '<td></td>'
}
}
} }
splitTimes += '</tr>'; splitTimes += '</tr>';