add send to moonraker option

This commit is contained in:
Stewart Allen 2026-01-08 23:44:31 -05:00
commit d51894fb75
4 changed files with 79 additions and 36 deletions

View file

@ -678,19 +678,39 @@
<label class="grow0 pad3">spool</label>
<select id="print-bambu-spool"></select>
<button id="print-bambu-1" class="grow" disabled>send</button>
<button id="print-bambu-2" class="grow" disabled>send + print</button>
<button id="print-bambu-2" class="grow" disabled>print</button>
</div>
</div>
<div id="send-to-octohead" class="header"><label>octoprint</label></div>
<div id="send-to-octoprint" class="f-col box">
<div id="send-remote-head" class="header"><label>send to print</label></div>
<div id="send-remote-print" class="f-col box">
<div class="grow f-row">
<div class="f-col grow">
<div id="ophost"><label lk="ex_host">host</label><input id="octo-host" size="20" placeholder="http(s)://host:port" /></div>
<div id="opapik"><label lk="ex_akey">key</label><input id="octo-apik" size="20" /></div>
<div id="ophost">
<label lk="ex_host">host</label>
<input id="octo-host" size="20" placeholder="http(s)://host:port" />
</div>
<div id="opapik">
<label lk="ex_akey">key</label>
<input id="octo-apik" size="20" />
</div>
<div id="optype">
<label lk="ex_type">type</label>
<select id="octo-type">
<option selected>moonraker</option>
<option>octoprint</option>
</select>
</div>
</div>
<button id="print-octoprint">send</button>
<button id="send-remote">send</button>
<button id="print-remote">print</button>
</div>
<div id="oph1nt">
<label class="hint">
check printer
<a href="http://docs.octoprint.org/en/master/api/general.html?highlight=cors#cross-origin-requests" target="_help">CORS</a>
settings
</label>
</div>
<div id="oph1nt"><label class="hint"><a href="http://docs.octoprint.org/en/master/api/general.html?highlight=cors#cross-origin-requests" target="_help">CORS support</a> must be enabled in API settings</label></div>
</div>
<div id="export-support" class="f-col">
<a id="export-support-a" target="support">this project needs your support!</a>
@ -757,3 +777,7 @@
</div>
</body>
</html>
<div id="opapik">
<label lk="ex_akey">key</label>
<input id="octo-apik" size="20" />
</div>

View file

@ -324,9 +324,12 @@ self.lang['en-us'] = {
op_anim_l: ["animation mesh density","higher is more dense","takes more memory","and is slower"],
op_mani_s: "manifold",
op_mani_l: ["in stock indexed mode","use boolean visualiation","this is very expensive","and likely very slow"],
op_exgl_l: ["show Grid:Local devices in export dialog","includes Grid:Bots and OctoPrint plugins"],
op_exgh_l: ["legacy Grid:Host local network support"],
op_exop_l: ["legacy OctoPrint local network support","Grid:Space OctoPrint plugin recommended"],
op_exop_s: "remote host",
op_exop_l: ["enable sending files to remote hosts","moonraker = klipper","octoprint"],
op_excp_s: "code preview",
op_excp_l: ["show start of gcode","in export dialog"],
op_exth_s: "thumbnail",
op_exth_l: ["embed print thumbnail in gcode"],
lo_menu: "layout",
@ -1014,7 +1017,7 @@ self.lang['en-us'] = {
ex_gcpv: "gcode preview",
ex_dwnl: "download",
ex_bamb: "send to bambu",
ex_octo: "octoprint",
ex_octo: "remote host",
ex_host: "host",
ex_akey: "key",
ex_rsnm: "resin used ML",