123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
- <title>Live Coding Space 0.2</title>
- <script type="text/javascript" src="/lib/page.js"></script>
- <script type="text/javascript" src="/lib/yamljs/dist/yaml.js"></script>
- <script type="text/javascript" src="/lib/compatibilitycheck.js"></script>
- <script type="text/javascript" src="/lib/socket.io/socket.io.js"></script>
- <!-- <script type="text/javascript" src="socket.io-sessionid-patch.js"></script> -->
- <script src="/vwf/view/webrtc/adapter-latest.js"></script>
- <script src="/lib/gundb/gun.js"></script>
- <script src="/lib/gundb/sea.js"></script>
- <script src="/lib/gundb/lib/then.js"></script>
- <script src="/lib/gundb/lib/path.js"></script>
- <script src="/lib/gundb/lib/not.js"></script>
- <script src="/lib/gundb/lib/open.js"></script>
- <script src="/lib/gundb/lib/load.js"></script>
- <!-- <script src="/gun/as.js"></script>
- <script src="/gun/nts.js"></script> -->
- <script type="text/javascript" src="/lib/cell.js"></script>
- <script type="text/javascript" src="/lib/he.js"></script>
- <script type="text/javascript" src="/lib/draggabilly.pkgd.js"></script>
- <script type="text/javascript" src="/lib/screenfull/screenfull.min.js"></script>
- <link href="/lib/noty/noty.css" rel="stylesheet">
- <link href="/lib/noty/themes/mint.css" rel="stylesheet">
- <script type="text/javascript" src="/lib/noty/noty.js"></script>
- <script type="text/javascript" src="/lib/polyglot/polyglot.min.js"></script>
- <!-- <script type="text/javascript" src="/vwf/view/lib/polyglot/language.js"></script> -->
- <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
- <link rel="stylesheet" href="/lib/mdc/dist/material-components-web.css">
- <script src="/lib/mdc/dist/material-components-web.js"></script>
- <!-- <link rel="stylesheet" href="https://unpkg.com/material-components-web@latest/dist/material-components-web.min.css">
- <script src="https://unpkg.com/material-components-web@latest/dist/material-components-web.min.js"></script> -->
- <script type="text/javascript" src="/lib/async/async.min.js"></script>
- <script type="text/javascript" src="/lib/require.js"></script>
- <script type="text/javascript" src="/lib/crypto.js"></script>
- <script type="text/javascript" src="/lib/md5.js"></script>
- <script type="text/javascript" src="/lib/alea.js"></script>
- <script type="text/javascript" src="/lib/mash.js"></script>
- <script type="text/javascript" src="/lib/ace/ace.js"></script>
- <script type="text/javascript" src="/vwf.js"></script>
- <link rel="stylesheet" type="text/css" href="/lib/index.css" />
- <script type="module">
- import { App } from '/app.js';
- window.onload = new App;
- </script>
- </head>
- <body class="mdc-typography">
- <div id="load-progressbar" role="progressbar" class="mdc-linear-progress mdc-linear-progress--indeterminate loader visible">
- <div class="mdc-linear-progress__buffering-dots"></div>
- <div class="mdc-linear-progress__buffer"></div>
- <div class="mdc-linear-progress__bar mdc-linear-progress__primary-bar">
- <span class="mdc-linear-progress__bar-inner"></span>
- </div>
- <div class="mdc-linear-progress__bar mdc-linear-progress__secondary-bar">
- <span class="mdc-linear-progress__bar-inner"></span>
- </div>
- </div>
- <div id="incompatibleBrowser">
- <div>
- <span style="color:#3090C7;">
- <br/>
- <br/>Your browser does not support this app</span>
- </div>
- </div>
- <div id="vwf-root"></div>
- <div id="ui-controls" class="guiwindow">
- <i id="hideui" class="mdc-icon-toggle material-icons" role="button" aria-pressed="true" aria-label="Hide Toollbar" tabindex="0"
- data-toggle-on='{"label": "Hide", "content": "grid_on"}' data-toggle-off='{"label": "Show", "content": "grid_off"}'>
- grid_on
- </i>
- <i id="fullscreenui" class="mdc-icon-toggle material-icons" role="button" aria-pressed="true" aria-label="Hide Toollbar"
- tabindex="0" data-toggle-on='{"label": "Hide", "content": "fullscreen"}' data-toggle-off='{"label": "Show", "content": "fullscreen_exit"}'>
- fullscreen
- </i>
- </div>
- <script>
- mdc.autoInit();
- window.addEventListener("load", function (event) {
- console.log("All resources finished loading!");
- });
- const iconEl = document.querySelector('#hideui');
- iconEl.addEventListener('MDCIconToggle:change', (e) => {
- let ui = document.querySelector('.mdc-toolbar');
- if (ui) {
- let chkAttr = e.detail.isOn;
- if (chkAttr) {
- ui.style.visibility = 'visible'
- } else {
- ui.style.visibility = 'hidden'
- }
- }
- });
- const fullScreenToggle = document.querySelector('#fullscreenui');
- fullScreenToggle.addEventListener('MDCIconToggle:change', (e) => {
- if (screenfull.enabled) {
- screenfull.toggle();
- } else {
- // Ignore or do something else
- }
- });
- </script>
- </body>
- </html>
|