mirror of
https://github.com/unraid/api.git
synced 2026-01-04 23:50:37 -06:00
feat: add web component to settings for api logs download (#627)
* feat: add web component to settings for api logs download * feat: version check before offering unraid-api-logs downloader * refactor: show download log component * style: code indenting fix * feat: translations download unraid-api logs
This commit is contained in:
@@ -697,3 +697,10 @@ $(function() {
|
||||
});
|
||||
</script>
|
||||
<?endif // end show flash backup form ?>
|
||||
|
||||
<!-- start unraid-api section -->
|
||||
<div markdown="1" class="js-unraidApiLogs <?=$shade?>">
|
||||
_(Download unraid-api Logs)_:
|
||||
: <unraid-api-logs></unraid-api-logs>
|
||||
</div>
|
||||
<!-- end unraid-api section -->
|
||||
|
||||
@@ -539,6 +539,9 @@ $upc_translations = [
|
||||
'heading' => _('Connect plugin install failed'),
|
||||
'message' => _('The Connect plugin install is incomplete').'. '._('Please uninstall and reinstall the Connect plugin').'. '._('Be sure to let the install complete before you close the window').'.',
|
||||
],
|
||||
"downloadUnraidApiLogs" => _('Download unraid-api Logs'),
|
||||
"download" => _('Download'),
|
||||
"pleaseWait" => _('Please wait…')
|
||||
],
|
||||
];
|
||||
// note: $myservers variable defined in myservers1.php, by parsing myservers.cfg
|
||||
|
||||
Reference in New Issue
Block a user