add support call to action in export dialog
This commit is contained in:
parent
eaf941d29a
commit
1875721bec
3 changed files with 12 additions and 0 deletions
|
|
@ -1700,6 +1700,7 @@ function init_two() {
|
||||||
};
|
};
|
||||||
|
|
||||||
// bind interface action elements
|
// bind interface action elements
|
||||||
|
$('export-support-a').onclick = (ev) => { ev.stopPropagation(); api.modal.show('don8') };
|
||||||
$('mode-device').onclick = api.show.devices;
|
$('mode-device').onclick = api.show.devices;
|
||||||
$('mode-profile').onclick = settingsLoad;
|
$('mode-profile').onclick = settingsLoad;
|
||||||
$('mode-fdm').onclick = () => api.mode.set('FDM');
|
$('mode-fdm').onclick = () => api.mode.set('FDM');
|
||||||
|
|
|
||||||
|
|
@ -1690,6 +1690,14 @@ details[open] summary::after {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
}
|
}
|
||||||
|
#export-support {
|
||||||
|
padding-top: 10px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
#export-support a {
|
||||||
|
padding: 5px;
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
.mod-print {
|
.mod-print {
|
||||||
background-color: rgba(255,255,255,0.85);
|
background-color: rgba(255,255,255,0.85);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -667,6 +667,9 @@
|
||||||
</div>
|
</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 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>
|
||||||
|
<div id="export-support" class="f-col">
|
||||||
|
<a id="export-support-a" target="support">this project neeeds your support!</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="mod-x-sla" class="mod-print mdialog f-col">
|
<div id="mod-x-sla" class="mod-print mdialog f-col">
|
||||||
<div class="header"><label lk="export">export</label></div>
|
<div class="header"><label lk="export">export</label></div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue