1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2025-04-22 02:15:41 +02:00

Fix label and spacing around instance command input field on Web

This commit is contained in:
chylex 2024-04-07 17:08:10 +02:00
parent f683a1f700
commit 4a110db078
Signed by: chylex
GPG Key ID: 4DE42C8F19A80548
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@
</PermissionView>
<PermissionView Permission="Permission.ControlInstances">
<div class="mb-3">
<div class="my-3">
<InstanceCommandInput AgentGuid="Instance.Configuration.AgentGuid" InstanceGuid="InstanceGuid" Disabled="@(!Instance.Status.CanSendCommand())" />
</div>

View File

@ -6,7 +6,7 @@
@inject InstanceManager InstanceManager
<Form Model="form" OnSubmit="ExecuteCommand">
<label for="command-input" class="form-label">Instance Name</label>
<label for="command-input" class="form-label">Execute Command</label>
<div class="input-group flex-nowrap">
<span class="input-group-text" style="padding-top: 0.3rem;">/</span>
<input id="command-input" class="form-control" type="text" placeholder="command" @bind="form.Command" @bind:event="oninput" disabled="@(Disabled || form.SubmitModel.IsSubmitting)" @ref="commandInputElement" />