d11a5f862b
color code process names in chat context
23 lines
785 B
Plaintext
23 lines
785 B
Plaintext
@model IEnumerable<SharedLibraryCore.Dtos.ChatInfo>
|
|
@{
|
|
Layout = null;
|
|
}
|
|
|
|
<div class="client-message-context">
|
|
<h5 class="bg-primary pt-2 pb-2 pl-3 mb-0 mt-2 text-white">@Model.First().Time.ToString()</h5>
|
|
<div class="bg-dark p-3 mb-2 border-bottom">
|
|
@foreach (var message in Model)
|
|
{
|
|
<span class="text-white">
|
|
<color-code value="@message.Name" allow="ViewBag.EnableColorCodes"></color-code>
|
|
</span>
|
|
<span>
|
|
—
|
|
<span class="@(message.IsQuickMessage ? "font-italic" : "")">
|
|
<color-code value="@message.Message" allow="ViewBag.EnableColorCodes"></color-code>
|
|
</span>
|
|
</span>
|
|
<br />
|
|
}
|
|
</div>
|
|
</div> |