clupilot/app
Boban Blaskovic 4d4e2cbc33 Site Details: exact template rebuild + xterm.js logs + fileContents tree
User-requested rebuild + browser-verified:

1. **Full template port** (templates/akutell/Site Details.html + sitedetails.js):
   - All 6 tabs match template structure verbatim (Übersicht, WordPress,
     PHP / ini, Datei-Manager, Cronjobs, Logs).
   - Tab bar uses clu-dtabs glass button group instead of generic seg.
   - Site hero (favicon + domain + server/wp/php/ssl meta) + Besuchen +
     WP-Admin buttons in topbar.

2. **Filemanager tab** (template's clu-fm grid):
   - File tree rendered recursively from PHP-mirrored sitedetails.js
     'tree' array. Folder rows show clu-chev rotation on .open, nested
     children indent via clu-tree-children border-left + margin-left.
   - 7 baked file contents from sitedetails.js fileContents object
     (wp-config.php, .htaccess, robots.txt, index.php, functions.php,
     style.css, php.ini) — click any leaf in tree, editor loads it.
   - clu-gutter dynamic line-numbers + clu-code-area textarea +
     Verwerfen/Speichern action row.

3. **Logs tab with xterm.js**:
   - resources/js/app.js imports @xterm/xterm + @xterm/addon-fit,
     exposes window.XTerm + window.XTermFit globally.
   - resources/css/app.css imports xterm.css.
   - Sites show component pushes inline init script with logData baked
     in (4 log types × ~8 entries each). xterm renders with ANSI
     truecolor escapes per level (INFO blue / WARN yellow / ERROR red /
     OK green / DEBUG purple), keeps dark gradient host with custom
     scrollbar.
   - 4-tab seg (access / error / php / wp) switches log type via
     setLog() Livewire action; xterm re-init on livewire:navigated.
   - Live folgen checkbox wired (Volt logFollow state).

4. **Cronjobs tab**:
   - Real $site->crons table with name/expression-pill/command/last-run/
     status + run/more actions + Cronjob-anlegen primary button.

5. **WordPress + PHP tabs**:
   - Full forms with all 6 wp-config fields + 5 toggles + Datenbank +
     Security Keys cards.
   - php.ini with 8 fields + 4 toggles + OPcache stats + 16 extension
     pills.

6. **CSS additions**: clu-dtabs/dtab, clu-pane, clu-site-hero, clu-fm,
   clu-tree*, clu-chev, clu-editor*, clu-gutter, clu-code-area,
   clu-xterm-host (dark gradient + custom scrollbar), clu-set-grid,
   clu-switch-line, clu-section-head.

7. SiteDetailsTest assertions updated to match new template wording
   (PHP / ini, Datei-Manager, Cronjobs, Schnellaktionen). 36 Pest tests
   green.

8. Browser-verified: chart loads, xterm renders logs in correct color,
   files tab tree expands + editor loads wp-config.php, 0 console errors.
2026-05-31 23:49:48 +02:00
..
app Fix: chart.js race, burger desktop visibility, modal glass-themed 2026-05-31 23:33:07 +02:00
bootstrap Initial CluPilot stack setup 2026-05-27 23:00:14 +02:00
config Initial CluPilot stack setup 2026-05-27 23:00:14 +02:00
database Domain models: Cluster/Server/Site/Backup/TeamMember/Invitation/SecurityEvent/Certificate/Activity/Cron 2026-05-31 22:33:09 +02:00
public Initial CluPilot stack setup 2026-05-27 23:00:14 +02:00
resources Site Details: exact template rebuild + xterm.js logs + fileContents tree 2026-05-31 23:49:48 +02:00
routes Pages: Cluster Wizard (4-step) + Site Details (6 tabs) — final 12/12 2026-05-31 23:08:15 +02:00
storage Portainer-ready compose stack + app changes 2026-05-31 17:04:03 +02:00
tests Site Details: exact template rebuild + xterm.js logs + fileContents tree 2026-05-31 23:49:48 +02:00
.editorconfig Portainer-ready compose stack + app changes 2026-05-31 17:04:03 +02:00
.env.example Initial CluPilot stack setup 2026-05-27 23:00:14 +02:00
.env.testing Fix tailwind build + test-DB isolation 2026-05-31 22:47:34 +02:00
.gitattributes Initial CluPilot stack setup 2026-05-27 23:00:14 +02:00
.gitignore Initial CluPilot stack setup 2026-05-27 23:00:14 +02:00
README.md Portainer-ready compose stack + app changes 2026-05-31 17:04:03 +02:00
artisan Initial CluPilot stack setup 2026-05-27 23:00:14 +02:00
composer.json Foundation + Login Glass page from template 2026-05-31 22:18:51 +02:00
composer.lock Foundation + Login Glass page from template 2026-05-31 22:18:51 +02:00
package-lock.json Site Details: exact template rebuild + xterm.js logs + fileContents tree 2026-05-31 23:49:48 +02:00
package.json Site Details: exact template rebuild + xterm.js logs + fileContents tree 2026-05-31 23:49:48 +02:00
phpunit.xml Portainer-ready compose stack + app changes 2026-05-31 17:04:03 +02:00
vite.config.js Initial CluPilot stack setup 2026-05-27 23:00:14 +02:00

README.md

Laravel Logo

Build Status Total Downloads Latest Stable Version License

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework. You can also check out Laravel Learn, where you will be guided through building a modern Laravel application.

If you don't feel like reading, Laracasts can help. Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

Laravel Sponsors

We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Partners program.

Premium Partners

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.