2020-09-19 16:08:07 +02:00
|
|
|
<?php
|
|
|
|
ob_start(); // Start reading html
|
|
|
|
$relativePath = "../../";
|
|
|
|
?>
|
|
|
|
<div class="inner">
|
|
|
|
<h1>ADMIN</h1>
|
|
|
|
<h2>Edition des scores</h2>
|
|
|
|
<ul>
|
|
|
|
<strong style="color: #ee293d">Quelques règles pour les scores</strong>
|
|
|
|
<li>Pas de score total négatif pour une équipe</li>
|
|
|
|
<li>A priori les scores supérieurs à 1000 marchent, mais au cas où restez à
|
|
|
|
moins de 1000 (comme l'année dernière quoi)</li>
|
|
|
|
</ul>
|
|
|
|
Si jamais y'a un quelconque problème, envoyez-moi un message.
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="teamSelect">
|
|
|
|
<option value="tam">Tamboom</option>
|
|
|
|
<option value="pek">Pekstanas</option>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<div class="add-line">
|
|
|
|
<i class="fas fa-plus"></i>
|
|
|
|
</div>
|
|
|
|
<div class="edit-header">
|
|
|
|
<div class="stat-log">Log</div>
|
|
|
|
<div class="stat-points">Points</div>
|
|
|
|
<div class="stat-trash"><i class='fas fa-trash'></i></div>
|
|
|
|
</div>
|
|
|
|
<table class="stats-table edit-stats">
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<div class="save">
|
|
|
|
<i class="fas fa-save"></i> Enregistrer
|
|
|
|
</div>
|
|
|
|
<br>
|
|
|
|
<div class="buttons-container">
|
|
|
|
<a href="../index.php" class="admin-back-button">
|
|
|
|
<i class="fas fa-chevron-left"></i>
|
|
|
|
Retour sur la page admin
|
|
|
|
</a>
|
|
|
|
<a href="<?= $relativePath ?>stats.php" class="website-back-button">
|
|
|
|
Voir sur le site
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" type="text/css" media="screen" href="<?= $relativePath ?>assets/css/adminEdit.css"/>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
$pageContent = ob_get_clean(); // Store html content in variable
|
|
|
|
$pageTitle = "Édition scores";
|
|
|
|
|
|
|
|
$pageScripts = "<script type=\"text/javascript\" src=\"".$relativePath."assets/js/admin/statsManager.js\"></script>";
|
|
|
|
|
|
|
|
include($relativePath . "includes/template.php"); // Display template with variable content
|
|
|
|
|
|
|
|
?>
|