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
 
@@ -41,13 +41,13 @@ i[class^='icon-'] {
 
}
 

	
 
#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;
kallithea/public/css/style.css
Show inline comments
 
@@ -270,26 +270,26 @@ nav.navbar #logo {
 
}
 

	
 
#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;
kallithea/templates/base/base.html
Show inline comments
 
@@ -91,13 +91,13 @@
 
</%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>
0 comments (0 inline, 0 general)