Minified css & js, added about section in homepage

This commit is contained in:
Simon 2018-11-16 20:19:03 -05:00
parent 53317ab606
commit e3f3a9cf7f
5 changed files with 33 additions and 18 deletions

View File

@ -1,3 +1,6 @@
a {
border-bottom: none !important;
}
.card {
margin-top: 1em;
}

9
static/css/style.css Normal file

File diff suppressed because one or more lines are too long

1
static/js/script.js Normal file

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
~{{ stats["total_size"] | filesizeformat }} from {{ stats["website_count"] }} websites</p>
{% else %}
<p class="lead">We are currently experiencing a high volume of traffic. The search function
may be unresponsive.</p>
may be unresponsive.</p>
{% endif %}
<p></p>
</div>
@ -31,11 +31,15 @@
</div>
<div class="col-md-1">
{% if show_captcha %}
<script>function f(token) {document.getElementById("sfrm").submit();}</script>
<script>function f(token) {
document.getElementById("sfrm").submit();
}</script>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<button class="g-recaptcha btn btn-primary btn-shadow" data-sitekey="6LcCXWkUAAAAAJo2NR9_m09Obn5YmDrI97sGrr2f" data-callback="f">Search</button>
<button class="g-recaptcha btn btn-primary btn-shadow"
data-sitekey="6LcCXWkUAAAAAJo2NR9_m09Obn5YmDrI97sGrr2f" data-callback="f">Search
</button>
{% else %}
<input class="btn btn-primary btn-shadow" type="submit" value="Search nocap">
<input class="btn btn-primary btn-shadow" type="submit" value="Search">
{% endif %}
</div>
</div>
@ -44,6 +48,16 @@
</div>
</div>
<div class="card">
<div class="card-header">About</div>
<div class="card-body">
<p>Web frontend and backend by <a href="https://github.com/simon987">simon987</a>,
HTTP crawler by <a href="https://github.com/terorie">terorie</a>,
hosting provided by <a href="https://the-eye.eu/">The eye</a>
</p>
</div>
</div>
</div>
<a href="https://github.com/simon987">

View File

@ -1,5 +1,3 @@
<!DOCTYPE html>
<html lang="en">
<head>
@ -7,18 +5,8 @@
<title>{{ title }}</title>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
<script src="/static/js/popper.min.js" type="text/javascript"></script>
<script src="/static/js/jquery.min.js" type="text/javascript"></script>
<script src="/static/js/bootstrap.min.js" type="text/javascript"></script>
<script src="/static/js/Chart.min.js" type="text/javascript"></script>
<script src="/static/js/ion.rangeSlider.min.js" type="text/javascript"></script>
<link href="/static/css/fontawesome-all.min.css" rel="stylesheet" type="text/css">
<link href="/static/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="/static/css/ion.rangeSlider.css" rel="stylesheet" type="text/css">
<link href="/static/css/ion.rangeSlider.skinFlat.css" rel="stylesheet" type="text/css">
<link href="/static/css/main.css?v=1" rel="stylesheet" type="text/css">
<script src="/static/js/script.js"></script>
<link href="/static/css/style.css" rel="stylesheet" type="text/css">
</head>
<body>