Fix SSH box size [SME:13105]

This commit is contained in:
John Crisp
2025-08-14 16:15:57 +02:00
parent 1f3795a388
commit b1b56c70fc
3 changed files with 10 additions and 3 deletions

View File

@@ -129,3 +129,6 @@ html {
.busy {
cursor: wait; /* Change the cursor to a 'wait' cursor */
}
.progress {
cursor: progress; /* Change the cursor to a 'wait' cursor */
}

View File

@@ -192,9 +192,9 @@
<div class="col-md-2">
<label for="inputSSHPort" class="col-form-label"><%= l 'rma_LABEL_SSH_PORT' %></label>
</div>
<div class="col-sm-1">
<div class="col-sm-2">
% param 'SshTCPPort' => $c->get_ssh_port() unless param 'SshTCPPort';
<input type="text" name="SshTCPPort" id="inputSSHPort" class="form-control" aria-describedby="SSH Port" value="<%= $c->get_ssh_port() %>">
<input type="text" name="SshTCPPort" id="inputSSHPort" class="form-control" aria-describedby="SSH Port" maxlength="5" value="<%= $c->get_ssh_port() %>">
</div>
</div>

View File

@@ -1,6 +1,6 @@
%define name smeserver-manager-AdminLTE
%define version 11.0.0
%define release 52
%define release 53
Summary: AdminLTE is an html framework for admin consoles - this rpm adds it to smeserver manager2
Name: %{name}
@@ -29,6 +29,10 @@ AdminLTE is an html framework for admin consoles
wget https://github.com/ColorlibHQ/AdminLTE/archive/master.zip
%changelog
* Thu Aug 14 2025 John Crisp <jcrisp@safeandsoundit.co.uk> 11.0.0-53.sme
- Increase SSH port input box size - thanks Jean Pierre [SME: 13105]
- Set SSH port max length at 5
* Thu Aug 07 2025 John Crisp <jcrisp@safeandsoundit.co.uk> 11.0.0-52.sme
- Add Please wait on submit as per default template
- Formatting reboot template