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
|
//request filename only once
|
||||||
if ($("#infoPrintingFile").text()==="") {
|
if ($("#infoPrintingFile").text()==="") {
|
||||||
_serverAPI.fetchHeader(uuid,function(successData) {
|
_serverAPI.fetchHeader(uuid,function(successData) {
|
||||||
|
console.log("infoPrintingFile fetchHeader",successData);
|
||||||
$("#liPrintingFile").show();
|
$("#liPrintingFile").show();
|
||||||
|
$("#liPrinterType").show();
|
||||||
$("#infoPrintingFile").text(successData.name);
|
$("#infoPrintingFile").text(successData.name);
|
||||||
|
$("#infoPrinterType").text(successData.printer.title);
|
||||||
},function(failData) {
|
},function(failData) {
|
||||||
$("#liPrintingFile").hide();
|
$("#liPrintingFile").hide();
|
||||||
});
|
});
|
||||||
|
@ -152,6 +152,10 @@
|
|||||||
WiFi-Box
|
WiFi-Box
|
||||||
<span id="infoWiFiBox" class="ui-li-count"></span>
|
<span id="infoWiFiBox" class="ui-li-count"></span>
|
||||||
</li>
|
</li>
|
||||||
|
<li id="liPrinterType" data-icon="false">
|
||||||
|
Printer
|
||||||
|
<span id="infoPrinterType" class="ui-li-count"></span>
|
||||||
|
</li>
|
||||||
<li id="liPrinterStatus" data-icon="false">
|
<li id="liPrinterStatus" data-icon="false">
|
||||||
Status
|
Status
|
||||||
<span id="infoPrinterStatus" class="ui-li-count"></span>
|
<span id="infoPrinterStatus" class="ui-li-count"></span>
|
||||||
|
Loading…
Reference in New Issue
Block a user