diff --git a/src/pages/EquipmentPage.tsx b/src/pages/EquipmentPage.tsx index 503d54a..b249891 100644 --- a/src/pages/EquipmentPage.tsx +++ b/src/pages/EquipmentPage.tsx @@ -116,16 +116,14 @@ function PairCodeModal({ ) : ( <> -
+

Код подключения

-
- - {code?.slice(0, 3)} {code?.slice(3)} - - -
+ + {code} + +
@@ -193,7 +191,7 @@ function DeviceForm({ setPurpose(e.target.value as 'fiscal' | 'kitchen' | 'bar' | 'receipt' | 'other')} - className="w-full input-field text-sm" + className="w-full input text-sm" > {Object.entries(PURPOSE_LABELS).map(([k, v]) => ( @@ -218,7 +216,7 @@ function DeviceForm({ setName(e.target.value)} - className="w-full input-field text-sm" + className="w-full input text-sm" placeholder="Касса №1 / Принтер кухни" />
@@ -251,7 +249,7 @@ function DeviceForm({ setNetworkHost(e.target.value)} - className="w-full input-field text-sm font-mono" + className="w-full input text-sm font-mono" placeholder="192.168.1.50" />
@@ -260,7 +258,7 @@ function DeviceForm({ setNetworkPort(e.target.value)} - className="w-full input-field text-sm font-mono" + className="w-full input text-sm font-mono" placeholder="9100" /> @@ -354,7 +352,7 @@ function WorkstationCard({ value={name} onChange={e => setName(e.target.value)} onKeyDown={e => { if (e.key === 'Enter') saveName(); if (e.key === 'Escape') setEditing(false) }} - className="input-field py-1 text-sm w-48" + className="input py-1 text-sm w-48" autoFocus /> @@ -572,7 +570,7 @@ export function EquipmentPage() { value={addingName} onChange={e => setAddingName(e.target.value)} onKeyDown={e => { if (e.key === 'Enter') handleAdd(); if (e.key === 'Escape') setShowAdd(false) }} - className="flex-1 input-field" + className="flex-1 input" placeholder="Ресепшн 1 / Бар / Касса SPA" autoFocus />