diff options
author | Vitaly Takmazov | 2023-01-18 11:39:05 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-18 11:39:05 +0300 |
commit | 118464cfdabdad2b943e959e14ceb3012642a301 (patch) | |
tree | 6b5af9ecccaabc422478a2739667bc50380bf396 /src/main/resources | |
parent | 1c96e74ad675c3a7d1b6ab2bb01307a94b8d4212 (diff) |
Drop unused `useroptions` table
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/db/migration/V1.34__drop_useroptions.sql | 1 | ||||
-rw-r--r-- | src/main/resources/templates/views/settings_main.html | 12 |
2 files changed, 1 insertions, 12 deletions
diff --git a/src/main/resources/db/migration/V1.34__drop_useroptions.sql b/src/main/resources/db/migration/V1.34__drop_useroptions.sql new file mode 100644 index 00000000..9162909f --- /dev/null +++ b/src/main/resources/db/migration/V1.34__drop_useroptions.sql @@ -0,0 +1 @@ +DROP TABLE useroptions diff --git a/src/main/resources/templates/views/settings_main.html b/src/main/resources/templates/views/settings_main.html index 8f3873a0..713b0146 100644 --- a/src/main/resources/templates/views/settings_main.html +++ b/src/main/resources/templates/views/settings_main.html @@ -9,18 +9,6 @@ <legend>Browser notifications</legend> <button class="Button" id="notifications_toggle">...</button> </fieldset> - <form action="/settings" method="POST"> - <fieldset> - <legend>Notification options</legend> - <p><input type="checkbox" name="jnotify" value="1" {% if notify_options.repliesEnabled %} checked="checked" - {% endif %} /> Reply notifications ("Message posted")</p> - <p><input type="checkbox" name="subscr_notify" value="1" {% if notify_options.subscriptionsEnabled %} - checked="checked" {% endif %} /> Subscriptions notifications ("@user subscribed...")</p> - <p><input type="checkbox" name="recomm" value="1" {% if notify_options.recommendationsEnabled %} - checked="checked" {% endif %} /> Posts recommendations ("Recommended by @user")</p> - <p><input type="hidden" name="page" value="main" /><input type="submit" class="Button" value=" OK " /></p> - </fieldset> - </form> <fieldset> <legend style="background: url(/durov.png) no-repeat; padding-left: 58px; line-height: 48px; background-size: contain;"> |