removed wrapping .row around tables in acp/manage/categories

v1.18.x
Julian Lam 10 years ago
parent a1621145d5
commit 765f15096b

@ -3,46 +3,44 @@
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"><i class="fa fa-folder"></i> Categories</div> <div class="panel-heading"><i class="fa fa-folder"></i> Categories</div>
<div class="panel-body"> <div class="panel-body">
<div class="row"> <table class="table table-striped table-hover table-reordering">
<table class="table table-striped table-hover table-reordering"> <thead>
<thead> <tr>
<tr> <th></th>
<th></th> <th>Name</th>
<th>Name</th> <th>Description</th>
<th>Description</th> <th class="text-center">Topics</th>
<th class="text-center">Topics</th> <th class="text-center">Posts</th>
<th class="text-center">Posts</th> <th></th>
<th></th> </tr>
</tr> </thead>
</thead> <tbody id="active-categories">
<tbody id="active-categories"> <!-- BEGIN active -->
<!-- BEGIN active --> <tr data-cid="{active.cid}">
<tr data-cid="{active.cid}"> <td>
<td> <span class="label" style="
<span class="label" style=" <!-- IF active.backgroundImage -->background-image: url({active.backgroundImage});<!-- ENDIF active.backgroundImage -->
<!-- IF active.backgroundImage -->background-image: url({active.backgroundImage});<!-- ENDIF active.backgroundImage --> <!-- IF active.bgColor -->background-color: {active.bgColor};<!-- ENDIF active.bgColor -->
<!-- IF active.bgColor -->background-color: {active.bgColor};<!-- ENDIF active.bgColor --> color: {active.color};
color: {active.color}; background-size:cover;
background-size:cover; ">
"> <i data-name="icon" value="{active.icon}" class="fa fa-fw {active.icon}"></i>
<i data-name="icon" value="{active.icon}" class="fa fa-fw {active.icon}"></i> </span>
</span> </td>
</td> <td>{active.name}</td>
<td>{active.name}</td> <td>{active.description}</td>
<td>{active.description}</td> <td class="text-center">{active.topic_count}</td>
<td class="text-center">{active.topic_count}</td> <td class="text-center">{active.post_count}</td>
<td class="text-center">{active.post_count}</td> <td>
<td> <div class="btn-group">
<div class="btn-group"> <a href="./categories/{active.cid}" class="btn btn-default btn-xs">Edit</a>
<a href="./categories/{active.cid}" class="btn btn-default btn-xs">Edit</a> <button data-action="toggle" data-disabled="{active.disabled}" class="btn btn-default btn-xs">Disable</button>
<button data-action="toggle" data-disabled="{active.disabled}" class="btn btn-default btn-xs">Disable</button> </div>
</div> </td>
</td> </tr>
</tr> <!-- END active -->
<!-- END active --> </tbody>
</tbody> </table>
</table>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -51,46 +49,44 @@
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"><i class="fa fa-folder"></i> Categories</div> <div class="panel-heading"><i class="fa fa-folder"></i> Categories</div>
<div class="panel-body"> <div class="panel-body">
<div class="row"> <table class="table table-striped table-hover table-reordering">
<table class="table table-striped table-hover table-reordering"> <thead>
<thead> <tr>
<tr> <th></th>
<th></th> <th>Name</th>
<th>Name</th> <th>Description</th>
<th>Description</th> <th class="text-center">Topics</th>
<th class="text-center">Topics</th> <th class="text-center">Posts</th>
<th class="text-center">Posts</th> <th></th>
<th></th> </tr>
</tr> </thead>
</thead> <tbody id="disabled-categories">
<tbody id="disabled-categories"> <!-- BEGIN disabled -->
<!-- BEGIN disabled --> <tr data-cid="{disabled.cid}">
<tr data-cid="{disabled.cid}"> <td>
<td> <span class="label" style="
<span class="label" style=" <!-- IF disabled.backgroundImage -->background-image: url({disabled.backgroundImage});<!-- ENDIF disabled.backgroundImage -->
<!-- IF disabled.backgroundImage -->background-image: url({disabled.backgroundImage});<!-- ENDIF disabled.backgroundImage --> <!-- IF disabled.bgColor -->background-color: {disabled.bgColor};<!-- ENDIF disabled.bgColor -->
<!-- IF disabled.bgColor -->background-color: {disabled.bgColor};<!-- ENDIF disabled.bgColor --> color: {disabled.color};
color: {disabled.color}; background-size:cover;
background-size:cover; ">
"> <i data-name="icon" value="{disabled.icon}" class="fa fa-fw {disabled.icon}"></i>
<i data-name="icon" value="{disabled.icon}" class="fa fa-fw {disabled.icon}"></i> </span>
</span> </td>
</td> <td>{disabled.name}</td>
<td>{disabled.name}</td> <td>{disabled.description}</td>
<td>{disabled.description}</td> <td class="text-center">{disabled.topic_count}</td>
<td class="text-center">{disabled.topic_count}</td> <td class="text-center">{disabled.post_count}</td>
<td class="text-center">{disabled.post_count}</td> <td>
<td> <div class="btn-group">
<div class="btn-group"> <a href="./categories/{disabled.cid}" class="btn btn-default btn-xs">Edit</a>
<a href="./categories/{disabled.cid}" class="btn btn-default btn-xs">Edit</a> <button data-action="toggle" data-disabled="{disabled.disabled}" class="btn btn-default btn-xs">Enable</button>
<button data-action="toggle" data-disabled="{disabled.disabled}" class="btn btn-default btn-xs">Enable</button> </div>
</div> </td>
</td> </tr>
</tr> <!-- END disabled -->
<!-- END disabled --> </tbody>
</tbody> </table>
</table>
</div>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save