Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Малкин Данила Александрович
KG_HW
Commits
d50fe356
Commit
d50fe356
authored
1 year ago
by
Danila
Browse files
Options
Download
Patches
Plain Diff
add template.html
parent
7a365c14
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
template.html
+34
-0
template.html
with
34 additions
and
0 deletions
+34
-0
template.html
0 → 100644
+
34
−
0
View file @
d50fe356
<!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>
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets