This commit is contained in:
JustSteel 2021-05-08 13:11:19 +02:00
parent 39b3796a1b
commit bda1b1ac0f
2 changed files with 24 additions and 21 deletions

@ -8,26 +8,30 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<script src="appjs.js"></script> <script src="appjs.js"></script>
</head> </head>
<header>
<nav>
<!-- Navigačná lišta /veľká obrazovka/ -->
<ul class="list">
<img src="wikispot-white.png" alt="" class="itemImg">
<li class="item" onclick="location.href = 'WikiSpot.html'">DOMOV</li>
<li class="item" onclick="location.href = 'WikiSpotWS.html'">WIKISPOT</li>
<li class="item" onclick="location.href = 'WikiSpotPro.html'">O PROJEKTE</li>
<li class="item" onclick="location.href = 'WikiSpotCon.html'">KONTAKT</li>
<div class="burger" onclick="bmenu()">&#9776</div>
</ul>
<!-- Navigačná lisťa /malá obrazovka/ -->
<ul class="burgerList" id="bonger">
<li class="bItem">DOMOV</li>
<li class="bItem">WIKISPOT</li>
<li class="bItem">O PROJEKTE</li>
<li class="bItem">KONTAKT</li>
</ul>
</nav>
</header>
<body> <body>
<header> <div id="downloadHolder">
<nav> <div id="download">SŤIAHNUŤ &#9660</div>
<!-- Navigačná lišta /veľká obrazovka/ --> <div id="phone"><img src="samsung1.png" alt="" id="phoneImg"></div>
<ul class="list"> </div>
<img src="wikispot-white.png" alt="" class="itemImg">
<li class="item" onclick="location.href = 'WikiSpot.html'">DOMOV</li>
<li class="item" onclick="location.href = 'WikiSpotWS.html'">WIKISPOT</li>
<li class="item" onclick="location.href = 'WikiSpotPro.html'">O PROJEKTE</li>
<li class="item" onclick="location.href = 'WikiSpotCon.html'">KONTAKT</li>
<div class="burger" onclick="bmenu()">&#9776</div>
</ul>
<!-- Navigačná lisťa /malá obrazovka/ -->
<ul class="burgerList" id="bonger">
<li class="bItem">DOMOV</li>
<li class="bItem">WIKISPOT</li>
<li class="bItem">O PROJEKTE</li>
<li class="bItem">KONTAKT</li>
</ul>
</nav>
</header>
</body> </body>
</html> </html>

@ -73,7 +73,6 @@ $(document).ready(function() {
append_element(urls, descriptions, n); append_element(urls, descriptions, n);
$.get("http://192.168.1.105:8000/devices_list", function(data) { $.get("http://192.168.1.105:8000/devices_list", function(data) {
console.log(data); console.log(data);
var myJson = JSON.stringify(data[1]["description"]["description_s"]); var myJson = JSON.stringify(data[1]["description"]["description_s"]);
var myJson1 = JSON.stringify(data[1]["description"]["title"]); var myJson1 = JSON.stringify(data[1]["description"]["title"]);