-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy patherror.html
60 lines (60 loc) · 4.09 KB
/
error.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>NEXT - Error</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link href="plugins/semantic/semantic.min.css" rel="stylesheet" type="text/css" />
<link href="plugins/ionicons/css/ionicons.min.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="plugins/sweetalert2/sweetalert2.all.min.js"></script>
</head>
<html>
<body>
<br>
<div class="ui two column doubling stackable grid container">
<div class="column">
<div class="ui warning message">
<div id="title" class="header">
An error occured
</div>
<span id="error"></span>
</div>
</div>
<div class="column">
<h2 class="ui header">Here is your options</h2>
<div><a class="ui button labeled icon" href="javascript:confirmReindex();"><i class="ion-wrench icon"></i>Try repair wallet with '-reindex' argument</a></div>
<div style="margin-top:5px"><a class="ui button labeled icon" href="javascript:confirmReindexChainstate();"><i class="ion-wrench icon"></i>Try repair wallet with '-reindex-chainstate' argument</a></div>
<div style="margin-top:5px"><a class="ui button labeled icon" href="javascript:confirmResetData();"><i class="ion-wrench icon"></i>Delete all Blockchain data</a></div>
<div style="margin-top:5px"><a class="ui button labeled icon" href="javascript:confirmResetDataAndBootstrap();"><i class="ion-wrench icon"></i>Delete all Blockchain data & Bootstrap From URL</a></div>
<div style="margin-top:5px"><a class="ui button labeled icon" href="javascript:confirmResetNextSettings();"><i class="ion-refresh icon"></i>Reset NEXT Settings</a></div>
<div style="margin-top:20px"><a class="ui button purple labeled icon" href="https://discord.gg/y4Vu9jw" target="_blank"><i class="ion-chatbox icon"></i>Join Discord Server for Live Help</a></div>
<div style="margin-top:5px"><a class="ui button purple labeled icon" href="https://info.navcoin.org/" target="_blank"><i class="ion-help-buoy icon"></i>Go to NavCoin Knowledge Base Web Site</a></div>
<div style="margin-top:20px"><a class="ui button blue labeled icon" href="javascript:console.log('next:close');"><i class="ion-power icon"></i>Quit</a></div>
</div>
</div>
</body>
</html>
<script>
function confirmResetNextSettings()
{
swal({title: 'Are you sure?',html: "NEXT settings will be reset.",type: 'warning',showCancelButton: true,confirmButtonColor: '#3085d6',cancelButtonColor: '#d33',confirmButtonText: 'Yes'}).then((result) => {if (result.value) {console.log('next:reset-next-settings');}});
}
function confirmResetData()
{
swal({title: 'Are you sure?',html: "All blockchain data <u>except your wallet file</u> will be deleted.<br/><br/>The blockchain files will be sync again when the wallet restarts.",type: 'warning',showCancelButton: true,confirmButtonColor: '#3085d6',cancelButtonColor: '#d33',confirmButtonText: 'Yes, delete it!'}).then((result) => {if (result.value) {console.log('next:reset-data');}});
}
function confirmResetDataAndBootstrap()
{
swal({title: 'Are you sure?',html: "All blockchain data <u>except your wallet file</u> will be deleted.<br/><br/>The blockchain files will be download and bootstrap from URL when the wallet restarts.",type: 'warning',showCancelButton: true,confirmButtonColor: '#3085d6',cancelButtonColor: '#d33',confirmButtonText: 'Yes, delete it!'}).then((result) => {if (result.value) {console.log('next:reset-data-bootstrap');}});
}
function confirmReindex()
{
swal({title: 'Are you sure?',text: "Reindex process may take a long time",type: 'warning',showCancelButton: true,confirmButtonColor: '#3085d6',cancelButtonColor: '#d33',confirmButtonText: 'Yes'}).then((result) => {if (result.value) {console.log('next:reindex');}});
}
function confirmReindexChainstate()
{
swal({title: 'Are you sure?',text: "Reindex Chainstate process may take a long time",type: 'warning',showCancelButton: true,confirmButtonColor: '#3085d6',cancelButtonColor: '#d33',confirmButtonText: 'Yes'}).then((result) => {if (result.value) {console.log('next:reindex-chainstate');}});
}
</script>
</html>