mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-27 08:19:41 +01:00
26 lines
No EOL
629 B
Text
26 lines
No EOL
629 B
Text
@using LightTube.Database
|
|
@model LightTube.Contexts.FeedContext
|
|
|
|
@{
|
|
ViewBag.Title = "Channel list";
|
|
}
|
|
|
|
<div class="video-list">
|
|
@foreach (LTChannel channel in Model.Channels)
|
|
{
|
|
<div class="channel">
|
|
<a href="/channel/@channel.ChannelId" class="avatar">
|
|
<img src="@channel.IconUrl" alt="Channel Avatar">
|
|
</a>
|
|
<a href="/channel/@channel.ChannelId" class="info">
|
|
<span class="name max-lines-2">@channel.Name</span>
|
|
<div>
|
|
<div>
|
|
<span>@channel.Subscribers</span>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
<button class="subscribe-button" data-cid="@channel.ChannelId">Subscribe</button>
|
|
</div>
|
|
}
|
|
</div> |