-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1 lines (1 loc) · 17.2 KB
/
index.html
1
<html><head><script src="https://code.jquery.com/jquery-3.3.1.min.js"></script><link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet"/><link href="css/index.css"/><script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js"></script><script src="https://kit.fontawesome.com/f8cac8be67.js" crossorigin="anonymous"></script><script src="https://code.highcharts.com/highcharts.js"></script><link href="css/index.css" rel="stylesheet"/><script src="js/index.js"></script></head><body><div class="container" style="width:1200px"><div class="text-center"><h2>Chessmate</h2><img src="https://npr.brightspotcdn.com/dd/83/88a67df041d58143a5019c70bf12/120320-provided-chessboard.jpg" width="400px"/></div><p>This is Chessmate, the world best ever chess tournament application. Enjoy!</p><p>This is version 1.0.0. Have a look at the <a href="documentation.txt" target="_blank">documentation</a> to know what this release contains and how to use the app.</p><hr/><p>Players <!--button#loadit.btn.btn-sm.btn-light Load from memory--></p><ul class="nav nav-tabs"><li class="nav-item"><a class="divsel nav-link active" aria-current="page" division="A" href="#">Div. A - New to chess</a></li><li class="nav-item"><a class="divsel nav-link" aria-current="page" division="B" href="#">Div. B - Beginner</a></li><li class="nav-item"><a class="divsel nav-link" aria-current="page" division="C" href="#">Div. C - Intermediate</a></li><li class="nav-item"><a class="divsel nav-link" aria-current="page" division="D" href="#">Div. D - Advanced</a></li></ul><div class="division" division="A"><div class="form-check form-switch"><input class="selmode form-check-input" type="checkbox" role="switch"/><label class="form-check-label">Return games</label></div><div class="form-check form-switch"><input class="skipplayoffs form-check-input" type="checkbox" role="switch"/><label class="form-check-label">Skip playoffs</label></div><div class="row playerrow"><div class="col-3 plusbutton"><h1><i class="addgroup fas fa-plus-circle"></i></h1></div></div></div><div class="division" division="B" style="display:none"><div class="form-check form-switch"><input class="selmode form-check-input" type="checkbox" role="switch"/><label class="form-check-label">Return games</label></div><div class="form-check form-switch"><input class="skipplayoffs form-check-input" type="checkbox" role="switch" selected="selected"/><label class="form-check-label">Skip playoffs</label></div><div class="row playerrow"><div class="col-3 plusbutton"><h1><i class="addgroup fas fa-plus-circle"></i></h1></div></div></div><div class="division" division="C" style="display:none"><div class="form-check form-switch"><input class="selmode form-check-input" type="checkbox" role="switch"/><label class="form-check-label">Return games</label></div><div class="form-check form-switch"><input class="skipplayoffs form-check-input" type="checkbox" role="switch"/><label class="form-check-label">Skip playoffs</label></div><div class="row playerrow"><div class="col-3 plusbutton"><h1><i class="addgroup fas fa-plus-circle"></i></h1></div></div></div><div class="division" division="D" style="display:none"><div class="form-check form-switch"><input class="selmode form-check-input" type="checkbox" role="switch"/><label class="form-check-label">Return games</label></div><div class="form-check form-switch"><input class="skipplayoffs form-check-input" type="checkbox" role="switch"/><label class="form-check-label">Skip playoffs</label></div><div class="row playerrow"><div class="col-3 plusbutton"><h1><i class="addgroup fas fa-plus-circle"></i></h1></div></div></div><hr/><button class="btn btn-danger" id="generate">Start tournament</button><!--button#generateplayoffs.btn.btn-warning Generate playoffs--><hr/><div id="qualifierdashboard" style="display:none"><h2 class="text-center">TOURNAMENT</h2><div id="graphcontainer" style="width:600px;height:200px;margin:auto"></div><h2 class="alert alert-info text-center" id="message">Let's Play Chess</h2><!--p Currently playing--><div class="round" id="active"><div class="gameblocks" phase="active"></div></div><button class="btn btn-sm btn-link" id="togglemore"><em>Toggle planned/completed</em></button><div id="hideit" style="display:none"><p>Coming up</p><div class="round" id="planned"><div class="gameblocks" phase="planned"></div></div><p>Completed</p><div class="round" id="completed"><div class="gameblocks" phase="completed"></div></div></div><div class="someblock"><div class="badge text-bg-secondary masterblock" style="display:none;text-align:center"><span class="fieldblock someplayer" name="player1" status="">Marco </span><span> </span><i class="fas fa-play-circle launcher" style="display:none"></i><i class="fas fa-minus planned"></i><i class="fas fa-check-circle apply" style="display:none"></i><span> </span><span class="fieldblock someplayer" name="player2" status=""> Paul</span><br/><span style="font-size:8px;font-style:italic"><span>Div. </span><span class="fieldblock" name="division">A</span><span> </span><span class="fieldblock" name="phase">Group 1</span></span></div></div></div><div class="somemaster"><div class="somemaster"><div class="col-4 gameblock masterblockold" style="display:none;padding:5px"><div class="card"><div class="card-body"><div class="row"><div class="col-6"><div><span>Div. </span><span class="fieldblock" name="division">A</span><br/><span>Group </span><span class="fieldblock" name="group">1</span><br/><span class="fieldblock" name="phase">Qualifiers</span></div></div><div class="col-6"><div><i class="player1dot playerdot fas fa-circle" player="player1" status=""></i><strong> </strong><strong class="fieldblock" name="player1"> Marco</strong><br/><span class="text-center">vs </span><i class="fas fa-check-circle apply" style="color:lightgray;display:none" disabled="disabled"></i><i class="fas fa-play-circle launcher" style="color:blue;display:none" disabled="disabled"></i><br/><i class="player2dot playerdot fas fa-circle" player="player2" status=""></i><strong> </strong><strong class="fieldblock" name="player2"> Mats</strong></div></div></div></div><div class="card-footer text-bg-light text-center"><span class="fieldblock" name="result">Marco wins</span></div></div></div></div></div><div class="row" id="standingsdiv"><div class="col-3 standings" division="A" style="display:none"><div class="card"><div class="card-header"><h5>Div A - New to chess</h5></div><div class="card-body"><p class="message text-center">QUALIFIERS</p><p class="text-center launchplayoffs" style="display:none"><button class="btn btn-sm btn-info">Launch <i class="fas fa-play-circle"></i></button></p><div class="gameblocks" phase="active" division="A"></div><div class="playoffs" style="display:none"><div class="row" style="font-size:10px;text-align:center"><div class="col-4"><p>Quarter</p></div><div class="col-4"><p>Semi-finals</p></div><div class="col-4"><p>Finals</p></div></div><div class="row"><div class="col-4"><p class="quarter" game="Aq1"><span class="playoffplayer" seed="1" player="">Bye</span><span> vs </span><span class="playoffplayer" seed="8" player="">Bye</span></p><p class="quarter" game="Aq2"><span class="playoffplayer" seed="5" player="">Bye</span><span> vs </span><span class="playoffplayer" seed="4" player="">Bye</span></p></div><div class="col-4"><p class="semi" game="As1"><span class="playoffplayer" winner="Aq1" player="Aq1">Q1</span><span> vs </span><span class="playoffplayer" winner="Aq2" player="Aq2">Q2</span></p></div><div class="col-4"><p class="final" game="Af"><span class="playoffplayer" winner="As1" player="As1">S1</span><span> vs </span><span class="playoffplayer" winner="As2" player="As2">S2</span></p></div></div><div class="row"><div class="col-4"><p class="quarter" game="Aq3"> <span class="playoffplayer" seed="6" player="">Bye</span><span> vs </span><span class="playoffplayer" seed="3" player="">Bye</span></p><p class="quarter" game="Aq4"><span class="playoffplayer" seed="7" player="">Bye</span><span> vs </span><span class="playoffplayer" seed="2" player="">Bye</span></p></div><div class="col-4"><p class="semi" game="As2"><span class="playoffplayer" winner="Aq3" player="Aq3">Q3</span><span> vs </span><span class="playoffplayer" winner="Aq4" player="Aq4">Q4</span></p></div><div class="col-4"><p class="place3" game="A3p"><span class="playoffplayer" winner="Al1" player="Al1">L1</span><span> vs </span><span class="playoffplayer" winner="Al2" player="Al2">L2</span></p><p style="font-size:10px;text-align:center">3rd Place</p></div></div></div><table class="statstable table table-sm stattablemaster"><thead><tr><th class="tabgroupname" colspan="4" style="text-align:center">Group 1</th></tr><tr><th>#</th><th>Name</th><th>W/D/L</th><th>Pts</th></tr></thead><tbody></tbody></table><div class="stattablediv"></div></div></div></div><div class="col-3 standings" division="B" style="display:none"><div class="card"><div class="card-header"><h5>Div B - Beginner</h5></div><div class="card-body"><p class="message text-center">QUALIFIERS</p><p class="text-center launchplayoffs" style="display:none"><button class="btn btn-sm btn-info">Launch <i class="fas fa-play-circle"></i></button></p><div class="gameblocks" phase="active" division="B"></div><div class="playoffs" style="display:none"><div class="row" style="font-size:10px;text-align:center"><div class="col-4"><p>Quarter</p></div><div class="col-4"><p>Semi-finals</p></div><div class="col-4"><p>Finals</p></div></div><div class="row"><div class="col-4"><p class="quarter" game="Bq1"><span class="playoffplayer" seed="1" player="">Bye</span><span> vs </span><span class="playoffplayer" seed="8" player="">Bye</span></p><p class="quarter" game="Bq2"><span class="playoffplayer" seed="5" player="">Bye</span><span> vs </span><span class="playoffplayer" seed="4" player="">Bye</span></p></div><div class="col-4"><p class="semi" game="Bs1"><span class="playoffplayer" winner="Bq1" player="Bq1">Q1</span><span> vs </span><span class="playoffplayer" winner="Bq2" player="Bq2">Q2</span></p></div><div class="col-4"><p class="final" game="Bf"><span class="playoffplayer" winner="Bs1" player="Bs1">S1</span><span> vs </span><span class="playoffplayer" winner="Bs2" player="Bs2">S2</span></p></div></div><div class="row"><div class="col-4"><p class="quarter" game="Bq3"> <span class="playoffplayer" seed="6" player="">Bye</span><span> vs </span><span class="playoffplayer" seed="3" player="">Bye</span></p><p class="quarter" game="Bq4"><span class="playoffplayer" seed="7" player="">Bye</span><span> vs </span><span class="playoffplayer" seed="2" player="">Bye</span></p></div><div class="col-4"><p class="semi" game="Bs2"><span class="playoffplayer" winner="Bq3" player="Bq3">Q3</span><span> vs </span><span class="playoffplayer" winner="Bq4" player="Bq4">Q4</span></p></div><div class="col-4"><p class="place3" game="B3p"><span class="playoffplayer" winner="Bl1" player="Bl1">L1</span><span> vs </span><span class="playoffplayer" winner="Bl2" player="Bl2">L2</span></p><p style="font-size:10px;text-align:center">3rd Place</p></div></div></div><table class="statstable table table-sm stattablemaster"><thead><tr><th class="tabgroupname" colspan="4" style="text-align:center">Group 1</th></tr><tr><th>#</th><th>Name</th><th>W/D/L</th><th>Pts</th></tr></thead><tbody></tbody></table><div class="stattablediv"></div></div></div></div><div class="col-3 standings" division="C" style="display:none"><div class="card"><div class="card-header"><h5>Div C - Intermediate</h5></div><div class="card-body"><p class="message text-center">QUALIFIERS</p><p class="text-center launchplayoffs" style="display:none"><button class="btn btn-sm btn-info">Launch <i class="fas fa-play-circle"></i></button></p><div class="gameblocks" phase="active" division="C"></div><div class="playoffs" style="display:none"><div class="row" style="font-size:10px;text-align:center"><div class="col-4"><p>Quarter</p></div><div class="col-4"><p>Semi-finals</p></div><div class="col-4"><p>Finals</p></div></div><div class="row"><div class="col-4"><p class="quarter" game="Cq1"><span class="playoffplayer" seed="1" player="">Bye</span><span> vs </span><span class="playoffplayer" seed="8" player="">Bye</span></p><p class="quarter" game="Cq2"><span class="playoffplayer" seed="5" player="">Bye</span><span> vs </span><span class="playoffplayer" seed="4" player="">Bye</span></p></div><div class="col-4"><p class="semi" game="Cs1"><span class="playoffplayer" winner="Cq1" player="Cq1">Q1</span><span> vs </span><span class="playoffplayer" winner="Cq2" player="Cq2">Q2</span></p></div><div class="col-4"><p class="final" game="Cf"><span class="playoffplayer" winner="Cs1" player="Cs1">S1</span><span> vs </span><span class="playoffplayer" winner="Cs2" player="Cs2">S2</span></p></div></div><div class="row"><div class="col-4"><p class="quarter" game="Cq3"> <span class="playoffplayer" seed="6" player="">Bye</span><span> vs </span><span class="playoffplayer" seed="3" player="">Bye</span></p><p class="quarter" game="Cq4"><span class="playoffplayer" seed="7" player="">Bye</span><span> vs </span><span class="playoffplayer" seed="2" player="">Bye</span></p></div><div class="col-4"><p class="semi" game="Cs2"><span class="playoffplayer" winner="Cq3" player="Cq3">Q3</span><span> vs </span><span class="playoffplayer" winner="Cq4" player="Cq4">Q4</span></p></div><div class="col-4"><p class="place3" game="C3p"><span class="playoffplayer" winner="Cl1" player="Cl1">L1</span><span> vs </span><span class="playoffplayer" winner="Cl2" player="Cl2">L2</span></p><p style="font-size:10px;text-align:center">3rd Place</p></div></div></div><table class="statstable table table-sm stattablemaster"><thead><tr><th class="tabgroupname" colspan="4" style="text-align:center">Group 1</th></tr><tr><th>#</th><th>Name</th><th>W/D/L</th><th>Pts</th></tr></thead><tbody></tbody></table><div class="stattablediv"></div></div></div></div><div class="col-3 standings" division="D" style="display:none"><div class="card"><div class="card-header"><h5>Div D - Advanced</h5></div><div class="card-body"><p class="message text-center">QUALIFIERS</p><p class="text-center launchplayoffs" style="display:none"><button class="btn btn-sm btn-info">Launch <i class="fas fa-play-circle"></i></button></p><div class="gameblocks" phase="active" division="D"></div><div class="playoffs" style="display:none"><div class="row" style="font-size:10px;text-align:center"><div class="col-4"><p>Quarter</p></div><div class="col-4"><p>Semi-finals</p></div><div class="col-4"><p>Finals</p></div></div><div class="row"><div class="col-4"><p class="quarter" game="Dq1"><span class="playoffplayer" seed="1" player="">Bye</span><span> vs </span><span class="playoffplayer" seed="8" player="">Bye</span></p><p class="quarter" game="Dq2"><span class="playoffplayer" seed="5" player="">Bye</span><span> vs </span><span class="playoffplayer" seed="4" player="">Bye</span></p></div><div class="col-4"><p class="semi" game="Ds1"><span class="playoffplayer" winner="Dq1" player="Dq1">Q1</span><span> vs </span><span class="playoffplayer" winner="Dq2" player="Dq2">Q2</span></p></div><div class="col-4"><p class="final" game="Df"><span class="playoffplayer" winner="Ds1" player="Ds1">S1</span><span> vs </span><span class="playoffplayer" winner="Ds2" player="Ds2">S2</span></p></div></div><div class="row"><div class="col-4"><p class="quarter" game="Dq3"> <span class="playoffplayer" seed="6" player="">Bye</span><span> vs </span><span class="playoffplayer" seed="3" player="">Bye</span></p><p class="quarter" game="Dq4"><span class="playoffplayer" seed="7" player="">Bye</span><span> vs </span><span class="playoffplayer" seed="2" player="">Bye</span></p></div><div class="col-4"><p class="semi" game="Ds2"><span class="playoffplayer" winner="Dq3" player="Dq3">Q3</span><span> vs </span><span class="playoffplayer" winner="Dq4" player="Dq4">Q4</span></p></div><div class="col-4"><p class="place3" game="D3p"><span class="playoffplayer" winner="Dl1" player="Dl1">L1</span><span> vs </span><span class="playoffplayer" winner="Dl2" player="Dl2">L2</span></p><p style="font-size:10px;text-align:center">3rd Place</p></div></div></div><table class="statstable table table-sm stattablemaster"><thead><tr><th class="tabgroupname" colspan="4" style="text-align:center">Group 1</th></tr><tr><th>#</th><th>Name</th><th>W/D/L</th><th>Pts</th></tr></thead><tbody></tbody></table><div class="stattablediv"></div></div></div></div></div></div><div class="modal" id="playermodal"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><h5 class="modal-title">Player details</h5><button class="btn-close" type="button" data-bs-dismiss="modal" aria-label="Close"></button></div><div class="modal-body"><label class="form-label" for="playername">Player name</label><input class="form-control" id="playername" type="test"/></div><div class="modal-footer"><button class="btn btn-secondary" type="button" data-bs-dismiss="modal">Close</button><button class="btn btn-primary" id="saveplayer" type="button">Save</button></div></div></div></div><div class="col-3 groupmaster playergroup" group="1" style="display:none"><div class="card"><div class="card-header"><h5><span class="grouptitle">Group 1</span><i class="deletegroup fas fa-trash" style="display:none;margin-left:10px"></i></h5></div><div class="card-body"><div class="playerlist"></div><p><i class="addplayer fas fa-plus-circle"></i></p></div></div></div></body></html>