mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-25 23:00:36 +01:00
Added repository server assets
This commit is contained in:
parent
579c30e558
commit
4ae073d13c
1009
sbapp/share/css/water.css
Normal file
1009
sbapp/share/css/water.css
Normal file
File diff suppressed because it is too large
Load Diff
BIN
sbapp/share/css/water.css.gz
Normal file
BIN
sbapp/share/css/water.css.gz
Normal file
Binary file not shown.
BIN
sbapp/share/css/yond.woff2
Normal file
BIN
sbapp/share/css/yond.woff2
Normal file
Binary file not shown.
BIN
sbapp/share/css/yond.woff2.gz
Normal file
BIN
sbapp/share/css/yond.woff2.gz
Normal file
Binary file not shown.
BIN
sbapp/share/gfx/icon.png
Normal file
BIN
sbapp/share/gfx/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
24
sbapp/share/guides.html
Normal file
24
sbapp/share/guides.html
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<link rel="stylesheet" href="css/water.css">
|
||||||
|
<link rel="shortcut icon" type="image/x-icon" href="gfx/icon.png">
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Sideband Repository</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<span class="logo">Guides</span>
|
||||||
|
<p><center><span class="menu"><a href="index.html">Start</a> | <a href="pkgs.html">Software</a> | <a href="guides.html">Guides</a></span></center></p><hr>
|
||||||
|
Welcome to the <b>Guide Section</b>!<br/><br/>From here, you can browse or download various included manuals, documentation, references and guides.
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><a href="./mirrors/unsigned.io/guides.html">Browse a local copy of the Guides from unsigned.io</a></li>
|
||||||
|
<li><a href="./mirrors/reticulum.network/manual/index.html">Browse the Reticulum Manual</a></li>
|
||||||
|
<li><a href="./mirrors/Reticulum_Manual.pdf">Download the Reticulum Manual in PDF format</a></li>
|
||||||
|
<li><a href="./mirrors/Reticulum_Manual.epub">Download the Reticulum Manual in EPUB format</a></li>
|
||||||
|
<li><a href="./mirrors/reticulum.network/index.html">Browse a local copy of the Reticulum website</a></li>
|
||||||
|
</ul>
|
||||||
|
<hr>
|
||||||
|
<p><center></p>
|
||||||
|
</body></html>
|
29
sbapp/share/index.html
Normal file
29
sbapp/share/index.html
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<link rel="stylesheet" href="css/water.css">
|
||||||
|
<link rel="shortcut icon" type="image/x-icon" href="gfx/icon.png">
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Sideband Repository</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<span class="logo">Sideband Repository</span>
|
||||||
|
<p><center><span class="menu"><a href="index.html">Start</a> | <a href="pkgs.html">Software</a> | <a href="guides.html">Guides</a></span></center></p><hr><h2>Hello!</h2>
|
||||||
|
<table style="margin-bottom: 1.5em;">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td style="vertical-align:middle;padding-left: 0;">
|
||||||
|
You have connected to the <b>Sideband Repository</b>.<br/>
|
||||||
|
<br/>
|
||||||
|
Feel free to download any information and resources from here. Select a section to browse and download packages and information.<br/>
|
||||||
|
</td>
|
||||||
|
<td width="33%" style="vertical-align:middle;padding-right: 0;">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<hr>
|
||||||
|
<p><center></p>
|
||||||
|
</body></html>
|
63
sbapp/share/pkgs.html
Normal file
63
sbapp/share/pkgs.html
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<link rel="stylesheet" href="css/water.css">
|
||||||
|
<link rel="shortcut icon" type="image/x-icon" href="gfx/icon.png">
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Sideband Repository</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<span class="logo">Software</span>
|
||||||
|
<p><center><span class="menu"><a href="index.html">Start</a> | <a href="pkgs.html">Software</a> | <a href="guides.html">Guides</a></span></center></p><hr>
|
||||||
|
Welcome to the <b>Software Library</b>!<br/><br/>From here, you can download installable Python Wheel packages of Reticulum and various other auxillary programs and utilities.
|
||||||
|
<ul id="filelist">
|
||||||
|
</ul>
|
||||||
|
<hr>
|
||||||
|
<p><center></p>
|
||||||
|
</body></html>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
var getJSON = function(url, callback) {
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
xhr.open('GET', url, true);
|
||||||
|
xhr.responseType = 'json';
|
||||||
|
xhr.onload = function() {
|
||||||
|
var status = xhr.status;
|
||||||
|
if (status === 200) {
|
||||||
|
callback(null, xhr.response);
|
||||||
|
} else {
|
||||||
|
callback(status, xhr.response);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
xhr.send();
|
||||||
|
};
|
||||||
|
|
||||||
|
var got_data = function(err, data) {
|
||||||
|
if (err !== null) {
|
||||||
|
alert('Could not load filelist: ' + err);
|
||||||
|
} else {
|
||||||
|
console.log(data);
|
||||||
|
for (e in data) {
|
||||||
|
url = "/pkg/"+data[e];
|
||||||
|
name = data[e];
|
||||||
|
|
||||||
|
// create a new div element
|
||||||
|
const listitem = document.createElement("li");
|
||||||
|
const anc = document.createElement("a")
|
||||||
|
const content = document.createTextNode(name);
|
||||||
|
listitem.appendChild(anc)
|
||||||
|
anc.href = url;
|
||||||
|
anc.appendChild(content)
|
||||||
|
|
||||||
|
const flist = document.getElementById("filelist");
|
||||||
|
flist.appendChild(listitem);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
getJSON("/pkglist", got_data);
|
||||||
|
//got_data(null, test_json);
|
||||||
|
|
||||||
|
</script>
|
Loading…
Reference in New Issue
Block a user