Changeset 4930 for main/waeup.sirp


Ignore:
Timestamp:
28 Jan 2010, 12:38:40 (15 years ago)
Author:
uli
Message:

Add a CSV upload button for datacenter overview.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/viewlets.py

    r4920 r4930  
    390390    text = 'Show batch logs'
    391391
     392#
     393# Misc. buttons...
     394#
    392395class BatchOpButton(ActionButton):
    393396    grok.context(IDataCenter)
     
    397400    target = '@@import1'
    398401    text = 'Batch processing'
    399    
     402
     403class UploadCSVButton(ActionButton):
     404    grok.context(IDataCenter)
     405    grok.view(DatacenterPage)
     406    grok.order(5)
     407    icon = 'go-up-16x16.png'
     408    target = '@@upload'
     409    text = 'Upload CSV file'
     410
    400411#
    401412# Primary navigation tabs (in upper left navigation bar)...
Note: See TracChangeset for help on using the changeset viewer.