Fix ACP templates markup

v1.18.x
pichalite 8 years ago
parent e887dda37a
commit f09f1f6ed8

@ -1,6 +1,6 @@
#navigation { #navigation {
#active-navigation { #active-navigation {
width: 100%; float: none;
min-height: 50px; min-height: 50px;
border: 1px solid #eee; border: 1px solid #eee;
overflow: auto; overflow: auto;

@ -1,5 +1,5 @@
<div class="post-cache"> <div class="row post-cache">
<div class="col-lg-9"> <div class="col-lg-9">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"><i class="fa fa-calendar-o"></i> [[admin/advanced/cache:post-cache]]</div> <div class="panel-heading"><i class="fa fa-calendar-o"></i> [[admin/advanced/cache:post-cache]]</div>

@ -1,4 +1,4 @@
<div class="database"> <div class="row database">
<div class="col-sm-9"> <div class="col-sm-9">
<!-- IF mongo --> <!-- IF mongo -->
<div class="panel panel-default"> <div class="panel panel-default">

@ -1,4 +1,4 @@
<div class="events"> <div class="row events">
<div class="col-lg-9"> <div class="col-lg-9">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"><i class="fa fa-calendar-o"></i> [[admin/advanced/events:events]]</div> <div class="panel-heading"><i class="fa fa-calendar-o"></i> [[admin/advanced/events:events]]</div>

@ -1,4 +1,4 @@
<div class="logs"> <div class="row logs">
<div class="col-lg-9"> <div class="col-lg-9">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"><i class="fa fa-file-text-o"></i> [[admin/advanced/logs:logs]]</div> <div class="panel-heading"><i class="fa fa-file-text-o"></i> [[admin/advanced/logs:logs]]</div>

@ -1,4 +1,4 @@
<div id="skins" class="row skins"> <div id="skins" class="skins">
<div class="directory row" id="bootstrap_themes"> <div class="directory row" id="bootstrap_themes">
<i class="fa fa-refresh fa-spin"></i> [[admin/appearance/skins:loading]] <i class="fa fa-refresh fa-spin"></i> [[admin/appearance/skins:loading]]
</div> </div>

@ -1,4 +1,4 @@
<div class="logger"> <div class="row logger">
<div class="col-lg-9"> <div class="col-lg-9">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading">[[admin/development/logger:logger-settings]]</div> <div class="panel-heading">[[admin/development/logger:logger-settings]]</div>

@ -1,4 +1,4 @@
<div id="rewards"> <div id="rewards" class="row">
<div class="col-lg-9"> <div class="col-lg-9">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading">[[admin/extend/rewards:rewards]]</div> <div class="panel-heading">[[admin/extend/rewards:rewards]]</div>

@ -1,4 +1,4 @@
<div id="navigation"> <div class="row" id="navigation">
<div class="col-lg-9"> <div class="col-lg-9">
<div class="clearfix"> <div class="clearfix">
<ul id="active-navigation" class="nav navbar-nav"> <ul id="active-navigation" class="nav navbar-nav">

@ -1,4 +1,4 @@
<div class="social settings" class="row"> <div class="social settings">
<form role="form"> <form role="form">
<div class="row"> <div class="row">
<div class="col-sm-2 col-xs-12 settings-header">[[admin/general/social:post-sharing]]</div> <div class="col-sm-2 col-xs-12 settings-header">[[admin/general/social:post-sharing]]</div>

@ -1,4 +1,4 @@
<div class="sounds settings" class="row"> <div class="sounds settings row">
<div class="col-xs-12"> <div class="col-xs-12">
<form role="form"> <form role="form">
<div class="row"> <div class="row">

@ -1,5 +1,4 @@
<div class="flags"> <div class="row flags">
<div class="col-lg-12"> <div class="col-lg-12">
<div class="text-center"> <div class="text-center">

@ -1,4 +1,4 @@
<div class="flags"> <div class="row ip-blacklist">
<div class="col-lg-12"> <div class="col-lg-12">
<p class="lead"> <p class="lead">
[[admin/manage/ip-blacklist:lead]] [[admin/manage/ip-blacklist:lead]]

@ -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 -->
</td>
<td class="hidden-xs">
<span class="timeago" title="{users.timestampISO}"></span>
</td>
<!-- BEGIN users.customRows --> <!-- BEGIN users.customRows -->
<td class="hidden-xs">{users.customRows.value}</td> <td class="hidden-xs">{users.customRows.value}</td>
<!-- END users.customRows --> <!-- END users.customRows -->
<td> <td>
<div class="btn-group pull-right"> <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-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> <button class="btn btn-danger btn-xs" data-action="delete"><i class="fa fa-times"></i></button>
</div> </div>
</td> </td>
</tr> </tr>
<!-- END users --> <!-- END users -->
</table> </tbody>
</div> </table>
</div>
<!-- IMPORT partials/paginator.tpl --> <!-- IMPORT partials/paginator.tpl -->
</div> </div>
<div class="invitations panel panel-success"> <div class="invitations panel panel-success">
<div class="panel-heading"> <div class="panel-heading">
[[admin/manage/registration:invitations]] [[admin/manage/registration:invitations]]
</div> </div>
<p class="panel-body"> <p class="panel-body">
[[admin/manage/registration:invitations.description]] [[admin/manage/registration:invitations.description]]
</p> </p>
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-striped invites-list"> <table class="table table-striped invites-list">
<tr> <thead>
<th>[[admin/manage/registration:invitations.inviter-username]]</th> <tr>
<th>[[admin/manage/registration:invitations.invitee-email]]</th> <th>[[admin/manage/registration:invitations.inviter-username]]</th>
<th>[[admin/manage/registration:invitations.invitee-username]]</th> <th>[[admin/manage/registration:invitations.invitee-email]]</th>
</tr> <th>[[admin/manage/registration:invitations.invitee-username]]</th>
<!-- BEGIN invites --> </tr>
<!-- BEGIN invites.invitations --> </thead>
<tr data-invitation-mail="{invites.invitations.email}" <tbody>
data-invited-by="{invites.username}"> <!-- BEGIN invites -->
<td class ="invited-by"><!-- IF @first -->{invites.username}<!-- ENDIF @first --></td> <!-- BEGIN invites.invitations -->
<td>{invites.invitations.email}</td> <tr data-invitation-mail="{invites.invitations.email}"
<td>{invites.invitations.username} data-invited-by="{invites.username}">
<div class="btn-group pull-right"> <td class ="invited-by"><!-- IF @first -->{invites.username}<!-- ENDIF @first --></td>
<button class="btn btn-danger btn-xs" data-action="delete"><i class="fa fa-times"></i></button> <td>{invites.invitations.email}</td>
</div> <td>{invites.invitations.username}
</td> <div class="btn-group pull-right">
</tr> <button class="btn btn-danger btn-xs" data-action="delete"><i class="fa fa-times"></i></button>
<!-- END invites.invitations --> </div>
<!-- END invites --> </td>
</table> </tr>
<!-- END invites.invitations -->
<!-- END invites -->
</tbody>
</table>
</div>
</div>
</div> </div>
</div> </div>

@ -1,5 +1,4 @@
<div class="tags row"> <div class="tags row">
<div class="col-lg-9"> <div class="col-lg-9">
<div class="panel panel-default tag-management"> <div class="panel panel-default tag-management">
<div class="panel-body"> <div class="panel-body">
@ -76,5 +75,4 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>

