2019-01-31 22:31:47 +01:00
|
|
|
{{ define "Index" }}
|
2018-12-31 00:54:28 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="pl">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
|
|
|
|
<title>Dodawanie ćwiczenia</title><link rel="Shortcut icon" href="img/logo2.jpg" />
|
|
|
|
<link type="text/css" href="/static/css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
<link rel="Stylesheet" type="text/css" href="/static/css_moje/style_moje.css" />
|
|
|
|
<link href="http://fonts.googleapis.com/css?family=Roboto:400,700,400italic,500italic&subset=latin,latin-ext" rel="stylesheet">
|
|
|
|
<script>
|
|
|
|
function dodawanieCwiczenia(id) {
|
|
|
|
var elem = document.getElementById(id);
|
|
|
|
if(elem.style.display==''){ elem.style.display='none'; return; }
|
|
|
|
elem.style.display='';
|
|
|
|
}
|
|
|
|
|
|
|
|
</script>
|
|
|
|
<style>body {
|
|
|
|
font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
|
|
}</style>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<nav class="navbar navbar-default navbar-fixed-top">
|
|
|
|
<div class="container">
|
|
|
|
<div class="navbar-header">
|
|
|
|
<button type="button" class="navbar-toggle collapsed"
|
|
|
|
data-toggle="collapse"
|
|
|
|
data-target="#mainmenu"
|
|
|
|
aria-expanded="false">
|
|
|
|
<span class="sr-only">Przełącznik nawigacji</span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
</div>
|
2019-01-20 11:32:12 +01:00
|
|
|
<div class="collapse navbar-collapse navbar-right mainmenu" id="mainmenu">
|
2018-12-31 00:54:28 +01:00
|
|
|
<ul class="nav navbar-nav">
|
|
|
|
|
2019-01-20 11:32:12 +01:00
|
|
|
|
2019-01-16 23:45:53 +01:00
|
|
|
<li><a class="nav-link" href="/planer/">Zaplanuj nowy trening</a></li>
|
|
|
|
<li><a class="nav-link" href="/wypisz/">Twoj trening</a></li>
|
|
|
|
<li><a class="btn btn-default" href="/wyniki/">Wyniki</a></li>
|
2019-01-28 21:15:04 +01:00
|
|
|
<li><a class="nav-link lista-menu" href="/dodajcwiczenie/">Dodaj ćwiczenie</a></li>
|
2019-01-20 11:32:12 +01:00
|
|
|
|
|
|
|
<li><a class="nav-link" href="/wymiary/">Wymiary</a></li>
|
2019-01-16 23:45:53 +01:00
|
|
|
<li> <form action="/logowanie" method="GET"> <button class="btn btn-default" style="height: 50px" value="brak" name="cookies" >Wyloguj</button></form></li>
|
2018-12-31 00:54:28 +01:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
</div><br>
|
|
|
|
<br><br>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
2019-01-20 11:32:12 +01:00
|
|
|
|
|
|
|
|
2019-01-31 22:31:47 +01:00
|
|
|
<div class="col-lg-8">
|
2018-12-31 00:54:28 +01:00
|
|
|
|
|
|
|
<form action="/dodajcwiczenie/" method="POST">
|
|
|
|
|
|
|
|
|
2019-01-31 22:31:47 +01:00
|
|
|
|
2019-01-20 11:32:12 +01:00
|
|
|
|
2019-01-31 22:31:47 +01:00
|
|
|
<div class="col-lg-12" style="margin-top: 15px">Nazwa:<input type="text" class="form-control" name="Nazwa" placeholder="Nazwa" style="width: 600px"></div>
|
2019-02-03 00:45:25 +01:00
|
|
|
<div class="col-lg-4" style="margin-top: 15px">
|
|
|
|
Rodzaj:
|
|
|
|
<!-- <input type="text" class="form-control" name="Rodzaj" placeholder="Rodzaj" style="width: 150px"> -->
|
|
|
|
<select name="Rodzaj" style="width: 180px">
|
|
|
|
<option>Łydki</option>
|
|
|
|
<option>Uda</option>
|
|
|
|
<option>Pośladki</option>
|
|
|
|
<option>Plecy</option>
|
|
|
|
<option>Trieps</option>
|
|
|
|
<option>Barki</option>
|
|
|
|
<option>Klatka piersiowa</option>
|
|
|
|
<option>Biceps</option>
|
|
|
|
<option>Przedramiona</option>
|
|
|
|
<option>Brzuch i korpus</option>
|
|
|
|
</div>
|
2019-01-31 22:31:47 +01:00
|
|
|
<div class="col-lg-4" style="margin-top: 15px">Zdjecie:<input type="text" class="form-control" name="Zdjecie" placeholder="Zdjecie" style="width: 120px"></div>
|
|
|
|
<div class="col-lg-12" style="margin-top: 15px">Opis:<textarea type="textarea" class="form-control" name="Opis" style="width: 600px;height: 400px"></textarea></div>
|
2019-01-20 11:32:12 +01:00
|
|
|
|
|
|
|
<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;" >
|
2019-01-31 22:31:47 +01:00
|
|
|
<button type="submit" class="btn btn-default" style="height: 50px" onclick="dodawanieDoBazy()" >Dodaj ćwiczenie</button></div> </form>
|
|
|
|
</div>
|
2018-12-31 00:54:28 +01:00
|
|
|
|
2019-02-03 00:45:25 +01:00
|
|
|
<div class="col-lg-4" style="background-color: #EBC79E;margin-top: 15px"> <h2>Lista dodanych przez Ciebie ćwiczeń</h2> <br/><br/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<form action="/usuncwiczenie/" method="POST">
|
|
|
|
{{ range . }}
|
|
|
|
<input type="radio" name="NazwaUsun" value={{.Nazwa}}> {{.Nazwa}}
|
|
|
|
<br/>
|
|
|
|
{{end}}
|
|
|
|
<button type="submit" class="btn btn-default" style="height: 50px" o >Usuń</button>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div></div>
|
2018-12-31 00:54:28 +01:00
|
|
|
|
2019-01-31 22:31:47 +01:00
|
|
|
</div>
|
2018-12-31 00:54:28 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2019-01-20 11:32:12 +01:00
|
|
|
<div class="container footer" style="margin-top: 20%">
|
2018-12-31 00:54:28 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12">
|
2019-01-20 11:32:12 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2018-12-31 00:54:28 +01:00
|
|
|
<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>
|
2019-01-31 22:31:47 +01:00
|
|
|
{{ end}}
|