kopia lustrzana https://github.com/simonw/datasette
Implemented new Natalie design
rodzic
6dff22eff8
commit
df19a48a3b
|
@ -210,7 +210,7 @@ ol.spaced {
|
|||
margin-bottom: 0.8rem;
|
||||
}
|
||||
ul.bullets {
|
||||
padding-left: 0.9rem;
|
||||
padding-left: 1.25rem;
|
||||
}
|
||||
ul.bullets li,
|
||||
ul.spaced li,
|
||||
|
@ -290,7 +290,9 @@ section.content {
|
|||
}
|
||||
|
||||
/* Footer */
|
||||
|
||||
footer {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
|
||||
/* Components ============================================================== */
|
||||
|
@ -568,6 +570,7 @@ form button[type=button] {
|
|||
width: auto;
|
||||
display: inline-block;
|
||||
box-shadow: 1px 2px 8px 2px rgba(0,0,0,0.08);
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.download-sqlite em {
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
</head>
|
||||
<body class="{% block body_class %}{% endblock %}">
|
||||
|
||||
<nav class="hd">{% block nav %}
|
||||
<header><nav>{% block nav %}
|
||||
{% if actor %}
|
||||
<div class="logout">
|
||||
<strong>{{ display_actor(actor) }}</strong>{% if show_logout %} ·
|
||||
|
@ -24,9 +24,9 @@
|
|||
</form>{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}</nav>
|
||||
{% endblock %}</nav></header>
|
||||
|
||||
<div class="bd">
|
||||
<section class="content">
|
||||
{% block messages %}
|
||||
{% if show_messages %}
|
||||
{% for message, message_type in show_messages() %}
|
||||
|
@ -37,9 +37,9 @@
|
|||
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class="ft">{% block footer %}{% include "_footer.html" %}{% endblock %}</div>
|
||||
<footer class="ft">{% block footer %}{% include "_footer.html" %}{% endblock %}</footer>
|
||||
|
||||
{% for body_script in body_scripts %}
|
||||
<script>{{ body_script }}</script>
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
|
||||
{% if views %}
|
||||
<h2 id="views">Views</h2>
|
||||
<ul>
|
||||
<ul class="bullets">
|
||||
{% for view in views %}
|
||||
<li><a href="{{ urls.database(database) }}/{{ view.name|urlencode }}">{{ view.name }}</a>{% if view.private %} 🔒{% endif %}</li>
|
||||
{% endfor %}
|
||||
|
@ -58,7 +58,7 @@
|
|||
|
||||
{% if queries %}
|
||||
<h2 id="queries">Queries</h2>
|
||||
<ul>
|
||||
<ul class="bullets">
|
||||
{% for query in queries %}
|
||||
<li><a href="{{ urls.query(database, query.name) }}{% if query.fragment %}#{{ query.fragment }}{% endif %}" title="{{ query.description or query.sql }}">{{ query.title or query.name }}</a>{% if query.private %} 🔒{% endif %}</li>
|
||||
{% endfor %}
|
||||
|
|
Ładowanie…
Reference in New Issue