grim/port-authority

a211447e8b9c
flow: Merged '0.0.5' to ('default').
--- a/html/window.html Sun Jan 25 04:35:39 2015 -0600
+++ b/html/window.html Thu Feb 05 09:47:41 2015 -0600
@@ -34,6 +34,9 @@
<div class="row">
<div class="col-xs-12">Clipboard: {{clipboard}}</div>
</div>
+ <div class="debug" data-ng-show="error">
+ {{error}}
+ </div>
<div class="row" data-ng-show="debug">
<div class="col-xs-3"><label><input type="checkbox" data-ng-model="refreshing">refreshing</label></div>
<div class="col-xs-3"><label><input type="checkbox" data-ng-model="refreshing_repo">refreshing_repo</label></div>
@@ -47,7 +50,7 @@
<i class="fa fa-spin fa-5x fa-cog"></i><br><span>Loading...</span>
</div>
</div>
- <div class="repo-info col-xs-8" data-ng-show="repo">
+ <div class="repo-info col-xs-8 height-90" data-ng-show="repo">
<div><h1>{{repo.name}}</h1></div>
<div>{{repo.description||"(no description)"}}</div>
<div>
@@ -56,7 +59,7 @@
<span data-ng-show="repo.is_automated" class="label label-info">Automated</span>
<span class="label label-warning" data-ng-show="repo.star_count > 0">{{repo.star_count}}<span class="fa fa-star"></span></span>
</div>
- <div data-ng-hide="refreshing_repo">
+ <div data-ng-hide="refreshing_repo" class="full-height">
<ul class="tag-list">
<li data-ng-repeat="(layer, tags) in tags">
<span data-ng-repeat="tag in tags"><code>{{tag}}</code><span data-ng-click="copy_tag(tag)" class="fa fa-clipboard"></span>{{$last ? '' : ', '}}</span>
--- a/js/app.js Sun Jan 25 04:35:39 2015 -0600
+++ b/js/app.js Thu Feb 05 09:47:41 2015 -0600
@@ -48,6 +48,7 @@
$scope.error = null;
$scope.tags = null;
$scope.clipboard = null;
+ $scope.error = null;
/* google analytics stuff */
$scope.ga_service = analytics.getService("Port Authority Chrome");
@@ -97,6 +98,7 @@
$scope.ga_tracker.sendTiming("refresh", "load time", timer_end - timer_start, "refresh failed timing");
$scope.refreshing = false;
+ $scope.error = "Failed to get the registry list : " + status;
console.log("Failed to get the registry list: " + status);
});
@@ -173,6 +175,8 @@
console.log("Failed to get the tag list: " + status);
+ $scope.error = "Failed to get the tag list : " + status;
+
$scope.refreshing_repo = false;
});
};
--- a/manifest.json Sun Jan 25 04:35:39 2015 -0600
+++ b/manifest.json Thu Feb 05 09:47:41 2015 -0600
@@ -1,6 +1,6 @@
{
"name": "Port Authority",
- "version": "0.0.4",
+ "version": "0.0.5",
"manifest_version": 2,
"description": "Chrome application for interacting with a Docker registry",
"icons": {