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