示例#1
0
def myfirstmap_form(request):
    from django.shortcuts import render_to_response
    context = contextForm(request)
    context.update({'path_mode':'upload',
                    'formUrl': 'my_form',
                    'showHost': False,
                    'showParallel': False})
    return render_to_response('form/form.html', context)
示例#2
0
def resmap_form(request):
    from django.shortcuts import render_to_response
    context = contextForm(request)
    context.update({'path_mode':'upload',
                    'formUrl': 'my_form',
                    'showHost': False,
                    'showParallel': False})
    return render_to_response('form/form.html', context)
示例#3
0
def movies_form(request):
    from django.shortcuts import render_to_response
    context = contextForm(request)
    context.update({'path_mode':'select',
                    'formUrl': 'mov_form',
                    'showHost': False,
                    'showParallel': False,
                    'hostSelected': 'localhost'})
    return render_to_response('form/form.html', context)
示例#4
0
def particleValidation_form(request):
    from django.shortcuts import render_to_response
    context = contextForm(request)
    context.update({
        'path_mode': 'select',
        'formUrl': MYPVAL_FORM_URL,
        'showHost': False,
        'showParallel': True
    })
    return render_to_response('form/form.html', context)
示例#5
0
def movies_form(request):
    from django.shortcuts import render_to_response
    context = contextForm(request)
    context.update({
        'path_mode': 'select',
        'formUrl': 'mov_form',
        'showHost': False,
        'showParallel': False,
        'hostSelected': 'localhost'
    })
    return render_to_response('form/form.html', context)