0
0
mirror of https://github.com/Doodle3D/doodle3d-connect.git synced 2024-12-25 18:13:48 +01:00

added printer title to status page

This commit is contained in:
Rick Companje 2017-07-13 18:04:12 +02:00
parent 882057e300
commit e228f1ec42
2 changed files with 7 additions and 0 deletions

View File

@ -190,8 +190,11 @@
//request filename only once
if ($("#infoPrintingFile").text()==="") {
_serverAPI.fetchHeader(uuid,function(successData) {
console.log("infoPrintingFile fetchHeader",successData);
$("#liPrintingFile").show();
$("#liPrinterType").show();
$("#infoPrintingFile").text(successData.name);
$("#infoPrinterType").text(successData.printer.title);
},function(failData) {
$("#liPrintingFile").hide();
});

View File

@ -152,6 +152,10 @@
WiFi-Box
<span id="infoWiFiBox" class="ui-li-count"></span>
</li>
<li id="liPrinterType" data-icon="false">
Printer
<span id="infoPrinterType" class="ui-li-count"></span>
</li>
<li id="liPrinterStatus" data-icon="false">
Status
<span id="infoPrinterStatus" class="ui-li-count"></span>