solutions/frontend/index.html

31 lines
1.1 KiB
HTML
Raw 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>
<div class="sun"></div>
<div class="container">
<h2>Sustrate ZKP Pallet</h2>
<input type="text" id="input1" placeholder="Input 1">
<input type="text" id="input2" placeholder="Input 2">
<input type="text" id="input3" placeholder="Input 3">
<button id="submitBtn">Submit</button>
<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>