Handle HTTP errors on non-event requests (fixes #1120, fixes #807)

This commit is contained in:
Jakob Borg
2015-01-05 15:42:27 +01:00
parent 854d720ce0
commit cf1594829a
4 changed files with 57 additions and 21 deletions

View File

@@ -416,6 +416,14 @@
</p>
</modal>
<!-- HTTP error modal -->
<modal id="httpError" status="danger" icon="exclamation-sign" title="{{'Connection Error' | translate}}">
<p translate>
Syncthing seems to be experiencing a problem processing your request. Please refresh the page or restart Syncthing if the problem persists.
</p>
</modal>
<!-- Restarting modal -->
<modal id="restarting" icon="refresh" title="{{'Restarting' | translate}}" status="info">