feat: add registration token
ci-front / build (push) Successful in 2m22s

This commit is contained in:
2026-04-04 05:52:43 +03:00
parent d62205b329
commit ed439656f8
5 changed files with 453 additions and 3 deletions
+22 -1
View File
@@ -21,6 +21,7 @@ interface ExtraField {
}
export interface SSHAgentConfig {
agentLabel: string;
user: string;
ip: string;
port: number;
@@ -191,7 +192,27 @@ export const SSHAgentForm: React.FC<SSHAgentFormProps> = ({
</div>
<div style={{ display: "grid", gap: "20px" }}>
{/* User и IP */}
{/* Agent Label */}
<div>
<label style={labelStyle}>
<span style={{ display: "flex", alignItems: "center", gap: "6px" }}>
<FiServer size={14} />
Метка агента *
</span>
</label>
<input
type="text"
value={config.agentLabel}
onChange={(e) => handleChange("agentLabel", e.target.value)}
required
style={inputBaseStyle}
onFocus={handleFocus}
onBlur={handleBlur}
placeholder="production-server-1"
/>
</div>
{/* User, IP и Port */}
<div
style={{
display: "grid",