Add Notifications link to User Management page
- Add quick access button to notification settings in user management header - Styled to match existing UI gradient theme - Provides easy navigation from user management to notification configuration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -234,15 +234,24 @@ export default function UsersPage() {
|
||||
<h2 className="text-4xl font-bold text-white mb-2">User Management</h2>
|
||||
<p className="text-violet-100 text-lg">Verwalte Benutzerkonten und Berechtigungen</p>
|
||||
</div>
|
||||
<button
|
||||
onClick={() => {
|
||||
setFormData({ username: "", email: "", password: "", role: "VIEWER" });
|
||||
setShowAddModal(true);
|
||||
}}
|
||||
className="px-6 py-3 bg-white text-violet-700 rounded-xl hover:bg-violet-50 font-semibold shadow-lg hover:shadow-xl transition-all transform hover:-translate-y-0.5"
|
||||
>
|
||||
+ Add User
|
||||
</button>
|
||||
<div className="flex gap-3">
|
||||
<a
|
||||
href="/admin/settings/notifications"
|
||||
className="px-6 py-3 bg-violet-500 text-white rounded-xl hover:bg-violet-600 font-semibold shadow-lg hover:shadow-xl transition-all transform hover:-translate-y-0.5 flex items-center gap-2"
|
||||
>
|
||||
<span>📱</span>
|
||||
<span>Notifications</span>
|
||||
</a>
|
||||
<button
|
||||
onClick={() => {
|
||||
setFormData({ username: "", email: "", password: "", role: "VIEWER" });
|
||||
setShowAddModal(true);
|
||||
}}
|
||||
className="px-6 py-3 bg-white text-violet-700 rounded-xl hover:bg-violet-50 font-semibold shadow-lg hover:shadow-xl transition-all transform hover:-translate-y-0.5"
|
||||
>
|
||||
+ Add User
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user