showfull.php 6.28 KB
Newer Older
dmorley's avatar
dmorley committed
1
<?php
2

3
/**
dmorley's avatar
dmorley committed
4
 * Show pod list table.
5 6 7 8
 */

declare(strict_types=1);

dmorley's avatar
dmorley committed
9 10
// CloudFlare country code pull.
$country_code = $_SERVER['HTTP_CF_IPCOUNTRY'] ?? '';
dmorley's avatar
dmorley committed
11

dmorley's avatar
dmorley committed
12
?>
noplanman's avatar
noplanman committed
13

dmorley's avatar
dmorley committed
14 15 16 17 18 19 20 21 22
<style>
    @media (max-width: 800px) {
        .tablesorter-header {
            background-image: none !important;
            font: 10px/20px Arial, Sans-serif !important;
            font-weight: 500 !important;
        }
    }
</style>
dmorley's avatar
dmorley committed
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
<div class="float-right float-md-left float-sm-right">
    <a href="go.php" class="m-1 btn btn-sm btn-info">Auto pick a pod</a>
    <a href="#" class="m-1 btn btn-sm btn-info"  data-featherlight-variant="table-responsive" data-featherlight="wizard.php?page=1">Use pod wizard</a>
</div>
<div class="float-right">
    <button type="button" class="columnssimple hidden m-1 btn btn-sm btn-info">Simple View</button>
    <div class="columnSelectorWrapper m-1">
        <input id="colSelect1" type="checkbox" class="hidden">
        <label class="columnSelectorButton m-1 btn btn-sm btn-info" for="colSelect1">Select Columns</label>
        <div id="columnSelector" class="dropdown columnSelector">
        </div>
    </div>
    <button type="button" class="resetfilters m-1 btn btn-sm btn-info hidden">Reset Filters</button>
    <button type="button" class="columnsadvanced m-1 btn btn-sm btn-info">Advanced View</button>
</div>

    <div class="pager hidden float-right float-md-left">
        <span class="first pagination" title="First page">&laquo;</span>
        <span class="prev pagination" title="Previous page">&lt;</span>

            <span class="pagedisplay text-center pagerhidden hidden"></span>

        <span class="next pagination" title="Next page">&gt;</span>
        <span class="last pagination" title="Last page">&raquo;</span>
    </div>

<div class="table-responsive">
    <div class="loadingtable">
        <div class="signal"></div>
    </div>
dmorley's avatar
dmorley committed
53
    <table class="table table-bordered table-sm tablesorter table-hover tfont">
dmorley's avatar
dmorley committed
54 55
        <thead class="thead-dark">
        <tr>
dmorley's avatar
dmorley committed
56 57 58
            <th data-priority="1" class="columnSelector-disable"><div data-toggle="tooltip" title="A pod is a site for you to set up your account.">Pod</div></th>
            <th class="columnSelector-false"><div>Name</div></th>
            <th class="columnSelector-false"><div data-toggle="tooltip" title="Version of software this pod runs">Version</div></th>
59
            <th class="columnSelector-false filter-select" data-priority="3"><div data-toggle="tooltip" title="Type of software this pod runs">Software</div></th>
dmorley's avatar
dmorley committed
60
            <th data-priority="1"><div data-toggle="tooltip" title="Percent of the time the pod is online.">Uptime</div></th>
61
            <th class="columnSelector-false filter-select"<div data-toggle="tooltip" title="Does this pod offer ipv6 connection.">IPv6</div></th>
dmorley's avatar
dmorley committed
62
            <th class="columnSelector-false"><div data-toggle="tooltip" title="Average connection latency time in ms from Los Angeles.">Latency</div></th>
63
            <th class="filter-select" data-priority="2"><div data-toggle="tooltip" title="Does this pod allow new users.">Signups</div></th>
dmorley's avatar
dmorley committed
64 65 66 67 68 69 70 71
            <th data-priority="2" data-selector-name="Total Users"><div data-toggle="tooltip" title="Number of total users on this pod.">Users</div></th>
            <th class="columnSelector-false" data-selector-name="Users last 6 months"><div data-toggle="tooltip" title="Number of users active last 6 months on this pod.">6m</div></th>
            <th class="columnSelector-false" data-selector-name="Users last 1 month"><div data-toggle="tooltip" title="Number of users active last 1 month on this pod.">1m</div></th>
            <th class="columnSelector-false"><div data-toggle="tooltip" title="Number of total posts on this pod.">Posts</div></th>
            <th class="columnSelector-false"><div data-toggle="tooltip" title="Number of total comments on this pod." data-placeholder="Try: 10 - 50">Comments</div></th>
            <th class="columnSelector-false"><div data-toggle="tooltip" title="How many months have we been watching this pod." data-placeholder="Try: ! 0">Months</div></th>
            <th data-priority="6"><div data-toggle="tooltip" title="User rating for this pod.">Rating</div></th>
            <th class="columnSelector-false"><div data-toggle="tooltip" title="System Score on a 100 point scale.">Score</div></th>
72 73 74
            <th class="columnSelector-false filter-select"><div data-toggle="tooltip" title="System Status.">Status</div></th>
            <th class="columnSelector-false filter-select"><div data-toggle="tooltip" title="Does this domain use DNSSEC.">DNSSEC</div></th>
            <th class="filter-select" data-priority="1"><div data-toggle="tooltip" title="Pod location, based on IP Geolocation." data-placeholder="Try: <?php echo $country_code ?: 'US'; ?>">Country</div></th>
dmorley's avatar
dmorley committed
75 76
            <th class="columnSelector-false" data-priority="5"><div data-toggle="tooltip" title="Pod City, based on IP Geolocation.">City</div></th>
            <th class="columnSelector-false" data-priority="5"><div data-toggle="tooltip" title="Pod State, based on IP Geolocation.">State</div></th>
77
            <th class="columnSelector-false filter-select"><div data-toggle="tooltip" title="Pod language detected from their main page text.">Language</div></th>
dmorley's avatar
dmorley committed
78
            <th data-priority="3" data-selector-name="All Services"><div data-toggle="tooltip" title="External Social Networks this pod can post to." class="filter-false">Services</div></th>
79 80 81 82 83
            <th class="columnSelector-false filter-select"><div data-toggle="tooltip" title="External post to Facebook.">Facebook</div></th>
            <th class="columnSelector-false filter-select"><div data-toggle="tooltip" title="External post to Twitter.">Twitter</div></th>
            <th class="columnSelector-false filter-select"><div data-toggle="tooltip" title="External post to Tumblr.">Tumblr</div></th>
            <th class="columnSelector-false filter-select"><div data-toggle="tooltip" title="External post to Wordpress.">Wordpress</div></th>
            <th class="columnSelector-false filter-select"><div data-toggle="tooltip" title="Supports Jabber/XMPP for chat.">XMPP</div></th>
dmorley's avatar
dmorley committed
84
            <th data-priority="6" data-selector-name="Podmin Info"><div data-toggle="tooltip" title="Click for more information about this pod from the pod host (podmin).">Info</div></th>
dmorley's avatar
dmorley committed
85 86 87 88 89
        </tr>
        </thead>
        <tbody>
        </tbody>
    </table>
dmorley's avatar
dmorley committed
90
</div>