webapp: New preferences page allows enabling/disabling debug logging at runtime, as well as configuring numcopies and diskreserve.
This commit is contained in:
parent
d7ad02f893
commit
08bdea7e52
13 changed files with 174 additions and 58 deletions
|
@ -4,9 +4,9 @@
|
|||
<h3>
|
||||
<a href="@{RepositoriesR}">
|
||||
Manage repositories
|
||||
<p>
|
||||
Distribute the files in this repository to other devices, #
|
||||
make backups, and more, by adding repositories.
|
||||
<p>
|
||||
Distribute the files in this repository to other devices, #
|
||||
make backups, and more, by adding repositories.
|
||||
<div .span4>
|
||||
$if xmppconfigured
|
||||
<h3>
|
||||
|
@ -21,4 +21,10 @@
|
|||
Configure jabber account
|
||||
<p>
|
||||
Keep in touch with remote devices, and with your friends, #
|
||||
by configuring a jabber account.
|
||||
<div .span4>
|
||||
<h3>
|
||||
<a href="@{PreferencesR}">
|
||||
Preferences
|
||||
<p>
|
||||
Tune the behavior of git-annex, including how many copies #
|
||||
to retain of each file, and how much disk space it can use.
|
||||
|
|
13
templates/configurators/preferences.hamlet
Normal file
13
templates/configurators/preferences.hamlet
Normal file
|
@ -0,0 +1,13 @@
|
|||
<div .span9 .hero-unit>
|
||||
<h2>
|
||||
Preferences
|
||||
<p>
|
||||
<form .form-horizontal enctype=#{enctype}>
|
||||
<fieldset>
|
||||
^{form}
|
||||
^{webAppFormAuthToken}
|
||||
<div .form-actions>
|
||||
<button .btn .btn-primary type=submit>
|
||||
Save Preferences
|
||||
<a .btn href="@{ConfigurationR}">
|
||||
Cancel
|
Loading…
Add table
Add a link
Reference in a new issue