diff --git a/src/UI/Settings/UIWindowSettings.js b/src/UI/Settings/UIWindowSettings.js
index 616d2e5f6..7da373536 100644
--- a/src/UI/Settings/UIWindowSettings.js
+++ b/src/UI/Settings/UIWindowSettings.js
@@ -40,6 +40,7 @@ async function UIWindowSettings(options){
h += `
`;
h += ``;
h += ``;
+ h += ``;
h += ``;
// content
@@ -124,9 +125,21 @@ async function UIWindowSettings(options){
h += ``;
+ h += `
Clock
`;
+ h += `
`
+ h += `Visable:`
+ h += ``
+ h += `
`
+ h += `
`;
+
h += ``;
h += ``;
h += ``;
@@ -344,6 +357,35 @@ async function UIWindowSettings(options){
})
});
+ $(el_window).on('change', 'select.change-clock-visable', function(e){
+ const $this = $(this);
+ const value = $this.val();
+ console.log(value);
+ // $.ajax({
+ // url: api_origin + "/clock",
+ // type: 'POST',
+ // async: true,
+ // headers: {
+ // "Authorization": "Bearer "+auth_token
+ // },
+ // contentType: "application/json",
+ // data: value,
+ // // data: JSON.stringify({
+ // // old_pass: current_password,
+ // // new_pass: new_password,
+ // // }),
+ // success: function (data){
+ // // $(el_window).find('.form-success-msg').html(i18n('password_changed'));
+ // // $(el_window).find('.form-success-msg').fadeIn();
+ // // $(el_window).find('input').val('');
+ // },
+ // error: function (err){
+ // // $(el_window).find('.form-error-msg').html(err.responseText);
+ // // $(el_window).find('.form-error-msg').fadeIn();
+ // }
+ // });
+ })
+
resolve(el_window);
});
}
diff --git a/src/i18n/translations/en.js b/src/i18n/translations/en.js
index 832ccd728..4980a1409 100644
--- a/src/i18n/translations/en.js
+++ b/src/i18n/translations/en.js
@@ -60,6 +60,7 @@ const en = {
credits: "Credits",
current_password: "Current Password",
cut: 'Cut',
+ clock: "Clock",
date_modified: 'Date modified',
delete: 'Delete',
delete_account: "Delete Account",
diff --git a/src/icons/clock.svg b/src/icons/clock.svg
new file mode 100644
index 000000000..52c397377
--- /dev/null
+++ b/src/icons/clock.svg
@@ -0,0 +1 @@
+