diff options
author | Alberto Bertogli <albertito@blitiri.com.ar> | 2017-08-27 16:27:47 +0200 |
---|---|---|
committer | Alberto Bertogli <albertito@blitiri.com.ar> | 2017-08-27 16:29:24 +0200 |
commit | 56b0b34930dd3a0ec90035ea2db381fda63a24f8 (patch) | |
tree | 79e8fb7a9f0c1bba05b63bd76e1e064bdf582827 | |
parent | 9b21bd6f191fab943ffea791285b8dfb97ec95ef (diff) | |
download | git-arr-fork-56b0b34930dd3a0ec90035ea2db381fda63a24f8.zip |
style: In the index, make the project names explicit links
For readability, make the project names in the index to be explicit
links.
-rw-r--r-- | static/git-arr.css | 5 | ||||
-rw-r--r-- | views/index.html | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/static/git-arr.css b/static/git-arr.css index 0619b27..a4ecc02 100644 --- a/static/git-arr.css +++ b/static/git-arr.css @@ -99,6 +99,11 @@ span.tag { background-color: #ffff88; } +/* Projects table */ +table.projects td.name a { + color: #038; +} + /* Age of an object. * Note this is hidden by default as we rely on javascript to show it. */ span.age { diff --git a/views/index.html b/views/index.html index c2a5bb8..a1d7aa4 100644 --- a/views/index.html +++ b/views/index.html @@ -11,7 +11,7 @@ <body class="index" onload="replace_timestamps()"> <h1>git</h1> -<table class="nice"> +<table class="nice projects"> <tr> <th>project</th> <th>description</th> @@ -19,8 +19,8 @@ % for repo in sorted(repos.values(), key = lambda r: r.name): <tr> - <td><a href="r/{{repo.name}}/">{{repo.name}}</a></td> - <td><a href="r/{{repo.name}}/">{{repo.info.desc}}</a></td> + <td class="name"><a href="r/{{repo.name}}/">{{repo.name}}</a></td> + <td class="desc"><a href="r/{{repo.name}}/">{{repo.info.desc}}</a></td> <td><span class="age">{{repo.last_commit_timestamp()}}</span></td> </tr> %end |