Todo #5206
closed
Convert package UI pages to Bootstrap
Added by Anonymous about 9 years ago.
Updated about 9 years ago.
Description
Most packages use the pkg_edit.php page to generate a UI page from an XML file. pkg_edit.php reads the xml specifications of each field and creates HTML to implement it.
Most of pkg_edit.php has been converted and the page is reasonable functional, though not complete. The output looks pleasing enough.
Input field types tested:
- input
- select
- vpn_select
- source_select
- checkbox
- radio button
- Section header
- automatic generation of an "advanced" section
- automatic generation of "Show advanced" button and functioning JS
- onclick and onchange functionality
Items NOT yet converted/created are field types that generate grouped/ordered display sections
pkg_edit.php now completed and tested against several packages including pfBlockerng, softflowd, sudo, miniupnpd etc
pkg_utils.inc updated
- Status changed from New to Feedback
- Assignee changed from Anonymous to Chris Buechler
pkg.php conversion complete
This conversion is superficial in that it simply removes hte outside table, adds Bootstrap classes to existing HTML and removes deprecated attributes.
- % Done changed from 0 to 100
- Assignee changed from Chris Buechler to Anonymous
no idea why this was assigned to Chris
- Assignee deleted (
Anonymous)
- Tracker changed from Bug to Todo
- Status changed from Feedback to Resolved
- Target version set to 2.3
Also available in: Atom
PDF