Prześlij pliki do 'trening-planer'

This commit is contained in:
Karolina Słonka 2019-02-21 16:21:27 +00:00
parent d40ecef5f2
commit 0ff3868c9e
4 changed files with 12 additions and 10 deletions

View File

@ -16,7 +16,7 @@
<!-- <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <!-- <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
--> -->
<script> <!-- <script>
function placeOrder2(form) { function placeOrder2(form) {
@ -50,7 +50,7 @@ if(regex.test(inputField.value)){
return true; return true;
} }
} }
</script> </script> -->
</head> </head>
<body> <body>
@ -128,14 +128,14 @@ if(regex.test(inputField.value)){
<form action="/trening/" method="POST"> <form action="/trening/" method="POST">
<input value="{{ .Nazwa }}" name="Nazwa" style="height: 0px; width: 0px;border: 0px; padding: 0px; margin: 0px" > <input value="{{ .Nazwa }}" name="Nazwa" style="height: 0px; width: 0px;border: 0px; padding: 0px; margin: 0px" >
<td style="vertical-align: middle;i">{{ .Nazwa }}</td> <td style="vertical-align: middle;i">{{ .Nazwa }}</td>
<td><input type="text" class="form-control" value="{{ .Serie }}" name="Serie" id="Serie" placeholder="{{ .Serie }}" onblur="validateZIPCode(this, document.getElementById('Serie_help'))"> <td><input type="text" class="form-control" value="{{ .Serie }}" name="Serie" id="Serie" placeholder="{{ .Serie }}">
</td> </td>
<td><input type="text" class="form-control" value="{{ .Powtorzenia }}" name="Powtorzenia" placeholder="{{ .Powtorzenia }}" onblur="validateZIPCode(this, document.getElementById('Powtorzenia_help'))" ></td> <td><input type="text" class="form-control" value="{{ .Powtorzenia }}" name="Powtorzenia" placeholder="{{ .Powtorzenia }}" ></td>
<td><input type="text" class="form-control" id="Ciezar" value="{{ .Ciezar }}" name="Ciezar" placeholder="{{ .Ciezar }}" onblur="validateZIPCode(this, document.getElementById('Ciezar_help'))" ></td> <td><input type="text" class="form-control" id="Ciezar" value="{{ .Ciezar }}" name="Ciezar" placeholder="{{ .Ciezar }}" ></td>
<td> <td>
<input type="submit" name="Akcja" value="zatwierdz" onclick="placeOrder2(this.form);" /></td> <input type="submit" name="Akcja" value="zatwierdz" /></td>
<td><input type="submit" name="Akcja" value="usun" onclick="placeOrder2(this.form);" /></div></td> <td><input type="submit" name="Akcja" value="usun" /></div></td>
</form> </form>
</tr> </tr>

View File

@ -65,7 +65,9 @@ function dodawanieCwiczenia(id) {
<div class="rejestracja col-lg-offset-4 col-lg-4 text-center" style="background-color: #efefef; border-radius: 20%; text-align: center; height: 280px; width:350px; padding: 70px"> <div class="rejestracja col-lg-offset-4 col-lg-4 text-center" style="background-color: #efefef; border-radius: 20%; text-align: center; height: 280px; width:350px; padding: 70px">
<form action="/logowanie" method="POST" > <form action="/logowanie" method="POST" >
<div class="col-lg-12 text-center"> <div class="col-lg-12 text-center">
<p>
{{ .Opis }}
</p>
<input type="text" class="form-control" name="Login" placeholder="Login" style="width: 150px; margin-bottom: 15px"> <input type="text" class="form-control" name="Login" placeholder="Login" style="width: 150px; margin-bottom: 15px">
<input type="password" class="form-control" name="Haslo" placeholder="Haslo" style="width: 150px; margin-bottom: 25px"> <input type="password" class="form-control" name="Haslo" placeholder="Haslo" style="width: 150px; margin-bottom: 25px">

View File

@ -19,7 +19,7 @@
<input type="text" class="form-control" id="ciezar_dodaj" name="ciezar_dodaj" placeholder="Jaki ciężar" style="width: 180px;margin-top: 10px"> <input type="text" class="form-control" id="ciezar_dodaj" name="ciezar_dodaj" placeholder="Jaki ciężar" style="width: 180px;margin-top: 10px">
<input type="text" class="form-control" id="co_ile_powtorzenie" name="co_ile_powtorzenie" placeholder="co ile trenngów" style="width: 180px;margin-top: 10px"> <input type="text" class="form-control" id="co_ile_powtorzenie" name="co_ile_powtorzenie" placeholder="co ile trenngów" style="width: 180px;margin-top: 10px">
<input type="text" class="form-control" id="powtorzenie_dodaj" name="powtorzenie_dodaj" placeholder="Ile powtórzeń" style="width: 180px;margin-top: 10px"> <input type="text" class="form-control" id="powtorzenie_dodaj" name="powtorzenie_dodaj" placeholder="Ile powtórzeń" style="width: 180px;margin-top: 10px">
<input type="submit" value="Zatwierdzam" style="margin-top: 20px" /> <input type="submit" value="Zatwierdzam" name="Akcja" style="margin-top: 20px" />
</div> </div>
</form> </form>

View File

@ -82,7 +82,7 @@ if(regex!= regex2){
<input type="text" class="form-control" name="Login" placeholder="Login" style="width: 150px; margin-bottom: 15px"> <input type="text" class="form-control" name="Login" placeholder="Login" style="width: 150px; margin-bottom: 15px">
<input type="password" class="form-control" name="Haslo" id="Haslo" placeholder="Haslo" style="width: 150px; margin-bottom: 15px"> <input type="password" class="form-control" name="Haslo" id="Haslo" placeholder="Haslo" style="width: 150px; margin-bottom: 15px">
<input type="password" class="form-control" name="Haslo2" id="Haslo2" placeholder="Haslo" onblur ="sprawdzanieFormularza(this);" style="width: 150px; margin-bottom: 15px" > <input type="password" class="form-control" name="Haslo2" id="Haslo2" placeholder="Haslo" style="width: 150px; margin-bottom: 15px" >
</div> </div>
<button type="submit" class="btn btn-default">Zarejestruj</button> <button type="submit" class="btn btn-default">Zarejestruj</button>