WIP : kart dashboard
This commit is contained in:
192
index_kart.html
192
index_kart.html
@ -43,7 +43,7 @@
|
||||
|
||||
<!-- Nav Item - Dashboard -->
|
||||
<li class="nav-item active">
|
||||
<a class="nav-link" href="index.html">
|
||||
<a class="nav-link" href="#" onclick="showKartDashboard(timelapsStorage.current_kart_id)">
|
||||
<i class="fas fa-fw fa-tachometer-alt"></i>
|
||||
<span>Dashboard</span></a>
|
||||
</li>
|
||||
@ -212,34 +212,23 @@
|
||||
<img class="card-img-top driver_img glow" src="img/11.png"
|
||||
alt="Card image cap">
|
||||
</a>
|
||||
<h5 class="card-title">Pich</h5>
|
||||
<h5 class="card-title" id="current_driver_name"></h5>
|
||||
<p class="card-text">Total : 15:30:02<br>
|
||||
<label for="refTime">Temps de ref. :</label>
|
||||
</p>
|
||||
|
||||
<div class="input-group">
|
||||
<span class="input-group-btn">
|
||||
<button type="button" class="btn btn-danger btn-number"
|
||||
onclick="location.href='/?name=chgRefTime&driverID=11&refTime=61';">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
|
||||
viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
||||
stroke-linecap="round" stroke-linejoin="round"
|
||||
class="feather feather-minus"><line x1="5" y1="12" x2="19"
|
||||
y2="12"></line></svg>
|
||||
</button>
|
||||
</span>
|
||||
<input type="text" id="refTime" class="form-control" value="62">
|
||||
<span class="input-group-btn">
|
||||
<button type="button" class="btn btn-success btn-number"
|
||||
onclick="location.href='/?name=chgRefTime&driverID=11&refTime=63';">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
|
||||
viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
||||
stroke-linecap="round" stroke-linejoin="round"
|
||||
class="feather feather-plus"><line x1="12" y1="5" x2="12"
|
||||
y2="19"></line><line x1="5" y1="12"
|
||||
x2="19"
|
||||
y2="12"></line></svg>
|
||||
</button>
|
||||
</span>
|
||||
<button type="button" class="btn btn-danger btn-number" onclick="">
|
||||
<i class="fas fa-plus"></i>
|
||||
</button>
|
||||
</span>
|
||||
<input type="text" id="refTime_current_driver" class="form-control" value="">
|
||||
<span class="input-group-btn">
|
||||
<button type="button" class="btn btn-success btn-number" onclick="">
|
||||
<i class="fas fa-minus"></i>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm">
|
||||
@ -323,159 +312,7 @@
|
||||
Next drivers
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-xl-2 col-lg-4 col-md-6">
|
||||
<div class="card" style="width: auto;">
|
||||
<a class="card-img-top" href="/?name=chgDriver&kartID=2&driverID=7">
|
||||
<img class="card-img-top " src="img/7.png" alt="Card image cap">
|
||||
</a>
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Nico</h5>
|
||||
<p class="card-text">Total : 03:39:36<br>
|
||||
Tps de repos : 14:05:26<br>
|
||||
<label for="refTime">Temps de ref. :</label>
|
||||
</p>
|
||||
<div class="input-group">
|
||||
<span class="input-group-btn">
|
||||
<button type="button" class="btn btn-danger btn-number"
|
||||
onclick="location.href='/?name=chgRefTime&driverID=7&refTime=59';">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
||||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||||
stroke-linejoin="round" class="feather feather-minus"><line x1="5" y1="12" x2="19"
|
||||
y2="12"></line></svg>
|
||||
</button>
|
||||
</span>
|
||||
<input type="text" id="refTime" class="form-control" value="60">
|
||||
<span class="input-group-btn">
|
||||
<button type="button" class="btn btn-success btn-number"
|
||||
onclick="location.href='/?name=chgRefTime&driverID=7&refTime=61';">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
||||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||||
stroke-linejoin="round" class="feather feather-plus"><line x1="12" y1="5" x2="12"
|
||||
y2="19"></line><line
|
||||
x1="5" y1="12" x2="19" y2="12"></line></svg>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xl-2 col-lg-4 col-md-6">
|
||||
<div class="card" style="width: auto;">
|
||||
<a class="card-img-top" href="/?name=chgDriver&kartID=2&driverID=9">
|
||||
<img class="card-img-top " src="img/9.png" alt="Card image cap">
|
||||
</a>
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Phillipe</h5>
|
||||
<p class="card-text">Total : 02:45:40<br>
|
||||
Tps de repos : 14:50:03<br>
|
||||
<label for="refTime">Temps de ref. :</label>
|
||||
</p>
|
||||
<div class="input-group">
|
||||
<span class="input-group-btn">
|
||||
<button type="button" class="btn btn-danger btn-number"
|
||||
onclick="location.href='/?name=chgRefTime&driverID=9&refTime=61';">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
||||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||||
stroke-linejoin="round" class="feather feather-minus"><line x1="5" y1="12" x2="19"
|
||||
y2="12"></line></svg>
|
||||
</button>
|
||||
</span>
|
||||
<input type="text" id="refTime" class="form-control" value="62">
|
||||
<span class="input-group-btn">
|
||||
<button type="button" class="btn btn-success btn-number"
|
||||
onclick="location.href='/?name=chgRefTime&driverID=9&refTime=63';">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
||||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||||
stroke-linejoin="round" class="feather feather-plus"><line x1="12" y1="5" x2="12"
|
||||
y2="19"></line><line
|
||||
x1="5" y1="12" x2="19" y2="12"></line></svg>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xl-2 col-lg-4 col-md-6">
|
||||
<div class="card" style="width: auto;">
|
||||
<a class="card-img-top" href="/?name=chgDriver&kartID=2&driverID=10">
|
||||
<img class="card-img-top " src="img/10.png" alt="Card image cap">
|
||||
</a>
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Paul</h5>
|
||||
<p class="card-text">Total : 03:48:44<br>
|
||||
Tps de repos : 13:20:32<br>
|
||||
<label for="refTime">Temps de ref. :</label>
|
||||
</p>
|
||||
<div class="input-group">
|
||||
<span class="input-group-btn">
|
||||
<button type="button" class="btn btn-danger btn-number"
|
||||
onclick="location.href='/?name=chgRefTime&driverID=10&refTime=60';">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
||||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||||
stroke-linejoin="round" class="feather feather-minus"><line x1="5" y1="12" x2="19"
|
||||
y2="12"></line></svg>
|
||||
</button>
|
||||
</span>
|
||||
<input type="text" id="refTime" class="form-control" value="61">
|
||||
<span class="input-group-btn">
|
||||
<button type="button" class="btn btn-success btn-number"
|
||||
onclick="location.href='/?name=chgRefTime&driverID=10&refTime=62';">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
||||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||||
stroke-linejoin="round" class="feather feather-plus"><line x1="12" y1="5" x2="12"
|
||||
y2="19"></line><line
|
||||
x1="5" y1="12" x2="19" y2="12"></line></svg>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xl-2 col-lg-4 col-md-6">
|
||||
<div class="card" style="width: auto;">
|
||||
<a class="card-img-top" href="/?name=chgDriver&kartID=2&driverID=12">
|
||||
<img class="card-img-top " src="img/12.png" alt="Card image cap">
|
||||
</a>
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Benoît</h5>
|
||||
<p class="card-text">Total : 03:37:02<br>
|
||||
Tps de repos : 12:38:57<br>
|
||||
<label for="refTime">Temps de ref. :</label>
|
||||
</p>
|
||||
<div class="input-group">
|
||||
<span class="input-group-btn">
|
||||
<button type="button" class="btn btn-danger btn-number"
|
||||
onclick="location.href='/?name=chgRefTime&driverID=12&refTime=59';">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
||||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||||
stroke-linejoin="round" class="feather feather-minus"><line x1="5" y1="12" x2="19"
|
||||
y2="12"></line></svg>
|
||||
</button>
|
||||
</span>
|
||||
<input type="text" id="refTime" class="form-control" value="60">
|
||||
<span class="input-group-btn">
|
||||
<button type="button" class="btn btn-success btn-number"
|
||||
onclick="location.href='/?name=chgRefTime&driverID=12&refTime=61';">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
||||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||||
stroke-linejoin="round" class="feather feather-plus"><line x1="12" y1="5" x2="12"
|
||||
y2="19"></line><line
|
||||
x1="5" y1="12" x2="19" y2="12"></line></svg>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row" id="next_driver_list">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -553,6 +390,7 @@
|
||||
|
||||
$(document).ready(function () {
|
||||
getKartsMenu();
|
||||
getDashboardKartInfo();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user