Added background image and color
All checks were successful
UCN/Agent86/pipeline/head This commit looks good
DMA-CSD-CICD/Agent86/pipeline/head This commit looks good

This commit is contained in:
Karsten Jeppesen
2026-05-12 16:07:06 +02:00
parent 6ea7fd88f3
commit 5654652499
4 changed files with 5 additions and 5 deletions

View File

@@ -16,13 +16,13 @@
}
else
{
<h2>@Model.theScene.quest</h2>
<h2 style="background-color:#f0f0f0;">@Model.theScene.quest</h2>
<div style="border:1px solid #ccc; padding:10px; height:300px; overflow-y:auto;">
<div style="border:1px solid #ccc; padding:10px; height:300px; overflow-y:auto; background-color:#f9f9f9;">
@foreach (var msg in Model.ChatHistory)
{
<p>
<strong>@msg.Role:</strong> @msg.Content
<strong>@msg.Role:</strong> @Html.Raw(msg.Content)
</p>
}
</div>

View File

@@ -86,7 +86,7 @@ namespace Agent86.Pages
var reply = await _ollama.GenerateReplyAsync(ChatHistory, theScene.instruction);
ChatHistory.Add(new ChatMessage { Role = theScene.customer, Content = ToPlainText(reply) });
ChatHistory.Add(new ChatMessage { Role = theScene.customer, Content = Markdown.ToHtml(reply) });
}
SaveHistory();

View File

@@ -9,7 +9,7 @@
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
<link rel="stylesheet" href="~/Agent86.styles.css" asp-append-version="true" />
</head>
<body>
<body style="background-image: url('images/background.png'); background-size: cover; background-position: center;">
<header>
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
<div class="container">

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB