mirror of
https://github.com/simon987/od-database.git
synced 2025-04-18 18:06:44 +00:00
46 lines
1.6 KiB
HTML
46 lines
1.6 KiB
HTML
{% extends "layout.html" %}
|
|
{% set current_page = "home" %}
|
|
{% set title = "OD-Database - Home" %}
|
|
|
|
{% block body %}
|
|
|
|
<div class="container">
|
|
<div class="jumbotron">
|
|
<h1 class="text-monospace" style="font-size: 3.5rem;">OD-Database</h1>
|
|
|
|
{% if stats and stats["total_size"] %}
|
|
<p class="lead">{{ stats["total_count"] }} files totalling
|
|
~{{ stats["total_size"] | filesizeformat }} from {{ stats["website_count"] }} websites</p>
|
|
{% if current_websites %}
|
|
<p>Currently indexing <code>{{ current_websites }}</code><span class="vim-caret"> </span> </p>
|
|
{% endif %}
|
|
{% else %}
|
|
<p class="lead">We're currently experiencing a high volume of traffic. The search function
|
|
may be unresponsive.</p>
|
|
{% endif %}
|
|
<p></p>
|
|
</div>
|
|
</div>
|
|
<div class="container">
|
|
|
|
<div class="card">
|
|
<div class="card-header">Search</div>
|
|
<div class="card-body">
|
|
<form action="/search">
|
|
|
|
<div class="form-group">
|
|
<input class="form-control" name="q" id="q" placeholder="Query">
|
|
</div>
|
|
|
|
<input class="btn btn-primary btn-shadow" type="submit" value="Search">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a href="https://github.com/simon987">
|
|
<img class="github-banner" src="/static/img/forkme_right_white_ffffff.png" alt="Fork me on GitHub">
|
|
</a>
|
|
{% endblock body %}
|