-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
78 changed files
with
155,708 additions
and
5,622 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,5 @@ appyter-* | |
build | ||
data | ||
dist | ||
venv | ||
venv | ||
*.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,8 @@ | ||
{% extends "default/form.j2" %} | ||
|
||
{% block body %} | ||
<div id="_content" class="container loading"> | ||
<div class="text-center"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></div> | ||
<script> | ||
require(['svelte'], function(svelte) { | ||
svelte.render( | ||
document.getElementById("_content"), | ||
'{{ url_for('static', filename='js/form.js') }}', | ||
JSON.parse(atob('{{ ({ 'fields': _fields, 'extras': _config.EXTRAS, 'debug': _config.DEBUG })|jsonify|btoa }}')) | ||
) | ||
}) | ||
</script> | ||
<div id="_content" class="svelte container loading"> | ||
{% include "fragments/loader.j2" %} | ||
<script type="application/json">{{ dict(fields=_fields, js_url=url_for('static', filename='js/form.js'))|jsonify }}</script> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<div class="text-center"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></div> |
14 changes: 3 additions & 11 deletions
14
appyter/profiles/default/templates/fragments/svelte-field.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,4 @@ | ||
<div id={{ this.args.name|jsonify }} class="loading"> | ||
<div class="text-center"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></div> | ||
<script> | ||
require(['svelte'], function(svelte) { | ||
svelte.render( | ||
document.getElementById({{ this.args.name|jsonify }}), | ||
{{ this.js_url|jsonify }}, | ||
JSON.parse(atob('{{ this|jsonify|btoa }}')) | ||
) | ||
}) | ||
</script> | ||
<div id={{ this.args.name|jsonify }} class="svelte loading"> | ||
{% include "fragments/loader.j2" %} | ||
<script type="application/json">{{ dict(this, js_url=this.js_url)|jsonify }}</script> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.