updates for repository page

This commit is contained in:
kunw 2016-04-20 18:09:35 +08:00
parent 678503c851
commit ca2b71bd6d
3 changed files with 7 additions and 6 deletions

View File

@ -24,7 +24,7 @@
controllerAs: 'vm'
})
.otherwise({
redirectTo: '/repositories'
redirectTo: '/'
});
}

View File

@ -11,6 +11,7 @@
vm.selectItem = selectItem;
vm.filterProjects = filterProjects;
vm.selectedId = vm.selectedProject.id;
function selectItem(item) {
vm.selectedId = item.id;

View File

@ -12,7 +12,7 @@
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="heading1">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse1" aria-expanded="true" aria-controls="collapse1">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="ng/repository#/repositories#collapse1" aria-expanded="true" aria-controls="collapse1">
<span class="glyphicon glyphicon-book"></span> myrepo/ubuntu
</a>
</h4>
@ -47,7 +47,7 @@
<div class="panel-heading" role="tab" id="heading2">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse2" aria-expanded="true" aria-controls="collapse2">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="ng/repository#/repositories#collapse2" aria-expanded="true" aria-controls="collapse2">
<span class="glyphicon glyphicon-book"></span> myrepo/mysql
</a>
</h4>
@ -81,7 +81,7 @@
<div class="panel-heading" role="tab" id="heading3">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse3" aria-expanded="true" aria-controls="collapse3">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="ng/repository#/repositories#collapse3" aria-expanded="true" aria-controls="collapse3">
<span class="glyphicon glyphicon-book"></span> myrepo/nginx
</a>
</h4>
@ -115,7 +115,7 @@
<div class="panel-heading" role="tab" id="heading4">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse4" aria-expanded="true" aria-controls="collapse4">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="ng/repository#/repositories#collapse4" aria-expanded="true" aria-controls="collapse4">
<span class="glyphicon glyphicon-book"></span> myrepo/registry
</a>
</h4>
@ -150,7 +150,7 @@
<div class="panel-heading" role="tab" id="heading5">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse5" aria-expanded="true" aria-controls="collapse5">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="ng/repository#/repositories#collapse5" aria-expanded="true" aria-controls="collapse5">
<span class="glyphicon glyphicon-book"></span> myrepo/alpine
</a>
</h4>