Mercurial > kallithea
changeset 5442:f7e0c34be9d6
changelog: drop unused tablerow stuff
tablerow was referenced but other CSS was hiding it anyway.
If we want alternating colors, modern css has better ways of doing it.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 26 Aug 2015 17:28:59 +0200 |
parents | 081c47cfad7b |
children | 8fcf31ac1105 |
files | kallithea/public/css/style.css kallithea/templates/changelog/changelog.html kallithea/tests/functional/test_changelog.py |
diffstat | 3 files changed, 3 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/css/style.css Wed Aug 26 17:28:59 2015 +0200 +++ b/kallithea/public/css/style.css Wed Aug 26 17:28:59 2015 +0200 @@ -2199,14 +2199,6 @@ color: #888; } -.tablerow0 { - background-color: #F8F8F8; -} - -.tablerow1 { - background-color: #FFFFFF; -} - .changeset_id { color: #666666; margin-right: -3px;
--- a/kallithea/templates/changelog/changelog.html Wed Aug 26 17:28:59 2015 +0200 +++ b/kallithea/templates/changelog/changelog.html Wed Aug 26 17:28:59 2015 +0200 @@ -78,7 +78,7 @@ <table id="changesets"> <tbody> %for cnt,cs in enumerate(c.pagination): - <tr id="chg_${cnt+1}" class="container ${'tablerow%s' % (cnt%2)}"> + <tr id="chg_${cnt+1}" class="container"> <td class="checkbox"> %if c.changelog_for_path: ${h.checkbox(cs.raw_id,class_="changeset_range", disabled="disabled")}
--- a/kallithea/tests/functional/test_changelog.py Wed Aug 26 17:28:59 2015 +0200 +++ b/kallithea/tests/functional/test_changelog.py Wed Aug 26 17:28:59 2015 +0200 @@ -8,7 +8,7 @@ response = self.app.get(url(controller='changelog', action='index', repo_name=HG_REPO)) - response.mustcontain('''id="chg_20" class="container tablerow1"''') + response.mustcontain('''id="chg_20" class="container"''') response.mustcontain( """<input class="changeset_range" """ """id="7b22a518347bb9bc19679f6af07cd0a61bfe16e7" """ @@ -54,7 +54,7 @@ response = self.app.get(url(controller='changelog', action='index', repo_name=GIT_REPO)) - response.mustcontain('''id="chg_20" class="container tablerow1"''') + response.mustcontain('''id="chg_20" class="container"''') response.mustcontain( """<input class="changeset_range" """ """id="95f9a91d775b0084b2368ae7779e44931c849c0e" """