solutions/frontend/index.html

37 lines
1.3 KiB
HTML
Raw Permalink Normal View History

2023-12-05 01:31:41 +00:00
<!DOCTYPE html>
<html>
<head>
<title>Polkadot.js Integration</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="js/bundle-polkadot-util.js"></script>
<script src="js/bundle-polkadot-util-crypto.js"></script>
<script src="js/bundle-polkadot-types.js"></script>
<script src="js/bundle-polkadot-api.js"></script>
<script src="js/bundle-polkadot-extension-dapp.js"></script>
</head>
<body>
2023-12-05 06:06:28 +00:00
2023-12-05 01:31:41 +00:00
<div class="container">
<h2>Sustrate ZKP Pallet</h2>
2023-12-05 06:06:28 +00:00
<div class="nav-buttons">
<a href="index.html" class="nav-button active">Plonk Verifier</a>
<a href="groth16.html" class="nav-button">Groth16 Verifier</a>
</div>
<div>
<input type="text" id="input1" placeholder="Verification Key">
<input type="text" id="input2" placeholder="Public Inputs">
<input type="text" id="input3" placeholder="Proof">
<button id="submitBtn">Submit</button>
</div>
2023-12-05 01:31:41 +00:00
<div id="loadingIndicator" class="loading-indicator"></div>
<div id="successIndicator" class="indicator success-indicator">&#10004;</div> <!-- Checkmark -->
<div id="failureIndicator" class="indicator failure-indicator">&#10006;</div> <!-- 'X' mark -->
</div>
<script src="script.js"></script>
</body>
</html>