Revision 6912c72b ui/views.py
b/ui/views.py | ||
---|---|---|
31 | 31 |
|
32 | 32 |
def machine_console(request): |
33 | 33 |
host, port, password = ('','','') |
34 |
if request.POST: |
|
35 |
host = request.POST.get('host','') |
|
36 |
port = request.POST.get('port','') |
|
37 |
password = request.POST.get('password','') |
|
34 |
host = request.GET.get('host','') |
|
35 |
port = request.GET.get('port','') |
|
36 |
password = request.GET.get('password','') |
|
38 | 37 |
context = {'host': host, 'port': port, 'password': password, |
39 | 38 |
'console_height': CONSOLE_HEIGHT, 'console_width': CONSOLE_WIDTH} |
40 | 39 |
return template('machine_console', context) |
Also available in: Unified diff