Commit f27ccedc authored by Nicolas Wavrant's avatar Nicolas Wavrant

runner: commit for deleting whitespaces

parent bc28417f
......@@ -106,7 +106,7 @@ class SlaprunnerTestCase(unittest.TestCase):
rpwd.write(self.rcode)
#Create config.json
json_file = os.path.join(views.app.config['etc_dir'], 'config.json')
if not os.path.exists(json_file):
if not os.path.exists(json_file):
params = {
'run_instance' : True,
'run_software' : True,
......
......@@ -816,7 +816,7 @@ padding:10px; font-size:14px; color:#03406A}
max-width: 350px;
}
.fullScreen .fullScreen-editor{
.fullScreen .fullScreen-editor{
height: auto!important;
width: auto!important;
border: 0;
......@@ -831,7 +831,7 @@ padding:10px; font-size:14px; color:#03406A}
.fullScreen {
overflow: hidden;
}
}
/* ******************* */
#shellinabox{width:100%; min-height:530px;}
......@@ -27,7 +27,7 @@ $(document).ready(function () {
$("#login").removeClass("button").addClass("dsblebutton");
$.post(url, param, function (data) {
if (data.code === 1) {
url = 'https://' + param.clogin + ':' + param.cpwd + '@'
url = 'https://' + param.clogin + ':' + param.cpwd + '@'
+ location.host + $SCRIPT_ROOT + '/';
window.location.href = url;
} else {
......
......@@ -727,9 +727,9 @@ $(document).ready(function () {
return false;
});
$("#fullscreen").click(function(){
$("#fullscreen").click(function(){
$("body").toggleClass("fullScreen");
$("#editor").toggleClass("fullScreen-editor");
$("#editor").toggleClass("fullScreen-editor");
editor.resize();
});
......
......@@ -14,7 +14,7 @@ $(document).ready(function () {
if (pair[0] == variable) {
return pair[1];
}
}
}
}
// Current_log is not used for auto displaying mode, only for manual reload of log file!!!
......
......@@ -541,11 +541,11 @@ def updateBuildAndRunConfig():
run_software = (True if request.form['run_software']=="true" else False)
if code:
params = {}
params['run_instance'] = run_instance
params['run_software'] = run_software
params['max_run_instance'] = max_run_instance
params['max_run_software'] = max_run_software
saveBuildAndRunParams(app.config, params)
params['run_instance'] = run_instance
params['run_software'] = run_software
params['max_run_instance'] = max_run_instance
params['max_run_software'] = max_run_software
saveBuildAndRunParams(app.config, params)
result = "Your parameters have correctly been updated"
return jsonify(code=code, result=result)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment