Show busy state in eventlogs

This commit is contained in:
Johannes Zellner
2016-05-06 17:23:39 +02:00
parent 54c9bb7409
commit 4fa8ab596b
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -25,7 +25,8 @@
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="card card-block" style="max-width: 100%">
<table class="table table-striped table-condensed table-hover">
<center ng-show="busy"><h2><i class="fa fa-spinner fa-pulse"></i></h2></center>
<table ng-hide="busy" class="table table-striped table-condensed table-hover">
<thead>
<tr>
<th class="col-md-2">Time</th>
+2
View File
@@ -3,8 +3,10 @@
angular.module('Application').controller('ActivityController', ['$scope', '$location', 'Client', function ($scope, $location, Client) {
$scope.config = Client.getConfig();
$scope.busy = false;
$scope.eventLogs = [ ];
// TODO sync this with the eventlog filter
$scope.actions = [
{ name: 'cloudron.activate', value: 'cloudron.activate' },
{ name: 'app.configure', value: 'app.configure' },