summaryrefslogtreecommitdiff
path: root/ext/bg/settings.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-10-19 20:05:45 -0400
committerGitHub <noreply@github.com>2020-10-19 20:05:45 -0400
commit23230b8a7c5eb66357d5bcafb4184def13c5954b (patch)
tree4cfd684091bdccb00993a4302c9d975680eb5770 /ext/bg/settings.html
parent91b4feb934f524fc30be9300480ac584b65c6166 (diff)
Backup controller refactor (#946)
* Update IDs * Change how default fieldTemplates is assigned * Ensure no missing fields * Fix error display during import
Diffstat (limited to 'ext/bg/settings.html')
-rw-r--r--ext/bg/settings.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/ext/bg/settings.html b/ext/bg/settings.html
index 804574cb..df90281c 100644
--- a/ext/bg/settings.html
+++ b/ext/bg/settings.html
@@ -1111,14 +1111,14 @@
</p>
<div>
- <button class="btn btn-default" id="settings-export">Export Settings</button>
- <button class="btn btn-default" id="settings-import">Import Settings</button>
- <button class="btn btn-danger" id="settings-reset">Reset Default Settings</button>
+ <button class="btn btn-default" id="settings-export-button">Export Settings</button>
+ <button class="btn btn-default" id="settings-import-button">Import Settings</button>
+ <button class="btn btn-danger" id="settings-reset-button">Reset Default Settings</button>
</div>
<div hidden><input type="file" id="settings-import-file" accept=".json,application/json"></div>
- <div class="modal fade" tabindex="-1" role="dialog" id="settings-import-error-modal">
+ <div class="modal fade" tabindex="-1" role="dialog" id="settings-import-error">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
@@ -1129,7 +1129,7 @@
<p>
An error occurred while trying to import the settings file:
</p>
- <p class="text-danger" id="settings-import-error-modal-message"></p>
+ <p class="text-danger" id="settings-import-error-message"></p>
<p>
Additional info can be found in the developer console.
</p>
@@ -1141,7 +1141,7 @@
</div>
</div>
- <div class="modal fade" tabindex="-1" role="dialog" id="settings-import-warning-modal">
+ <div class="modal fade" tabindex="-1" role="dialog" id="settings-import-warning">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
@@ -1153,18 +1153,18 @@
Settings file contains settings which may pose a security risk.
Only import settings from sources you trust.
</p>
- <ul class="text-danger" id="settings-import-warning-modal-message"></ul>
+ <ul class="text-danger" id="settings-import-warning-message"></ul>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
- <button type="button" class="btn btn-danger settings-import-warning-modal-import-button">Import</button>
- <button type="button" class="btn btn-primary settings-import-warning-modal-import-button" data-import-sanitize="true">Sanitize and Import</button>
+ <button type="button" class="btn btn-danger settings-import-warning-import-button">Import</button>
+ <button type="button" class="btn btn-primary settings-import-warning-import-button" data-import-sanitize="true">Sanitize and Import</button>
</div>
</div>
</div>
</div>
- <div class="modal fade" tabindex="-1" role="dialog" id="settings-reset-modal">
+ <div class="modal fade" tabindex="-1" role="dialog" id="settings-reset">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
@@ -1188,7 +1188,7 @@
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
- <button type="button" class="btn btn-danger" id="settings-reset-modal-confirm">Reset All Settings</button>
+ <button type="button" class="btn btn-danger" id="settings-reset-confirm-button">Reset All Settings</button>
</div>
</div>
</div>