rust-search-extension/docs/templates/update.html

41 lines
No EOL
1.4 KiB
HTML

{% extends "juice/templates/page.html" %}
{% block head %}
<link rel="stylesheet" href="{{ get_url(path="index.css") }}">
<link rel="stylesheet" href="{{ get_url(path="carbon.css") }}">
{% endblock head %}
{% block content %}
<div class="heading-text">{{ page.description }}</div>
<br>
<div class="update-progress">The search index is being updated, please wait for a second...</div>
<ul class="index-list">
</ul>
<blockquote>
<h1>Notice</h1>
<p>
If you encounter an auto-opening of this page when you launch your browser,
this is because you have turned on the auto-update configuration in the <span><b>settings page</b></span>.
</p>
<p>
This auto-update is not intended for an extension version update, it's for the offline search index instead.
This is mandatory and only necessary for the local index updating.
</p>
<p>You can enable/disable the auto-update in the extension's <span><b>settings page</b></span>.</p>
</blockquote>
<div>
</div>
{% endblock content %}
{% block footer %}
<iframe id="footer" src="https://huhu.io/extension-footer.html"
style="display:block;width:100%;border:none;"></iframe>
<script>
window.onmessage = e => {
e.data.hasOwnProperty("frameHeight") && (document.getElementById("footer").style.height = `${e.data.frameHeight}px`)
}
</script>
<script src="/js/update-index.js" type="module"></script>
{% endblock footer %}