This commit is contained in:
nnduc
2026-10-24 14:03:52 +07:00
commit 4fe046de58
4790 changed files with 311146 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<section>
<h3>{{ __('account.clear') }}</h3>
<br />
<h4 class="gray">{{ __('account.clear_text') }}</h4>
<br />
<h4 class="gray">{{ __('account.clear_text_confirm') }}</h4>
</section>
<footer>
<button onclick="Dialog_ajaxClear()" class="button flat">
{{ __('button.cancel') }}
</button>
<button
name="submit"
class="button flat"
onclick="Account_ajaxClearAccountConfirm(); Dialog_ajaxClear()">
{{ __('button.clear') }}
</button>
</footer>
@@ -0,0 +1,34 @@
<section>
<h3>{{ __('account.delete_bundle_title') }}</h3>
<br />
<h4 class="gray">{{ __('account.delete_bundle_text') }}</h4>
<br />
<ul class="list">
<li>
<span class="primary icon red">
<i class="material-symbols">fingerprint</i>
</span>
<div>
<p>
<span class="fingerprint">
{{ fingerprint.fingerprint }}
</span>
</p>
</div>
</li>
</ul>
</section>
<footer>
<button onclick="Dialog_ajaxClear()" class="button flat">
{{ __('button.cancel') }}
</button>
<button
name="submit"
class="button flat color red"
onclick="Account.deleteBundleConfirm({{ fingerprint.bundleid }}); Dialog_ajaxClear()">
{{ __('button.destroy') }}
</button>
</footer>
@@ -0,0 +1,33 @@
{% if fingerprints %}
<ul class="list middle">
<li class="subheader">
<div>
<p>{{ __('omemo.fingerprints') }}</p>
</div>
</li>
{% for value in fingerprints %}
<li>
<span class="primary icon {% if value.self %}green{% else %}gray{% endif %}">
<i class="material-symbols">fingerprint</i>
</span>
{% if not value.self %}
<span class="control icon active gray divided" onclick="Account.deleteBundle('{{ value.bundleid }}')">
<i class="material-symbols">delete</i>
</span>
<span class="control">
<div class="checkbox">
<input type="checkbox" data-identifier="{{ value.jid }}.{{ value.bundleid }}"
id="accountsessionstate_{{ value.bundleid }}" name="accountsessionstate_{{ value.bundleid }}"
onchange="Account.toggleFingerprintState(this)"/>
<label for="accountsessionstate_{{ value.bundleid }}"></label>
</div>
</span>
{% endif %}
<div>
<p><span class="fingerprint" title="{{ value.bundleid }}">{{ value.fingerprint }}</span></p>
<p class="line">{{ value.bundleid }}{% if value.self %} • {{ __('omemo.this_device') }}{% endif %}</p>
</div>
</li>
{% endfor %}
</ul>
{% endif %}
+26
View File
@@ -0,0 +1,26 @@
<section>
<h3>{{ __('account.password_change_title') }}</h3>
<br />
<form name="password">
<div>
<input type="password" placeholder="Choose a nice password" name="password"/>
<label>{{ __('account.password') }}</label>
</div>
<div>
<input type="password" placeholder="Type your password again" name="password_confirmation"/>
<label>{{ __('account.password_confirmation') }}</label>
</div>
</form>
</section>
<footer>
<button onclick="Dialog_ajaxClear()" class="button flat">
{{ __('button.cancel') }}
</button>
<a id="password_save" onclick="
Account_ajaxChangePasswordConfirm(MovimUtils.formToJson('password'));
this.className='button flat inactive';" class="button flat color oppose">
{{ __('button.save') }}
</a>
</footer>
+18
View File
@@ -0,0 +1,18 @@
<ul class="list middle">
<li class="subheader">
<div>
<p>{{ __('clients.title_full') }}</p>
</div>
</li>
{% for value in presences %}
<li>
<span class="primary icon gray status {{ value.presence }}">
<i class="material-symbols">devices</i>
</span>
<div>
<p class="line">{% if value.name %}{{ value.name }}{% else %}{{ value.resource }}{% endif %}{% if value.current %} <span class="tag color green">{{ __('clients.this_device') }}</span>{% endif %}</p>
<p class="line">{{ value.resource }}</p>
</div>
</li>
{% endfor %}
</ul>
+26
View File
@@ -0,0 +1,26 @@
<section>
<h3>{{ __('account.delete') }}</h3>
<br />
<h4 class="gray">{{ __('account.delete_text') }}</h4>
<br />
<h4 class="gray"></h4>
<form name="confirmdelete">
<div>
<input name="jid" placeholder="username@server.com" type="text" required>
<label>{{ __('account.delete_text_confirm') }}</label>
</div>
</form>
</section>
<footer>
<button onclick="Dialog_ajaxClear()" class="button flat">
{{ __('button.cancel') }}
</button>
<button
name="submit"
class="button flat color red"
onclick="Account_ajaxRemoveAccountConfirm(MovimUtils.formToJson('confirmdelete')); Dialog_ajaxClear()">
{{ __('button.delete') }}
</button>
</footer>
+50
View File
@@ -0,0 +1,50 @@
<div class="tabelem" title="{{ __('account.title') }}" data-mobileicon="account_circle" id="account_widget">
<div id="account_presences"></div>
{% if omemo %}<div id="account_fingerprints"></div>{% endif %}
<ul class="list active">
<li class="subheader">
<div>
<p>{{ __('account.account_management') }}</p>
</div>
</li>
<li onclick="Account_ajaxChangePassword()">
<span class="primary icon">
<a href="#" onclick="listIconClick(event);">
<i class="material-symbols">vpn_key</i>
</a>
</span>
<span class="control icon gray">
<i class="material-symbols">chevron_right</i>
</span>
<div>
<p class="line">{{ __('account.password_change_title') }}</p>
</div>
</li>
<li onclick="Account_ajaxClearAccount()">
<span class="primary icon orange">
<a href="#" onclick="listIconClick(event);">
<i class="material-symbols">eject</i>
</a>
</span>
<span class="control icon gray">
<i class="material-symbols">chevron_right</i>
</span>
<div>
<p class="line">{{ __('account.clear') }}</p>
</div>
</li>
<li onclick="Account_ajaxRemoveAccount()">
<span class="primary icon red">
<a href="#" onclick="listIconClick(event);">
<i class="material-symbols">delete</i>
</a>
</span>
<span class="control icon gray">
<i class="material-symbols">chevron_right</i>
</span>
<div>
<p class="line">{{ __('account.delete') }}</p>
</div>
</li>
</ul>
</div>