From a5418a6641aece8c571a7690edb4337571f25a5a Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Mon, 25 Jan 2021 19:58:15 +0100 Subject: [PATCH] Update profile design; update example.db to reflect recent changes --- Pages/profile.cshtml | 7 ++++--- example.db | Bin 24576 -> 36864 bytes 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Pages/profile.cshtml b/Pages/profile.cshtml index 69e7dc8..2209bc9 100644 --- a/Pages/profile.cshtml +++ b/Pages/profile.cshtml @@ -20,6 +20,7 @@

Welcome to @Model.User's page!

@if (live) { + var videoInfo = $"{stream.Meta.Video.Height}p{Math.Round(double.Parse(stream.Meta.Video.FrameRate))} @ {Math.Round(double.Parse(stream.BwIn) / 1000000, 2)} Mbps"; @if (!string.IsNullOrWhiteSpace(user.ChatUrl)) {

@user.PronounSubject.FirstCharToUpper() @pronounAdditional currently live! @user.PronounPossessive.FirstCharToUpper() stream chat is located here.

} @@ -27,14 +28,14 @@

@user.PronounSubject.FirstCharToUpper() @pronounAdditional currently live! @user.PronounSubject.FirstCharToUpper() have not specified a stream chat URL, so enjoy @user.PronounPossessive content!

}
- Source - @(stream.Meta.Video.Height)p + Source - @(stream.Meta.Video.Height)p @if (user.AllowRestream) { if ((user.RestreamUrls ?? "").Contains(",")) { - Source - @(stream.Meta.Video.Height)p">Twitch Restream + Source - @(stream.Meta.Video.Height)p">Twitch Restream YouTube Restream } else if (!string.IsNullOrWhiteSpace(user.RestreamUrls)) { - Source - @(stream.Meta.Video.Height)p">Twitch Restream + Twitch Restream } } diff --git a/example.db b/example.db index dbf01350a434076a91b1bf77e29b8459cdabd1d2..89fcc1f216e91ca574d431a8eae91b0f90566607 100644 GIT binary patch delta 176 zcmZoTz}T>WX@az%Gy?+zClIp%F*6WrPSi1$m1fZMp2*ApgMpRTmw`W?|0M5X-U?n{ zp4lL{vC*E3g;$aB!N$frj4VJ!cPBQkW76c9%+0UC%&Ex^q?Hs6LyJ?3iaDAs+1SO! z#TnZIOA?cEQo({?f_<|!Z#3iNLwxR=zz-%SPH^XB0=k10h*>rZ3cTmv J{9m8Z007cTE~x+j delta 146 zcmZozz|?Snae}m<6axbT8xX^Q+C&{=aVZ8p?}@zpKNwhf6&d*B`A_mH@|*B;ZWa_+ z%_G&E%FHeyEE=mqcEuMUuPmm jvIxI7lP2qAe_jn{Hcb{Ft;B8!*2KCwo`0djq67l~Kg}dZ