Commit ed8b3c59 authored by noplanman's avatar noplanman

Only use responsive table container with actual tables.

Use CSS class for tablesorter component.
parent c7729406
......@@ -13,7 +13,8 @@ $numrows = pg_num_rows($result);
<meta property="og:title" content="<?php echo $numrows; ?> #Diaspora Pods listed, Come see the privacy aware social network."/><?php echo $numrows; ?> pods that are open for signup now.
<meta charset="utf-8">
<!-- /* Copyright (c) 2011, David Morley. This file is licensed under the Affero General Public License version 3 or later. See the COPYRIGHT file. */ -->
<table id="myTable" class="table table-striped table-sm tablesorter table-hover tfont">
<div class="table-responsive">
<table class="table table-striped table-sm tablesorter table-hover tfont">
<thead>
<tr>
<th>Pod<a class="tipsy" title="A pod is a site for you to set up your account.">?</a></th>
......@@ -99,3 +100,4 @@ $numrows = pg_num_rows($result);
?>
</tbody>
</table>
</div>
......@@ -109,7 +109,6 @@ $navs = [
<a href="go.php" class="btn btn-sm btn-success">Confused? Auto pick a pod for you.</a>
<div class="row placeholders">
</div>
<div class="table-responsive">
<?php
if ($detailedview) {
include_once __DIR__ . '/showfull.php';
......@@ -129,7 +128,6 @@ $navs = [
?>
</div>
</div>
</div>
</div>
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/tether/dist/js/tether.min.js"></script>
......
......@@ -2,7 +2,7 @@ $(document).ready(function(){
$.facebox.settings.closeImage = 'bower_components/facebox/src/closelabel.png'
$.facebox.settings.loadingImage = 'bower_components/facebox/src/loading.gif'
$('a[rel*=facebox]').facebox()
$('#myTable').tablesorter()
$('.tablesorter').tablesorter()
$('[data-toggle="tooltip"]').tooltip()
$(function () {
$('[data-toggle="popover"]').popover()
......
......@@ -18,7 +18,8 @@ $numrows = pg_num_rows($result);
<meta property="og:title" content="<?php echo $numrows; ?> Federated Pods listed, Come see the privacy aware social networks."/>
<div class="hidden-sm-up">Scroll right or rotate device for more</div>
<table class="table table-striped table-sm tablesorter table-hover" id="myTable">
<div class="table-responsive">
<table class="table table-striped table-sm tablesorter table-hover">
<thead class="thead-inverse">
<tr>
<th><a data-toggle="tooltip" data-placement="bottom" title="A pod is a site for you to set up your account.">Pod</a></th>
......@@ -67,3 +68,4 @@ $numrows = pg_num_rows($result);
?>
</tbody>
</table>
</div>
......@@ -18,7 +18,8 @@ $numrows = pg_num_rows($result);
<meta property="og:title" content="<?php echo $numrows; ?> Federated Pods listed, Come see the privacy aware social networks."/>
<!-- /* Copyright (c) 2011, David Morley. This file is licensed under the Affero General Public License version 3 or later. See the COPYRIGHT file. */ -->
<table id="myTable" class="table table-striped table-sm tablesorter table-hover tfont">
<div class="table-responsive">
<table class="table table-striped table-sm tablesorter table-hover tfont">
<thead class="thead-inverse">
<tr>
<th><a data-toggle="tooltip" data-placement="bottom" title="A pod is a site for you to set up your account.">Pod</a></th>
......@@ -103,3 +104,4 @@ $numrows = pg_num_rows($result);
?>
</tbody>
</table>
</div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment