Commit e31de55c authored by diesys's avatar diesys 🎈

merge fix and add some bootstrap admin.php

parents c7509fc6 bfb6641a
......@@ -29,6 +29,12 @@
<link rel="stylesheet" href="css/main.css" />
<meta name="HandheldFriendly" content="true" />
<meta name="mobile-web-app-capable" content="yes">
<!-- bootstrap -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<body>
<center>
......@@ -43,10 +49,16 @@
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">First and last name</span>
<span class="input-group-text">Partita</span>
</div>
<input type="text" aria-label="First name" class="form-control">
<input type="text" aria-label="Last name" class="form-control">
<input type="text" aria-label="Giocatore 1" class="form-control">
<input type="text" aria-label="Giocatore 2" class="form-control">
<select class="custom-select" id="inputGroupSelect01">
<option selected>Choose...</option>
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
</select>
</div>
<?php
......
......@@ -354,11 +354,11 @@ if(len(sys.argv) > 1): ## getting p
ranking = {'stabili': [], 'instabili': []}
for giocatore in torneo['RANKING']:
if (giocatore[-1]):
ranking['stabili'].append(giocatore)
ranking['stabili'].append(giocatore[0:3])
else:
ranking['instabili'].append(giocatore)
ranking = ' ' + str(ranking['stabili']) + '\n== INSTABILI ==\n' + str(ranking['instabili'])
ranking['instabili'].append(giocatore[0:3])
ranking = ' ' + str(ranking['stabili']) + '\n == INSTABILI \n' + str(ranking['instabili'])
for char in caratteri_omessi:
ranking = ranking.replace(char, '')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment