Fix ACP templates markup
parent
e887dda37a
commit
f09f1f6ed8
@ -1,109 +1,121 @@
|
|||||||
<div class="registration panel panel-primary">
|
<div class="row">
|
||||||
<div class="panel-heading">
|
<div class="col-xs-12">
|
||||||
[[admin/manage/registration:queue]]
|
<div class="registration panel panel-primary">
|
||||||
</div>
|
<div class="panel-heading">
|
||||||
<!-- IF !users.length -->
|
[[admin/manage/registration:queue]]
|
||||||
<p class="panel-body">
|
</div>
|
||||||
[[admin/manage/registration:description, {config.relative_path}/admin/settings/user]]
|
<!-- IF !users.length -->
|
||||||
</p>
|
<p class="panel-body">
|
||||||
<!-- ENDIF !users.length -->
|
[[admin/manage/registration:description, {config.relative_path}/admin/settings/user]]
|
||||||
<div class="table-responsive">
|
</p>
|
||||||
<table class="table table-striped users-list">
|
<!-- ENDIF !users.length -->
|
||||||
<tr>
|
<div class="table-responsive">
|
||||||
<th>[[admin/manage/registration:list.name]]</th>
|
<table class="table table-striped users-list">
|
||||||
<th>[[admin/manage/registration:list.email]]</th>
|
<thead>
|
||||||
<th class="hidden-xs">[[admin/manage/registration:list.ip]]</th>
|
<tr>
|
||||||
<th class="hidden-xs">[[admin/manage/registration:list.time]]</th>
|
<th>[[admin/manage/registration:list.name]]</th>
|
||||||
<!-- BEGIN customHeaders -->
|
<th>[[admin/manage/registration:list.email]]</th>
|
||||||
<th class="hidden-xs">{customHeaders.label}</th>
|
<th class="hidden-xs">[[admin/manage/registration:list.ip]]</th>
|
||||||
<!-- END customHeaders -->
|
<th class="hidden-xs">[[admin/manage/registration:list.time]]</th>
|
||||||
<th></th>
|
<!-- BEGIN customHeaders -->
|
||||||
</tr>
|
<th class="hidden-xs">{customHeaders.label}</th>
|
||||||
<!-- BEGIN users -->
|
<!-- END customHeaders -->
|
||||||
<tr data-username="{users.username}">
|
<th></th>
|
||||||
<td>
|
</tr>
|
||||||
<!-- IF users.usernameSpam -->
|
</thead>
|
||||||
<i class="fa fa-times-circle text-danger" title="[[admin/manage/registration:list.username-spam, {users.spamData.username.frequency}, {users.spamData.username.appears}, {users.spamData.username.confidence}]]"></i>
|
<tbody>
|
||||||
<!-- ELSE -->
|
<!-- BEGIN users -->
|
||||||
<i class="fa fa-check text-success"></i>
|
<tr data-username="{users.username}">
|
||||||
<!-- ENDIF users.usernameSpam -->
|
<td>
|
||||||
{users.username}
|
<!-- IF users.usernameSpam -->
|
||||||
</td>
|
<i class="fa fa-times-circle text-danger" title="[[admin/manage/registration:list.username-spam, {users.spamData.username.frequency}, {users.spamData.username.appears}, {users.spamData.username.confidence}]]"></i>
|
||||||
<td>
|
<!-- ELSE -->
|
||||||
<!-- IF users.emailSpam -->
|
<i class="fa fa-check text-success"></i>
|
||||||
<i class="fa fa-times-circle text-danger" title="[[admin/manage/registration:list.email-spam, {users.spamData.email.frequency}, {users.spamData.email.appears}]]"></i>
|
<!-- ENDIF users.usernameSpam -->
|
||||||
<!-- ELSE -->
|
{users.username}
|
||||||
<i class="fa fa-check text-success"></i>
|
</td>
|
||||||
<!-- ENDIF users.emailSpam -->
|
<td>
|
||||||
{users.email}
|
<!-- IF users.emailSpam -->
|
||||||
</td>
|
<i class="fa fa-times-circle text-danger" title="[[admin/manage/registration:list.email-spam, {users.spamData.email.frequency}, {users.spamData.email.appears}]]"></i>
|
||||||
<td class="hidden-xs">
|
<!-- ELSE -->
|
||||||
<!-- IF users.ipSpam -->
|
<i class="fa fa-check text-success"></i>
|
||||||
<i class="fa fa-times-circle text-danger" title="[[admin/manage/registration:list.ip-spam, {users.spamData.ip.frequency}, {users.spamData.ip.appears}]]"></i>
|
<!-- ENDIF users.emailSpam -->
|
||||||
<!-- ELSE -->
|
{users.email}
|
||||||
<i class="fa fa-check text-success"></i>
|
</td>
|
||||||
<!-- ENDIF users.ipSpam -->
|
<td class="hidden-xs">
|
||||||
{users.ip}
|
<!-- IF users.ipSpam -->
|
||||||
<!-- BEGIN users.ipMatch -->
|
<i class="fa fa-times-circle text-danger" title="[[admin/manage/registration:list.ip-spam, {users.spamData.ip.frequency}, {users.spamData.ip.appears}]]"></i>
|
||||||
<br>
|
<!-- ELSE -->
|
||||||
<!-- IF users.ipMatch.picture -->
|
<i class="fa fa-check text-success"></i>
|
||||||
<img src="{users.ipMatch.picture}" class="user-img"/>
|
<!-- ENDIF users.ipSpam -->
|
||||||
<!-- ELSE -->
|
{users.ip}
|
||||||
<div class="user-img avatar avatar-sm" style="background-color: {users.ipMatch.icon:bgColor};">{users.ipMatch.icon:text}</div>
|
<!-- BEGIN users.ipMatch -->
|
||||||
<!-- ENDIF users.ipMatch.picture -->
|
<br>
|
||||||
<a href="/uid/{users.ipMatch.uid}">{users.ipMatch.username}</a>
|
<!-- IF users.ipMatch.picture -->
|
||||||
<!-- END users.ipMatch -->
|
<img src="{users.ipMatch.picture}" class="user-img"/>
|
||||||
</td>
|
<!-- ELSE -->
|
||||||
<td class="hidden-xs">
|
<div class="user-img avatar avatar-sm" style="background-color: {users.ipMatch.icon:bgColor};">{users.ipMatch.icon:text}</div>
|
||||||
<span class="timeago" title="{users.timestampISO}"></span>
|
<!-- ENDIF users.ipMatch.picture -->
|
||||||
</td>
|
<a href="/uid/{users.ipMatch.uid}">{users.ipMatch.username}</a>
|
||||||
|
<!-- END users.ipMatch -->
|
||||||
<!-- BEGIN users.customRows -->
|
</td>
|
||||||
<td class="hidden-xs">{users.customRows.value}</td>
|
<td class="hidden-xs">
|
||||||
<!-- END users.customRows -->
|
<span class="timeago" title="{users.timestampISO}"></span>
|
||||||
|
</td>
|
||||||
<td>
|
|
||||||
<div class="btn-group pull-right">
|
|
||||||
<button class="btn btn-success btn-xs" data-action="accept"><i class="fa fa-check"></i></button>
|
|
||||||
<button class="btn btn-danger btn-xs" data-action="delete"><i class="fa fa-times"></i></button>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<!-- END users -->
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- IMPORT partials/paginator.tpl -->
|
<!-- BEGIN users.customRows -->
|
||||||
</div>
|
<td class="hidden-xs">{users.customRows.value}</td>
|
||||||
|
<!-- END users.customRows -->
|
||||||
|
|
||||||
<div class="invitations panel panel-success">
|
<td>
|
||||||
<div class="panel-heading">
|
<div class="btn-group pull-right">
|
||||||
[[admin/manage/registration:invitations]]
|
<button class="btn btn-success btn-xs" data-action="accept"><i class="fa fa-check"></i></button>
|
||||||
</div>
|
<button class="btn btn-danger btn-xs" data-action="delete"><i class="fa fa-times"></i></button>
|
||||||
<p class="panel-body">
|
</div>
|
||||||
[[admin/manage/registration:invitations.description]]
|
</td>
|
||||||
</p>
|
</tr>
|
||||||
<div class="table-responsive">
|
<!-- END users -->
|
||||||
<table class="table table-striped invites-list">
|
</tbody>
|
||||||
<tr>
|
</table>
|
||||||
<th>[[admin/manage/registration:invitations.inviter-username]]</th>
|
</div>
|
||||||
<th>[[admin/manage/registration:invitations.invitee-email]]</th>
|
|
||||||
<th>[[admin/manage/registration:invitations.invitee-username]]</th>
|
<!-- IMPORT partials/paginator.tpl -->
|
||||||
</tr>
|
</div>
|
||||||
<!-- BEGIN invites -->
|
|
||||||
<!-- BEGIN invites.invitations -->
|
<div class="invitations panel panel-success">
|
||||||
<tr data-invitation-mail="{invites.invitations.email}"
|
<div class="panel-heading">
|
||||||
data-invited-by="{invites.username}">
|
[[admin/manage/registration:invitations]]
|
||||||
<td class ="invited-by"><!-- IF @first -->{invites.username}<!-- ENDIF @first --></td>
|
</div>
|
||||||
<td>{invites.invitations.email}</td>
|
<p class="panel-body">
|
||||||
<td>{invites.invitations.username}
|
[[admin/manage/registration:invitations.description]]
|
||||||
<div class="btn-group pull-right">
|
</p>
|
||||||
<button class="btn btn-danger btn-xs" data-action="delete"><i class="fa fa-times"></i></button>
|
<div class="table-responsive">
|
||||||
</div>
|
<table class="table table-striped invites-list">
|
||||||
</td>
|
<thead>
|
||||||
</tr>
|
<tr>
|
||||||
<!-- END invites.invitations -->
|
<th>[[admin/manage/registration:invitations.inviter-username]]</th>
|
||||||
<!-- END invites -->
|
<th>[[admin/manage/registration:invitations.invitee-email]]</th>
|
||||||
</table>
|
<th>[[admin/manage/registration:invitations.invitee-username]]</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<!-- BEGIN invites -->
|
||||||
|
<!-- BEGIN invites.invitations -->
|
||||||
|
<tr data-invitation-mail="{invites.invitations.email}"
|
||||||
|
data-invited-by="{invites.username}">
|
||||||
|
<td class ="invited-by"><!-- IF @first -->{invites.username}<!-- ENDIF @first --></td>
|
||||||
|
<td>{invites.invitations.email}</td>
|
||||||
|
<td>{invites.invitations.username}
|
||||||
|
<div class="btn-group pull-right">
|
||||||
|
<button class="btn btn-danger btn-xs" data-action="delete"><i class="fa fa-times"></i></button>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<!-- END invites.invitations -->
|
||||||
|
<!-- END invites -->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue