2021-09-23 00:17:35 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<meta charset="utf8" />
|
2021-09-22 22:32:17 +00:00
|
|
|
<title>hyperpop.js demo</title>
|
2021-09-23 00:17:35 +00:00
|
|
|
<style>
|
|
|
|
form {
|
|
|
|
border: solid 2px black;
|
|
|
|
padding: 0.2em;
|
2021-10-12 22:25:58 +00:00
|
|
|
margin-bottom: 1em;
|
2021-09-23 00:17:35 +00:00
|
|
|
}
|
2021-10-12 22:56:47 +00:00
|
|
|
|
|
|
|
body {
|
|
|
|
font-family: sans-serif;
|
|
|
|
max-width: 45rem;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
2021-09-23 00:17:35 +00:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<label for="token-input">Access token: </label>
|
|
|
|
<input id="token-input" name="token" />
|
|
|
|
|
|
|
|
<form id="token">
|
2021-10-12 22:29:57 +00:00
|
|
|
<button>Probar token</button>
|
|
|
|
<p class="status"></p>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<form id="save-token">
|
|
|
|
<button>Guardar token</button>
|
2021-09-23 00:17:35 +00:00
|
|
|
<p class="status"></p>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<form id="productos">
|
|
|
|
<button>Conseguir productos</button>
|
|
|
|
<p class="status"></p>
|
|
|
|
</form>
|
|
|
|
|
2021-10-12 22:29:57 +00:00
|
|
|
<form id="price">
|
2021-09-23 00:17:35 +00:00
|
|
|
<button>Conseguir precios</button>
|
|
|
|
<p class="status"></p>
|
|
|
|
</form>
|
2021-09-22 22:32:17 +00:00
|
|
|
|
2021-10-12 22:29:57 +00:00
|
|
|
<form id="price-by-customer">
|
|
|
|
<button>Conseguir precios by customer</button>
|
2021-10-12 22:57:24 +00:00
|
|
|
<input name="filter" type="text" placeholder="Filtro por ID (opcional)" />
|
2021-10-12 22:29:57 +00:00
|
|
|
<p class="status"></p>
|
|
|
|
</form>
|
2021-09-23 00:17:35 +00:00
|
|
|
|
2021-10-12 22:29:57 +00:00
|
|
|
<form id="customer">
|
|
|
|
<button>Conseguir clientes</button>
|
|
|
|
<p class="status"></p>
|
|
|
|
</form>
|
2021-09-23 00:17:35 +00:00
|
|
|
|
2021-10-12 22:29:57 +00:00
|
|
|
<script type="module" src="../build/demo/demo.js"></script>
|