mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
I'm using click, and click recommends using a setup.py - so I've added one of those. I also refactored code into a new datasite package. It's not quite deploying to now properly at the moment though - I seem to have messed up the path handling a bit. Also snuck in a new template for the "Row" view. Refs #40
19 lines
342 B
HTML
19 lines
342 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>{% block title %}{% endblock %}</title>
|
|
<style>
|
|
th {
|
|
text-align: left;
|
|
}
|
|
</style>
|
|
{% block extra_head %}{% endblock %}
|
|
</head>
|
|
<body>
|
|
{% if error %}
|
|
<div style="padding: 1em; margin: 1em; border: 3px solid red;">{{ error }}</div>
|
|
{% endif %}
|
|
{% block content %}
|
|
{% endblock %}
|
|
</body>
|
|
</html>
|