admin Loggin von Allgemeine zu Benutzerverwaltung verschoben
This commit is contained in:
@@ -91,18 +91,23 @@ export default function OPCUAInterfaceSettings() {
|
||||
className="flex-grow p-1 border border-gray-300 rounded-l-md text-sm"
|
||||
value={nodesetName}
|
||||
onChange={(e) => setNodesetName(e.target.value)}
|
||||
disabled={opcuaSettings.isEnabled} // Disable input when server is enabled
|
||||
/>
|
||||
<button
|
||||
{/*
|
||||
<button
|
||||
onClick={handleNodesetUpdate}
|
||||
className="px-3 py-1 bg-littwin-blue text-white rounded-r-md text-sm"
|
||||
>
|
||||
Übernehmen
|
||||
</button>
|
||||
*/}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* ✅ Benutzerverwaltung */}
|
||||
<div className="mb-3">
|
||||
{/*
|
||||
|
||||
<div className="mb-3">
|
||||
<h3 className="text-base font-semibold mb-2">Benutzer</h3>
|
||||
<ul className="space-y-1">
|
||||
{opcuaSettings.users.map((user) => (
|
||||
@@ -121,7 +126,7 @@ export default function OPCUAInterfaceSettings() {
|
||||
))}
|
||||
</ul>
|
||||
|
||||
{/* ✅ Neuen Benutzer hinzufügen */}
|
||||
|
||||
<div className="mt-2 flex flex-wrap gap-2">
|
||||
<input
|
||||
type="text"
|
||||
@@ -145,6 +150,8 @@ export default function OPCUAInterfaceSettings() {
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
*/}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user