コード例 #1
0
ファイル: views.py プロジェクト: denisfortun/scipion
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)
コード例 #2
0
ファイル: views.py プロジェクト: azazellochg/scipion
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)
コード例 #3
0
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)
コード例 #4
0
ファイル: views.py プロジェクト: denisfortun/scipion
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)
コード例 #5
0
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)
コード例 #6
0
ファイル: views.py プロジェクト: josegutab/scipion
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)
コード例 #7
0
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)
コード例 #8
0
ファイル: views.py プロジェクト: EyeSeeTea/scipion-web
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)
コード例 #9
0
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)
コード例 #10
0
ファイル: views.py プロジェクト: EyeSeeTea/scipion-web
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)