Changeset 1054

Show
Ignore:
Timestamp:
07/01/03 14:37:31 (21 years ago)
Author:
jalet
Message:

Nicer UI

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/cgi-bin/printquota.cgi

    r1053 r1054  
    2323# 
    2424# $Log$ 
     25# Revision 1.11  2003/07/01 12:37:31  jalet 
     26# Nicer UI 
     27# 
    2528# Revision 1.10  2003/07/01 07:30:32  jalet 
    2629# Message changed. 
     
    118121        printers = self.storage.getMatchingPrinters(mask) 
    119122        selectednames = [p.Name for p in selected] 
    120         message = 'Printer : <select name="printers" multiple="multiple">' 
     123        message = '<table><tr><td valign="top">Printer :</td><td valign="top"><select name="printers" multiple="multiple">' 
    121124        for printer in printers : 
    122125            if printer.Name in selectednames : 
     
    124127            else : 
    125128                message += '<option value="%s">%s</option>' % (printer.Name, printer.Name) 
    126         message += '</select>' 
     129        message += '</select></td></tr></table>' 
    127130        return message 
    128131