Show More
@@ -102,7 +102,7 b'' | |||
|
102 | 102 | <option value="clicky">Clicky</option> |
|
103 | 103 | <option value="server_announce">${_('Server Announcement')}</option> |
|
104 | 104 | <option value="flash_filtering">${_('Flash message filtering')}</option> |
|
105 |
<option value="custom_logo">${_('Custom log |
|
|
105 | <option value="custom_logo">${_('Custom logos')}</option> | |
|
106 | 106 | </select> |
|
107 | 107 | </div> |
|
108 | 108 | <div style="padding: 10px 0px"></div> |
@@ -253,17 +253,22 b'' | |||
|
253 | 253 | <script id="custom_logo_tmpl" type='text/x-template'> |
|
254 | 254 | <%text filter="h"> |
|
255 | 255 | <script> |
|
256 | // Set custom logo on login page. | |
|
256 | ||
|
257 | 257 | $(document).ready(function(e) { |
|
258 | // 1) Set custom logo on login/register pages. | |
|
258 | 259 | |
|
259 | // external, custom company logo | |
|
260 | // external URL, custom company logo | |
|
260 | 261 | //$('.sign-in-image').attr("src", "http://server.com/logo_path/custom_logo.png"); |
|
261 | 262 | |
|
262 | 263 | // Alternative logo from static folder |
|
263 | 264 | $('.sign-in-image').attr("src", "/_static/rhodecode/images/RhodeCode_Logo_Black.png"); |
|
265 | ||
|
264 | 266 |
|
|
265 | 267 | $('.sign-in-image').css({"width": "300px", "height": "345px"}); |
|
266 | 268 | |
|
269 | // 2) Header logo on top bar | |
|
270 | $('.logo-wrapper').find('img').attr('src', 'http://server.com/logo_path/custom_header_logo.png') | |
|
271 | ||
|
267 | 272 | }); |
|
268 | 273 | </script> |
|
269 | 274 | </%text> |
General Comments 0
You need to be logged in to leave comments.
Login now