This commit is contained in:
2025-04-21 11:57:11 +02:00
parent 67cbb35156
commit 8569bb4bd8
2 changed files with 32 additions and 251 deletions

View File

@@ -125,60 +125,21 @@
<a href="ethereum.html">Ethereum Demo</a>
</div>
<!-- Login/Space Management Section -->
<div class="container" id="login-container">
<h2>Key Space Management</h2>
<div class="note">Note: You must first login and create a keypair in the <a href="index.html">Main Crypto Demo</a> page.</div>
<!-- Keypair Selection Section -->
<div class="container" id="keypair-selection-container">
<h2>Select Keypair</h2>
<div id="login-status" class="status logged-out">
Status: Not logged in
</div>
<div id="login-form">
<div class="form-group">
<label for="space-name">Space Name:</label>
<input type="text" id="space-name" placeholder="Enter space name" />
</div>
<div class="form-group">
<label for="space-password">Password:</label>
<input type="password" id="space-password" placeholder="Enter password" />
</div>
<div>
<button id="login-button">Login</button>
<button id="create-space-button">Create New Space</button>
</div>
</div>
<div id="logout-form" class="hidden">
<div class="form-group">
<label>Current Space: <span id="current-space-name"></span></label>
</div>
<div class="form-group">
<button id="logout-button" class="danger">Logout</button>
</div>
</div>
<div class="result" id="space-result">Result will appear here</div>
</div>
<!-- Keypair Management Section -->
<div class="container" id="keypair-management-container">
<h2>Keypair Management</h2>
<div id="keypair-form">
<div class="form-group">
<label for="keypair-name">Keypair Name:</label>
<input type="text" id="keypair-name" placeholder="Enter keypair name" />
<button id="create-keypair-button">Create Keypair</button>
</div>
<div class="form-group">
<label for="select-keypair">Select Keypair:</label>
<select id="select-keypair">
<option value="">-- Select a keypair --</option>
</select>
</div>
<div class="form-group">
<label for="select-keypair">Select Keypair:</label>
<select id="select-keypair">
<option value="">-- Select a keypair --</option>
</select>
</div>
<div class="result" id="keypair-management-result">Result will appear here</div>