add support call to action in export dialog

This commit is contained in:
Stewart Allen 2025-12-18 00:45:26 -05:00
commit 1875721bec
3 changed files with 12 additions and 0 deletions

View file

@ -1700,6 +1700,7 @@ function init_two() {
};
// bind interface action elements
$('export-support-a').onclick = (ev) => { ev.stopPropagation(); api.modal.show('don8') };
$('mode-device').onclick = api.show.devices;
$('mode-profile').onclick = settingsLoad;
$('mode-fdm').onclick = () => api.mode.set('FDM');

View file

@ -1690,6 +1690,14 @@ details[open] summary::after {
font-family: monospace;
padding-top: 5px;
}
#export-support {
padding-top: 10px;
text-align: center;
}
#export-support a {
padding: 5px;
border-radius: 2px;
}
.mod-print {
background-color: rgba(255,255,255,0.85);
}

View file

@ -667,6 +667,9 @@
</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 neeeds your support!</a>
</div>
</div>
<div id="mod-x-sla" class="mod-print mdialog f-col">
<div class="header"><label lk="export">export</label></div>