comparison browser_side/radiocol.py @ 301:5943eaa6f422

browser_side (plugin radiocol): set the upload limit to 10 MB instead of 5
author souliane <souliane@mailoo.org>
date Wed, 18 Dec 2013 07:45:53 +0100
parents 4f221f34bdc7
children 2067d6241927
comparison
equal deleted inserted replaced
300:4f221f34bdc7 301:5943eaa6f422
86 vPanel = VerticalPanel() 86 vPanel = VerticalPanel()
87 87
88 types = [('audio/ogg', '*.ogg', 'Ogg Vorbis Audio'), 88 types = [('audio/ogg', '*.ogg', 'Ogg Vorbis Audio'),
89 ('video/ogg', '*.ogv', 'Ogg Vorbis Video'), 89 ('video/ogg', '*.ogv', 'Ogg Vorbis Video'),
90 ('application/ogg', '*.ogx', 'Ogg Vorbis Multiplex')] 90 ('application/ogg', '*.ogx', 'Ogg Vorbis Multiplex')]
91 self.file_upload = FilterFileUpload("song", 5, types) 91 self.file_upload = FilterFileUpload("song", 10, types)
92 vPanel.add(self.file_upload) 92 vPanel.add(self.file_upload)
93 93
94 hPanel = HorizontalPanel() 94 hPanel = HorizontalPanel()
95 self.upload_btn = Button("Upload song", getattr(self, "onBtnClick")) 95 self.upload_btn = Button("Upload song", getattr(self, "onBtnClick"))
96 hPanel.add(self.upload_btn) 96 hPanel.add(self.upload_btn)