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:
parent
882057e300
commit
e228f1ec42
@ -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();
|
||||
});
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user