2022-06-24 09:47:40 +02:00
|
|
|
<!--
|
2022-06-08 16:13:19 +02:00
|
|
|
This Source Code Form is subject to the terms of the GNU General Public License:
|
|
|
|
|
|
|
|
Copyright (C) 2021-2022 POKETUBE (https://github.com/iamashley0/poketube)
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program. If not, see https://www.gnu.org/licenses/.
|
|
|
|
-->
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<head>
|
2022-06-08 18:05:05 +02:00
|
|
|
<title>Searching <%=q%> - PokeTube</title>
|
2022-06-08 16:13:19 +02:00
|
|
|
<link href="//vjs.zencdn.net/7.10.2/video-js.min.css" rel="stylesheet">
|
2022-06-25 11:02:09 +02:00
|
|
|
<link href=/css/yt-ukraine.svg?v=6 rel=icon>
|
|
|
|
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel=stylesheet>
|
2022-06-08 16:13:19 +02:00
|
|
|
<link href=/css/app-cdn.min.css rel=stylesheet>
|
|
|
|
<link href=/css/app.main.css rel=stylesheet>
|
|
|
|
<link href=/css/search.main.css rel=stylesheet>
|
2022-07-07 13:34:13 +02:00
|
|
|
|
2022-06-08 16:13:19 +02:00
|
|
|
<style>
|
|
|
|
a.class:hover {
|
|
|
|
text-decoration:underline;
|
|
|
|
font-weight:bold
|
|
|
|
}
|
|
|
|
summary{
|
|
|
|
color:blue;
|
|
|
|
}
|
|
|
|
summary:hover{
|
|
|
|
color:red;
|
|
|
|
}
|
2022-07-07 13:34:13 +02:00
|
|
|
@font-face {
|
|
|
|
font-family: 'Ginto Nord';
|
|
|
|
font-weight: 800;
|
|
|
|
src:url('https://cdn.statically.io/gh/brecert/discord-quote-generator/main/Ginto-Nord-800.woff') format("woff");
|
|
|
|
}
|
|
|
|
|
2022-06-08 16:13:19 +02:00
|
|
|
</style>
|
2022-06-08 18:05:05 +02:00
|
|
|
</head>
|
|
|
|
|
2022-06-08 16:13:19 +02:00
|
|
|
<body>
|
|
|
|
<center>
|
|
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@900&family=Sigmar+One&display=swap" rel=stylesheet>
|
|
|
|
<link href=https://pro.fontawesome.com/releases/v5.15.3/css/all.css rel=stylesheet>
|
|
|
|
<center>
|
|
|
|
<nav>
|
2022-06-26 07:05:06 +02:00
|
|
|
<div class=left><a class="class" href="/143" style=font-family:Inter,sans-serif;color:#fff> <img style="width: 6em;display: block;margin-left: auto;margin-right: auto;" src="/css/logo.svg?v=5"> <a href="/domains"><i style="display: block;margin-left: auto;margin-right: auto;" class="fas fa-server"></i> </a></div>
|
2022-06-08 16:13:19 +02:00
|
|
|
<div class=middle>
|
2022-06-08 18:05:05 +02:00
|
|
|
<form action=/api/search><input value="<%=q%>" class=search-bar autocomplete="on" id=fname name=query style="color:#fff;font-family:Inter,sans-serif;"> <button class="btn btn-success" type=submit><i class="fas fa-search"></i></button></form>
|
2022-06-08 16:13:19 +02:00
|
|
|
</div>
|
|
|
|
<div class=right><a href="/privacy"><i class="fas fa-shield"></i></a><a href="/video/upload?from="><i class="fas fa-video"></i></a> <a href="https://github.com/iamashley0/poketube/"><i class="fab fa-git-alt"></i></a><a href="https://github.com/iamashley0/poketube/issues"><i class="fas fa-bug"></i></a></a></div>
|
|
|
|
</nav>
|
|
|
|
</center>
|
2022-06-08 18:05:05 +02:00
|
|
|
<div class="app">
|
2022-06-08 16:13:19 +02:00
|
|
|
<% j.Search.Results.Video.forEach(x => { %>
|
|
|
|
<div class="video-list">
|
|
|
|
<div class="video">
|
|
|
|
<a
|
|
|
|
href="/watch?v=<%= x.id %>"
|
|
|
|
class="thumbnail"
|
2022-06-24 09:47:40 +02:00
|
|
|
style="background-image: url('https://i.ytimg.com/vi/<%= x.id %>/hqdefault.jpg?sqp=-oaymwEXCNAFEJQDSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLBmAOZV7CM3NdDKlEFxGX7PpI5UWQ');border-radius: 20px;"
|
2022-06-08 16:13:19 +02:00
|
|
|
><span class="video-length"><%=x.duration %></span></a>
|
2022-06-08 18:05:05 +02:00
|
|
|
<div class="info" style="color:#fff;text-align: left;">
|
2022-07-07 13:34:13 +02:00
|
|
|
<a style="color:#fff;font-family: 'Ginto Nord'" href="/watch?v=<%= x.id %>" class="title max-lines-2"
|
2022-06-08 16:13:19 +02:00
|
|
|
><%= x.Title %></a>
|
2022-07-07 13:34:13 +02:00
|
|
|
<div style="display: flex; flex-direction: column; row-gap: 8px;font-family: 'Inter'">
|
2022-06-22 15:33:55 +02:00
|
|
|
<a href="/watch?v=<%= x.id %>"><span><%= x.views %> views</span> <span>•</span> <span><%= x.uploadedAt %></span></a>
|
2022-06-08 18:05:05 +02:00
|
|
|
<a href="/channel?id=<%= x.Channel.id %>">By <%=x.Channel.Name %></a>
|
2022-06-08 16:13:19 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-06-08 18:05:05 +02:00
|
|
|
<% }) %>
|
2022-07-07 13:34:13 +02:00
|
|
|
</div>
|
2022-06-08 18:05:05 +02:00
|
|
|
<p>
|
|
|
|
and thats the end of the internet... wooo
|
|
|
|
</p>
|
2022-06-08 16:13:19 +02:00
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
2022-07-07 13:34:13 +02:00
|
|
|
|
|
|
|
|
|
|
|
|