This commit is contained in:
flaskfarm
2022-10-14 19:28:28 +09:00
parent 15eef1f91a
commit adac0f59ed
5 changed files with 23 additions and 17 deletions

View File

@@ -34,7 +34,7 @@ var running_type = "{{arg['running_type']}}";
$(document).ready(function(){
console.log(running_type);
if (running_type == 'docker') {
if (running_type.startsWith('docker')) {
$('#celery_start_by_web').bootstrapToggle('off');
$('#celery_start_by_web').prop('disabled', true);
}