Commit d50fe356 authored by Danila's avatar Danila
Browse files

add template.html

parent 7a365c14
No related merge requests found
Showing with 34 additions and 0 deletions
+34 -0
template.html 0 → 100644
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="static/style.css">
<style>
.photo-container {
border: 1px solid #ccc;
padding: 10px;
text-align: center;
}
.photo {
max-width: 100%;
height: auto;
}
</style>
</head>
<body>
<main class="container">
<div class="row">
{% for photo in photos %}
<div class="col-4">
<div class="photo-container">
<img src="folder/{{photo[0]}}" class="photo" alt="Ошибка">
<p>{{photo[0]}}</p>
<p>{{photo[1]}}</p>
</div>
</div>
{% endfor %}
</div>
</main>
</body>
</html>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment