Trim curation quick parse chrome
This commit is contained in:
@@ -66,8 +66,12 @@
|
|||||||
IsBusy="IsReparsing"
|
IsBusy="IsReparsing"
|
||||||
IsDisabled="IsSaving"
|
IsDisabled="IsSaving"
|
||||||
ShowActionButton="false"
|
ShowActionButton="false"
|
||||||
|
ShowSectionHeader="false"
|
||||||
|
ShowSourcePreview="false"
|
||||||
|
ShowExampleHint="false"
|
||||||
ShowDescriptionEditor="false"
|
ShowDescriptionEditor="false"
|
||||||
ShowValidationSummary="false"
|
ShowValidationSummary="false"
|
||||||
|
ShowLegend="false"
|
||||||
ErrorMessage="@QuickParseErrorMessage"
|
ErrorMessage="@QuickParseErrorMessage"
|
||||||
SectionClass="critical-editor-section critical-curation-quick-parse-section" />
|
SectionClass="critical-editor-section critical-curation-quick-parse-section" />
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,6 +8,8 @@
|
|||||||
<p class="error-text critical-editor-error">@ErrorMessage</p>
|
<p class="error-text critical-editor-error">@ErrorMessage</p>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@if (ShowSectionHeader)
|
||||||
|
{
|
||||||
<div class="critical-editor-section-header">
|
<div class="critical-editor-section-header">
|
||||||
<div>
|
<div>
|
||||||
<h4>Quick Parse Input</h4>
|
<h4>Quick Parse Input</h4>
|
||||||
@@ -26,6 +28,7 @@
|
|||||||
</button>
|
</button>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
}
|
||||||
|
|
||||||
<div class="@GetQuickParseGridCssClass()">
|
<div class="@GetQuickParseGridCssClass()">
|
||||||
<div class="field-shell">
|
<div class="field-shell">
|
||||||
@@ -64,7 +67,10 @@
|
|||||||
}
|
}
|
||||||
</div>
|
</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>
|
<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)
|
@if (ShowLegend)
|
||||||
{
|
{
|
||||||
@@ -112,9 +118,15 @@
|
|||||||
[Parameter]
|
[Parameter]
|
||||||
public bool ShowActionButton { get; set; } = true;
|
public bool ShowActionButton { get; set; } = true;
|
||||||
|
|
||||||
|
[Parameter]
|
||||||
|
public bool ShowSectionHeader { get; set; } = true;
|
||||||
|
|
||||||
[Parameter]
|
[Parameter]
|
||||||
public bool ShowSourcePreview { get; set; } = true;
|
public bool ShowSourcePreview { get; set; } = true;
|
||||||
|
|
||||||
|
[Parameter]
|
||||||
|
public bool ShowExampleHint { get; set; } = true;
|
||||||
|
|
||||||
[Parameter]
|
[Parameter]
|
||||||
public bool ShowLegend { get; set; } = true;
|
public bool ShowLegend { get; set; } = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user