Changeset 0b8c868 for gutenbach-web/root.py
- Timestamp:
- Feb 25, 2009, 12:53:27 AM (16 years ago)
- Branches:
- master, debian, mac, no-cups, web
- Children:
- 8bcbc70e
- Parents:
- 4b9d354
- git-author:
- Edward Z. Yang <edwardzyang@…> (02/25/09 00:53:27)
- git-committer:
- Edward Z. Yang <edwardzyang@…> (02/25/09 00:53:27)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gutenbach-web/root.py
r4b9d354 r0b8c868 12 12 from remctl import remctl 13 13 import tw.forms as twf 14 from sipbmp3web.widgets.slider import UISlider 14 15 15 16 volume_form = twf.TableForm('volume_form', action='volume', children=[ 16 twf.TextField('volume', validator=twf.validators.Int(not_empty=True,min=1,max=31))17 UISlider('volume', min=1, max=31, validator=twf.validators.NotEmpty()) 17 18 ]) 18 19 … … 31 32 page="index", 32 33 volume=volume, 33 volume_form=volume_form(kw), 34 volume_form=volume_form, 35 volume_data=kw, 34 36 ) 35 37
Note: See TracChangeset
for help on using the changeset viewer.