Project

General

Profile

Todo #5206

Convert package UI pages to Bootstrap

Added by Steve Beaver about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
Start date:
09/25/2015
Due date:
% Done:

100%

Estimated time:

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.

Associated revisions

Revision f5dbca0d (diff)
Added by Steve Beaver about 4 years ago

Fixed #5206
Completes conversion of the pkg* files

History

#1 Updated by Steve Beaver about 4 years ago

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:

  1. input
  2. select
  3. vpn_select
  4. source_select
  5. checkbox
  6. radio button
  7. Section header
  8. automatic generation of an "advanced" section
  9. automatic generation of "Show advanced" button and functioning JS
  10. onclick and onchange functionality

Items NOT yet converted/created are field types that generate grouped/ordered display sections

#2 Updated by Steve Beaver about 4 years ago

pkg_edit.php now completed and tested against several packages including pfBlockerng, softflowd, sudo, miniupnpd etc

pkg_utils.inc updated

#3 Updated by Steve Beaver about 4 years ago

  • Status changed from New to Feedback
  • Assignee changed from Steve Beaver 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.

#4 Updated by Steve Beaver about 4 years ago

  • % Done changed from 0 to 100

#5 Updated by Jim Thompson about 4 years ago

  • Assignee changed from Chris Buechler to Steve Beaver

no idea why this was assigned to Chris

#6 Updated by Steve Beaver about 4 years ago

For testing

#7 Updated by Steve Beaver about 4 years ago

  • Assignee deleted (Steve Beaver)

#8 Updated by Chris Buechler about 4 years ago

  • Tracker changed from Bug to Todo
  • Status changed from Feedback to Resolved
  • Target version set to 2.3

this is finished

Also available in: Atom PDF