презентация и немного кода
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 176 KiB |
@@ -1,10 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<title>Login</title>
|
||||
<title>audio resive</title>
|
||||
<link href="{{ url_for('static', path='/css/index.css') }}" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>Login</h1>
|
||||
|
||||
@@ -4,41 +4,27 @@
|
||||
<script src="https://kit.fontawesome.com/025ae7f87a.js" crossorigin="anonymous"></script>
|
||||
<script src="{{ url_for('static', path='/js/player.js') }}"></script>
|
||||
<link href="{{ url_for('static', path='/css/log.css') }}" rel="stylesheet">
|
||||
<title>audio resive</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>My Audio Files</h1>
|
||||
|
||||
{% for lo in log %}
|
||||
|
||||
<div class="card-container"> <!-- изменено на card-container -->
|
||||
|
||||
<div class="card-container">
|
||||
<div class="player-container" id="player-container-{{ loop.index }}"></div>
|
||||
|
||||
<script>
|
||||
new AudioPlayer({container: '#player-container-{{ loop.index }}', audioFile: '{{ lo.audio_file }}'});
|
||||
</script>
|
||||
|
||||
<div class="card">
|
||||
|
||||
<div class="card-title">{{ lo.title }}</div>
|
||||
|
||||
{% if lo.text %}
|
||||
|
||||
<div class="card-text"> {% for line in lo.text %} {{ line }}<br> {% endfor %}</div>
|
||||
|
||||
{% else %}
|
||||
|
||||
<div class="card-text">No text file found.</div>
|
||||
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<title>Logs</title>
|
||||
<title>audio resive</title>
|
||||
<link href="{{ url_for('static', path='/css/logs.css') }}" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user