2013-12-25 08:05:04 +08:00
|
|
|
<div class="b-settings-accounts g-ui-user-select-none">
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="form-horizontal">
|
|
|
|
<div class="legend">
|
|
|
|
<span class="i18n" data-i18n-text="SETTINGS_ACCOUNTS/LEGEND_ACCOUNTS"></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a class="btn" data-bind="click: addNewAccount">
|
|
|
|
<i class="icon-user-add"></i>
|
|
|
|
|
|
|
|
<span class="i18n" data-i18n-text="SETTINGS_ACCOUNTS/BUTTON_ADD_ACCOUNT"></span>
|
|
|
|
</a>
|
|
|
|
<div class="process-place" data-bind="style: {'visibility': visibility }">
|
2013-12-15 06:42:32 +08:00
|
|
|
<i class="icon-spinner animated"></i>
|
2013-11-12 06:01:44 +08:00
|
|
|
|
|
|
|
<span data-bind="text: processText"></span>
|
|
|
|
</div>
|
|
|
|
<table class="table table-hover list-table" data-bind="i18nUpdate: accounts">
|
|
|
|
<colgroup>
|
|
|
|
<col />
|
|
|
|
<col style="width: 1%" />
|
|
|
|
</colgroup>
|
|
|
|
<tbody data-bind="foreach: accounts">
|
|
|
|
<tr class="account-item">
|
|
|
|
<td>
|
|
|
|
<span class="account-img icon-user"></span>
|
|
|
|
<span class="account-name" data-bind="text: email"></span>
|
|
|
|
<a class="btn btn-small btn-small-small btn-danger pull-right button-delete" data-bind="css: {'delete-access': deleteAccess()}, click: function(oAccount) { $root.deleteAccount(oAccount); }">
|
|
|
|
<span class="i18n" data-i18n-text="SETTINGS_ACCOUNTS/DELETING_ASK"></span>
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<span class="delete-account" data-bind="visible: !deleteAccess() && canBeDalete(), click: function (oAccount) { $root.accountForDeletion(oAccount); }">
|
|
|
|
<i class="icon-trash"></i>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2013-09-25 03:04:44 +08:00
|
|
|
</div>
|