1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
movim_ynh/sources/app/widgets/Account/account.tpl

35 lines
1.5 KiB
Smarty

<div class="tabelem" title="{$c->__('account.title')}" id="account_widget" >
<ul class="middle active divided ">
<li class="subheader">{$c->__('account.password_change_title')}</li>
<li>
<span class="icon gray">
<i class="zmdi zmdi-key"></i>
</span>
<form name="password" class="">
<div>
<input type="password" placeholder="Choose a nice password" name="password"/>
<label>{$c->__('account.password')}</label>
</div>
<div>
<input type="password" placeholder="Type your password again" name="password_confirmation"/>
<label>{$c->__('account.password_confirmation')}</label>
</div>
<a onclick="
Account_ajaxChangePassword(movim_form_to_json('password'));
this.className='button oppose inactive';" class="button color oppose">
{$c->__('button.submit')}
</a>
</form>
</li>
<li class="subheader">{$c->__('account.delete_title')}</li>
<li class="action" onclick="Account_ajaxRemoveAccount()">
<span class="icon red">
<i class="zmdi zmdi-delete"></i>
</span>
<div class="action">
<i class="zmdi zmdi-chevron-right"></i>
</div>
<span>{$c->__('account.delete')}</span>
</li>
</ul>
</div>