mirror of
https://github.com/YunoHost-Apps/snserver_ynh.git
synced 2024-09-03 20:26:22 +02:00
Update Extensions Index
This commit is contained in:
parent
4199ff5f1b
commit
3b75f1f816
3 changed files with 29 additions and 11 deletions
|
@ -2,14 +2,14 @@ body {
|
||||||
padding-left: 50px;
|
padding-left: 50px;
|
||||||
}
|
}
|
||||||
td {
|
td {
|
||||||
border: 1px solid #999;
|
/*border: 1px solid #999;*/
|
||||||
padding: 0.25rem;
|
padding: 0.25rem;
|
||||||
}
|
}
|
||||||
td#id {
|
td#id {
|
||||||
width: 20px;
|
width: 20px;
|
||||||
}
|
}
|
||||||
td#name {
|
td#name {
|
||||||
width: 200px;
|
width: 250px;
|
||||||
}
|
}
|
||||||
td#url {
|
td#url {
|
||||||
width: 300px;
|
width: 300px;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
<title>StandardNotes Extensions</title>
|
<title>StandardNotes Extensions</title>
|
||||||
<script type="text/javascript" src="extensions/js.js"></script>
|
<script type="text/javascript" src="extensions/js.js"></script>
|
||||||
<link rel="stylesheet" href="extensions/css.css">
|
<link rel="stylesheet" href="extensions/css.css">
|
||||||
|
@ -18,21 +19,38 @@
|
||||||
<h3>Install Instructions</h3>
|
<h3>Install Instructions</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Open StandardNotes Web or Desktop App</li>
|
<li>Open StandardNotes Web or Desktop App</li>
|
||||||
<li>Press "Extensions" in the button left corner</li>
|
<li>Press on <strong>Extensions</strong> in the button left corner</li>
|
||||||
<li>Press on "Import Extensions" in the button right corner of the new window.</li>
|
<li>Press on <strong>Import Extensions</strong> in the button right corner of the new window.</li>
|
||||||
<li>Enter one of the Extension Links from below.</li>
|
<li>Insert one of the Extension Links from below.</li>
|
||||||
<li>Press "Enter" on your keyboard.</li>
|
<li>Press <strong>Enter</strong> on your keyboard.</li>
|
||||||
<li>Press on "Install"</li>
|
<li>Press on <strong>Install</strong></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="themesData">
|
<div id="repos">
|
||||||
|
<h3>Repo</h3>
|
||||||
|
<table id="reposData">
|
||||||
|
<tr>
|
||||||
|
<td id="name">Extensions Repo</br>(Includes all Extentions from below)</td>
|
||||||
|
<td id="url">
|
||||||
|
<a href="extensions/repo.json">repo.json</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div id="themes">
|
||||||
<h3>Themes</h3>
|
<h3>Themes</h3>
|
||||||
|
<table id="themesData">
|
||||||
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div id="editorsData">
|
<div id="editors">
|
||||||
<h3>Editors</h3>
|
<h3>Editors</h3>
|
||||||
|
<table id="editorsData">
|
||||||
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div id="componentsData">
|
<div id="components">
|
||||||
<h3>Components</h3>
|
<h3>Components</h3>
|
||||||
|
<table id="componentsData">
|
||||||
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -17,7 +17,7 @@ function appendData(data) {
|
||||||
var tr = document.createElement("tr");
|
var tr = document.createElement("tr");
|
||||||
tr.innerHTML =
|
tr.innerHTML =
|
||||||
"<td id='name'>" + data[i].name + "</td>" +
|
"<td id='name'>" + data[i].name + "</td>" +
|
||||||
"<td id='url'><a href=" + data[i].url + ">" + data[i].url + "</a></td>"
|
"<td id='url'><a href=" + data[i].url + ">" + data[i].url.substr(15) + "</a></td>"
|
||||||
mainContainer.appendChild(tr);
|
mainContainer.appendChild(tr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue