1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 20:35:25 +02:00

feat(ui): new containers view (#25)

feat(ui): new containers view
This commit is contained in:
Anthony Lapenna 2016-06-29 21:04:29 +12:00 committed by GitHub
parent 813c14d93c
commit 66ae15b4fb
6 changed files with 182 additions and 179 deletions

View file

@ -10,11 +10,10 @@ function ImageViewModel(data) {
function ContainerViewModel(data) {
this.Id = data.Id;
this.State = data.State;
this.Names = data.Names;
this.IP = data.NetworkSettings.Networks[Object.keys(data.NetworkSettings.Networks)[0]].IPAddress;
this.Image = data.Image;
this.Command = data.Command;
this.Created = data.Created;
this.SizeRw = data.SizeRw;
this.Status = data.Status;
this.Checked = false;
this.Names = data.Names;
}