Changeset - 1619d9ebc1b9
[Not reviewed]
default
1 6 0
Sean Farley - 11 years ago 2015-02-18 00:02:34
sean.michael.farley@gmail.com
giticon.png: use repotag class to make an icon

A quick search revealed that some old css code was never used, so it was
removed.
7 files changed with 6 insertions and 14 deletions:
0 comments (0 inline, 0 general)
kallithea/public/css/contextbar.css
Show inline comments
 
@@ -3,7 +3,6 @@
 
 */
 

	
 
i.icon-ellipsis-horizontal:after { content: ' ...';}
 
i.icon-git { background-image: url('../images/icons/giticon.png');}
 
i.icon-disabled { background-image: url('../images/icons/shading.png');} /* todo: use instead of minus sign */
 

	
 
i[class^='icon-'] {
kallithea/public/css/style.css
Show inline comments
 
@@ -501,13 +501,6 @@ div.header img {
 
    margin: 0px 2px 0px 2px;
 
}
 

	
 
#header #header-inner #quick li ul li a.git,
 
#header #header-inner #quick li ul li a.git:hover {
 
    background-image: url("../images/icons/giticon.png");
 
    padding-left: 42px;
 
    background-position: 20px 9px;
 
}
 

	
 
.groups_breadcrumbs a {
 
    color: #fff;
 
}
kallithea/public/images/icons/giticon.png
Show inline comments
 
deleted file
 
binary diff not shown
Show images
kallithea/templates/base/base.html
Show inline comments
 
@@ -101,7 +101,7 @@
 
          <span class="repotag">hg</span>
 
        %endif
 
        %if h.is_git(c.db_repo):
 
          <i class="icon-git" style="color: #e85634; font-size: 24px"></i>
 
          <span class="repotag">git</span>
 
        %endif
 

	
 
        ## public/private
 
@@ -363,7 +363,7 @@
 
                    tmpl += '<span class="repotag">hg</span> ';
 
                }
 
                else if(obj_dict['repo_type'] === 'git'){
 
                    tmpl += '<i class="icon-git"></i> ';
 
                    tmpl += '<span class="repotag">git</span> ';
 
                }
 
                if(obj_dict['private']){
 
                    tmpl += '<i class="icon-keyhole-circled"></i> ';
kallithea/templates/data_table/_dt_elements.html
Show inline comments
 
@@ -70,7 +70,7 @@
 
    %if h.is_hg(rtype):
 
        <span class="repotag" title="${_('Mercurial repository')}">hg</span>
 
    %elif h.is_git(rtype):
 
        <span title="${_('Git repository')}"><i class="icon-git" style="color: #e85634; font-size: 14px;"></i></span>
 
        <span class="repotag" title="${_('Git repository')}">git</span>
 
    %endif
 

	
 
    ##PRIVATE/PUBLIC
kallithea/tests/functional/test_home.py
Show inline comments
 
@@ -20,7 +20,7 @@ class TestHomeController(TestController)
 
        response.mustcontain('var data = {"totalRecords": %s' % len(Repository.getAll()))
 
        response.mustcontain(r'href=\"/%s\"' % HG_REPO)
 

	
 
        response.mustcontain(r'<i class=\"icon-git\"')
 
        response.mustcontain(r'<span class="repotag">git')
 
        response.mustcontain(r'<i class=\"icon-globe\"')
 

	
 
        response.mustcontain("""fixes issue with having custom format for git-log""")
kallithea/tests/functional/test_summary.py
Show inline comments
 
@@ -53,7 +53,7 @@ class TestSummaryController(TestControll
 

	
 
        #repo type
 
        response.mustcontain(
 
            """<i class="icon-git" """
 
            """<span class="repotag">git"""
 
        )
 
        #public/private
 
        response.mustcontain(
 
@@ -102,7 +102,7 @@ class TestSummaryController(TestControll
 

	
 
        #repo type
 
        response.mustcontain(
 
            """<i class="icon-git" """
 
            """<span class="repotag">git"""
 
        )
 
        #public/private
 
        response.mustcontain(
0 comments (0 inline, 0 general)