Format views and add link to cookie issue

This commit is contained in:
Omar Roth 2018-03-16 12:14:40 -05:00
parent 6581f96b70
commit 1b17550545
5 changed files with 38 additions and 31 deletions

View File

@ -1,3 +1,4 @@
# See https://github.com/crystal-lang/crystal/pull/5408
module HTTP module HTTP
class Cookie class Cookie
module Parser module Parser

View File

@ -12,7 +12,9 @@
<img style="width:100%;" src="<%= player_response["videoDetails"]["thumbnail"]["thumbnails"][0]["url"] %>"/> <img style="width:100%;" src="<%= player_response["videoDetails"]["thumbnail"]["thumbnails"][0]["url"] %>"/>
<p><%= video.title %></p> <p><%= video.title %></p>
</a> </a>
<p><b><a style="width:100%;" href="https://youtube.com/channel/<%= video.info["ucid"] %>"><%= video.info["author"] %></a></b></p> <p>
<b><a style="width:100%;" href="https://youtube.com/channel/<%= video.info["ucid"] %>"><%= video.info["author"] %></a></b>
</p>
</div> </div>
</div> </div>
<% end %> <% end %>

View File

@ -11,7 +11,9 @@
<img style="width:100%;" src="<%= video["thumbnail"] %>"/> <img style="width:100%;" src="<%= video["thumbnail"] %>"/>
<%= video["title"] %> <%= video["title"] %>
</a> </a>
<p><b><a style="width:100%;" href="<%= video["author_url"]%>"><%= video["author"] %></a></b></p> <p>
<b><a style="width:100%;" href="<%= video["author_url"]%>"><%= video["author"] %></a></b>
</p>
</div> </div>
</div> </div>
<% end %> <% end %>

View File

@ -165,7 +165,9 @@ function toggle_comments(target) {
<a href="/watch?v=<%= rv["id"] %>"> <a href="/watch?v=<%= rv["id"] %>">
<img style="width:100%;" alt="thumbnail" src="<%= rv["iurlmq"] %>"> <img style="width:100%;" alt="thumbnail" src="<%= rv["iurlmq"] %>">
<p style="width:100%"><%= rv["title"] %></p> <p style="width:100%"><%= rv["title"] %></p>
<p><b style="width: 100%"><%= rv["author"] %></b></p> <p>
<b style="width: 100%"><%= rv["author"] %></b>
</p>
</a> </a>
<% end %> <% end %>
<% end %> <% end %>