|
|
@@ -97,7 +97,7 @@ $message[4]=' |
|
|
|
<p> |
|
|
|
<hr /> |
|
|
|
<p> |
|
|
|
<a href="#" class="btn btn-default btn-lg disabled"><i class="glyphicon glyphicon-plus"></i> Créer un joueur</a> |
|
|
|
<a data-toggle="modal" data-target="#modal_new_player" class="btn btn-default btn-lg"><i class="glyphicon glyphicon-plus"></i> Créer un joueur</a> |
|
|
|
</p> |
|
|
|
<hr /> |
|
|
|
<p> |
|
|
@@ -197,9 +197,30 @@ $message[4]=' |
|
|
|
</div> |
|
|
|
<div class="col-lg-1"></div> |
|
|
|
</div> |
|
|
|
<?php elseif($status == 0): ?> |
|
|
|
|
|
|
|
<div class="modal fade" id="modal_new_player"> |
|
|
|
<div class="modal-dialog"> |
|
|
|
<div class="modal-content"> |
|
|
|
<form class="form-horizontal well" role="form" method="post" action="new_player.php" enctype="multipart/form-data"> |
|
|
|
<div class="modal-header"> |
|
|
|
<a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a> |
|
|
|
<h4 class="modal-title"><i class="glyphicon glyphicon-log-in"></i> NOUVEAU JOUEUR</h4> |
|
|
|
</div> |
|
|
|
<div class="modal-body"> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="control-label" for="focusedInput">Nom :</label> |
|
|
|
<input class="form-control" id="focusedInput" type="text" name="player_name"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="modal-footer"> |
|
|
|
<button type="submit" class="btn btn-info">Création du joueur</button> |
|
|
|
</div> |
|
|
|
</form> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<?php elseif($status == 0): ?> |
|
|
|
|
|
|
|
<div class="container-fluid"> |
|
|
|
<div class="col-lg-1"></div> |
|
|
|