Add stylesheet to config page

This commit is contained in:
Saba 2021-11-27 14:39:05 -05:00
parent 49461a0c97
commit d150bd9ad7
3 changed files with 5 additions and 0 deletions

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<head>
<title>Set directories for your config file.</title>
<link rel="stylesheet" href="views/style.css">
</head>
<body>
<button type="button" id="show-config">Show Config</button>

View file

@ -14,6 +14,7 @@ function processChildren(element, data) {
for (let key in data) {
var child = document.createElement("div");
child.id = key;
child.className = "config-element";
child.appendChild(document.createTextNode(key + ": "));
if (data[key] === Object(data[key])) {
console.log(key, data[key]);

3
views/style.css Normal file
View file

@ -0,0 +1,3 @@
.config-element {
margin: 8px;
}