Skip to content

Commit

Permalink
stranky
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuzana Kvapilová authored and Zuzana Kvapilová committed Feb 29, 2024
1 parent 7059bad commit 5db551a
Show file tree
Hide file tree
Showing 6 changed files with 99 additions and 53 deletions.
Binary file modified app/.DS_Store
Binary file not shown.
60 changes: 60 additions & 0 deletions app/static/lecturer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="../static/styly.css"/>
<title>Žabantí TdA</title>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light justify-content-between">
<a class="navbar-brand mx-4" href="/" title="Domů">
<img src="TeacherDigitalAgency_LOGO_colour-black.svg" width="100px" height="100px">
</a>

<h1 class="navbar-header" style="padding-top: 10px;">Lektor</h1>
<input class="mx-4" type="image" src="user-svgrepo-com.svg" width="60px" height="60px" style="border: 1px solid #000;" title="Přihlásit se">
</nav>

<section class="about">
<div class="main">
<div class="container mt-5">
<div class="row">
<div class="col-md-4">
<div class="card">
<img src="{{lecturer['picture_url'] or '../static/default-picture.svg'}}" class="card-img-top" alt="Profilový obrázek">
<div class="card-body">
<h5 class="card-title">{{get_fullname(lecturer)}}</h5>
<p class="card-text">{{lecturer["bio"] | safe}}</p>
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item">{{lecturer["claim"]}}</li>
<li class="list-group-item">Email: {{get_emails(lecturer)}}</li>
<li class="list-group-item">Telefon: {{get_telnums(lecturer)}}</li>
</ul>
<div class="card-body">
</div>
</div>
</div>
<div class="col-md-8">
<h2>Info</h2>
<p>{{get_tags(lecturer)}}</p>
<p>{{lecturer["location"]}}</p>
<h2>Cena</h2>
<p>{{lecturer["price_per_hour"]}} Kč/hodinu</p>
<div class="d-grid mx-auto">
<button class="btn btn-info" type="button">Rezervovat</button>
</div>
</div>
</div>
</div>

</div>
</div>
</div>
</section>

</section>
<body>
</html>
38 changes: 38 additions & 0 deletions app/static/login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="../static/styly.css"/>
<title>Žabantí TdA</title>

</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light justify-content-between">
<a class="navbar-brand mx-4" href="/" title="Domů">
<img src="TeacherDigitalAgency_LOGO_colour-black.svg" width="100px" height="100px">
</a>

<h1 class="navbar-header" style="padding-top: 10px;">Profil uživatele</h1>
<input class="mx-4" type="image" src="user-svgrepo-com.svg" width="60px" height="60px" style="border: 1px solid #000;" title="Přihlásit se">
</nav>

<div class="main">
<div class="container mt-5">
<div class="row">
<div class="col-md-4">
<div class="card">
<img src="{{lecturer['picture_url'] or '../static/default-picture.svg'}}" class="card-img-top" alt="Profilový obrázek">
<div class="card-body">
<h5 class="card-title">jméno příjmení</h5>
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item">Email</li>
<li class="list-group-item">Telefon</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</body>
16 changes: 1 addition & 15 deletions app/static/styly.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Lalezar&display=swap');
body{
background-color: #333;
}

* {
font-family: "Lalezar";
font-weight: 500;
Expand Down Expand Up @@ -67,18 +65,6 @@ body{
color: #FECB2E;
}

button {
right: 0px;
height: 50%;
max-width: 200px;
margin: auto;
margin-left: 70%;
background-color: #FECB2E;
color: black;
border-radius: 5px;
box-shadow: 5px 5px 5px #333;
}

.contacts {
max-width: 1000px;
}
38 changes: 0 additions & 38 deletions app/templates/lecturer.html

This file was deleted.

Empty file removed app/templates/login.html
Empty file.

0 comments on commit 5db551a

Please sign in to comment.