Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/modules/themes-manager.js')
-rw-r--r--js/src/modules/themes-manager.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/modules/themes-manager.js b/js/src/modules/themes-manager.js
new file mode 100644
index 0000000000..9807938473
--- /dev/null
+++ b/js/src/modules/themes-manager.js
@@ -0,0 +1,12 @@
+import $ from 'jquery';
+
+/**
+ * @implements EventListener
+ */
+export const ThemesManager = {
+ handleEvent: () => {
+ $.get('index.php?route=/themes', data => {
+ $('#themesModal .modal-body').html(data.themes);
+ });
+ }
+};