A php killer game implementation
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

mobile login button

+4 -2
+2
priv/templates/base.html
··· 36 36 <div class="col"> 37 37 {% if session.qr.id %} 38 38 <a class="btn btn-dark float-right ml-1 mt-1" href="logout.php">Logga ut</a> 39 + {% else %} 40 + <a class="btn btn-dark float-right ml-1 mt-1 d-block d-md-none" href="#login">Logga in</a> 39 41 {% endif %} 40 42 <a class="btn btn-dark float-right ml-1 mt-1" href="scoreboard.php">Poängtavla</a> 41 43 {% if session.qr.is_admin == '1'%}
+2 -2
priv/templates/login.html
··· 7 7 </div> 8 8 {% endif %} 9 9 <p>Du loggar in på QRTag med ditt skolkonto.</p> 10 - <form action="login.php" method="post"> 10 + <form id="login" action="login.php" method="post"> 11 11 <div class="form-group"> 12 12 <label for="username">Användarnamn</label> 13 - <input class="form-control" type="text" name="username" id="username" placeholder="Ange användarnamn" required autofocus> 13 + <input class="form-control" type="text" name="username" id="username" placeholder="Ange användarnamn" required> 14 14 </div> 15 15 <div class="form-group"> 16 16 <label for="password">Lösenord</label>