summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@debian.org>2014-09-15 19:16:47 +0000
committerHolger Levsen <holger@debian.org>2014-09-15 19:16:47 +0000
commit67b94619bb6a840668baeb6a9d3833b70c558ebe (patch)
tree479234fe677ed7b9decc5acf545128007429a01e
parent32c9830f813dfbd759dcdc731eefbb7e8aef6287 (diff)
use local copy of Debian logo.png
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@28800 e39458fd-73e7-0310-bf30-c45bca0a0e42
-rw-r--r--bin/tracker_service.py7
-rw-r--r--static/logo.pngbin0 -> 6733 bytes
-rw-r--r--static/style.css2
3 files changed, 8 insertions, 1 deletions
diff --git a/bin/tracker_service.py b/bin/tracker_service.py
index a3e73abb83..776aee2143 100644
--- a/bin/tracker_service.py
+++ b/bin/tracker_service.py
@@ -148,6 +148,7 @@ class TrackerService(webservice_base_class):
self.register('debsecan/**', self.page_debsecan)
self.register('data/report', self.page_report)
self.register('style.css', self.page_style_css)
+ self.register('logo.png', self.page_logo_png)
def page_style_css(self, path, params, url):
f=open('../static/style.css', 'r')
@@ -155,6 +156,12 @@ class TrackerService(webservice_base_class):
f.close()
return BinaryResult(content,'text/css')
+ def page_logo_png(self, path, params, url):
+ f=open('../static/logo.png', 'r')
+ content=f.read()
+ f.close()
+ return BinaryResult(content,'image/png')
+
def page_home(self, path, params, url):
query = params.get('query', ('',))[0]
if query:
diff --git a/static/logo.png b/static/logo.png
new file mode 100644
index 0000000000..d1321d8f45
--- /dev/null
+++ b/static/logo.png
Binary files differ
diff --git a/static/style.css b/static/style.css
index 0e02a61274..42f6f4d337 100644
--- a/static/style.css
+++ b/static/style.css
@@ -124,7 +124,7 @@ span.dangerous { color: rgb(191,127,0); }
@media all and (min-width: 641px) {
header {
- background: url(https://tracker.debian.org/static/img/logo.png) top right no-repeat;
+ background: url(/tracker/logo.png) top right no-repeat;
min-height: 60px;
}
h1 {

© 2014-2024 Faster IT GmbH | imprint | privacy policy