mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 09:19:22 +02:00
Add "table-responsive d-md-table" class
Makes tables in admin panel responsive
This commit is contained in:
parent
d8ac88b7d9
commit
8f88c82a13
@ -213,7 +213,7 @@ else if (isset($_REQUEST['search'])) {
|
||||
<h5 class="m-0">Accounts</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<table class="acc_datatable table table-striped table-bordered">
|
||||
<table class="acc_datatable table table-striped table-bordered table-responsive d-md-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
@ -419,7 +419,7 @@ else if (isset($_REQUEST['search'])) {
|
||||
$account_players = $account->getPlayersList();
|
||||
$account_players->orderBy('id');
|
||||
if (isset($account_players)) { ?>
|
||||
<table class="table table-striped table-condensed">
|
||||
<table class="table table-striped table-condensed table-responsive d-md-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
@ -464,7 +464,7 @@ else if (isset($_REQUEST['search'])) {
|
||||
$bans = $db->query('SELECT * FROM ' . $db->tableName('bans') . ' WHERE ' . $db->fieldName('active') . ' = 1 AND ' . $db->fieldName('id') . ' = ' . $account->getId() . ' ORDER BY ' . $db->fieldName('added') . ' DESC LIMIT 10');
|
||||
if ($bans->rowCount()) {
|
||||
?>
|
||||
<table class="table table-striped table-condensed">
|
||||
<table class="table table-striped table-condensed table-responsive d-md-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Nick</th>
|
||||
@ -518,7 +518,7 @@ else if (isset($_REQUEST['search'])) {
|
||||
if ($db->hasTable('store_history')) { ?>
|
||||
<div class="tab-pane fade" id="accounts-store">
|
||||
<?php $store_history = $db->query('SELECT * FROM `store_history` WHERE `account_id` = "' . $account->getId() . '" ORDER BY `time` DESC')->fetchAll(); ?>
|
||||
<table class="table table-striped table-condensed">
|
||||
<table class="table table-striped table-condensed table-responsive d-md-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Description</th>
|
||||
|
@ -309,7 +309,7 @@ else if (isset($_REQUEST['search'])) {
|
||||
<h5 class="m-0">Players</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<table class="player_datatable table table-striped table-bordered">
|
||||
<table class="player_datatable table table-striped table-bordered table-responsive d-md-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
@ -700,7 +700,7 @@ else if (isset($_REQUEST['search'])) {
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane fade" id="tabs-posts">
|
||||
<table class="table table-striped table-condensed">
|
||||
<table class="table table-striped table-condensed table-responsive d-md-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-25">Topic</th>
|
||||
@ -740,7 +740,7 @@ else if (isset($_REQUEST['search'])) {
|
||||
$account_players = $account->getPlayersList();
|
||||
$account_players->orderBy('id');
|
||||
if (isset($account_players)) { ?>
|
||||
<table class="table table-striped table-condensed">
|
||||
<table class="table table-striped table-condensed table-responsive d-md-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
|
@ -7,7 +7,7 @@
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<table class="tb_datatable table table-striped table-bordered">
|
||||
<table class="tb_datatable table table-striped table-bordered table-responsive d-md-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="5%">ID</th>
|
||||
|
@ -6,7 +6,7 @@
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<table class="tb_datatable table table-striped table-bordered">
|
||||
<table class="tb_datatable table table-striped table-bordered table-responsive d-md-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="5%">ID</th>
|
||||
@ -51,7 +51,7 @@
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<table class="tb_datatable table table-striped table-bordered">
|
||||
<table class="tb_datatable table table-striped table-bordered table-responsive d-md-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="5%">ID</th>
|
||||
@ -95,7 +95,7 @@
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<table class="tb_datatable table table-striped table-bordered">
|
||||
<table class="tb_datatable table table-striped table-bordered table-responsive d-md-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="5%">ID</th>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<a href="?p=pages&action=new" class="float-right"><span class="btn btn-sm btn-success">New</span></a></h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<table class="table table-striped table-bordered" id="tb_pages">
|
||||
<table class="table table-striped table-bordered table-responsive d-md-table" id="tb_pages">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<h5 class="m-0">Installed plugins<span class="float-right"><a class="" data-toggle="collapse" href="#install_plugin">Install Plugin</a></span></h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<table class="table table-striped table-bordered" id="tb_plugins">
|
||||
<table class="table table-striped table-bordered table-responsive d-md-table" id="tb_plugins">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<h5 class="m-0">Users active within last {{ config_visitors_counter_ttl }} minutes.</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<table id="tb_visitors" class="table table-striped table-bordered">
|
||||
<table id="tb_visitors" class="table table-striped table-bordered table-responsive d-md-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>IP</th>
|
||||
|
Loading…
x
Reference in New Issue
Block a user