2020-10-19 19:57:15 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<link rel="stylesheet" href="/bulma.min.css">
|
|
|
|
<link rel="stylesheet" href="/bulma-prefers-dark.min.css">
|
|
|
|
<link rel="stylesheet" href="/style.css">
|
|
|
|
<script type="text/javascript" src="/jquery-3.4.1.min.js"></script>
|
2020-10-20 12:19:48 +02:00
|
|
|
<script type="text/javascript" src="/filesize.min.js"></script>
|
2020-10-19 19:57:15 +02:00
|
|
|
<title>{{ db_name }} | Updates</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2020-12-21 12:52:09 +01:00
|
|
|
<section class="hero is-light">
|
2020-10-19 19:57:15 +02:00
|
|
|
<div class="hero-body">
|
|
|
|
<div class="container">
|
|
|
|
|
2020-10-20 12:19:48 +02:00
|
|
|
<a href="/">
|
|
|
|
<div class="columns is-flex is-centered mb-6">
|
|
|
|
<figure class="image is-128x128">
|
|
|
|
<img id="logo-white" src="logo-white.svg" alt="milli logo in white">
|
|
|
|
<img id="logo-black" src="logo-black.svg" alt="milli logo in black">
|
|
|
|
</figure>
|
|
|
|
</div>
|
|
|
|
</a>
|
2020-10-20 12:09:38 +02:00
|
|
|
|
|
|
|
<nav class="level">
|
|
|
|
<div class="level-item has-text-centered">
|
|
|
|
<div>
|
|
|
|
<p class="heading">Database Name</p>
|
|
|
|
<p class="title">{{ db_name }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="level-item has-text-centered">
|
|
|
|
<div>
|
|
|
|
<p class="heading">Database Size</p>
|
|
|
|
<p class="title" id="db-size">{{ db_size }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="level-item has-text-centered">
|
|
|
|
<div>
|
|
|
|
<p class="heading">Number of Documents</p>
|
|
|
|
<p class="title" id="docs-count">{{ docs_count }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|
2020-10-19 19:57:15 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<ol id="results" class="content">
|
|
|
|
|
|
|
|
{% for update in updates %}
|
2020-10-20 12:09:38 +02:00
|
|
|
{% match update %}
|
2020-10-21 15:38:28 +02:00
|
|
|
{% when UpdateStatus::Pending with { update_id, meta } %}
|
2020-10-20 12:09:38 +02:00
|
|
|
<li id="update-{{ update_id }}" class="document">
|
|
|
|
<ol>
|
|
|
|
<li class="field">
|
2020-10-20 12:19:48 +02:00
|
|
|
<div class="attribute">update id</div><div class="updateId content">{{ update_id }}</div>
|
|
|
|
<div class="attribute">update status</div><div class="updateStatus content">pending</div>
|
2020-10-20 12:09:38 +02:00
|
|
|
</li>
|
|
|
|
</ol>
|
|
|
|
</li>
|
2020-10-21 15:38:28 +02:00
|
|
|
{% when UpdateStatus::Processed with { update_id, meta } %}
|
2020-10-20 12:09:38 +02:00
|
|
|
<li id="update-{{ update_id }}" class="document">
|
|
|
|
<ol>
|
|
|
|
<li class="field">
|
2020-10-20 12:19:48 +02:00
|
|
|
<div class="attribute">update id</div><div class="updateId content">{{ update_id }}</div>
|
2020-12-21 12:52:09 +01:00
|
|
|
<div class="attribute">update status</div><div class="updateStatus content">{{ meta }}</div>
|
2020-10-20 12:09:38 +02:00
|
|
|
</li>
|
|
|
|
</ol>
|
|
|
|
</li>
|
2020-11-29 12:23:52 +01:00
|
|
|
{% when UpdateStatus::Aborted with { update_id, meta } %}
|
|
|
|
<li id="update-{{ update_id }}" class="document">
|
|
|
|
<ol>
|
|
|
|
<li class="field">
|
|
|
|
<div class="attribute">update id</div><div class="updateId content">{{ update_id }}</div>
|
|
|
|
<div class="attribute">update status</div><div class="updateStatus content">aborted</div>
|
|
|
|
</li>
|
|
|
|
</ol>
|
|
|
|
</li>
|
2020-10-20 12:09:38 +02:00
|
|
|
{% else %}
|
|
|
|
{% endmatch %}
|
2020-10-19 19:57:15 +02:00
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
</ol>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
<script type="text/javascript" src="/updates-script.js"></script>
|
|
|
|
|
|
|
|
</html>
|