mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-05-31 04:59:29 +02:00
Display error messages
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<div class="container-fluid main">
|
||||
<ng-include src="'partials/header.htm'"></ng-include>
|
||||
<div class="row center">
|
||||
<div class="container text-center"><h1 class="display-1">404</h1></div>
|
||||
</div>
|
||||
<div class="container d-flex h-100">
|
||||
<h1 class=" m-auto text-center">
|
||||
<div class="display-1">404</div><small class="text-muted">Page not found</small>
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
@@ -459,7 +459,12 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="alert alert-danger"
|
||||
role="alert"
|
||||
ng-if="error"
|
||||
ng-bind="error"
|
||||
></div>
|
||||
<button
|
||||
id="submit"
|
||||
type="submit"
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr
|
||||
ng-repeat="repo in repositories| filter:repoFiler| orderBy:orderBy"
|
||||
ng-repeat="repo in repositories| filter:repoFiler| orderBy:orderBy as filteredRepositories"
|
||||
>
|
||||
<th scope="row">{{$index + 1}}</th>
|
||||
<td>
|
||||
@@ -178,6 +178,10 @@
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr ng-hide="filteredRepositories.length">
|
||||
<td></td>
|
||||
<td>No Repository</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@@ -6,5 +6,5 @@
|
||||
<pdfviewer class="h-100 overflow-auto" src="{{url}}" id="viewer"></pdfviewer>
|
||||
</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" ng-bind="content">Error</h1></div></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="content == null" class="file-error container d-flex h-100"><h1 class="display-1 m-auto">Empty file!</h1></div>
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="container d-flex h-100">
|
||||
<h1 class="display-1 m-auto" ng-if="!error">Loading...</h1>
|
||||
<h1 class="display-1 m-auto" ng-if="error" ng-bind="error"></h1>
|
||||
<h1 class="display-1 m-auto" ng-if="error" translate="{{error}}"></h1>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user