webapp: Add UI to stop assistant.
Would like to also have restart UI, but that's rather harder to do, seems it'd need to start another copy of the webapp, and redirect the browser to its new url, but running two assistants in the same repo at the same time isn't good.
This commit is contained in:
parent
d5f18291c5
commit
de2e287133
10 changed files with 61 additions and 10 deletions
12
templates/controlmenu.hamlet
Normal file
12
templates/controlmenu.hamlet
Normal file
|
@ -0,0 +1,12 @@
|
|||
<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
|
||||
<a href="@{ShutdownR}">
|
||||
<i .icon-off></i> Shut down
|
Loading…
Add table
Add a link
Reference in a new issue