Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Duplicati/Server/webroot/ngax/templates/settings.html')
-rw-r--r--Duplicati/Server/webroot/ngax/templates/settings.html30
1 files changed, 26 insertions, 4 deletions
diff --git a/Duplicati/Server/webroot/ngax/templates/settings.html b/Duplicati/Server/webroot/ngax/templates/settings.html
index 93339ca05..d363e3b82 100644
--- a/Duplicati/Server/webroot/ngax/templates/settings.html
+++ b/Duplicati/Server/webroot/ngax/templates/settings.html
@@ -17,6 +17,7 @@
<div class="input mixed multiple">
<label for="pauseTime" translate>Pause</label>
<select id="pauseTime" name="pauseTime" ng-model="startupDelayDurationValue">
+ <option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
@@ -34,7 +35,7 @@
</select>
</div>
- <h2 translate>User interface language</h2>
+ <h2 translate>User interface settings</h2>
<div class="input mixed multiple">
<label for="userinterfacelanguage" translate>Language in user interface</label>
@@ -45,6 +46,14 @@
</select>
</div>
+ <div class="input mixed multiple">
+ <label for="themedisplay" translate>Display and color theme</label>
+
+ <select id="themedisplay" ng-model="theme">
+ <option value="default" translate>The default blue on white theme (by Alex)</option>
+ <option value="dark" translate>The dark theme (by Michal)</option>
+ </select>
+ </div>
<h2 translate>Donation messages</h2>
<div class="input checkbox">
@@ -90,10 +99,11 @@
</div>
-->
- <h2 translate>Usage statistics</h2>
- <div class="input mixed multiple">
+ <h2 ng-if="SystemInfo.DefaultUsageReportLevel != 'Disabled'" translate>Usage statistics</h2>
+ <div ng-if="SystemInfo.DefaultUsageReportLevel != 'Disabled'" class="input mixed multiple">
<label for="usagereporterlevel" translate>Anonymous usage reports</label>
- <select id="usagereporterlevel" ng-model="usageReporterLevel">
+
+ <select id="usagereporterlevel" ng-model="$parent.usageReporterLevel">
<option value="" translate translate-params-levelname="SystemInfo.DefaultUsageReportLevel">System default ({{levelname}})</option>
<option value="information" translate>Usage statistics, warnings, errors, and crashes</option>
<option value="warning" translate>Warnings, errors and crashes</option>
@@ -106,8 +116,20 @@
<p translate>All usage reports are sent anonymously and do not contain any personal information. They contain information about hardware and operating system, the type of backend, backup duration, overall size of source data and similar data. They do not contain paths, filenames, usernames, passwords or similar sensitive information.</p></div>
</div>
+ <div ng-repeat="module in ServerModules">
+ <h2>{{module.DisplayName}}</h2>
+
+ <p ng-show="(module.ServiceLink || '').length > 0"><a href="{{module.ServiceLink}}" target="_blank">{{module.Description}}</a></p>
+ <p ng-show="(module.ServiceLink || '').length == 0">{{module.Description}}</p>
+
+ <div class="input" ng-repeat="opt in module.SupportedGlobalCommands">
+ <label for="{{module.Key}}-{{opt.Name}}" title="{{opt.LongDescription}}">{{opt.ShortDescription}}</label>
+ <input type="text" title="{{opt.LongDescription}}" name="{{module.Key}}-{{opt.Name}}" id="{{module.Key}}-{{opt.Name}}" ng-model="servermodulesettings[opt.Name]" />
+ </div>
+ </div>
<h2 translate>Default options</h2>
+ <div class="sublabel"><p translate>Options added here are applied to all backups, but can be overridden in each individual backup</p></div>
<div class="input textarea" ng-show="ShowAdvancedTextArea">
<label for="backupOptions" translate>Options</label>
<a href ng-click="ShowAdvancedTextArea = false" class="advanced-toggle" translate>Edit as list</a>