Changeset - e9f0d8527a9b
[Not reviewed]
default
0 3 0
Mads Kiilerich - 9 years ago 2017-01-18 01:44:26
mads@kiilerich.com
template: avoid duplicate id="logo" - use "repo-logo" in the subordinate repo header
3 files changed with 5 insertions and 5 deletions:
0 comments (0 inline, 0 general)
kallithea/public/css/contextbar.css
Show inline comments
 
@@ -35,25 +35,25 @@ i[class^='icon-'] {
 
}
 

	
 
.icon-diff-R:before {
 
    font-family: 'kallithea';
 
    content: '\e81f';
 
    color: #677a85;
 
}
 

	
 
#content #context-bar {
 
    position: relative;
 
    overflow: visible;
 
    background-color: #577632;
 
    padding: 0 5px;
 
    padding: 0;
 
    min-height: 36px;
 
}
 

	
 
#content #context-bar .navbar-header {
 
    display: inline-block;
 
    color: #FFF;
 
    margin: 8px 20px 3px;
 
    padding-bottom: 2px;
 
}
 

	
 
nav.navbar #quick a,
 
#content #context-bar,
kallithea/public/css/style.css
Show inline comments
 
@@ -264,38 +264,38 @@ div:hover > a.permalink,
 
div:hover > span > a.permalink {
 
    visibility: visible;
 
}
 

	
 
nav.navbar #logo {
 
    padding-left: 10px;
 
}
 

	
 
#content nav.navbar #logo {
 
    padding-left: inherit;
 
}
 

	
 
nav.navbar #logo .navbar-brand img {
 
nav.navbar .navbar-brand img {
 
    padding-top: 5px;
 
    margin-right: 5px;
 
}
 

	
 
nav.navbar #logo .navbar-brand {
 
nav.navbar .navbar-brand {
 
    font-size: 20px;
 
    color: white;
 
    float: left;
 
    height: 44px;
 
    line-height: 44px;
 
}
 

	
 
#content nav.navbar #logo .navbar-brand {
 
#content nav.navbar .navbar-brand {
 
    height: inherit;
 
    line-height: inherit;
 
}
 

	
 
nav.navbar ul#logged-user {
 
    margin-bottom: 5px !important;
 
    border-radius: 0px 0px 8px 8px;
 
    height: 37px;
 
    background-color: #577632;
 
    background-repeat: repeat-x;
 
    background-image: linear-gradient(to bottom, #577632, #577632);
 
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6);
kallithea/templates/base/base.html
Show inline comments
 
@@ -85,25 +85,25 @@
 
  %if h.is_hg(repo):
 
    <span class="repotag" title="${_('Mercurial repository')}">hg</span>
 
  %endif
 
  %if h.is_git(repo):
 
    <span class="repotag" title="${_('Git repository')}">git</span>
 
  %endif
 
</%def>
 

	
 
<%def name="repo_context_bar(current=None, rev=None)">
 
  <% rev = None if rev == 'tip' else rev %>
 
  <!--- CONTEXT BAR -->
 
  <nav id="context-bar" class="navbar navbar-inverse">
 
    <div class="navbar-header" id="logo">
 
    <div class="navbar-header">
 
      <div class="navbar-brand">
 
        ${repotag(c.db_repo)}
 

	
 
        ## public/private
 
        %if c.db_repo.private:
 
          <i class="icon-keyhole-circled"></i>
 
        %else:
 
          <i class="icon-globe"></i>
 
        %endif
 
        %for group in c.db_repo.groups_with_parents:
 
          ${h.link_to(group.name, url('repos_group_home', group_name=group.group_name), class_='navbar-link')}
 
          &raquo;
0 comments (0 inline, 0 general)