├── webroot ├── empty ├── img │ ├── icons.png │ ├── avatar.png │ ├── avatar2.png │ ├── avatar3.png │ ├── avatar5.png │ ├── photo1.png │ ├── photo2.png │ ├── photo3.jpg │ ├── photo4.jpg │ ├── avatar04.png │ ├── boxed-bg.jpg │ ├── boxed-bg.png │ ├── credit │ │ ├── visa.png │ │ ├── cirrus.png │ │ ├── mestro.png │ │ ├── paypal.png │ │ ├── paypal2.png │ │ ├── mastercard.png │ │ └── american-express.png │ ├── default-50x50.gif │ ├── user1-128x128.jpg │ ├── user2-160x160.jpg │ ├── user3-128x128.jpg │ ├── user4-128x128.jpg │ ├── user5-128x128.jpg │ ├── user6-128x128.jpg │ ├── user7-128x128.jpg │ └── user8-128x128.jpg ├── css │ └── skins │ │ ├── skin-red.min.css │ │ ├── skin-green.min.css │ │ ├── skin-purple.min.css │ │ ├── skin-yellow.min.css │ │ ├── skin-blue.min.css │ │ ├── skin-black.min.css │ │ ├── skin-red-light.min.css │ │ ├── skin-green-light.min.css │ │ ├── skin-purple-light.min.css │ │ ├── skin-yellow-light.min.css │ │ ├── skin-blue-light.min.css │ │ ├── skin-black-light.min.css │ │ ├── skin-red.css │ │ ├── skin-green.css │ │ ├── skin-purple.css │ │ ├── skin-yellow.css │ │ ├── skin-blue.css │ │ ├── skin-black.css │ │ ├── skin-red-light.css │ │ ├── skin-green-light.css │ │ ├── skin-purple-light.css │ │ ├── skin-yellow-light.css │ │ ├── skin-blue-light.css │ │ └── skin-black-light.css └── js │ ├── pages │ ├── dashboard.js │ └── dashboard2.js │ ├── app.min.js │ └── demo.js ├── src ├── Template │ ├── Element │ │ ├── footer.ctp │ │ ├── Flash │ │ │ ├── error.ctp │ │ │ ├── success.ctp │ │ │ └── default.ctp │ │ ├── adminlte │ │ │ ├── footer.ctp │ │ │ ├── content.ctp │ │ │ ├── sidebar.ctp │ │ │ ├── control_sidebar.ctp │ │ │ └── header.ctp │ │ ├── nav-bar-right.ctp │ │ └── nav-bar-left.ctp │ ├── Bake │ │ ├── Template │ │ │ ├── add.ctp │ │ │ ├── edit.ctp │ │ │ ├── index.ctp │ │ │ └── view.ctp │ │ └── Element │ │ │ └── form.ctp │ └── Layout │ │ ├── default.ctp │ │ └── adminlte.ctp ├── Controller │ └── AppController.php ├── Shell │ └── PublishShell.php └── View │ └── Helper │ └── FormHelper.php ├── config └── routes.php ├── composer.json ├── phpunit.xml.dist └── README.md /webroot/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /webroot/img/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/icons.png -------------------------------------------------------------------------------- /webroot/img/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/avatar.png -------------------------------------------------------------------------------- /webroot/img/avatar2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/avatar2.png -------------------------------------------------------------------------------- /webroot/img/avatar3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/avatar3.png -------------------------------------------------------------------------------- /webroot/img/avatar5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/avatar5.png -------------------------------------------------------------------------------- /webroot/img/photo1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/photo1.png -------------------------------------------------------------------------------- /webroot/img/photo2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/photo2.png -------------------------------------------------------------------------------- /webroot/img/photo3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/photo3.jpg -------------------------------------------------------------------------------- /webroot/img/photo4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/photo4.jpg -------------------------------------------------------------------------------- /webroot/img/avatar04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/avatar04.png -------------------------------------------------------------------------------- /webroot/img/boxed-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/boxed-bg.jpg -------------------------------------------------------------------------------- /webroot/img/boxed-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/boxed-bg.png -------------------------------------------------------------------------------- /webroot/img/credit/visa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/credit/visa.png -------------------------------------------------------------------------------- /webroot/img/credit/cirrus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/credit/cirrus.png -------------------------------------------------------------------------------- /webroot/img/credit/mestro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/credit/mestro.png -------------------------------------------------------------------------------- /webroot/img/credit/paypal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/credit/paypal.png -------------------------------------------------------------------------------- /webroot/img/credit/paypal2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/credit/paypal2.png -------------------------------------------------------------------------------- /webroot/img/default-50x50.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/default-50x50.gif -------------------------------------------------------------------------------- /webroot/img/user1-128x128.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/user1-128x128.jpg -------------------------------------------------------------------------------- /webroot/img/user2-160x160.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/user2-160x160.jpg -------------------------------------------------------------------------------- /webroot/img/user3-128x128.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/user3-128x128.jpg -------------------------------------------------------------------------------- /webroot/img/user4-128x128.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/user4-128x128.jpg -------------------------------------------------------------------------------- /webroot/img/user5-128x128.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/user5-128x128.jpg -------------------------------------------------------------------------------- /webroot/img/user6-128x128.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/user6-128x128.jpg -------------------------------------------------------------------------------- /webroot/img/user7-128x128.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/user7-128x128.jpg -------------------------------------------------------------------------------- /webroot/img/user8-128x128.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/user8-128x128.jpg -------------------------------------------------------------------------------- /webroot/img/credit/mastercard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/credit/mastercard.png -------------------------------------------------------------------------------- /webroot/img/credit/american-express.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakePHPBrasil/TwitterBootstrap/HEAD/webroot/img/credit/american-express.png -------------------------------------------------------------------------------- /src/Template/Element/footer.ctp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /config/routes.php: -------------------------------------------------------------------------------- 1 | fallbacks('DashedRoute'); 6 | }); 7 | -------------------------------------------------------------------------------- /src/Controller/AppController.php: -------------------------------------------------------------------------------- 1 | = h($message) ?> 2 | -------------------------------------------------------------------------------- /src/Template/Element/Flash/success.ctp: -------------------------------------------------------------------------------- 1 |
| = $this->Paginator->sort('<%= $field %>') ?> | 60 | <% endforeach; %> 61 |= __('Actions') ?> | 62 |||
|---|---|---|---|
| = $<%= $singularVar %>->has('<%= $details['property'] %>') ? $this->Html->link($<%= $singularVar %>-><%= $details['property'] %>-><%= $details['displayField'] %>, ['controller' => '<%= $details['controller'] %>', 'action' => 'view', $<%= $singularVar %>-><%= $details['property'] %>-><%= $details['primaryKey'][0] %>]) : '' ?> | 75 | <% 76 | break; 77 | } 78 | } 79 | } 80 | if ($isKey !== true) { 81 | if (!in_array($schema->columnType($field), ['integer', 'biginteger', 'decimal', 'float'])) { 82 | %> 83 |= h($<%= $singularVar %>-><%= $field %>) ?> | 84 | <% 85 | } else { 86 | %> 87 |= $this->Number->format($<%= $singularVar %>-><%= $field %>) ?> | 88 | <% 89 | } 90 | } 91 | } 92 | 93 | $pk = '$' . $singularVar . '->' . $primaryKey[0]; 94 | %> 95 |96 | = $this->Html->link(__('View'), ['action' => 'view', <%= $pk %>], ['class'=>'btn btn-default btn-xs']) ?> 97 | = $this->Html->link(__('Edit'), ['action' => 'edit', <%= $pk %>], ['class'=>'btn btn-primary btn-xs']) ?> 98 | = $this->Form->postLink(__('Delete'), ['action' => 'delete', <%= $pk %>], ['confirm' => __('Are you sure you want to delete # {0}?', <%= $pk %>), 'class'=>'btn btn-danger btn-xs']) ?> 99 | | 100 |
= $this->Paginator->counter(__('Page {{page}} of {{pages}}, showing {{current}} records out of 111 | {{count}} total, starting on record {{start}}, ending on {{end}}')) ?>
112 || <%= Inflector::humanize($details['property']) %> | 96 |= $<%= $singularVar %>->has('<%= $details['property'] %>') ? $this->Html->link($<%= $singularVar %>-><%= $details['property'] %>-><%= $details['displayField'] %>, ['controller' => '<%= $details['controller'] %>', 'action' => 'view', $<%= $singularVar %>-><%= $details['property'] %>-><%= $details['primaryKey'][0] %>]) : '' ?> | 97 |
|---|---|
| <%= Inflector::humanize($field) %> | 101 |= h($<%= $singularVar %>-><%= $field %>) ?> | 102 |
| <%= Inflector::humanize($field) %> | 110 |= $this->Number->format($<%= $singularVar %>-><%= $field %>) ?> | 111 |
| <%= Inflector::humanize($field) %> | 118 |= h($<%= $singularVar %>-><%= $field %>) ?> |
| <%= Inflector::humanize($field) %> | 126 |= $<%= $singularVar %>-><%= $field %> ? __('Yes') : __('No'); ?> | 127 |
Activate the fixed layout. You can't use fixed and boxed layouts together
" 63 | + "Activate the boxed layout
" 71 | + "Toggle the left sidebar's state (open or collapse)
" 79 | + "Let the sidebar mini expand on hover
" 87 | + "Toggle between slide over content and push content effects
" 95 | + "Toggle between dark and light skins for the right sidebar
" 103 | + "Blue
"); 115 | skins_list.append(skin_blue); 116 | var skin_black = 117 | $("", {style: "float:left; width: 33.33333%; padding: 5px;"}) 118 | .append("" 119 | + "Black
"); 123 | skins_list.append(skin_black); 124 | var skin_purple = 125 | $("", {style: "float:left; width: 33.33333%; padding: 5px;"}) 126 | .append("" 127 | + "Purple
"); 131 | skins_list.append(skin_purple); 132 | var skin_green = 133 | $("", {style: "float:left; width: 33.33333%; padding: 5px;"}) 134 | .append("" 135 | + "Green
"); 139 | skins_list.append(skin_green); 140 | var skin_red = 141 | $("", {style: "float:left; width: 33.33333%; padding: 5px;"}) 142 | .append("" 143 | + "Red
"); 147 | skins_list.append(skin_red); 148 | var skin_yellow = 149 | $("", {style: "float:left; width: 33.33333%; padding: 5px;"}) 150 | .append("" 151 | + "Yellow
"); 155 | skins_list.append(skin_yellow); 156 | 157 | //Light sidebar skins 158 | var skin_blue_light = 159 | $("", {style: "float:left; width: 33.33333%; padding: 5px;"}) 160 | .append("" 161 | + "Blue Light
"); 165 | skins_list.append(skin_blue_light); 166 | var skin_black_light = 167 | $("", {style: "float:left; width: 33.33333%; padding: 5px;"}) 168 | .append("" 169 | + "Black Light
"); 173 | skins_list.append(skin_black_light); 174 | var skin_purple_light = 175 | $("", {style: "float:left; width: 33.33333%; padding: 5px;"}) 176 | .append("" 177 | + "Purple Light
"); 181 | skins_list.append(skin_purple_light); 182 | var skin_green_light = 183 | $("", {style: "float:left; width: 33.33333%; padding: 5px;"}) 184 | .append("" 185 | + "Green Light
"); 189 | skins_list.append(skin_green_light); 190 | var skin_red_light = 191 | $("", {style: "float:left; width: 33.33333%; padding: 5px;"}) 192 | .append("" 193 | + "Red Light
"); 197 | skins_list.append(skin_red_light); 198 | var skin_yellow_light = 199 | $("", {style: "float:left; width: 33.33333%; padding: 5px;"}) 200 | .append("" 201 | + "Yellow Light
"); 205 | skins_list.append(skin_yellow_light); 206 | 207 | demo_settings.append("