forked from SimonezYT/fantacalcio-4h
Add initial implementation of Fantacalcio application
This commit is contained in:
Executable
+40
@@ -0,0 +1,40 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="it">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Squadre</title>
|
||||
<link rel="stylesheet" href="squadre.css">
|
||||
<script src="squadre.js" defer></script>
|
||||
<?php require 'dati.php'; ?>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="squadre">
|
||||
<button id="import-giocatori">Importa giocatori</button>
|
||||
<button id="import-voti">Importa voti</button><br>
|
||||
<a href="download.php?type=giocatori"><button>Esporta giocatori</button></a>
|
||||
<a href="download.php?type=voti"><button>Esporta voti</button></a>
|
||||
<input type="file" id="file-input" style="display: none;" accept=".csv" />
|
||||
<h1>Lista squadre</h1>
|
||||
<select name="elencoSquadre" id="elencoSquadre">
|
||||
<option value="">Seleziona una squadra</option>
|
||||
<!-- Squadre inserite con JS -->
|
||||
</select>
|
||||
<button onclick="generaSquadre();">Genera squadre</button>
|
||||
<button onclick="window.location='./';">Home</button>
|
||||
<br>
|
||||
<h1>Giocatori della squadra</h1>
|
||||
<div id="giocatoriSquadra">
|
||||
<!-- Riempito da JS -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="giocatori">
|
||||
<h1>Lista giocatori</h1>
|
||||
<div id="elencoGiocatori">
|
||||
<!-- Lista giocatori inserita da JS -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user