Trim curation quick parse chrome
This commit is contained in:
@@ -66,8 +66,12 @@
|
||||
IsBusy="IsReparsing"
|
||||
IsDisabled="IsSaving"
|
||||
ShowActionButton="false"
|
||||
ShowSectionHeader="false"
|
||||
ShowSourcePreview="false"
|
||||
ShowExampleHint="false"
|
||||
ShowDescriptionEditor="false"
|
||||
ShowValidationSummary="false"
|
||||
ShowLegend="false"
|
||||
ErrorMessage="@QuickParseErrorMessage"
|
||||
SectionClass="critical-editor-section critical-curation-quick-parse-section" />
|
||||
}
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
<p class="error-text critical-editor-error">@ErrorMessage</p>
|
||||
}
|
||||
|
||||
@if (ShowSectionHeader)
|
||||
{
|
||||
<div class="critical-editor-section-header">
|
||||
<div>
|
||||
<h4>Quick Parse Input</h4>
|
||||
@@ -26,6 +28,7 @@
|
||||
</button>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
|
||||
<div class="@GetQuickParseGridCssClass()">
|
||||
<div class="field-shell">
|
||||
@@ -64,7 +67,10 @@
|
||||
}
|
||||
</div>
|
||||
|
||||
@if (ShowExampleHint)
|
||||
{
|
||||
<p class="muted critical-editor-advanced-hint">Example: <code>Foe brings his guard up, frightened by your display.</code> then <code>+5, 1mp</code> or <code>w/o shield: glancing blow, +15, 3s, 3np</code>.</p>
|
||||
}
|
||||
|
||||
@if (ShowLegend)
|
||||
{
|
||||
@@ -112,9 +118,15 @@
|
||||
[Parameter]
|
||||
public bool ShowActionButton { get; set; } = true;
|
||||
|
||||
[Parameter]
|
||||
public bool ShowSectionHeader { get; set; } = true;
|
||||
|
||||
[Parameter]
|
||||
public bool ShowSourcePreview { get; set; } = true;
|
||||
|
||||
[Parameter]
|
||||
public bool ShowExampleHint { get; set; } = true;
|
||||
|
||||
[Parameter]
|
||||
public bool ShowLegend { get; set; } = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user