drop down menu for each repository with edit, disable, delete
This commit is contained in:
parent
37d7da4de8
commit
a886c3b56d
4 changed files with 30 additions and 11 deletions
|
@ -1,6 +1,9 @@
|
|||
<div .span9 .hero-unit>
|
||||
<h2>
|
||||
Configuring repository
|
||||
$if new
|
||||
Repository created
|
||||
$else
|
||||
Editing repository
|
||||
$if new
|
||||
<p>
|
||||
This repository is set up and ready to go!
|
||||
|
@ -20,10 +23,8 @@
|
|||
<div .form-actions>
|
||||
<button .btn .btn-primary type=submit>
|
||||
Save Changes #
|
||||
<a href="@{DashboardR}">
|
||||
<a .btn href="@{DashboardR}">
|
||||
Cancel #
|
||||
<a href="@{DeleteRepositoryR uuid}">
|
||||
Delete repository
|
||||
$if new
|
||||
<p>
|
||||
In a hurry? Feel free to skip this step! You can always come back #
|
||||
|
|
|
@ -2,11 +2,15 @@
|
|||
<li>
|
||||
<a href="@{NewRepositoryR}">
|
||||
<i .icon-plus-sign></i> Add another local repository
|
||||
<li>
|
||||
<a href="@{RepositorySwitcherR}">
|
||||
<i .icon-folder-close></i> Switch repository
|
||||
<li>
|
||||
<a href="@{RestartR}">
|
||||
<i .icon-repeat></i> Restart daemon
|
||||
<li>
|
||||
<a href="@{ShutdownR}">
|
||||
<i .icon-off></i> Shutdown daemon
|
||||
<li>
|
||||
<a href="@{LogR}">
|
||||
<i .icon-list></i> View log
|
||||
|
|
|
@ -32,8 +32,18 @@
|
|||
<a href="@{setupRepoLink actions}">
|
||||
enable
|
||||
$else
|
||||
<a href="@{setupRepoLink actions}">
|
||||
configure
|
||||
<span .dropdown #menu-#{fromUUID uuid}>
|
||||
<a .dropdown-toggle data-toggle="dropdown" href="#menu-#{fromUUID uuid}">
|
||||
<i .icon-cog></i> settings
|
||||
<b .caret></b>
|
||||
<ul .dropdown-menu>
|
||||
<li>
|
||||
<a href="@{setupRepoLink actions}">
|
||||
<i .icon-pencil></i> Edit
|
||||
<a href="@{DisableRepositoryR uuid}">
|
||||
<i .icon-minus></i> Disable
|
||||
<a href="@{DeleteRepositoryR uuid}">
|
||||
<i .icon-trash></i> Delete
|
||||
$if addmore
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue