Loading feedback for GET /app

This commit is contained in:
jendib 2013-08-16 17:17:38 +02:00
parent d1644dcbc0
commit bd71dbd445

View File

@ -1,3 +1,6 @@
<img src="img/loader.gif" ng-show="!app" />
<div ng-show="app">
<h1> <h1>
{{ app.document_count }} <small>document{{ app.document_count > 1 ? 's' : '' }} in the database</small> {{ app.document_count }} <small>document{{ app.document_count > 1 ? 's' : '' }} in the database</small>
</h1> </h1>
@ -15,3 +18,4 @@
<li><strong>Memory:</strong> {{ app.free_memory / 1000000 | number: 0 }}/{{ app.total_memory / 1000000 | number: 0 }} MB</li> <li><strong>Memory:</strong> {{ app.free_memory / 1000000 | number: 0 }}/{{ app.total_memory / 1000000 | number: 0 }} MB</li>
</ul> </ul>
</div> </div>
</div>