mirror of
https://github.com/status-im/pluto.git
synced 2026-08-31 12:31:08 +00:00
55 lines
3.8 KiB
HTML
55 lines
3.8 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><title>Pluto · A grammar for data manipulation</title><meta name="viewport" content="width=device-width"/><meta name="generator" content="Docusaurus"/><meta name="description" content="A grammar for data manipulation"/><meta name="docsearch:language" content="en"/><meta property="og:title" content="Pluto · A grammar for data manipulation"/><meta property="og:type" content="website"/><meta property="og:url" content="https://status-im.github.io/pluto/index.html"/><meta property="og:description" content="A grammar for data manipulation"/><meta name="twitter:card" content="summary"/><link rel="shortcut icon" href="/pluto/img/favicon.png"/><link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css"/><script type="text/javascript" src="https://buttons.github.io/buttons.js"></script><script type="text/javascript" src="/pluto/js/pluto.js"></script><link rel="stylesheet" href="/pluto/css/prism.css"/><link rel="stylesheet" href="/pluto/css/main.css"/></head><body><div class="fixedHeaderContainer"><div class="headerWrapper wrapper"><header><a href="/pluto/"><img class="logo" src="/pluto/img/logo_white.png" alt="Pluto"/><h2 class="headerTitleWithLogo">Pluto</h2></a><div class="navigationWrapper navigationSlider"><nav class="slidingNav"><ul class="nav-site nav-site-internal"><li class=""><a href="/pluto/docs/Manifesto.html" target="_self">Docs</a></li><li class="siteNavItemActive"><a href="/pluto/examples.html" target="_self">Examples</a></li><li class=""><a href="/pluto/try.html" target="_self">Try</a></li></ul></nav></div></header></div></div><div class="navPusher"><div><html>
|
|
<head>
|
|
<style>
|
|
main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100%
|
|
}
|
|
|
|
#selection {
|
|
padding: 10px;
|
|
}
|
|
|
|
#extension {
|
|
border: 40px solid #ddd;
|
|
border-width: 55px 7px;
|
|
border-radius: 40px;
|
|
margin: 50px auto;
|
|
width: 30vh;
|
|
height: 50vh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#extension iframe {
|
|
border: 0;
|
|
height: 100%;
|
|
width: 100%
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
function load(urn) {
|
|
pluto.examples.load_and_render(urn, document.getElementById("frame").contentWindow.document.body.firstChild, document.getElementById("errors"));
|
|
}
|
|
</script>
|
|
<main>
|
|
<div id="selection">
|
|
Load demo extension from
|
|
<button onclick="load('ipfs@QmUCnqKmH4vvd5oXyJUkBV1rRnkLMX29iVugoREsaNTWr5')">IPFS</button>
|
|
<button onclick="load('url@assets/extensions/demo')">HTTP</button>
|
|
<button onclick="load('gist@jeluard/1b41c8194c1658e1b6fc0bde4aa6db95')">Gist</button>
|
|
</div>
|
|
<div id="extension">
|
|
<iframe id="frame" srcdoc="<body><main></main></body>"></iframe>
|
|
</div>
|
|
<div id="errors"></div>
|
|
</main>
|
|
</body>
|
|
</html>
|
|
|
|
<script src="cljs-out/figwheel/dev-main.js"></script>
|
|
</div><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/pluto/" class="nav-home"><img src="/pluto/img/logo_white.png" alt="Pluto" width="66" height="58"/></a><div><h5>Docs</h5><a href="docs/Tutorial">Getting Started</a><a href="docs/API">API Reference</a></div><div><h5>Community</h5><a href="https://chat.status.im">Project Chat</a><a href="https://twitter.com/ethstatus" target="_blank" rel="noreferrer noopener">Twitter</a></div><div><h5>More</h5><a href="https://blog.status.im/">Blog</a><a href="https://github.com/status-im/pluto/">GitHub</a></div></section><section class="copyright">Copyright © 2018 Status.im</section></footer></div></body></html> |