Commit 6baeb020 authored by root's avatar root

modal changes

parent f43126aa
......@@ -6928,7 +6928,7 @@ function load() {
$('#pkDiv').html(privKey);
}
catch(err) {
$('#modal').load('modal');
$('#modal-div').load('modal');
$('#modal').modal('show');
}
}
......
......@@ -49,7 +49,7 @@ function load() {
$('#pkDiv').html(privKey);
}
catch(err) {
$('#modal').load('modal');
$('#modal-div').load('modal');
$('#modal').modal('show');
}
}
......
......@@ -5,6 +5,6 @@
<li><a href="#" onclick="$('body').load('/pending');">Pending</a></li>
</ul>
<h1>Capabilities</h1>
<div id="modal" class="modal fade" role="dialog">
<div id="modal-div">
</div>
</div>
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
</div>
<div class="modal-body">
<button class="btn btn-primary" onclick="genKeypair()">Generate Keys</button>
<button class="btn btn-primary" onclick="recover()">Recover w/ Mnemonic</button>
<div id="modal" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
</div>
<div class="modal-body">
<button class="btn btn-primary" onclick="genKeypair()">Generate Keys</button>
<button class="btn btn-primary" onclick="recover()">Recover w/ Mnemonic</button>
</div>
</div>
</div>
</div>
......@@ -13,6 +13,7 @@
<li>
//Block info
</li>
<input type="checkbox">
<button class="btn btn-primary" id="pending-{{id}}" onclick="acceptPending({{id}})">Accept Message</button>
{{/each}
</ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment