Spaces:
Sleeping
Sleeping
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Search Results</title> | |
<style> | |
body { | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
justify-content: center; | |
height: 100vh; | |
margin: 0; | |
} | |
h1 { | |
font-size: 24px; | |
color: blue; | |
margin-bottom: 20px; | |
} | |
ul { | |
list-style-type: none; | |
padding: 0; | |
} | |
li { | |
margin-bottom: 10px; | |
} | |
a { | |
color: black; /* Set link color to black */ | |
text-decoration: none; | |
} | |
a:hover { | |
text-decoration: underline; | |
} | |
#backLink { | |
margin-top: 20px; | |
display: inline-block; | |
padding: 10px 20px; | |
background-color: #007bff; /* Button background color */ | |
color: white; /* Button text color */ | |
text-decoration: none; | |
border-radius: 5px; | |
} | |
#backLink:hover { | |
background-color: #0056b3; /* Hover color for the button */ | |
} | |
</style> | |
</head> | |
<body> | |
<h1>Search Results for "{{ query }}"</h1> | |
<ul> | |
{% for link in youtube_links %} | |
<li><a href="{{ link }}" target="_blank">{{ link }}</a></li> | |
{% endfor %} | |
</ul> | |
<!-- Back button linking to the index page --> | |
<a href="/" id="backLink">Back to Search</a> | |
</body> | |
</html> | |