Luke Ross

Colorado

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

Web-based git repository viewer.

Commit ba72ac78ec4c555028ae976b98855c74ecc74eb4

Style tweaks

Committed 11 Jul 2017 by Luke Ross

src/colorado/static/colorado.css

@@ -1,6 +1,5 @@
-#repo-list { width: 100%; }
-#rev-list { width: 100%; }
-#file-list { width: 100%; margin-top: 1em; }
+.list { width: 100%; }
+#file-list { margin-top: 1em; }
 .tidbit { font-style: italic; }
 .ellipsis { text-overflow: ellipsis; overflow: hidden; }
 .file-box { background-color: white; margin: 1em; padding: 1em; }


src/colorado/templates/repo-history.xml

@@ -24,7 +24,7 @@
 Brief introduction to the repo.
 </p>
 
-<table id="rev-list">
+<table class="list">
 <tr meld:id="rev" id="rev-123">
 <td><a href="#" meld:id="rev-desc">Description of commit</a></td>
 <td meld:id="rev-author">Foo Bar &lt;foo@example.com&gt;</td>


src/colorado/templates/repo-home.xml

@@ -29,7 +29,7 @@ Brief introduction to the repo.
 <span meld:id="tree-part"><a href="#" meld:id="tree-part-name">foo</a> / </span>
 </p>
 
-<table id="file-list">
+<table id="file-list" class="list">
 <tr meld:id="file">
 <td><a href="#" meld:id="file-name">README.txt</a></td>
 <td meld:id="file-size">1.2k</td>