Lines 14-20
Link Here
|
14 |
[% IF ( loop ) %]$("#sysprefst").dataTable($.extend(true, {}, dataTablesDefaults, { |
14 |
[% IF ( loop ) %]$("#sysprefst").dataTable($.extend(true, {}, dataTablesDefaults, { |
15 |
"sDom": '<"top pager"ilf>t', |
15 |
"sDom": '<"top pager"ilf>t', |
16 |
"aoColumnDefs": [ |
16 |
"aoColumnDefs": [ |
17 |
{ "aTargets": [ -1, -2, -3, -4 ], "bSortable": false } |
17 |
{ "aTargets": [ -1, -2, -3 ], "bSortable": false } |
18 |
], |
18 |
], |
19 |
"bPaginate": false |
19 |
"bPaginate": false |
20 |
}));[% END %] |
20 |
}));[% END %] |
Lines 321-328
Link Here
|
321 |
<th>Preference</th> |
321 |
<th>Preference</th> |
322 |
<th>Explanation</th> |
322 |
<th>Explanation</th> |
323 |
<th>Value</th> |
323 |
<th>Value</th> |
324 |
<th>Edit</th> |
324 |
<th>Actions</th> |
325 |
<th>Delete</th> |
|
|
326 |
</tr></thead> |
325 |
</tr></thead> |
327 |
[% END %] |
326 |
[% END %] |
328 |
<tbody>[% FOREACH loo IN loop %] |
327 |
<tbody>[% FOREACH loo IN loop %] |
Lines 433-444
Link Here
|
433 |
<input type="hidden" name="prefoptions" value="[% loo.prefoptions |html %]" /> |
432 |
<input type="hidden" name="prefoptions" value="[% loo.prefoptions |html %]" /> |
434 |
<input type="hidden" name="preftype" value="[% loo.type %]" /> |
433 |
<input type="hidden" name="preftype" value="[% loo.type %]" /> |
435 |
<input type="hidden" name="explanation" value="[% loo.explanation |html %]" /> |
434 |
<input type="hidden" name="explanation" value="[% loo.explanation |html %]" /> |
436 |
<input type="submit" value="Save" /> |
435 |
<button type="submit" class="btn btn-mini"><i class="fa fa-save"></i> Save</button> |
437 |
</form> |
436 |
</form> |
438 |
</td> |
437 |
</td> |
439 |
|
438 |
|
440 |
<td><a href="[% loo.edit %]">Edit </a></td> |
439 |
<td class="actions"><a class="btn btn-mini" href="[% loo.edit %]"><i class="fa fa-pencil"></i> Edit</a> <a class="btn btn-mini" href="[% loo.delete %]"><i class="fa fa-trash"></i> Delete</a></td> |
441 |
<td><a href="[% loo.delete %]">Delete</a></td> |
|
|
442 |
</tr> |
440 |
</tr> |
443 |
[% END %]</tbody> |
441 |
[% END %]</tbody> |
444 |
</table> |
442 |
</table> |
445 |
- |
|
|