feat: offline ldap support and ui polish v1.2.4

This commit is contained in:
Daniel Bedeleanu
2026-04-11 11:41:39 +03:00
parent d7dcd523a6
commit a4cea4ce07
8 changed files with 72 additions and 51 deletions

View File

@@ -379,16 +379,19 @@ export default function InventoryPage() {
<div className="grid grid-cols-2 gap-4">
<div>
<label className="text-xs font-black text-slate-500 ml-1">Category</label>
<select
value={editedItem.category || ''}
onChange={e => setEditedItem({...editedItem, category: e.target.value})}
className="w-full bg-slate-950 border border-slate-800 rounded-xl py-3 px-4 text-sm outline-none text-slate-100"
>
<option value="">Select Category</option>
{categoriesList.map(c => (
<option key={c.id} value={c.name}>{c.name}</option>
))}
</select>
<div className="relative flex items-center">
<select
value={editedItem.category || ''}
onChange={e => setEditedItem({...editedItem, category: e.target.value})}
className="w-full bg-slate-950 border border-slate-800 rounded-xl py-3 px-4 text-sm outline-none text-slate-100 appearance-none"
>
<option value="">Select Category</option>
{categoriesList.map(c => (
<option key={c.id} value={c.name}>{c.name}</option>
))}
</select>
<ChevronDown size={16} className="absolute right-4 text-slate-500 pointer-events-none" />
</div>
</div>
<div>
<label className="text-xs font-black text-slate-500 ml-1">Item Type</label>