grim/port-authority

Parents 4bb19e16fb5a
Children 2eda066fa491
move the number of images to the repo name row and remove the images header
--- a/html/window.html Mon Dec 01 15:51:01 2014 -0600
+++ b/html/window.html Mon Dec 01 15:57:59 2014 -0600
@@ -22,13 +22,9 @@
</div>
<accordion close-others="true">
<accordion-group data-ng-repeat="repo in repos" data-ng-click="select_repo(repo)">
- <accordion-heading>{{repo.name}}</accordion-heading>
- <p>{{repo.description}}</p>
+ <accordion-heading>{{repo.name}}<span class="badge">{{repo.images.length}}</span></accordion-heading>
+ <span>{{repo.description}}</span>
<ul class="list-group">
- <li class="list-group-item list-group-item-info">
- Images
- <span class="badge">{{repo.images.length}}</span>
- </li>
<li data-ng-repeat="image in repo.images" class="list-group-item">
<span tooltip="{{image.id}}">{{image.short_id}}<span class="badge" data-ng-repeat="tag in repo.tags[image.id]">{{tag}}</span>
</li>