Signed-off-by: Anirudh Oppiliappan anirudh@tangled.sh
+40
appview/pages/pages.go
+40
appview/pages/pages.go
······+func (p *Pages) UserNotificationSettings(w io.Writer, params UserNotificationSettingsParams) error {
+4
-11
appview/pages/templates/errors/500.html
+4
-11
appview/pages/templates/errors/500.html
···<div class="w-16 h-16 mx-auto mb-4 rounded-full bg-red-100 dark:bg-red-900/30 flex items-center justify-center">···-<div class="bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded p-3 text-sm text-yellow-800 dark:text-yellow-200">
+2
-1
appview/pages/templates/layouts/fragments/topbar.html
+2
-1
appview/pages/templates/layouts/fragments/topbar.html
······
+11
appview/pages/templates/notifications/fragments/bell.html
+11
appview/pages/templates/notifications/fragments/bell.html
···+<a href="/notifications" class="text-gray-500 dark:text-gray-400 flex gap-1 items-center group ml-4 mr-2">
+7
appview/pages/templates/notifications/fragments/count.html
+7
appview/pages/templates/notifications/fragments/count.html
···+<span class="absolute -top-1 -right-0.5 min-w-[16px] h-[16px] px-1 bg-red-500 text-white text-xs font-medium rounded-full flex items-center justify-center">
+212
appview/pages/templates/notifications/fragments/item.html
+212
appview/pages/templates/notifications/fragments/item.html
···+<div class="border border-gray-200 dark:border-gray-700 rounded-sm p-3 hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors {{if not .Read}}bg-blue-50 dark:bg-blue-900/20{{end}}">+<span class="font-medium text-gray-900 dark:text-white">{{resolve .Repo.Did}}/{{.Repo.Name}}</span>+<span class="font-medium text-gray-900 dark:text-white">{{resolve .Repo.Did}}/{{.Repo.Name}}</span>+<span class="{{if not .Read}}text-blue-600 dark:text-blue-400{{else}}text-gray-500 dark:text-gray-400{{end}}">
+46
appview/pages/templates/notifications/list.html
+46
appview/pages/templates/notifications/list.html
···+<div class="bg-white dark:bg-gray-800 p-6 rounded relative w-full mx-auto drop-shadow-sm dark:text-white">+<p class="text-gray-600 dark:text-gray-400">When you receive notifications, they'll appear here.</p>
+1
-1
appview/pages/templates/strings/timeline.html
+1
-1
appview/pages/templates/strings/timeline.html
···
+1
-1
appview/pages/templates/user/fragments/picHandle.html
+1
-1
appview/pages/templates/user/fragments/picHandle.html
+1
-1
appview/pages/templates/user/fragments/picHandleLink.html
+1
-1
appview/pages/templates/user/fragments/picHandleLink.html
+173
appview/pages/templates/user/settings/notifications.html
+173
appview/pages/templates/user/settings/notifications.html
···+<div class="bg-white dark:bg-gray-800 p-6 rounded relative w-full mx-auto drop-shadow-sm dark:text-white">+Choose which notifications you want to receive when activity happens on your repositories and profile.+<div class="flex flex-col rounded border border-gray-200 dark:border-gray-700 divide-y divide-gray-200 dark:divide-gray-700 w-full">+<input type="checkbox" name="issue_commented" {{if .Preferences.IssueCommented}}checked{{end}}>+<input type="checkbox" name="email_notifications" {{if .Preferences.EmailNotifications}}checked{{end}}>