Commit c7509fc6 authored by diesys's avatar diesys 🎈
Browse files

working on forms bootstrap

parent 96a75d88
......@@ -40,6 +40,15 @@
</span>
<h4 id='sottotitolo'>Pagina di amministrazione</h4>
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">First and last name</span>
</div>
<input type="text" aria-label="First name" class="form-control">
<input type="text" aria-label="Last name" class="form-control">
</div>
<?php
echo "<div id='content'><h2>CLASSIFICA</h2>", "<br/>";
......
......@@ -32,8 +32,8 @@ body {
}
#titolo > h1 {
position: absolute;
left: 49%;
transform: translateX(-50%);
left: 50%;
transform: translateX(calc(-50% - 10px));
font-size: 25px;
top: 0;
text-shadow: 1px 2px 4px rgba(0,0,0,.1);
......
......@@ -353,12 +353,12 @@ if(len(sys.argv) > 1): ## getting p
ranking = {'stabili': [], 'instabili': []}
for giocatore in torneo['RANKING']:
if (giocatore[-1]):
ranking['stabili'].append(el)
if (giocatore[-1]):
ranking['stabili'].append(giocatore)
else:
ranking['instabili'].append(el)
ranking['instabili'].append(giocatore)
ranking = ' ' + str(ranking['stabili']) + '\n == INSTABILI \n' + str(ranking['instabili'])
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