improve repository loading

This commit is contained in:
tdurieux
2021-04-21 18:39:05 +02:00
parent 3f6e8fbc0d
commit ca646b27fc
2 changed files with 20 additions and 13 deletions
+1
View File
@@ -7,4 +7,5 @@
</div>
<div ng-if="type == 'IPython'"><notebook file="url"></notebook></div>
<div ng-if="type == 'error'" class="file-error container d-flex h-100"><h1 class="display-1 m-auto" translate="ERRORS.{{content}}">Error</h1></div></div>
<div ng-if="type == 'loading' && !error" class="file-error container d-flex h-100"><h1 class="display-1 m-auto">Loading...</h1></div></div>
<div ng-if="content == null" class="file-error container d-flex h-100"><h1 class="display-1 m-auto">Empty file!</h1></div>