mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 23:39:41 +02:00
Add message view and controller
This commit is contained in:
parent
dd8c4ce672
commit
37ea44a4dc
6 changed files with 61 additions and 11 deletions
|
@ -76,6 +76,14 @@ angular.module('dockerui.services', ['ngResource'])
|
|||
stop: function() { spinner.stop(); }
|
||||
};
|
||||
})
|
||||
.factory('Messages', function($rootScope) {
|
||||
return {
|
||||
event: 'messageSend',
|
||||
send: function(msg) {
|
||||
$rootScope.$broadcast('messageSend', msg);
|
||||
}
|
||||
};
|
||||
})
|
||||
.factory('Dockerfile', function(Settings) {
|
||||
var url = Settings.rawUrl + '/build';
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue