|
|
|
@ -167,7 +167,7 @@ namespace ndview
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
await index.TagSelfClosingAsync("img", token, ("src", $"i/thumb/{ifn}"), ("width", Thumbnailer.Width.ToString()));
|
|
|
|
|
await index.TagSelfClosingAsync("img", token, ("src", $"i/thumb/{ifn}")); //("width", Thumbnailer.Width.ToString()));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
@ -338,6 +338,24 @@ namespace ndview
|
|
|
|
|
|
|
|
|
|
await using (await index.TagAsync("body", cancel))
|
|
|
|
|
{
|
|
|
|
|
await using(await index.TagAsync("nav", cancel, ("class", "script")))
|
|
|
|
|
{
|
|
|
|
|
await using(await index.TagAsync("ul", cancel)) {
|
|
|
|
|
await using(await index.TagAsync("li", cancel))
|
|
|
|
|
await using(await index.TagAsync("a", cancel, ("href", "#!"), ("id", "expand_all_threads")))
|
|
|
|
|
await index.Append("expand all");
|
|
|
|
|
await using(await index.TagAsync("li", cancel))
|
|
|
|
|
await using(await index.TagAsync("a", cancel, ("href", "#!"), ("id", "collapse_all_threads")))
|
|
|
|
|
await index.Append("collapse all");
|
|
|
|
|
await using(await index.TagAsync("li", cancel))
|
|
|
|
|
await using(await index.TagAsync("a", cancel, ("href", "#!"), ("id", "expand_all_images")))
|
|
|
|
|
await index.Append("expand all images");
|
|
|
|
|
await using(await index.TagAsync("li", cancel))
|
|
|
|
|
await using(await index.TagAsync("a", cancel, ("href", "#!"), ("id", "collapse_all_images")))
|
|
|
|
|
await index.Append("collapse all images");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
await using (await index.TagAsync("main", cancel))
|
|
|
|
|
{
|
|
|
|
|
foreach (var thread in Board.Threads.OrderByDescending(x => x.Children.Where(x => !(x.Email?.Equals("sage") ?? false)).LastOrDefault()?.PostNumber ?? x.PostNumber))
|
|
|
|
|