use proper bootstrap
parent
9e8e175512
commit
9db5866b5a
61
index.html
61
index.html
|
@ -3,33 +3,74 @@
|
|||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
|
||||
<title>Public IPFS Gateways</title>
|
||||
<link rel="shortcut icon" type="image/png" href="images/favicon.png" />
|
||||
|
||||
<!-- Bootstrap 4 -->
|
||||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
|
||||
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
|
||||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
|
||||
|
||||
<!-- CSS -->
|
||||
<link rel="stylesheet" href="css/styles.css">
|
||||
|
||||
<!-- JavaScript -->
|
||||
<script async src="javascript/app.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- Title -->
|
||||
<header class="container">
|
||||
<h1>Public IPFS Gateways</h1>
|
||||
</header>
|
||||
|
||||
<main class="container">
|
||||
|
||||
<!-- IPFS Hash -->
|
||||
<p>
|
||||
IPFS Hash :
|
||||
<input type="text" name="ipfs_hash" id="input_ipfs">
|
||||
<button onclick="start_ipfs();">Submit</button>
|
||||
</p>
|
||||
<div class="form-group input-group">
|
||||
<div class="input-group-prepend">
|
||||
<label class="input-group-text" for="input_ipfs">IPFS Hash</label>
|
||||
</div>
|
||||
|
||||
<input type="text" class="form-control" id="input_ipfs">
|
||||
|
||||
<div class="input-group-append">
|
||||
<button class="btn" type="button" onclick="start_ipfs();">Cache</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- IPNS Hash -->
|
||||
<p>
|
||||
IPNS Hash :
|
||||
<input type="text" name="ipns_hash" id="input_ipns">
|
||||
<button onclick="start_ipns();">Submit</button>
|
||||
</p>
|
||||
<div class="form-group input-group">
|
||||
<div class="input-group-prepend">
|
||||
<label class="input-group-text" for="input_ipns">IPNS Hash</label>
|
||||
</div>
|
||||
|
||||
<input type="text" class="form-control" id="input_ipns">
|
||||
|
||||
<div class="input-group-append">
|
||||
<button class="btn" onclick="start_ipns();">Cache</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Results -->
|
||||
<h3 id="stats"></h3>
|
||||
<div id="results"></div>
|
||||
</main>
|
||||
|
||||
<!-- About -->
|
||||
<footer class="container">
|
||||
<h3>About</h3>
|
||||
<p>
|
||||
This is a fork of <a href="https://github.com/ipfs/public-gateway-checker">github.com/ipfs/public-gateway-checker</a> that allows you to cache a specific IPFS and IPNS hash to a bunch of public gateways. The code source is available at <a href="https://gitlab.com/NatoBoram/public-gateway-checker">gitlab.com/NatoBoram/public-gateway-checker</a>.
|
||||
</p>
|
||||
<p>
|
||||
If you'd like to add a new public gateway, please go to <a href="https://github.com/ipfs/public-gateway-checker">github.com/ipfs/public-gateway-checker</a>, submit a pull request then open an issue <a href="https://gitlab.com/NatoBoram/public-gateway-checker/issues/new">here</a>.
|
||||
</p>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Reference in New Issue