mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 08:07:21 +00:00
85 lines
3.1 KiB
Plaintext
85 lines
3.1 KiB
Plaintext
<div class="swot-result">
|
|
<section class="swot-matrix-section">
|
|
<MudText Typo="Typo.h5" Class="mb-3">@this.Result.MatrixHeading</MudText>
|
|
<SwotQuadrantGrid Labels="@this.Labels" Context="category">
|
|
<SwotMatrixFindings Findings="@this.CategoryOf(category).Findings" EmptyMessage="@this.CategoryOf(category).EmptyMessage"/>
|
|
</SwotQuadrantGrid>
|
|
</section>
|
|
|
|
<section class="swot-detail-section">
|
|
<MudText Typo="Typo.h5" Class="mb-2">@this.Result.OverallAssessment.Label</MudText>
|
|
@foreach (var paragraph in this.Result.OverallAssessment.Paragraphs)
|
|
{
|
|
<MudText Typo="Typo.body1" Class="mb-2">@paragraph</MudText>
|
|
}
|
|
</section>
|
|
|
|
<section class="swot-detail-section">
|
|
<MudText Typo="Typo.h5" Class="mb-2">@this.Result.PrioritizedActions.Label</MudText>
|
|
@if (this.Result.PrioritizedActions.Items.Count == 0)
|
|
{
|
|
<MudText Typo="Typo.body1">@this.Result.PrioritizedActions.EmptyMessage</MudText>
|
|
}
|
|
else
|
|
{
|
|
<ol class="swot-actions">
|
|
@foreach (var action in this.Result.PrioritizedActions.Items)
|
|
{
|
|
<li>
|
|
<strong>@action.Action</strong>
|
|
<span> — @action.Rationale</span>
|
|
<div class="swot-factors">
|
|
@foreach (var factor in action.AddressedFactors)
|
|
{
|
|
<span>@factor</span>
|
|
}
|
|
</div>
|
|
</li>
|
|
}
|
|
</ol>
|
|
}
|
|
</section>
|
|
|
|
@foreach (var category in this.Result.Categories)
|
|
{
|
|
<section class="swot-detail-section">
|
|
<MudText Typo="Typo.h5" Class="mb-2">@category.Label</MudText>
|
|
@if (category.Findings.Count == 0)
|
|
{
|
|
<MudText Typo="Typo.body1">@category.EmptyMessage</MudText>
|
|
}
|
|
else
|
|
{
|
|
<ul class="swot-detail-list">
|
|
@foreach (var finding in category.Findings)
|
|
{
|
|
<li>
|
|
<strong>@finding.Summary</strong>
|
|
<span> — @finding.Explanation</span>
|
|
</li>
|
|
}
|
|
</ul>
|
|
}
|
|
</section>
|
|
}
|
|
|
|
<section class="swot-detail-section">
|
|
<MudText Typo="Typo.h5" Class="mb-2">@this.Result.ModerationNotes.Label</MudText>
|
|
@if (this.Result.ModerationNotes.Items.Count == 0)
|
|
{
|
|
<MudText Typo="Typo.body1">@this.Result.ModerationNotes.EmptyMessage</MudText>
|
|
}
|
|
else
|
|
{
|
|
<ul class="swot-detail-list">
|
|
@foreach (var note in this.Result.ModerationNotes.Items)
|
|
{
|
|
<li>
|
|
<strong>@note.Change</strong>
|
|
<span> — @note.Reason</span>
|
|
</li>
|
|
}
|
|
</ul>
|
|
}
|
|
</section>
|
|
</div> |