mirror of
https://github.com/portainer/portainer.git
synced 2025-07-21 22:39:41 +02:00
feat(container): container view overhaul (#150)
This commit is contained in:
parent
4d99c12215
commit
faccf2a651
7 changed files with 224 additions and 250 deletions
|
@ -2,7 +2,6 @@ angular.module('image', [])
|
|||
.controller('ImageController', ['$scope', '$stateParams', '$state', 'Image', 'Messages',
|
||||
function ($scope, $stateParams, $state, Image, Messages) {
|
||||
$scope.RepoTags = [];
|
||||
|
||||
$scope.config = {
|
||||
Image: '',
|
||||
Registry: ''
|
||||
|
@ -20,6 +19,7 @@ function ($scope, $stateParams, $state, Image, Messages) {
|
|||
});
|
||||
}
|
||||
|
||||
//TODO: centralize createImageConfig (also used in containerController)
|
||||
function createImageConfig(imageName, registry) {
|
||||
var imageNameAndTag = imageName.split(':');
|
||||
var image = imageNameAndTag[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue