v0.5.2-pre.006-fix-010
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!-- file: kb-app-demo-desktop/frontend/demo_wallet.html -->
|
||||
<!-- version: 4 -->
|
||||
<!-- version: 5 -->
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
|
||||
@@ -49,6 +49,33 @@
|
||||
<dt class="col-sm-3">Wallets trouvés</dt>
|
||||
<dd class="col-sm-9"><code id="walletInventoryCount">0</code></dd>
|
||||
</dl>
|
||||
<div class="border rounded p-3 mb-3">
|
||||
<h2 class="h6 mb-2">Wallet d'exécution des démos Devnet</h2>
|
||||
<p class="small text-body-secondary mb-3">La sélection est propre à cette session desktop. Elle ne modifie pas <code>wallet.config.json</code> et remplace <code>wallet_alias</code> uniquement pour les démos du profil Devnet choisi.</p>
|
||||
<div class="row g-3 align-items-end">
|
||||
<div class="col-12 col-lg-4">
|
||||
<label for="walletExecutionProfileSelect" class="form-label">Profil Devnet</label>
|
||||
<select id="walletExecutionProfileSelect" class="form-select"></select>
|
||||
</div>
|
||||
<div class="col-12 col-lg-5">
|
||||
<label for="walletExecutionAliasSelect" class="form-label">Wallet d'exécution</label>
|
||||
<select id="walletExecutionAliasSelect" class="form-select"></select>
|
||||
</div>
|
||||
<div class="col-12 col-lg-3">
|
||||
<button id="applyWalletExecutionSelectionButton" class="btn btn-outline-primary w-100" type="button">Appliquer</button>
|
||||
</div>
|
||||
</div>
|
||||
<dl class="row small mb-0 mt-3">
|
||||
<dt class="col-sm-4">Configuration</dt>
|
||||
<dd class="col-sm-8"><code id="walletExecutionConfiguredAlias">—</code></dd>
|
||||
<dt class="col-sm-4">Override session</dt>
|
||||
<dd class="col-sm-8"><code id="walletExecutionRuntimeAlias">—</code></dd>
|
||||
<dt class="col-sm-4">Effectif</dt>
|
||||
<dd class="col-sm-8"><code id="walletExecutionEffectiveAlias">temporaire</code></dd>
|
||||
<dt class="col-sm-4">Statut</dt>
|
||||
<dd class="col-sm-8"><code id="walletExecutionSelectionStatus">En attente</code></dd>
|
||||
</dl>
|
||||
</div>
|
||||
<div class="table-responsive app-table-full-width">
|
||||
<table class="table table-sm align-middle mb-0" id="walletInventoryTable">
|
||||
<thead>
|
||||
@@ -56,7 +83,7 @@
|
||||
<th>Alias</th>
|
||||
<th>Pubkey déclarée</th>
|
||||
<th>Format</th>
|
||||
<th>Sélectionné</th>
|
||||
<th>Exécution</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -128,13 +155,16 @@
|
||||
<div class="card shadow-sm border-0 h-100">
|
||||
<div class="card-body">
|
||||
<h2 class="h5 card-title mb-2">Exporter un wallet natif</h2>
|
||||
<p class="text-body-secondary">L'export exige le même secret backend que la création et refuse d'écraser un fichier existant.</p>
|
||||
<p class="text-body-secondary">L'export exige le même secret backend que la création, refuse d'écraser un fichier existant et écrit uniquement dans <code>./data/wallets/</code>.</p>
|
||||
<label for="walletExportAliasSelect" class="form-label">Wallet</label>
|
||||
<select id="walletExportAliasSelect" class="form-select"></select>
|
||||
<label for="walletExportFormatSelect" class="form-label mt-3">Format d'export</label>
|
||||
<select id="walletExportFormatSelect" class="form-select"></select>
|
||||
<label for="walletExportDestinationPathInput" class="form-label mt-3">Chemin destination</label>
|
||||
<input id="walletExportDestinationPathInput" class="form-control font-monospace" type="text" autocomplete="off" placeholder="/chemin/vers/export.json">
|
||||
<label for="walletExportFileNameInput" class="form-label mt-3">Nom du fichier</label>
|
||||
<div class="input-group">
|
||||
<span id="walletExportDirectory" class="input-group-text font-monospace">data/wallets/</span>
|
||||
<input id="walletExportFileNameInput" class="form-control font-monospace" type="text" autocomplete="off" maxlength="128" placeholder="operator.json">
|
||||
</div>
|
||||
<div class="d-flex flex-wrap gap-2 mt-3">
|
||||
<button id="exportWalletTransferButton" class="btn btn-primary" type="button">Exporter</button>
|
||||
</div>
|
||||
@@ -298,4 +328,4 @@
|
||||
<script type="module" src="ts/demo_wallet.ts" defer></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
Reference in New Issue
Block a user