Changeset 415

Show
Ignore:
Timestamp:
07/25/06 18:41:00 (2 years ago)
Author:
markus
Message:

- removed essential packages from unsinstallable list
- added JavaScript? confirm before uninstall
- still need a way to decide between installed packages in rom and jffs2

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/package/webif/files/usr/lib/webif/webif.sh

    r295 r415  
    9696            <div id="header"> 
    9797                <div id="header-title"> 
    98                                 <div id="freewrt-title"><img id="freewrt-logo" src="/freewrt-front.png"/><h1>Admin Console</h1></div> 
     98                                <div id="freewrt-title"><img id="freewrt-logo" src="/freewrt-front.png" alt="logo"/><h1>Admin Console</h1></div> 
    9999                                <div id="short-status"> 
    100100                                        <h3><strong>Status:</strong></h3> 
  • trunk/freewrt/package/webif/files/www/cgi-bin/webif/ipkg.sh

    r295 r415  
    1818  <table style="width: 90%"> 
    1919<? 
    20 ipkg list_installed | awk -F ' ' ' 
     20ipkg list_installed | egrep -v "(base-files|bridge|busybox|haserl|kernel|uclibc|webif|Done\.)" | awk -F ' ' ' 
    2121$2 !~ /terminated/ { 
    2222        link=$1 
    2323        gsub(/\+/,"%2B",link) 
    24         print "<tr><td>" $1 "</td><td><a href=\"ipkg.sh?action=remove&amp;pkg=" link "\" style=\"color: red\">@TR<<Uninstall>></a></td></tr>" 
     24        print "<tr><td>" $1 "</td><td><a href=\"ipkg.sh?action=remove&amp;pkg=" link "\" style=\"color: red\" onClick=\"return confirm('\''are you sure?'\'')\">@TR<<Uninstall>></a></td></tr>" 
    2525} 
    2626'