move local repo list out of control menu

This commit is contained in:
Joey Hess 2013-01-03 16:34:57 -04:00
parent 4c0fb330eb
commit 09cbbaf537
8 changed files with 36 additions and 28 deletions

View file

@ -1,12 +1,8 @@
<ul .dropdown-menu>
$forall (name, path) <- repolist
<li>
<a href="@{SwitchToRepositoryR path}">
<i .icon-folder-close></i> #{name}
$if not (null repolist)
<li .divider></li>
<li>
<a href="@{NewRepositoryR}">
<i .icon-plus-sign></i> Add another repository
<i .icon-plus-sign></i> Add another local repository
<a href="@{RepositorySwitcherR}">
<i .icon-folder-close></i> Switch repository
<a href="@{ShutdownR}">
<i .icon-off></i> Shut down