예제 #1
0
파일: shell.py 프로젝트: wujia2017/1
def index(request):
    temp_name = "setup/setup-header.html"
    all_host = Host.objects.all()
    all_group = HostGroup.objects.all()
    all_scripts = get_scripts(scripts_dir)
    return render_to_response('setup/shell.html', locals(),
                              RequestContext(request))
예제 #2
0
def index(request):
    all_host = Asset.objects.all()
    all_group = HostGroup.objects.all()
    all_scripts = get_scripts(scripts_dir)
    return render(request, 'setup/shell.html', locals())
예제 #3
0
파일: shell.py 프로젝트: zjjxxlgb/adminset
def index(request):
    temp_name = "setup/setup-header.html"
    all_host = Host.objects.all()
    all_group = HostGroup.objects.all()
    all_scripts = get_scripts(scripts_dir)
    return render(request, 'setup/shell.html', locals())
예제 #4
0
파일: shell.py 프로젝트: ccc520/adminset
def index(request):
    temp_name = "setup/setup-header.html"
    all_host = Host.objects.all()
    all_group = HostGroup.objects.all()
    all_scripts = get_scripts(scripts_dir)
    return render(request, 'setup/shell.html', locals())