diff --git a/html/css/stylesheet.css b/html/css/stylesheet.css index d2fe167..02d3699 100644 --- a/html/css/stylesheet.css +++ b/html/css/stylesheet.css @@ -8,3 +8,22 @@ a.divlink{ color: black; } +div.sidebar{ + display: inline-block; + border-right-style: solid; + height: 100vh; + background-color: #E9EAEB; + width: 300px; + position: fixed; +} + +div.displayDevice{ + display: inline-block; + position: absolute; + padding-left: 30px; + width: 100%; + height: 100%; + overflow: auto; + left: 300px; +} + diff --git a/html/javascript/listing.js b/html/javascript/listing.js index 88a7793..1723e54 100644 --- a/html/javascript/listing.js +++ b/html/javascript/listing.js @@ -56,7 +56,7 @@ function show(){ for(var i = 0; i < devices.length; i++){ if(type.localeCompare(devices[i].hardware) == 0 || type.localeCompare(devices[i].software) == 0){ - html += '
' + devices[i].description + '
' + devices[i].description + '