Project

General

Profile

Actions

Todo #5206

closed

Convert package UI pages to Bootstrap

Added by Anonymous about 9 years ago. Updated about 9 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.

Actions #1

Updated by Anonymous about 9 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

Actions #2

Updated by Anonymous about 9 years ago

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

pkg_utils.inc updated

Actions #3

Updated by Anonymous about 9 years ago

  • 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.

Actions #4

Updated by Anonymous about 9 years ago

  • % Done changed from 0 to 100
Actions #5

Updated by Jim Thompson about 9 years ago

  • Assignee changed from Chris Buechler to Anonymous

no idea why this was assigned to Chris

Actions #6

Updated by Anonymous about 9 years ago

For testing

Actions #7

Updated by Anonymous about 9 years ago

  • Assignee deleted (Anonymous)
Actions #8

Updated by Chris Buechler about 9 years ago

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

this is finished

Actions

Also available in: Atom PDF