mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
74 lines
2.7 KiB
HTML
74 lines
2.7 KiB
HTML
<!DOCTYPE html>
|
|
<html manifest="/cloudcmd.appcache">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="robots" content="noindex,nofollow">
|
|
<!-- mobile first design -->
|
|
<meta content="width=device-width,initial-scale=1" name="viewport" />
|
|
<!-- chrome frame -->
|
|
<meta http-equiv="X-UA-Compatible" content=" chrome=1" />
|
|
<link href=/img/favicon/favicon.png rel=icon type=image/png />
|
|
<title>{{ title }}</title>
|
|
|
|
<link rel=stylesheet href=/join/css/reset.css:css/style.css>
|
|
</head>
|
|
<body>
|
|
|
|
<div class=fm>{{ fm }}</div>
|
|
<div class="keyspanel">
|
|
<button id=f1 class=cmd-button>F1 - help</button>
|
|
<button id=f2 class=cmd-button>F2 - rename</button>
|
|
<button id=f3 class=cmd-button>F3 - view</button>
|
|
<button id=f4 class=cmd-button>F4 - edit</button>
|
|
<button id=f5 class=cmd-button>F5 - copy</button>
|
|
<button id=f6 class=cmd-button>F6 - move</button>
|
|
<button id=f7 class=cmd-button>F7 - make dir</button>
|
|
<button id=f8 class=cmd-button>F8 - delete</button>
|
|
<button id=f9 class=cmd-button>F9 - menu</button>
|
|
<button id=f10 class="cmd-button config-button">F10 - config</button>
|
|
<button id=~ class=cmd-button>~ - console</button>
|
|
<button id=contact class=cmd-button>contact</button>
|
|
</div>
|
|
<script>
|
|
!(function() {
|
|
'use strict';
|
|
|
|
var script,
|
|
files = [
|
|
'lib/client/key.js',
|
|
'lib/client/listeners.js',
|
|
'lib/client.js',
|
|
'lib/client/dom.js',
|
|
'lib/cloudfunc.js',
|
|
'lib/util.js'
|
|
],
|
|
url = getJoinURL(files);
|
|
|
|
window.addEventListener('load', createScript);
|
|
|
|
function createScript() {
|
|
script = document.createElement('script');
|
|
script.src = url;
|
|
script.async = true;
|
|
script.addEventListener('load', scriptLoad);
|
|
document.body.appendChild(script);
|
|
window.removeEventListener('load', createScript);
|
|
}
|
|
|
|
function getJoinURL(files) {
|
|
var regExp = new RegExp(',', 'g'),
|
|
url = '/join/' + files;
|
|
|
|
url = url.replace(regExp, ':');
|
|
|
|
return url;
|
|
}
|
|
|
|
function scriptLoad() {
|
|
CloudCmd.init();
|
|
script.removeEventListener('load', scriptLoad);
|
|
}
|
|
})();
|
|
</script>
|
|
</body>
|
|
</html>
|