unclean SPARC

This commit is contained in:
STEINNI
2025-08-27 07:03:09 +00:00
commit f308460931
430 changed files with 54426 additions and 0 deletions
@@ -0,0 +1,3 @@
<div>
<span eicalert danger>All your preference settings will be discarded. This operation cannot be undone.</span>
</div>
@@ -0,0 +1,29 @@
class ProfilePreferencesResetDialog extends EICDialogContent {
actions = [
{
label: 'Cancel',
onclick: this.cancel.bind(this),
severity: 'secondary',
role: 'cancel'
},
{
label: 'Reset',
onclick: this.reset.bind(this),
severity: 'danger',
role: 'reset'
}
]
cancel() {
this.commit(false);
}
reset() {
app.User.preferences = {};
app.User.savePreferences();
this.commit(true);
}
}
app.registerClass('ProfilePreferencesResetDialog',ProfilePreferencesResetDialog);