166:b55a7bba94ec
Anton Shestakov <av6@dwimlabs.net>, Tue, 19 Jul 2016 22:25:24 +0800
tests: test status badge

next change 186:75bb524e7660
previous change 81:b608d18aca95

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>
<link rel="shortcut icon" href="/static/favicon-cat.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uikit/2.26.3/css/uikit.almost-flat.min.css" integrity="sha384-5bOKVP1JAsV2lpzCrvNxDsgBg/FrwwHfDcgmtE7quy/iY+stYq7ORPYbkzJYffwS" crossorigin="anonymous">
<link rel="stylesheet" href="/static/main.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.26.3/js/uikit.min.js" integrity="sha384-6OYggLGXv4OPaVsh9O/0baGeEYFu1r1FE3+sNtPeDk6JofnNNZb2sHKzUa7wum04" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.13.0/moment.min.js" integrity="sha384-MV8AwEgYXLMw5ZPj4763CSPk+tYGoUZGdwr/+EfkAZ1Dl2rGHxOMpQ1IW7VtyUPn" crossorigin="anonymous"></script>
</head>
<body>
<nav class="uk-navbar uk-navbar-attached navbar">
<div class="uk-container uk-container-center" style="position: relative;">
<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>
(function($) {
var humanizeTimestamps = function() {
$('time[datetime]').each(function() {
var $this = $(this);
$this.text(moment($this.attr('datetime')).fromNow());
});
};
humanizeTimestamps();
window.setInterval(humanizeTimestamps, 15 * 1000);
})(jQuery);
</script>
</body>
</html>