ui: fixed branding look&feel as per discussions.
This commit is contained in:
parent
30ab5584db
commit
2ff4542cd5
6 changed files with 26 additions and 15 deletions
|
|
@ -214,8 +214,7 @@ class TestAdminSettingsGlobal(object):
|
|||
})
|
||||
|
||||
response = response.follow()
|
||||
response.mustcontain(
|
||||
"""<div class="branding">- %s</div>""" % new_title)
|
||||
response.mustcontain(new_title)
|
||||
|
||||
def post_and_verify_settings(self, settings):
|
||||
old_title = 'RhodeCode'
|
||||
|
|
|
|||
|
|
@ -1024,11 +1024,15 @@ label {
|
|||
float:left;
|
||||
}
|
||||
|
||||
.branding{
|
||||
.branding {
|
||||
float: left;
|
||||
padding: 9px 2px;
|
||||
line-height: 1em;
|
||||
font-size: @navigation-fontsize;
|
||||
|
||||
a {
|
||||
color: @grey5
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
|
|
|
|||
|
|
@ -11,9 +11,11 @@
|
|||
<div class="logo-wrapper">
|
||||
<a href="${h.route_path('home')}"><img src="${h.asset('images/rhodecode-logo-white-60x60.png')}" alt="RhodeCode"/></a>
|
||||
</div>
|
||||
%if c.rhodecode_name:
|
||||
<div class="branding">- ${h.branding(c.rhodecode_name)}</div>
|
||||
%endif
|
||||
% if c.rhodecode_name:
|
||||
<div class="branding">
|
||||
<a href="${h.route_path('home')}">${h.branding(c.rhodecode_name)}</a>
|
||||
</div>
|
||||
% endif
|
||||
</div>
|
||||
<!-- MENU BAR NAV -->
|
||||
${self.menu_bar_nav()}
|
||||
|
|
|
|||
|
|
@ -16,9 +16,11 @@
|
|||
<div class="logo-wrapper">
|
||||
<a href="${h.route_path('home')}"><img src="${h.asset('images/rhodecode-logo-white-60x60.png')}" alt="RhodeCode"/></a>
|
||||
</div>
|
||||
%if c.rhodecode_name:
|
||||
<div class="branding">- ${h.branding(c.rhodecode_name)}</div>
|
||||
%endif
|
||||
% if c.rhodecode_name:
|
||||
<div class="branding">
|
||||
<a href="${h.route_path('home')}">${h.branding(c.rhodecode_name)}</a>
|
||||
</div>
|
||||
% endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -16,9 +16,11 @@
|
|||
<div class="logo-wrapper">
|
||||
<a href="${h.route_path('home')}"><img src="${h.asset('images/rhodecode-logo-white-60x60.png')}" alt="RhodeCode"/></a>
|
||||
</div>
|
||||
%if c.rhodecode_name:
|
||||
<div class="branding">- ${h.branding(c.rhodecode_name)}</div>
|
||||
%endif
|
||||
% if c.rhodecode_name:
|
||||
<div class="branding">
|
||||
<a href="${h.route_path('home')}">${h.branding(c.rhodecode_name)}</a>
|
||||
</div>
|
||||
% endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -16,9 +16,11 @@
|
|||
<div class="logo-wrapper">
|
||||
<a href="${h.route_path('home')}"><img src="${h.asset('images/rhodecode-logo-white-60x60.png')}" alt="RhodeCode"/></a>
|
||||
</div>
|
||||
%if c.rhodecode_name:
|
||||
<div class="branding">- ${h.branding(c.rhodecode_name)}</div>
|
||||
%endif
|
||||
% if c.rhodecode_name:
|
||||
<div class="branding">
|
||||
<a href="${h.route_path('home')}">${h.branding(c.rhodecode_name)}</a>
|
||||
</div>
|
||||
% endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue