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:
parent
f683a1f700
commit
4a110db078
Web/Phantom.Web
@ -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>
|
||||
|
||||
|
@ -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" />
|
||||
|
Loading…
Reference in New Issue
Block a user