Luke Ross

Colorado

4 releases git clone https://lukeross.name/projects/colorado.git/

Web-based git repository viewer.

Commit 079c2a602f96478e6fd039ef2871a8da2fe852c3

ability to highlight commits in history

Committed 16 Oct 2018 by Luke Ross

colorado/static/colorado.css

@@ -6,6 +6,7 @@
 .file-box h3 { margin-top: 0; }
 .list { width: 100%; }
 .repo-list-item { margin-bottom: 2em; }
+.rev-box:target { background-color: #ffffa0 }
 .rev-id { display: inline-block; max-width: 6em; text-overflow: ellipsis; overflow: hidden; }
 .tidbit { font-style: italic; font-size: smaller; }
 


colorado/templates/repo-history.xml

@@ -15,7 +15,7 @@ Brief introduction to the repo.
 </p>
 
 <table class="list">
-<tr meld:id="rev" id="rev-123">
+<tr meld:id="rev" id="rev-123" class="rev-box">
 	<td>
 		<span meld:id="rev-tag-repeat">
 			<a href="#" meld:id="rev-tag-link">master</a>