All checks were successful
Caddy Manager CI build / docker (push) Successful in 1m2s
25 lines
1.0 KiB
Caddyfile
25 lines
1.0 KiB
Caddyfile
@attribute [StreamRendering]
|
|
|
|
<MudDialog ActionsClass="pb-4 pr-6">
|
|
<DialogContent>
|
|
<MudFocusTrap>
|
|
<MudTextField @bind-Value="FileName" Label="File name" Variant="Variant.Outlined"
|
|
Style="margin-bottom: 8px;"
|
|
ShrinkLabel="true"
|
|
ReadOnly="@(!IsNew)"></MudTextField>
|
|
</MudFocusTrap>
|
|
<MudText Typo="Typo.caption" class="pl-4">File content</MudText>
|
|
<StandaloneCodeEditor @ref="_codeEditor"
|
|
ConstructionOptions="@EditorConstructionOptions"
|
|
CssClass="caddy-file-editor mt-1"></StandaloneCodeEditor>
|
|
</DialogContent>
|
|
<DialogActions>
|
|
<MudButton OnClick="Cancel">Cancel</MudButton>
|
|
@if (!IsNew)
|
|
{
|
|
<MudButton OnClick="Duplicate">Duplicate</MudButton>
|
|
}
|
|
<MudButton Color="Color.Primary" OnClick="Submit">Save</MudButton>
|
|
<MudButton Color="Color.Secondary" OnClick="SaveAndRestart">Save & Restart</MudButton>
|
|
</DialogActions>
|
|
</MudDialog> |