306:edefddec933d
Anton Shestakov <av6@dwimlabs.net>, Sun, 24 Sep 2017 12:25:05 +0800
viewer: use subqueries to get data on index page Before, there were bare columns in the aggregate query, their values were undefined (but it somehow worked), as SQLite docs say. Good news is that now this bigger query uses (project_id, ordinal) index and is really fast.

next change 329:6e89b4cea984
previous change 299:18a3583a520a

templates/base.html

Permissions: -rw-r--r--

Other formats: Feeds:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}{% end %}{% block extra-title %} - Cat and Owl's online linter{% end %}</title>
{% block alternate %}{% end %}
<link rel="shortcut icon" href="/static/favicon-cat.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uikit/2.27.4/css/uikit.almost-flat.min.css" integrity="sha384-sTlSQe7oxh+w7nOl63yge2IiC/ThewJ0s0y8hwPTikkobCXnG/Gi29VcY8mLdqdl" crossorigin="anonymous">
<link rel="stylesheet" href="/static/candolint.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js" integrity="sha384-rY/jv8mMhqDabXSo+UCggqKtdmBfd3qC2/KvyTDNQ6PcUJXaxK1tMepoQda4g5vB" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/2.27.4/js/uikit.min.js" integrity="sha384-VbNYNtAJFhyFCXc5McpfbfoDYLd7QRxCrCbF2EgoMKb/GGqJN7fcAazTBKUyP/6m" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js" integrity="sha384-DRe+1gYJauFEenXeWS8TmYdBmDUqnR5Rcw7ax4KTqOxXWd4NAMP2VPU5H69U7yP9" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/4.10.2/d3.min.js" integrity="sha384-CtB3UHEoz5ZhUjR2nHwH9wcUALiwMBvw2SMSQEhkeUrBarVcEa73BiTAH3HO1GsO" crossorigin="anonymous"></script>
</head>
<body>
<nav class="uk-navbar uk-navbar-attached navbar">
<div class="uk-container uk-container-center">
<a class="uk-navbar-brand brand" href="/">{#
#}<span class="trigger">
Cat and Owl's
<span class="mascots">
<img src="/static/mascot-cat.svg">
<img src="/static/mascot-owl.svg">
</span>
</span>
online linter
</a>
</div>
</nav>
{% block content %}{% end %}
<script src="/static/candolint.js"></script>
</body>
</html>