Luke Ross

Colorado

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

Web-based git repository viewer.

Commit 539fe50d7cbaa22d3d7930f274e12679d75c17e5

Style tweaks

Committed 11 Jul 2017 by Luke Ross

src/colorado/static/colorado.css

@@ -1,4 +1,5 @@
 #repo-list { width: 100%; }
+#rev-list { width: 100%; }
 #file-list { width: 100%; margin-top: 1em; }
 .tidbit { font-style: italic; }
 .ellipsis { text-overflow: ellipsis; overflow: hidden; }
@@ -10,18 +11,6 @@
 .diff-add { color: #008000; }
 .diff-del { color: #800000; }
 
-/* Dead? */
-
-th { text-align: left }
-
-/* Merge */
-
-h3 {
-	font-family: "Utopia", serif;
-	color: #880c1c;
-	font-weight: normal;
-}
-
 /* Copy-pasta */
 @media screen {
 	body {
@@ -65,10 +54,10 @@ h1:after {
 	font-weight: normal;
 	opacity: 0.6;
 }
-h1,h2 {
+h1,h2,h3 {
 	font-family: "Utopia", serif;
 }
-h2 {
+h2,h3 {
 	color: #880c1c;
 	font-weight: normal;
 }


src/colorado/views.py

@@ -132,7 +132,7 @@ def index():
 	"""
 	Start the app
 	"""
-	repos = session().run(Repo.public_repos()).order_by("name")
+	repos = session().run(Repo.public_repos()).order_by("slug")
 	tpl = parse_xml_for_template("index")
 	configure_template(tpl)
 	for ele, repo in tpl.findmeld("repo").repeat(repos):