Commit 9f14db2c authored by Jakob Moser's avatar Jakob Moser
Browse files

Merge branch 'add-jslinux-2019-12-21' into 'master'

Add jslinux-2019-12-21

See merge request moser/yalikejazz!1
parents 3220e702 0d8a743b
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
# Used third party content

## JSLinux

* Files: `static/lib/jslinux/*`
* URL: https://bellard.org/jslinux/
* Author: Fabrice Bellard
* License: [MIT License](https://opensource.org/licenses/MIT)

### Derivatives

* The file `static/index.html` is a modified version of the original `index.html` shipped with the JSLinux demo
* `static/lib/jslinux/css/style.css`
  * Modified paths to scrollbar images
* `static/lib/jslinux/js/jslinux.js`
  * Modified path to VM (call of `loadScript` function)
  * Modified paths to distro images
* `static/lib/jslinux/distros/busybox/root-riscv64.cfg`
  * Modified path to hard drive file
* `static/lib/jslinux/distros/busybox/root-x86.cfg`
  * Modified path to hard drive file

## Bee icon

* File: `img/bee-4789032.svg`

static/index.html

0 → 100644
+28 −0
Original line number Diff line number Diff line
<!-- Taken and modified form Fabrice Bellard's JSLinux, see LICENSE-3RD-PARTY.md for details -->
<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>JSLinux</title>
  <link href="./lib/jslinux/css/style.css" type="text/css" rel="stylesheet"/>
<style>
</style>
</head>
<body>
<div id="term_wrap">
  <div id="term_container">
  </div>
  <div>
    <textarea id="term_paste" cols="10" rows="1" autocorrect="off">Paste Here</textarea>
    <label>
      <img title="Upload files" src="./lib/jslinux/img/upload-icon.png"><input type="file" id="files" multiple onchange="on_update_files(this.files)">
    </label>
    <progress id="net_progress">
    </progress>
  </div>
</div>
<script type="text/javascript" src="./lib/jslinux/js/term.js"></script>
<script type="text/javascript" src="./lib/jslinux/js/jslinux.js"></script>
<div id="copyright">&copy; 2017-2019 Fabrice Bellard</div>
</body>
</html>
+41 −0
Original line number Diff line number Diff line
.term {
    font-family: courier,fixed,swiss,monospace,sans-serif;
    font-size: 15px;
    color: #f0f0f0;
    background: #000000;
}

.term_content a {
    color: #ffff00;
}

.term_cursor {
    color: #000000;
    background: #00ff00;
}

.term_scrollbar { background: transparent url(../img/bg-scrollbar-track-y.png) no-repeat 0 0; position: relative; background-position: 0 0; float: right; width: 15px; height: 100%; }
.term_track { background: transparent url(../img/bg-scrollbar-trackend-y.png) no-repeat 0 100%; height: 100%; width:13px; position: relative; padding: 0 1px; }
.term_thumb { background: transparent url(../img/bg-scrollbar-thumb-y.png) no-repeat 50% 100%; height: 20px; width: 25px; cursor: pointer; overflow: hidden; position: absolute; top: 0; left: -5px; }
.term_thumb .term_end { background: transparent url(../img/bg-scrollbar-thumb-y.png) no-repeat 50% 0; overflow: hidden; height: 5px; width: 25px; }
.noSelect { user-select: none; -o-user-select: none; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; }
#term_paste {
    border: 1px solid;
    height: 19px;
}

/* file import */
#files {
    visibility: hidden;
    width:1px;
    height:1px;
    padding: 0px;
    margin: 0px;
    bordex: 0px;
}

label {
    cursor: pointer;
    margin-left: 5px;
    margin-right: 5px;
}
+52.5 KiB

File added.

No diff preview for this file type.

+3.8 MiB

File added.

No diff preview for this file type.

Loading