@ -71,37 +71,41 @@
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-striped users-table"> <table class="table table-striped users-table">
<tr> <thead>
<th><input component="user/select/all" type="checkbox"/></th> <tr>
<th>[[admin/manage/users:users.uid]]</th> <th><input component="user/select/all" type="checkbox"/></th>
<th>[[admin/manage/users:users.username]]</th> <th>[[admin/manage/users:users.uid]]</th>
<th>[[admin/manage/users:users.email]]</th> <th>[[admin/manage/users:users.username]]</th>
<th class="text-right">[[admin/manage/users:users.postcount]]</th> <th>[[admin/manage/users:users.email]]</th>
<th class="text-right">[[admin/manage/users:users.reputation]]</th> <th class="text-right">[[admin/manage/users:users.postcount]]</th>
<th class="text-right">[[admin/manage/users:users.flags]]</th> <th class="text-right">[[admin/manage/users:users.reputation]]</th>
<th>[[admin/manage/users:users.joined]]</th> <th class="text-right">[[admin/manage/users:users.flags]]</th>
<th>[[admin/manage/users:users.last-online]]</th> <th>[[admin/manage/users:users.joined]]</th>
<th>[[admin/manage/users:users.banned]]</th> <th>[[admin/manage/users:users.last-online]]</th>
</tr> <th>[[admin/manage/users:users.banned]]</th>
<!-- BEGIN users --> </tr>
<tr class="user-row"> </thead>
<th><input component="user/select/single" data-uid="{users.uid}" type="checkbox"/></th> <tbody>
<td class="text-right">{users.uid}</td> <!-- BEGIN users -->
<td><i class="administrator fa fa-shield text-success<!-- IF !users.administrator --> hidden<!-- ENDIF !users.administrator -->"></i><a href="{config.relative_path}/user/{users.userslug}"> {users.username}</a></td> <tr class="user-row">
<th><input component="user/select/single" data-uid="{users.uid}" type="checkbox"/></th>
<td class="text-right">{users.uid}</td>
<td><i class="administrator fa fa-shield text-success<!-- IF !users.administrator --> hidden<!-- ENDIF !users.administrator -->"></i><a href="{config.relative_path}/user/{users.userslug}"> {users.username}</a></td>
<td> <td>
<!-- IF config.requireEmailConfirmation --> <!-- IF config.requireEmailConfirmation -->
<i class="validated fa fa-check text-success<!-- IF !users.email:confirmed --> hidden<!-- ENDIF !users.email:confirmed -->" title="validated"></i> <i class="validated fa fa-check text-success<!-- IF !users.email:confirmed --> hidden<!-- ENDIF !users.email:confirmed -->" title="validated"></i>
<i class="notvalidated fa fa-times text-danger<!-- IF users.email:confirmed --> hidden<!-- ENDIF users.email:confirmed -->" title="not validated"></i> <i class="notvalidated fa fa-times text-danger<!-- IF users.email:confirmed --> hidden<!-- ENDIF users.email:confirmed -->" title="not validated"></i>
<!-- ENDIF config.requireEmailConfirmation --> {users.email}</td> <!-- ENDIF config.requireEmailConfirmation --> {users.email}</td>
<td class="text-right">{users.postcount}</td> <td class="text-right">{users.postcount}</td>
<td class="text-right">{users.reputation}</td> <td class="text-right">{users.reputation}</td>
<td class="text-right"><!-- IF users.flags -->{users.flags}<!-- ELSE -->0<!-- ENDIF users.flags --></td> <td class="text-right"><!-- IF users.flags -->{users.flags}<!-- ELSE -->0<!-- ENDIF users.flags --></td>
<td><span class="timeago" title="{users.joindateISO}"></span></td> <td><span class="timeago" title="{users.joindateISO}"></span></td>
<td><span class="timeago" title="{users.lastonlineISO}"></span></td> <td><span class="timeago" title="{users.lastonlineISO}"></span></td>
<td class="text-center"><i class="ban fa fa-gavel text-danger<!-- IF !users.banned --> hidden<!-- ENDIF !users.banned -->"></i></td> <td class="text-center"><i class="ban fa fa-gavel text-danger<!-- IF !users.banned --> hidden<!-- ENDIF !users.banned -->"></i></td>
</tr> </tr>
<!-- END users --> <!-- END users -->
</tbody>
</table> </table>
</div> </div>

Loading…
Cancel
Save