(Grav GitSync) Automatic Commit from GitSync

This commit is contained in:
GitSync
2026-06-14 00:27:27 +00:00
parent a2920f812d
commit 3c1bfda80f
2933 changed files with 491625 additions and 0 deletions
@@ -0,0 +1,12 @@
{% extends "forms/field.html.twig" %}
{% set passwordStored = value ? 1 : 0 %}
{% set isEncrypted = value|starts_with('gitsync-') %}
{% set value = '' %}
{% block input_attributes %}
type="password"
class="input"
placeholder="{{ passwordStored ? (isEncrypted ? 'Your password is securely stored.' : 'Your password is stored but not encrypted.') : field.placeholder }}"
{{ parent() }}
{% endblock %}
@@ -0,0 +1,17 @@
{% extends "forms/default/field.html.twig" %}
{% block label %}{% endblock %}
{% block input %}
<script type="text/javascript">
GitSync = {
'first_time': {{ git_sync.first_time|json_encode|raw }},
'git_installed': {{ git_sync.git_installed|json_encode|raw }}
};
</script>
<a href="#" data-gitsync-useraction="wizard" class="button button-primary"><i class="fa fa-fw fa-magic"></i> Wizard</a>
<a href="#" data-gitsync-useraction="sync" class="button button-primary"><i class="fa fa-fw fa-cloud"></i> Synchronize</a>
<span class="danger button-bar"><a href="#" data-gitsync-useraction="reset" class="button danger"><i class="fa fa-fw fa-history"></i> Reset Local Copy</a></span>
{% include 'partials/modal-wizard.html.twig' %}
{% include 'partials/modal-reset.html.twig' %}
{% endblock %}