A simple way to create responsive tabs with Bootstrap 5. Tabs functionality is replaced by Accordion on small screens.
View sample on JsFiiddle
| <?php | |
| namespace MyApp\Response; | |
| use Symfony\Component\HttpFoundation\Response; | |
| class CsvResponse extends Response | |
| { | |
| protected $data; |
| <?php | |
| $repo_dir = '/home/username'; | |
| $branch_to_deploy = 'master'; | |
| $update = false; | |
| // Parse data from Bitbucket hook payload | |
| $payload = json_decode($_POST['payload']); | |
| if (empty($payload->commits)) { |
A simple way to create responsive tabs with Bootstrap 5. Tabs functionality is replaced by Accordion on small screens.
View sample on JsFiiddle