Add support for themes (fixes #1925)

This commit is contained in:
Audrius Butkevicius
2016-01-12 10:08:04 +01:00
committed by Jakob Borg
parent 06921443fc
commit 543891a0a0
127 changed files with 83 additions and 16 deletions
+3
View File
@@ -48,6 +48,9 @@ var (
// DefaultDiscoveryServers should be substituted when the configuration
// contains <globalAnnounceServer>default</globalAnnounceServer>.
DefaultDiscoveryServers = append(DefaultDiscoveryServersV4, DefaultDiscoveryServersV6...)
// DefaultTheme is the default and fallback theme for the web UI.
DefaultTheme = "default"
)
func New(myID protocol.DeviceID) Configuration {