Files
movim-rs/templates/Account/_account_omemo_restore.html
2026-10-24 17:46:20 +07:00

30 lines
1.1 KiB
HTML

<section>
<h3>{{ __('account.omemo_restore') }}</h3>
<br />
<h4 class="gray">{{ __('account.omemo_restore_explain') }}</h4>
<form name="omemo_restore" onsubmit="return false;"
data-nofile="{{ __('account.omemo_no_file') }}"
data-invalid="{{ __('account.omemo_invalid') }}"
data-otheraccount="{{ __('account.omemo_other_account') }}"
data-wrongpassword="{{ __('account.omemo_wrong_password') }}">
<div>
<input type="file" name="file" accept=".json,application/json"/>
<label>{{ __('account.omemo_file') }}</label>
</div>
<div>
<input type="password" name="password" autocomplete="current-password"/>
<label>{{ __('account.password') }}</label>
</div>
</form>
<p class="error" id="omemo_backup_error"></p>
</section>
<footer>
<button onclick="Dialog_ajaxClear()" class="button flat">
{{ __('button.cancel') }}
</button>
<button onclick="Account.omemoRestore()" class="button flat color red">
{{ __('account.omemo_restore_button') }}
</button>
</footer>