def upload_movies(request): projectName = request.session['projectName'] command = "rsync -av --port 3333 USER_FOLDER/ scipion.cnb.csic.es::mws/" + projectName context = {'command': command, 'logo_scipion_small': getResourceIcon('logo_scipion_small'), } context = base_form(request, context) return render_to_response('upload_movies.html', context)
def upload_movies(request): domain = django_settings.SITE_URL projectName = request.session['projectName'] command = "rsync -av --port 3333 USER_FOLDER/ %s::mws/%s"%(domain, projectName) context = {'command': command, 'logo_scipion_small': getResourceIcon('logo_scipion_small'), } context = base_form(request, context) return render_to_response('upload_movies.html', context)
def upload_movies(request): domain = django_settings.SITE_URL projectName = request.session['projectName'] command = "rsync -av --port 3333 USER_FOLDER/ %s::mws/%s" % (domain, projectName) context = { 'command': command, 'logo_scipion_small': getResourceIcon('logo_scipion_small'), } context = base_form(request, context) return render_to_response('upload_movies.html', context)
def service_movies(request): if 'projectName' in request.session: request.session['projectName'] = "" if 'projectPath' in request.session: request.session['projectPath'] = "" movies_utils = join(django_settings.STATIC_URL, "js/", "movies_utils.js") context = {'projects_css': getResourceCss('projects'), 'project_utils_js': getResourceJs('project_utils'), 'scipion_mail': getResourceIcon('scipion_mail'), 'movies_utils': movies_utils, } context = base_grid(request, context) return render_to_response('movies_projects.html', context)
def service_movies(request): if 'projectName' in request.session: request.session['projectName'] = "" if 'projectPath' in request.session: request.session['projectPath'] = "" movies_utils = join(django_settings.STATIC_URL, "js/", "movies_utils.js") context = { 'projects_css': getResourceCss('projects'), 'project_utils_js': getResourceJs('project_utils'), 'scipion_mail': getResourceIcon('scipion_mail'), 'movies_utils': movies_utils, } context = base_grid(request, context) return render_to_response('movies_projects.html', context)
def resmap_projects(request): if 'projectName' in request.session: request.session['projectName'] = "" if 'projectPath' in request.session: request.session['projectPath'] = "" myresmap_utils = join(django_settings.STATIC_URL, "js/", "myresmap_utils.js") context = {'projects_css': getResourceCss('projects'), 'project_utils_js': getResourceJs('project_utils'), 'scipion_mail': getResourceIcon('scipion_mail'), 'myresmap_utils': myresmap_utils, 'hiddenTreeProt': True, } context = base_grid(request, context) return render_to_response('resmap_projects.html', context)
def service_movies(request): if CTX_PROJECT_NAME in request.session: request.session[CTX_PROJECT_NAME] = "" if CTX_PROJECT_PATH in request.session: request.session[CTX_PROJECT_PATH] = "" movies_utils = getResource("js/movies_utils.js") context = { 'projects_css': getResourceCss('projects'), 'project_utils_js': getResourceJs('project_utils'), 'scipion_mail': getResourceIcon('scipion_mail'), 'movies_utils': movies_utils, } context = base_grid(request, context) return render_to_response('movies_projects.html', context)
def service_projects(request): if CTX_PROJECT_NAME in request.session: request.session[CTX_PROJECT_NAME] = "" if CTX_PROJECT_PATH in request.session: request.session[CTX_PROJECT_PATH] = "" myfirstmap_utils = getResource("js/myfirstmap_utils.js") context = {'projects_css': getResourceCss('projects'), 'project_utils_js': getResourceJs('project_utils'), 'scipion_mail': getResourceIcon('scipion_mail'), 'myfirstmap_utils': myfirstmap_utils, 'hiddenTreeProt': True, SERVICE_NAME: MYFIRSTMAP_SERVICE } context = base_grid(request, context) return render_to_response('service_projects.html', context)
def particleValidation_projects(request): if CTX_PROJECT_NAME in request.session: request.session[CTX_PROJECT_NAME] = "" if CTX_PROJECT_PATH in request.session: request.session[CTX_PROJECT_PATH] = "" mypval_utils = getResource("js/mypval_utils.js") context = { 'projects_css': getResourceCss('projects'), 'project_utils_js': getResourceJs('project_utils'), 'scipion_mail': getResourceIcon('scipion_mail'), 'mypval_utils': mypval_utils, 'hiddenTreeProt': True, } context = base_grid(request, context) return render_to_response('pval_projects.html', context)