Esempio n. 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)
Esempio n. 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)
Esempio n. 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)
Esempio n. 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)
Esempio n. 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)