Prześlij pliki do 'trening-planer'
This commit is contained in:
parent
cde7ab7d64
commit
d40ecef5f2
@ -53,10 +53,13 @@ function dodawanieCwiczenia(id) {
|
||||
<div class="collapse navbar-collapse navbar-right mainmenu" id="mainmenu">
|
||||
<ul class="nav navbar-nav">
|
||||
|
||||
<li><a class="nav-link" href="/logowanie/">Logowanie</a>
|
||||
<li><a class="nav-link" href="/planer/">Zaplanuj nowy trening</a>
|
||||
<li><a class="nav-link" href="/koszyk/">Twoj trening</a>
|
||||
<li><a class="btn btn-default" href="/wyniki/">Wyniki</a>
|
||||
<li><a class="nav-link" href="/planer/">Zaplanuj nowy trening</a></li>
|
||||
<li><a class="nav-link" href="/trening/">Twoj trening</a></li>
|
||||
<li><a class="btn btn-default" href="/wyniki/">Wyniki</a></li>
|
||||
<li><a class="nav-link lista-menu" href="/dodajcwiczenie/">Dodaj ćwiczenie</a></li>
|
||||
|
||||
<li><a class="nav-link" href="/wymiary/">Wymiary</a></li>
|
||||
<li> <form action="/logowanie" method="GET"> <button class="btn btn-default" style="height: 50px" value="brak" name="cookies" >Wyloguj</button></form></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@ -74,14 +77,14 @@ function dodawanieCwiczenia(id) {
|
||||
|
||||
{{ range . }}
|
||||
<div class="cwiczenie-nazwa col-xs-12 text-center"> {{.Nazwa}} </div>
|
||||
<div class="cwiczenie-opis col-lg-6">{{.Opis}}</div>
|
||||
<div class="cwiczenie-opis col-lg-6">
|
||||
<video width="500" height="240" controls poster="https://www.menshealth.pl/media/lib/2037/naprzemienne_wyciskanie_hantli_stojac.jpg">
|
||||
<source src="{{ .Zdjecie }}" type="video/mp4">
|
||||
<div class="cwiczenie-opis col-lg-12">{{.Opis}}</div>
|
||||
<div class="cwiczenie-opis col-lg-12">
|
||||
{{if .Film}} <video width="500" height="240" controls poster="https://www.menshealth.pl/media/lib/2037/naprzemienne_wyciskanie_hantli_stojac.jpg">
|
||||
<source src="{{ .Film }}" type="video/mp4">
|
||||
|
||||
</video>
|
||||
|
||||
</video>
|
||||
</video>{{ end }}
|
||||
</div>
|
||||
|
||||
{{ end }}
|
||||
@ -90,19 +93,7 @@ function dodawanieCwiczenia(id) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="container footer">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<p>Wszystkie prawa zastrzeżone. <strong>mój</strong>produkt © 2015<br>
|
||||
<small>kontakt@mojprodukt.pl</small>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
{{ end }}
|
@ -91,7 +91,7 @@ function dodawanieCwiczenia(id) {
|
||||
<option>Przedramiona</option>
|
||||
<option>Brzuch i korpus</option></select>
|
||||
</div>
|
||||
<div class="col-lg-12" style="margin-top: 15px">Film:<input type="text" class="form-control" name="Zdjecie" placeholder="Film" style="width: 750px"></div>
|
||||
<div class="col-lg-12" style="margin-top: 15px">Film(opcjonalnie):<input type="text" class="form-control" name="Film" placeholder="Film" style="width: 750px"></div>
|
||||
<div class="col-lg-12" style="margin-top: 15px">Opis:<textarea type="textarea" class="form-control" name="Opis" style="width: 750px;height: 300px"></textarea></div>
|
||||
|
||||
<div class="col-lg-offset-5 col-lg-2 btn-group btn-group-xs" role="group" aria-label="Zarządzaj wpisem" style="margin-top: 15px;" >
|
||||
|
@ -3,23 +3,76 @@
|
||||
|
||||
<table class="table table-hover">
|
||||
|
||||
|
||||
<caption>Dodawanie ciężaru oraz powtórzeń</caption>
|
||||
|
||||
<thead style="background-color: #999999">
|
||||
|
||||
|
||||
|
||||
{{ range . }} {{if eq .Poziom "początkujący"}}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<th >Ćwiczenie</th>
|
||||
<th>Partie</th>
|
||||
<th>Dodawanie powtórzeń</th>
|
||||
<th>Co ile dodać powtórzenie</th>
|
||||
<th>Dodawanie obciążenia</th>
|
||||
<th>Dodawanie obciążenia</th>
|
||||
<th>Co ile dodać obciążenie</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
{{ range . }} <tr>
|
||||
|
||||
|
||||
|
||||
{{ range .Zmiany }} <tr>
|
||||
|
||||
|
||||
<td align="center"> {{.Rodzaj}}</td>
|
||||
|
||||
<td align="center"> {{.Powtorzenie_dodaj}}</td>
|
||||
|
||||
<td align="center"> {{.Co_ile_powtorzenie}}</td>
|
||||
<td align="center"> {{.Ciezar_dodaj}}</td>
|
||||
<td align="center"> {{.Co_ile_ciezar}}</td>
|
||||
|
||||
|
||||
|
||||
</tr>{{ end }}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{{ else }}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<th >Ćwiczenie</th>
|
||||
<th>Partie</th>
|
||||
<th>Dodawanie powtórzeń</th>
|
||||
<th>Co ile dodać powtórzenie</th>
|
||||
<th>Dodawanie obciążenia</th>
|
||||
<th>Co ile dodać obciążenie</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
|
||||
|
||||
|
||||
{{ range .Zmiany }} <tr>
|
||||
|
||||
|
||||
<td align="center"> {{.Nazwa}}</td>
|
||||
<td align="center"> {{.Rodzaj}}</td>
|
||||
@ -35,6 +88,13 @@
|
||||
</tr>{{ end }}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
@ -69,20 +69,22 @@ function dodawanieCwiczenia(id) {
|
||||
<div class="row">
|
||||
|
||||
|
||||
<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: 350px; width:350px; padding: 70px">
|
||||
|
||||
<div class="col-lg-12 text-center" style="margin-bottom: 20px">
|
||||
<div class="col-lg-12 text-center" style="margin-bottom: 15px"> <div class="col-lg-12 text-center" style="margin-bottom: 20px"> <span style="font-size:16px"> Wybierz:</span></div>
|
||||
<form action="/planer/" method="POST">
|
||||
<div class="col-lg-12 text-center" style="margin-bottom: 15px"> Rodzaj treningu:
|
||||
<select name="rodzaj_treningu" style="width: 180px">
|
||||
<option>FBW</option>
|
||||
<option>ASB</option>
|
||||
</select>
|
||||
<select name="poziom" style="width: 180px">
|
||||
<option>ABS</option>
|
||||
</select></div>
|
||||
<div class="col-lg-12 text-center" style="margin-bottom: 15px">
|
||||
Poziom:<select name="poziom" style="width: 180px">
|
||||
<option>początkujący</option>
|
||||
<option>zaawansowany</option>
|
||||
</select>
|
||||
|
||||
<input type="submit" value="Zatwierdzam" />
|
||||
</select></div>
|
||||
<div class="col-lg-12 text-center" style="margin-bottom: 20px">
|
||||
<input type="submit" value="Zatwierdzam" /></div>
|
||||
</form> </div>
|
||||
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user