admin Loggin von Allgemeine zu Benutzerverwaltung verschoben
This commit is contained in:
@@ -157,7 +157,8 @@ const GeneralSettings: React.FC = () => {
|
||||
</div>
|
||||
|
||||
{/* Admin Login */}
|
||||
<div className="col-span-2 flex flex-col gap-1">
|
||||
{/*
|
||||
<div className="col-span-2 flex flex-col gap-1">
|
||||
{isAdminLoggedIn ? (
|
||||
<button
|
||||
type="button"
|
||||
@@ -194,6 +195,7 @@ const GeneralSettings: React.FC = () => {
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
*/}
|
||||
|
||||
{/* Feedback */}
|
||||
{loginSuccess && (
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -6,5 +6,5 @@
|
||||
2: Patch oder Hotfix (Bugfixes oder kleine Änderungen).
|
||||
|
||||
*/
|
||||
const webVersion = "1.6.298";
|
||||
const webVersion = "1.6.299";
|
||||
export default webVersion;
|
||||
|
||||
Reference in New Issue
Block a user