(Arne Babenhauserheide)
2014-02-09: adjusted style: gray links to commits. adjusted style: gray links to commits.
diff --git a/staticsite.py b/staticsite.py --- a/staticsite.py +++ b/staticsite.py @@ -517,6 +517,12 @@ div.screenshots img{ .flattr{ float:right;padding-top:1px; } +#shortlog a, #branches a, #tags a, #bookmarks a, #incoming a, #outgoing a, #log a{ + text-decoration:none;color:gray; +} +#shortlog a:hover, #branches a:hover, #tags a:hover, #bookmarks a:hover, #incoming a:hover, #outgoing a:hover, #log a{ + text-decoration:underline; +} """, # this printstyle is from the wonderful site http://stevelosh.com and licensed under MIT "printstyle": """ @@ -862,10 +868,12 @@ def writelog(ui, repo, target, name): logs.append([os.path.join(d, "index.html"), ""]) logs[-1][-1] += templates["head"].replace("{reponame}", "<a href='../'>"+name+"</a>").replace("{title}", name).replace("{nav}", "").replace("{relpath}", "../") + logs[-1][-1] += """"<div id="log">""" for c in range(ck*100+1, min(len(repo.changelog)+1, (ck+1)*100)): ctx = repo.changectx(str(-c)) t.show(ctx) logs[-1][-1] += ui.popbuffer() + logs[-1][-1] += """"</div>""" for filepath,data in logs: data += templates["foot"].replace("{reponame}", "<a href='../'>"+name+"</a>")