|
2 | 2 |
|
3 | 3 | @php |
4 | 4 | // Add the form widget to the 'after_content' section of the widgets array |
5 | | - $widgets['after_content'][] = [ |
6 | | - 'type' => 'div', |
7 | | - 'class' => 'row', |
8 | | - 'content' => [ // widgets |
9 | | - [ |
10 | | - 'type' => 'dataform', |
11 | | - 'wrapper' => [ |
12 | | - 'class' => 'col-md-12 mt-3', |
13 | | - ], |
14 | | - 'controller' => \App\Http\Controllers\Admin\PetShop\SkillCrudController::class, |
15 | | - 'formOperation' => 'update', |
16 | | - 'entry' => \App\Models\PetShop\Skill::find(1), |
17 | | - 'content' => [ |
18 | | - 'header' => 'Edit Skill (TODO: move this to the right place on page)', // optional |
19 | | - 'body' => 'This form should make it easy to update an existing skill.<br><br>', // optional |
20 | | - ], |
21 | | - ] |
22 | | - ] |
23 | | - ]; |
| 5 | +
|
| 6 | + // $widgets['after_content'][] = [ |
| 7 | + // 'type' => 'div', |
| 8 | + // 'class' => 'row', |
| 9 | + // 'content' => [ // widgets |
| 10 | + // [ |
| 11 | + // 'type' => 'dataform', |
| 12 | + // 'wrapper' => [ |
| 13 | + // 'class' => 'col-md-12 mt-3', |
| 14 | + // ], |
| 15 | + // 'controller' => \App\Http\Controllers\Admin\PetShop\SkillCrudController::class, |
| 16 | + // 'formOperation' => 'update', |
| 17 | + // 'entry' => \App\Models\PetShop\Skill::find(1), |
| 18 | + // 'content' => [ |
| 19 | + // 'header' => 'Edit Skill (TODO: move this to the right place on page)', // optional |
| 20 | + // 'body' => 'This form should make it easy to update an existing skill.<br><br>', // optional |
| 21 | + // ], |
| 22 | + // ] |
| 23 | + // ] |
| 24 | + // ]; |
24 | 25 |
|
25 | 26 | $widgets['after_content'][] = [ |
26 | 27 | 'type' => 'view', |
|
44 | 45 | <div class="col-auto ms-auto d-print-none"> |
45 | 46 | <div class="btn-list"> |
46 | 47 | <span class="d-none d-sm-inline"> |
47 | | - <a href="#" class="btn btn-primary"> See docs </a> <!-- TODO: link to final docs --> |
| 48 | + <a target="_blank" href="https://backpackforlaravel.com/docs/7.x/crud-chips" class="btn btn-primary"> See docs <i class="ms-2 la la-external-link-alt"></i></a> <!-- TODO: link to final docs --> |
48 | 49 | </span> |
49 | 50 | </div> |
50 | 51 | </div> |
|
62 | 63 | <div class="col-auto ms-auto d-print-none"> |
63 | 64 | <div class="btn-list"> |
64 | 65 | <span class="d-none d-sm-inline"> |
65 | | - <a href="#" class="btn btn-primary"> See docs </a> <!-- TODO: link to final docs --> |
| 66 | + <a target="_blank" href="https://backpackforlaravel.com/docs/7.x/base-components#datagrid-1" class="btn btn-primary"> See docs <i class="ms-2 la la-external-link-alt"></i></a> <!-- TODO: link to final docs --> |
66 | 67 | </span> |
67 | 68 | </div> |
68 | 69 | </div> |
|
80 | 81 | <div class="col-auto ms-auto d-print-none"> |
81 | 82 | <div class="btn-list"> |
82 | 83 | <span class="d-none d-sm-inline"> |
83 | | - <a href="#" class="btn btn-primary"> See docs </a> <!-- TODO: link to final docs --> |
| 84 | + <a target="_blank" href="https://backpackforlaravel.com/docs/7.x/base-components#datalist-1" class="btn btn-primary"> See docs <i class="ms-2 la la-external-link-alt"></i></a> <!-- TODO: link to final docs --> |
84 | 85 | </span> |
85 | 86 | </div> |
86 | 87 | </div> |
|
98 | 99 | <div class="col-auto ms-auto d-print-none"> |
99 | 100 | <div class="btn-list"> |
100 | 101 | <span class="d-none d-sm-inline"> |
101 | | - <a href="#" class="btn btn-primary"> See docs </a> <!-- TODO: link to final docs --> |
| 102 | + <a target="_blank" href="https://backpackforlaravel.com/docs/7.x/base-components#datatable-1" class="btn btn-primary"> See docs <i class="ms-2 la la-external-link-alt"></i></a> <!-- TODO: link to final docs --> |
102 | 103 | </span> |
103 | 104 | </div> |
104 | 105 | </div> |
|
116 | 117 | <div class="col-auto ms-auto d-print-none"> |
117 | 118 | <div class="btn-list"> |
118 | 119 | <span class="d-none d-sm-inline"> |
119 | | - <a href="#" class="btn btn-primary"> See docs </a> <!-- TODO: link to final docs --> |
| 120 | + <a target="_blank" href="https://backpackforlaravel.com/docs/7.x/base-components#dataform-1" class="btn btn-primary"> See docs <i class="ms-2 la la-external-link-alt"></i></a> <!-- TODO: link to final docs --> |
120 | 121 | </span> |
121 | 122 | </div> |
122 | 123 | </div> |
|
135 | 136 | <div class="col-auto ms-auto d-print-none"> |
136 | 137 | <div class="btn-list"> |
137 | 138 | <span class="d-none d-sm-inline"> |
138 | | - <a href="#" class="btn btn-primary"> See docs </a> <!-- TODO: link to final docs --> |
| 139 | + <a target="_blank" href="https://backpackforlaravel.com/docs/7.x/base-components#dataform-modal-1" class="btn btn-primary"> See docs <i class="ms-2 la la-external-link-alt"></i></a> <!-- TODO: link to final docs --> |
139 | 140 | </span> |
140 | 141 | </div> |
141 | 142 | </div> |
|
0 commit comments