Compare commits

..

2 Commits
0.3.7 ... 0.3.9

Author SHA1 Message Date
Joxit
d6523a4205 Upgrade v0.3.9: Fix typo 2018-06-21 23:14:20 +02:00
Joxit
3b5f5201a6 Upgrade to v0.3.8: Fix for REGISTRY_URL for #42 2018-06-20 22:17:35 +02:00
6 changed files with 11 additions and 11 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
{
"name": "docker-registry-ui",
"version": "0.3.7",
"version": "0.3.9",
"scripts": {
"build": "./node_modules/gulp/bin/gulp.js build"
},
@@ -25,7 +25,7 @@
"gulp-riot": "^1.1.4",
"gulp-uglify": "^2.1.2",
"gulp-useref": "^3.1.5",
"riot": "^3.10.0",
"riot": "^3.10.3",
"riot-mui": "^0.1.1",
"riot-route": "^3.1.3",
"uglify-js": "^3.4.0",

View File

@@ -78,7 +78,7 @@
return registryUI.snackbar(message, true);
}
registryUI.cleanName = function() {
var url = registryUI.url() || registryUI.name();
var url = (registryUI.url() && registryUI.url().length > 0 && registryUI.url()) || window.location.host;
if (url) {
return url.startsWith('http') ? url.replace(/https?:\/\//, '') : url;
}
@@ -113,7 +113,7 @@
};
registryUI.DockerImage.compare = function(e1, e2) {
return e1.tag.localeCompare(e2);
return e1.tag.localeCompare(e2.tag);
};
registryUI.DockerImage.prototype.fillInfo = function() {
@@ -129,7 +129,7 @@
self.size = response.layers.reduce(function (acc, e) {
return acc + e.size;
}, 0);
self.sha256 = response.config.digest;
self.sha256 = response.config.digest;
self.trigger('size', self.size);
self.trigger('sha256', self.sha256);
} else if (this.status == 404) {

View File

@@ -27,8 +27,8 @@
copyText.select();
document.execCommand('copy');
copyText.style.display = 'none';
registryUI.snackbar('`' + this.dockerCmd + '` has been copied to clipbloard.')
registryUI.snackbar('`' + this.dockerCmd + '` has been copied to clipboard.')
};
</script>
</copy-to-clipboard>