add spacer to menu

This commit is contained in:
Joey Hess 2016-02-15 13:02:14 -04:00
parent 4eeb25d9c9
commit dfbb5db3a8
Failed to extract signature
3 changed files with 16 additions and 0 deletions

View file

@ -1,2 +1,4 @@
I have four git-annex repositories and I often use the option "Switch repository" in the webapp, but this option is just above the "Restart daemon" option and I have clicked it quite a few time unintentionally.
Could it be possible to add a confirmation dialog just like in the "Shutdown daemon" option?
> spacer added; [[done]] --[[Joey]]

View file

@ -0,0 +1,13 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2016-02-15T16:54:54Z"
content="""
Restarting the daemon should just take a second and the web browser should
redirect to the new instance. I guess it does move away from the current
page to the dashboard, and in a way that the back button can't undo, but I
see no other harm in accidentially restarting the daemon.
So, I think I'll just add a spacer to separate the repository part of that
menu from the daemon part.
"""]]

View file

@ -7,6 +7,7 @@
<a href="@{RepositorySwitcherR}">
<span .glyphicon .glyphicon-folder-close>
\ Switch repository
<li>&nbsp;</li>
<li>
<a href="@{RestartR}">
<span .glyphicon .glyphicon-repeat>