diff --git a/apps/static/js/home/settings.js b/apps/static/js/home/settings.js index 988741e..64b95ac 100644 --- a/apps/static/js/home/settings.js +++ b/apps/static/js/home/settings.js @@ -11,6 +11,10 @@ $(document).on("selectedServerChange", async function() { server = getCurrentlyActiveServer(); + updateColourInput("defaultEmbedColour", "#" + server.default_embed_colour); +}); - updateColourInput("defaultEmbedColour", server.default_embed_colour); -}); \ No newline at end of file +$("#serverSettingsForm").on("submit", function(e) { + e.preventDefault(); + alert("not implemented"); +}) \ No newline at end of file diff --git a/apps/templates/home/includes/settingstab.html b/apps/templates/home/includes/settingstab.html index 2b44f90..dad8ff9 100644 --- a/apps/templates/home/includes/settingstab.html +++ b/apps/templates/home/includes/settingstab.html @@ -8,5 +8,8 @@ data-defaultcolour="#3498db"> +
+ +
\ No newline at end of file