aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/_import.twig
diff options
context:
space:
mode:
authorMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-04-02 20:55:19 +0300
committerMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-04-02 20:55:19 +0300
commit182faf2696b38502d4784efc3f84f2f00290343f (patch)
tree619e725c1820773dcd8bb1fe9cbd07c0c325e865 /themes/default/_import.twig
parent22db488d21bc23dc28fc2d60574803525fe53b53 (diff)
downloadwallabag-182faf2696b38502d4784efc3f84f2f00290343f.tar.gz
wallabag-182faf2696b38502d4784efc3f84f2f00290343f.tar.zst
wallabag-182faf2696b38502d4784efc3f84f2f00290343f.zip
import without cron
Diffstat (limited to 'themes/default/_import.twig')
-rwxr-xr-xthemes/default/_import.twig15
1 files changed, 15 insertions, 0 deletions
diff --git a/themes/default/_import.twig b/themes/default/_import.twig
new file mode 100755
index 00000000..926696c1
--- /dev/null
+++ b/themes/default/_import.twig
@@ -0,0 +1,15 @@
1<script type="text/javascript">
2<!--
3 $(document).ready(function() {
4 $("body").css("cursor", "wait");
5
6 setTimeout(function(){
7 window.location = '/?import';
8 }, {{ import.delay }} );
9 });
10//-->
11</script>
12<div class="messages warning">
13 <p>{% trans "Download required for " %} {{ import.recordsDownloadRequired }} {% trans "records" %}.</p>
14 <p>{% trans "Downloading next " %} {{ import.recordsUnderDownload }} {% trans "articles, please wait" %}...</p>
15</div>