summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Winter <phw@nymity.ch>2020-06-04 14:05:25 -0700
committerPhilipp Winter <phw@nymity.ch>2020-06-04 14:05:25 -0700
commit6d3e899925854b0994d66551fef25678e6f36561 (patch)
tree1555c90952229be4c3bc044ffeef78abd4e4231e
parentc45439ceb3a8dd43c658607606fb4a7aad57fd67 (diff)
parent20f104955c6b798c7452d7ee09ae45fbbc99c62d (diff)
Merge branch 'enhancement/19774' into develop
-rw-r--r--CHANGELOG3
-rw-r--r--bridgedb/distributors/https/templates/assets/images/favicon.icobin0 -> 4286 bytes
-rw-r--r--bridgedb/distributors/https/templates/base.html1
-rw-r--r--setup.py3
4 files changed, 6 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 6dfa43c..754e2f0 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+ * FIXES https://bugs.torproject.org/19774
+ Add a favicon to BridgeDB's web UI.
+
Changes in version 0.10.1 - 2020-05-27
* FIXES https://bugs.torproject.org/33945
diff --git a/bridgedb/distributors/https/templates/assets/images/favicon.ico b/bridgedb/distributors/https/templates/assets/images/favicon.ico
new file mode 100644
index 0000000..2f24bf9
--- /dev/null
+++ b/bridgedb/distributors/https/templates/assets/images/favicon.ico
Binary files differ
diff --git a/bridgedb/distributors/https/templates/base.html b/bridgedb/distributors/https/templates/base.html
index 2f502a9..1f16ca0 100644
--- a/bridgedb/distributors/https/templates/base.html
+++ b/bridgedb/distributors/https/templates/base.html
@@ -13,6 +13,7 @@
<meta name="description" content="Tor Bridges">
<meta name="author" content="The Tor Project">
+ <link rel="icon" type="image/x-icon" href="/assets/images/favicon.ico">
<link rel="stylesheet" href="/assets/css/bootstrap.min.css">
<link rel="stylesheet" href="/assets/css/font-awesome.min.css">
<link rel="stylesheet" href="/assets/css/main.css">
diff --git a/setup.py b/setup.py
index 18c391b..74b6254 100644
--- a/setup.py
+++ b/setup.py
@@ -175,7 +175,8 @@ def get_template_files():
'assets/font/*.svg',
'assets/font/*.eot',
'assets/js/*.js',
- 'assets/images/*.svg']
+ 'assets/images/*.svg',
+ 'assets/images/*.ico']
template_files = []
for include_pattern in include_patterns: