Databases now get distinct colours

A left border based on their content hash.

Closes #31
This commit is contained in:
Simon Willison 2017-11-09 06:12:42 -08:00
commit b2dee11fcd
4 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@
{% block title %}{{ database }}{% endblock %}
{% block content %}
<h1>{{ database }}</h1>
<h1 style="padding-left: 10px; border-left: 10px solid #{{ database_hash[:6] }}">{{ database }}</h1>
<p><a href="/{{ database }}-{{ database_hash }}.db">download {{ database }}.db</a></p>