Browse Source

style ;)

master
Pascal Gloor 5 years ago
parent
commit
df27eb4b7c
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      www/js/autodoc.js

+ 3
- 0
www/js/autodoc.js View File

$(obj).css('width', '100%'); $(obj).css('width', '100%');
$(obj).addClass('bg-danger'); $(obj).addClass('bg-danger');
$(obj).removeClass("progress-bar-animated"); $(obj).removeClass("progress-bar-animated");
$(obj).removeClass("progress-bar-striped");

} }
else if (file.progress == 100) { else if (file.progress == 100) {
$(obj).html(file.obj.name); $(obj).html(file.obj.name);
$(obj).addClass('bg-success'); $(obj).addClass('bg-success');
$(obj).removeClass('progress-bar-animated'); $(obj).removeClass('progress-bar-animated');
$(obj).removeClass("progress-bar-striped");
$(obj).css('width', '100%'); $(obj).css('width', '100%');
} }
else if (file.progress < 50) { else if (file.progress < 50) {

Loading…
Cancel
Save