2021-09-14 02:31:17 +03:00
|
|
|
<!doctype html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Terminal</title>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta name="viewport"
|
|
|
|
content="width=device-width, initial-scale=1, shrink-to-fit=no,maximum-scale=1"/>
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
|
|
<meta name="apple-touch-fullscreen" content="yes" />
|
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
2021-11-25 15:00:52 +03:00
|
|
|
<!--<link rel="apple-touch-icon" href="/~landscape/img/touch_icon.png">
|
|
|
|
<link rel="icon" type="image/png" href="/~landscape/img/Favicon.png">-->
|
2021-09-14 02:31:17 +03:00
|
|
|
<link rel="manifest"
|
|
|
|
href='data:application/manifest+json,{
|
|
|
|
"name": "Terminal",
|
|
|
|
"short_name": "Terminal",
|
|
|
|
"description": "A%20terminal%20for%20your%20Urbit.",
|
|
|
|
"display": "standalone",
|
|
|
|
"background_color": "%23FFFFFF",
|
|
|
|
"theme_color": "%23000000"}' />
|
2021-12-09 02:00:25 +03:00
|
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
|
|
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap" rel="stylesheet">
|
2021-12-08 19:12:38 +03:00
|
|
|
<style>
|
|
|
|
body, #root {
|
|
|
|
height: 100vh;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2022-03-03 02:34:19 +03:00
|
|
|
|
|
|
|
.buffer-container {
|
2022-03-04 02:10:54 +03:00
|
|
|
height: calc(100% - 40px);
|
2022-03-03 02:34:19 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
div.tabs {
|
2022-03-04 02:10:54 +03:00
|
|
|
height: 40px;
|
2022-03-03 02:34:19 +03:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
justify-content: flex-start;
|
2022-03-04 02:10:54 +03:00
|
|
|
padding: 5px 5px 0 5px;
|
2022-03-03 02:34:19 +03:00
|
|
|
border-bottom: 1px solid black;
|
2022-03-04 02:10:54 +03:00
|
|
|
background-color: white;
|
2022-03-03 02:34:19 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
div.tabs > * {
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
border: solid 1px black;
|
2022-03-04 02:10:54 +03:00
|
|
|
padding: 10px;
|
2022-03-03 02:34:19 +03:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2022-03-04 02:10:54 +03:00
|
|
|
div.tab, button.tab {
|
|
|
|
margin-bottom: -1px; /** To overlay the selected tab on the tabs container bottom border */
|
|
|
|
border-top-left-radius: 5px;
|
|
|
|
border-top-right-radius: 5px;
|
|
|
|
font-family: monospace;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.tabs > div.selected {
|
|
|
|
border-bottom: white solid 1px;
|
2022-03-03 02:34:19 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
div.tabs > div.selected > a.session-name {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.tabs > a.delete-session {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
2022-03-04 02:10:54 +03:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
div.tabs {
|
|
|
|
background-color: rgb(26, 26, 26);
|
|
|
|
color: rgba(255, 255, 255, 0.9);
|
|
|
|
border-bottom-color: rgba(255, 255, 255, 0.9);
|
|
|
|
}
|
|
|
|
|
|
|
|
div.tab, button.tab {
|
|
|
|
background-color: rgb(26, 26, 26);
|
|
|
|
color: rgba(255, 255, 255, 0.9);
|
|
|
|
border-color: rgba(255, 255, 255, 0.9);
|
|
|
|
}
|
|
|
|
|
|
|
|
div.tabs > div.selected {
|
|
|
|
border-bottom: black solid 1px;
|
|
|
|
}
|
|
|
|
}
|
2021-12-08 19:12:38 +03:00
|
|
|
</style>
|
2021-09-14 02:31:17 +03:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="root"></div>
|
|
|
|
<script src="/session.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|