mirror of
https://github.com/ReviveMii/revivetube
synced 2025-04-29 04:29:25 -04:00
109 lines
3.4 KiB
HTML
109 lines
3.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>ReviveTube by ReviveMii</title>
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
color: #fff;
|
|
background-color: #181818;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.header {
|
|
background-color: #202020;
|
|
padding: 10px 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.logo {
|
|
font-size: 24px;
|
|
color: #ff0000;
|
|
font-weight: bold;
|
|
}
|
|
.search-container {
|
|
flex: 1;
|
|
text-align: center;
|
|
}
|
|
.search-bar {
|
|
width: 400px;
|
|
padding: 8px;
|
|
font-size: 16px;
|
|
border: 1px solid #ccc;
|
|
background-color: #121212;
|
|
color: #fff;
|
|
}
|
|
.search-button {
|
|
padding: 8px 15px;
|
|
font-size: 16px;
|
|
background-color: #303030;
|
|
color: white;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
.content {
|
|
padding: 20px;
|
|
}
|
|
.video-grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
.video-item {
|
|
width: 320px;
|
|
margin: 10px;
|
|
background-color: #222;
|
|
padding: 10px;
|
|
}
|
|
.video-item img {
|
|
width: 100%;
|
|
}
|
|
.video-item-title {
|
|
font-weight: bold;
|
|
font-size: 14px;
|
|
margin-top: 5px;
|
|
}
|
|
.video-item-uploader, .video-item-duration {
|
|
color: #aaa;
|
|
font-size: 12px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="header">
|
|
<div class="logo">ReviveTube</div>
|
|
<div class="search-container">
|
|
<form action="/" method="get">
|
|
<input class="search-bar" name="query" type="text">
|
|
<input type="submit" class="search-button" value="Search">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div class="content">
|
|
{% if results %}
|
|
<h2>Search Results</h2>
|
|
<div class="video-grid">
|
|
{% for video in results %}
|
|
<div class="video-item">
|
|
<a href="/watch?video_id={{ video['id'] }}">
|
|
<img alt="{{ video['title'] }}" src="{{ video['thumbnail'] }}">
|
|
</a>
|
|
<div class="video-item-title">{{ video['title'] }}</div>
|
|
<div class="video-item-uploader">By: {{ video['uploader'] }}</div>
|
|
<div class="video-item-duration">Duration: {{ video['duration'] }}</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
<p style="color: red; text-align: center;">\/ Scroll down \/</p>
|
|
<p style="text-align: center;"><a href="http://revivemii.errexe.xyz" target="_blank">Visit the ReviveMii Project</a></p>
|
|
<p style="font-size: 12px; text-align: center;">We are NOT affiliated with Nintendo or YouTube.</p>
|
|
<p style="text-align: center;">
|
|
<a href="https://github.com/ReviveMii/revivetube/" target="_blank">Source Code</a> |
|
|
<a href="https://revivetube.errexe.xyz/discord-redirect.html">Discord Server</a> |
|
|
<a href="mailto:theerrorexe@gmail.com">Contact</a>
|
|
</p>
|
|
</body>
|
|
</html>
|