File size: 2,637 Bytes
df66a57 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
<!-- <!DOCTYPE html>
<html>
<head>
<title>Select Video - Sign Language Boundary Annotation Tool</title>
<style>
body {
background: #0e1117;
color: white;
font-family: sans-serif;
margin: 0;
padding: 20px;
}
.container {
max-width: 800px;
margin: 0 auto;
text-align: center;
}
.video-list {
list-style: none;
padding: 0;
}
.video-list li {
margin: 10px 0;
}
.video-link {
text-decoration: none;
color: #4CAF50;
font-size: 1.2em;
}
.video-link:hover {
color: #81c784;
}
</style>
</head>
<body>
<div class="container">
<h1>Select a Video</h1>
<ul class="video-list">
{% for vid in video_ids %}
<li><a class="video-link" href="{{ url_for('player', video_id=vid) }}">{{ vid }}</a></li>
{% endfor %}
</ul>
</div>
</body>
</html> -->
<!DOCTYPE html>
<html>
<head>
<title>Select Video - Sign Language Boundary Annotation Tool</title>
<style>
body {
background: #0e1117;
color: white;
font-family: sans-serif;
margin: 0;
padding: 20px;
}
.container {
max-width: 800px;
margin: 0 auto;
text-align: center;
}
.video-list {
list-style: none;
padding: 0;
}
.video-list li {
margin: 10px 0;
}
.video-link {
text-decoration: none;
color: #4CAF50;
font-size: 1.2em;
}
.video-link:hover {
color: #81c784;
}
.user-info {
background: #262730;
padding: 10px;
border-radius: 5px;
margin: 10px 0;
text-align: right;
}
.logout-button {
background: #f44336;
color: white;
border: none;
padding: 5px 10px;
border-radius: 3px;
cursor: pointer;
margin-left: 10px;
}
</style>
</head>
<body>
<div class="container">
{% if user %}
<div class="user-info">
Logged in as: {{ user.name }}
<a href="{{ url_for('logout') }}"><button class="logout-button">Logout</button></a>
</div>
{% endif %}
<h1>Select a Video</h1>
<ul class="video-list">
{% for vid in video_ids %}
<li><a class="video-link" href="{{ url_for('player', video_id=vid) }}">{{ vid }}</a></li>
{% endfor %}
</ul>
</div>
</body>
</html> |