From 9787ce432aa02f0f827ad7365d303efd14b86b07 Mon Sep 17 00:00:00 2001 From: azivner Date: Sun, 10 Sep 2017 23:10:32 -0400 Subject: [PATCH] settings button, dialog with tabs. Change password form, currently without implementation --- src/templates/app.html | 46 +++++++++++++++++++++++++++++++++--------- static/js/settings.js | 14 +++++++++++++ 2 files changed, 51 insertions(+), 9 deletions(-) create mode 100644 static/js/settings.js diff --git a/src/templates/app.html b/src/templates/app.html index ca84d30e1..ed03a8005 100644 --- a/src/templates/app.html +++ b/src/templates/app.html @@ -18,6 +18,10 @@ +
+ +
+

@@ -40,15 +44,6 @@

- - - - - - - - -
+ + @@ -188,6 +215,7 @@ + diff --git a/static/js/settings.js b/static/js/settings.js new file mode 100644 index 000000000..bca76f20f --- /dev/null +++ b/static/js/settings.js @@ -0,0 +1,14 @@ +function displaySettings() { + $("#settingsDialog").dialog({ + modal: true, + width: 600 + }); + + $("#settingsTabs").tabs(); +} + +$("#changePasswordForm").submit(() => { + console.log("Submit"); + + return false; +}); \ No newline at end of file