Changeset f6f3e91 for web/old/sipbmp3web/controllers/root.py
- Timestamp:
- Jul 6, 2010, 7:56:47 PM (15 years ago)
- Branches:
- web
- Children:
- 9c72c3b
- Parents:
- 0d02eca
- git-author:
- Jessica B. Hamrick <jhamrick@…> (07/06/10 19:56:47)
- git-committer:
- Jessica B. Hamrick <jhamrick@…> (07/06/10 19:56:47)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
web/old/sipbmp3web/controllers/root.py
r30beeab rf6f3e91 14 14 from sipbmp3web.widgets.slider import UISlider 15 15 16 volume_form = twf.TableForm('volume_form', action=' volume', children=[16 volume_form = twf.TableForm('volume_form', action='https://sipb.mit.edu:444/sipbmp3/volume', children=[ 17 17 UISlider('volume', min=1, max=31, validator=twf.validators.NotEmpty()) 18 18 ]) … … 41 41 @expose() 42 42 def volume(self, **kw): 43 server = config['sipbmp3.server'] 44 remctl(server, command=["volume", "set", kw["volume"]]) 43 if 'SSL_CLIENT_S_DN_Email' in request.environ: 44 server = config['sipbmp3.server'] 45 remctl(server, command=["volume", "set", kw["volume"], 'by='+request.environ['SSL_CLIENT_S_DN_Email']]) 45 46 redirect('index') 46 47
Note: See TracChangeset
for help on using the changeset viewer.