mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-18 12:14:07 +00:00
feat(ui): unify team, security, and notification settings layouts
Extract shared settings-layout components and a dedicated team danger-zone page. Enable modal editing for security resources, polish OAuth/API-token controls, and align notification and service configuration UI with the new navigation patterns.
This commit is contained in:
1 parent
5842d77b81
commit
2291c3fa1c
83 files changed
+1585
-597
No files matched your search
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
it('uses distinct icons for each keys and tokens navigation item', function () {
|
||||
$layout = file_get_contents(resource_path('views/components/security/settings-layout.blade.php'));
|
||||
$icons = file_get_contents(resource_path('views/components/reicon.blade.php'));
|
||||
|
||||
expect($layout)
|
||||
->toContain("'label' => 'Private Keys'", "'icon' => 'keys'")
|
||||
->toContain("'label' => 'Cloud Tokens'", "'icon' => 'cloud'")
|
||||
->toContain("'label' => 'Cloud-Init Scripts'", "'icon' => 'file-content'")
|
||||
->toContain("'label' => 'API Tokens'", "'icon' => 'code'")
|
||||
->and($icons)
|
||||
->toContain("'cloud' =>")
|
||||
->toContain("'code' =>");
|
||||
});
|
||||
Reference in new issue
Block a user