Fix ACP templates markup

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

@ -1,10 +1,10 @@
#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;
.active { .active {
background-color: #eee; background-color: #eee;
} }

@ -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">
@ -74,7 +74,7 @@
</div> </div>
<div class="checkbox"> <div class="checkbox">
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect"> <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
<input class="mdl-switch__input" type="checkbox" name="property:loggedIn" <!-- IF enabled.properties.loggedIn -->checked<!-- ENDIF enabled.properties.loggedIn -->/> <input class="mdl-switch__input" type="checkbox" name="property:loggedIn" <!-- IF enabled.properties.loggedIn -->checked<!-- ENDIF enabled.properties.loggedIn -->/>
<span class="mdl-switch__label"><strong>[[admin/general/navigation:only-logged-in]]</strong></span> <span class="mdl-switch__label"><strong>[[admin/general/navigation:only-logged-in]]</strong></span>
</label> </label>
</div> </div>

@ -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">
@ -74,13 +74,13 @@
<div class="input-group"> <div class="input-group">
<span class="input-group-btn"> <span class="input-group-btn">
<input <input
data-action="upload" data-action="upload"
data-title="Upload Sound" data-title="Upload Sound"
data-route="{config.relative_path}/api/admin/upload/sound" data-route="{config.relative_path}/api/admin/upload/sound"
data-accept="audio/*" data-accept="audio/*"
type="button" type="button"
class="btn btn-primary" class="btn btn-primary"
value="[[admin/general/sounds:upload-new-sound]]" value="[[admin/general/sounds:upload-new-sound]]"
></input> ></input>
</span> </span>

@ -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">
@ -106,7 +105,7 @@
</div> </div>
<small> <small>
<span class="pull-right"> <span class="pull-right">
[[posted-in, <a href="{config.relative_path}/category/{posts.category.slug}" target="_blank"><i class="fa {posts.category.icon}"></i> {posts.category.name}</a>]], [[posted-in, <a href="{config.relative_path}/category/{posts.category.slug}" target="_blank"><i class="fa {posts.category.icon}"></i> {posts.category.name}</a>]],
<span class="timeago" title="{posts.timestampISO}"></span> &bull; <span class="timeago" title="{posts.timestampISO}"></span> &bull;
<a href="{config.relative_path}/post/{posts.pid}" target="_blank">[[admin/manage/flags:read-more]]</a> <a href="{config.relative_path}/post/{posts.pid}" target="_blank">[[admin/manage/flags:read-more]]</a>
</span> </span>
@ -114,7 +113,7 @@
</div> </div>
</div> </div>
<div class="col-sm-4"> <div class="col-sm-4">
<i class="fa fa-flag"></i> <i class="fa fa-flag"></i>
[[admin/manage/flags:flagged-x-times, {posts.flags}]] [[admin/manage/flags:flagged-x-times, {posts.flags}]]
<blockquote class="flag-reporters"> <blockquote class="flag-reporters">
<ul> <ul>

@ -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 -->
<!-- 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>

@ -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> <td class="text-right">{users.uid}</td>
<!-- IF config.requireEmailConfirmation --> <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>
<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> <td>
<!-- ENDIF config.requireEmailConfirmation --> {users.email}</td> <!-- IF config.requireEmailConfirmation -->
<td class="text-right">{users.postcount}</td> <i class="validated fa fa-check text-success<!-- IF !users.email:confirmed --> hidden<!-- ENDIF !users.email:confirmed -->" title="validated"></i>
<td class="text-right">{users.reputation}</td> <i class="notvalidated fa fa-times text-danger<!-- IF users.email:confirmed --> hidden<!-- ENDIF users.email:confirmed -->" title="not validated"></i>
<td class="text-right"><!-- IF users.flags -->{users.flags}<!-- ELSE -->0<!-- ENDIF users.flags --></td> <!-- ENDIF config.requireEmailConfirmation --> {users.email}</td>
<td><span class="timeago" title="{users.joindateISO}"></span></td> <td class="text-right">{users.postcount}</td>
<td><span class="timeago" title="{users.lastonlineISO}"></span></td> <td class="text-right">{users.reputation}</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-right"><!-- IF users.flags -->{users.flags}<!-- ELSE -->0<!-- ENDIF users.flags --></td>
</tr> <td><span class="timeago" title="{users.joindateISO}"></span></td>
<!-- END users --> <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>
</tr>
<!-- END users -->
</tbody>
</table> </table>
</div> </div>

Loading…
Cancel
Save