improvements and fixes

This commit is contained in:
Unknown
2018-06-01 15:53:06 +02:00
parent 4871b6194c
commit fb852b35a6
14 changed files with 91 additions and 42 deletions

View File

@@ -9,17 +9,24 @@
<h3>
{% trans 'Importing Recipes' %}
</h3>
<br/>
<br/>
<br/>
<br/>
<br/>
<div class="text-center">
<i class="fas fa-sync fa-spin fa-10x"></i>
<br/>
<br/>
<br/>
<div class="alert alert-success" role="alert">
{% trans 'This can take a few minutes, depending on the number of recipes in sync, please wait.' %}
</div>
</div>
<script>
$(document).ready(function () {
window.location.href = "http://192.168.178.27:8000/cookbook/api/sync_all"
window.location.href = "{% url 'api_sync' %}"
});
</script>