Update console.html

This commit is contained in:
Namhyeon Go 2024-11-06 18:42:08 +09:00
parent 6c16083d9b
commit ea0a24ee5f

View File

@ -1,48 +1,65 @@
<!doctype html> <!doctype html>
<html> <html>
<head> <head>
<title>Caterpillar Proxy Web Console</title> <title>Caterpillar Proxy Console</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<meta name="referrer" content="unsafe-url"> <meta name="referrer" content="unsafe-url">
<link href="https://cdnjs.cloudflare.com/ajax/libs/jquery.terminal/2.42.0/css/jquery.terminal.min.css" rel="stylesheet" type="text/css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery.terminal/2.44.1/css/jquery.terminal.min.css">
<link href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" rel="stylesheet" type="text/css"> <link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css">
<style type="text/css">/*<!--<![CDATA[*/ <style type="text/css">/*<!--<![CDATA[*/
body { html, body, main {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
}
#content {
float: right;
width: 72%;
height: 100%;
scroll: hidden;
}
#cover {
float: left;
width: 28%;
height: 100%;
scroll: hidden;
background: #2e8d36 url(https://pub-1a7a176eea68479cb5423e44273657ad.r2.dev/bg.jpg) no-repeat; background: #2e8d36 url(https://pub-1a7a176eea68479cb5423e44273657ad.r2.dev/bg.jpg) no-repeat;
background-size: cover; background-size: cover;
background-position: center; background-position: center;
} }
h1, p {
color: #093923; #cover article {
margin: 30px;
} }
p a {
color: #fff; #console {
padding: 0 2px; height: 100%;
text-decoration: none;
border-bottom: 2px solid #fff;
}
main {
width: 640px;
margin: 0 auto;
}
.terminal, .cmd {
background: #093923;
} }
/*]]>-->*/</style> /*]]>-->*/</style>
</head> </head>
<body> <body>
<main> <main>
<h1>Caterpillar Proxy Web Console</h1> <section id="content">
<p>Download an worker script of <a href="https://github.com/gnh1201/caterpillar">Caterpillar Proxy</a>.</p> <div id="console"></div>
<div id="console"></div> <div id="map"></div>
<div id="map"></div> </section>
<p><a href="https://github.com/gnh1201/caterpillar">Fork me. gnh1201/caterpillar (GitHub)</a></p> <section id="cover">
<article>
<h1>Caterpillar Proxy Web Console</h1>
<p>Source code available</p>
<p><a href="https://github.com/gnh1201/caterpillar">gnh1201/caterpillar (GitHub)</a></p>
</article>
</section>
</main> </main>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" type="text/javascript"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.terminal/2.42.0/js/jquery.terminal.min.js" type="text/javascript" ></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.terminal/2.44.1/js/jquery.terminal.min.js"></script>
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js" type="text/javascript"></script> <script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script>
<script type="text/javascript">//<!--<![CDATA[ <script type="text/javascript">//<!--<![CDATA[
var env = { var env = {
"target": "http://localhost/", "target": "http://localhost/",
@ -339,8 +356,8 @@
jsonrpc2_request(this, env.method, {}); jsonrpc2_request(this, env.method, {});
} }
}, { }, {
height: 480, height: "100%",
width: 640, width: "100%",
prompt: '> ', prompt: '> ',
checkArity: false checkArity: false
}); });