mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-03 23:10:49 +00:00
updated css styles & angular
This commit is contained in:
@@ -11,7 +11,15 @@ angular.module('app').controller("HomeController", function($scope, $http, feed,
|
||||
|
||||
$http({method: 'GET', url: '/v1/user/feed'}).
|
||||
success(function(data, status, headers, config) {
|
||||
$scope.feed = (typeof data==='string')?[]:data;
|
||||
$scope.feed = (typeof data==='string')?[]:data; //.splice(0, 3);
|
||||
}).
|
||||
error(function(data, status, headers, config) {
|
||||
console.log(data);
|
||||
});
|
||||
|
||||
$http({method: 'GET', url: '/v1/user/repos'}).
|
||||
success(function(data, status, headers, config) {
|
||||
$scope.repos = (typeof data==='string')?[]:data;
|
||||
}).
|
||||
error(function(data, status, headers, config) {
|
||||
console.log(data);
|
||||
|
||||
Reference in New Issue
Block a user