├── webroot └── empty ├── Test ├── Fixture │ └── empty └── Case │ ├── Model │ └── Behavior │ │ └── empty │ ├── Controller │ └── Component │ │ └── empty │ └── View │ └── Helper │ ├── BootstrapHtmlHelperTest.php │ ├── BootstrapPaginatorHelperTest.php │ └── BootstrapFormHelperTest.php ├── .gitignore ├── .gitmodules ├── View ├── Elements │ ├── alert.ctp │ └── modal.ctp ├── Layouts │ └── default.ctp ├── Helper │ ├── BootstrapHtmlHelper.php │ ├── BootstrapPaginatorHelper.php │ └── BootstrapFormHelper.php └── TwitterBootstrap │ └── index.ctp ├── Console ├── Command │ ├── MakeShell.php │ ├── TwitterBootstrapAppShell.php │ └── CopyShell.php └── Templates │ └── bootstrap │ ├── classes │ └── controller.ctp │ ├── views │ ├── form.ctp │ ├── index.ctp │ └── view.ctp │ └── actions │ └── controller_actions.ctp ├── composer.json ├── Config └── html5_tags.php ├── Controller └── TwitterBootstrapController.php └── README.md /webroot/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Test/Fixture/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | webroot/* -------------------------------------------------------------------------------- /Test/Case/Model/Behavior/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Test/Case/Controller/Component/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "Vendor/bootstrap"] 2 | path = Vendor/bootstrap 3 | url = https://github.com/twbs/bootstrap.git 4 | -------------------------------------------------------------------------------- /View/Elements/alert.ctp: -------------------------------------------------------------------------------- 1 | 9 |
6 | BootstrapPaginator->counter(array('format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')));?>\n";?> 7 |
8 | 9 || BootstrapPaginator->sort('{$field}');?>";?> | 13 | 14 |";?> | 15 ||
|---|---|---|
| \n\t\t\t\t\tHtml->link(\${$singularVar}['{$alias}']['{$details['displayField']}'], array('controller' => '{$details['controller']}', 'action' => 'view', \${$singularVar}['{$alias}']['{$details['primaryKey']}'])); ?>\n\t\t\t\t | \n"; 26 | break; 27 | } 28 | } 29 | } 30 | if ($isKey !== true) { 31 | echo "\t\t\t\t\n"; 32 | } 33 | } 34 | 35 | echo "\t\t\t\t | \n"; 36 | echo "\t\t\t\t\tHtml->link(__('View'), array('action' => 'view', \${$singularVar}['{$modelClass}']['{$primaryKey}'])); ?>\n"; 37 | echo "\t\t\t\t\tHtml->link(__('Edit'), array('action' => 'edit', \${$singularVar}['{$modelClass}']['{$primaryKey}'])); ?>\n"; 38 | echo "\t\t\t\t\tForm->postLink(__('Delete'), array('action' => 'delete', \${$singularVar}['{$modelClass}']['{$primaryKey}']), null, __('Are you sure you want to delete # %s?', \${$singularVar}['{$modelClass}']['{$primaryKey}'])); ?>\n"; 39 | echo "\t\t\t\t | \n"; 40 | echo "\t\t\t