Merge "Use new openstack logo on git.o.o"

This commit is contained in:
Jenkins 2017-08-03 00:37:23 +00:00 committed by Gerrit Code Review
commit 513932744c
3 changed files with 10 additions and 10 deletions

View File

@ -1,7 +1,7 @@
@import url('/cgit-data/cgit.css');
body {
background: url("/static/openstack-page-bkg.jpg") no-repeat scroll 0 0 white !important;
background: no-repeat scroll 0 0 white !important;
}
div#cgit {
@ -97,3 +97,9 @@ div#cgit table.blob .kwa { color:#000000; font-weight:bold; }
div#cgit table.blob .kwb { color:#830000; }
div#cgit table.blob .kwc { color:#000000; font-weight:bold; }
div#cgit table.blob .kwd { color:#010181; }
/* Make logo larger than default */
div#cgit table#header td.logo {
width: 248px;
vertical-align: top;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -57,7 +57,7 @@ class openstack_project::git_backend (
'commit-filter' => '/usr/local/bin/commit-filter.sh',
'css' => '/static/openstack.css',
'favicon' => '/static/favicon.ico',
'logo' => '/static/openstack.png',
'logo' => '/static/openstack.svg',
'root-title' => 'OpenStack git repository browser',
'max-repo-count' => 2500,
},
@ -131,9 +131,9 @@ class openstack_project::git_backend (
require => User['cgit'],
}
file { '/var/www/cgit/static/openstack.png':
file { '/var/www/cgit/static/openstack.svg':
ensure => present,
source => 'puppet:///modules/openstack_project/openstack.png',
source => 'puppet:///modules/openstack_project/openstack.svg',
require => File['/var/www/cgit/static'],
}
@ -143,12 +143,6 @@ class openstack_project::git_backend (
require => File['/var/www/cgit/static'],
}
file { '/var/www/cgit/static/openstack-page-bkg.jpg':
ensure => present,
source => 'puppet:///modules/openstack_project/openstack-page-bkg.jpg',
require => File['/var/www/cgit/static'],
}
file { '/var/www/cgit/static/openstack.css':
ensure => present,
source => 'puppet:///modules/openstack_project/git/openstack.css',