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

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

declare(strict_types=1);

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

dmorley's avatar
dmorley committed
12
?>
13

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>
David Morley's avatar
David Morley committed
23
<div class="float-right float-md-left float-sm-right">
24 25
    <a href="go.php" class="m-1 btn btn-sm bg-green text-white">Auto pick a pod</a>
    <a href="#" class="m-1 btn btn-sm bg-green text-white"  data-featherlight-variant="table-responsive" data-featherlight="wizard.php?page=1">Use pod wizard</a>
David Morley's avatar
David Morley committed
26 27
</div>
<div class="float-right">
28
    <button type="button" class="columnssimple hidden m-1 btn btn-sm bg-grey">Simple View</button>
David Morley's avatar
David Morley committed
29 30
    <div class="columnSelectorWrapper m-1">
        <input id="colSelect1" type="checkbox" class="hidden">
31
        <label class="columnSelectorButton m-1 btn btn-sm bg-grey" for="colSelect1">Select Columns</label>
David Morley's avatar
David Morley committed
32 33 34
        <div id="columnSelector" class="dropdown columnSelector">
        </div>
    </div>
35 36
    <button type="button" class="resetfilters m-1 btn btn-sm bg-grey hidden">Reset Filters</button>
    <button type="button" class="columnsadvanced m-1 btn btn-sm bg-grey">Advanced View</button>
David Morley's avatar
David Morley committed
37 38 39 40 41 42 43 44 45 46
</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>
47 48 49 50 51 52
        <div class="d-inline-block">
            <select class="pagesize hidden form-control form-control-sm">
                <option value="15">15</option>
                <option value="60">60</option>
                <option value="120">120</option>
                <option value="240">240</option>
David Morley's avatar
David Morley committed
53
                <option value="500">500</option>
54 55 56
                <option value="all">All</option>
            </select>
        </div>
David Morley's avatar
David Morley committed
57 58 59 60
    </div>

<div class="table-responsive">
    <div class="loadingtable">
David Morley's avatar
David Morley committed
61
        <div class="loadingmessage">Loading Table</div>
David Morley's avatar
David Morley committed
62 63
        <div class="signal"></div>
    </div>
David Morley's avatar
David Morley committed
64
    <table class="table table-bordered table-sm tablesorter table-hover tfont">
65
        <thead class="thead-grey">
66
        <tr>
David Morley's avatar
David Morley committed
67 68 69
            <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>
70
            <th class="columnSelector-false filter-select" data-priority="3"><div data-toggle="tooltip" title="Type of software this pod runs">Software</div></th>
David Morley's avatar
David Morley committed
71
            <th class="filter-match" data-priority="4"><div data-toggle="tooltip" title="Protocols this pod supports.">Protocols</div></th>
David Morley's avatar
David Morley committed
72
            <th data-priority="1"><div data-toggle="tooltip" title="Percent of the time the pod is online.">Uptime</div></th>
Armando Luescher's avatar
Armando Luescher committed
73
            <th class="columnSelector-false filter-select"><div data-toggle="tooltip" title="Does this pod offer ipv6 connection.">IPv6</div></th>
David Morley's avatar
David Morley committed
74
            <th class="columnSelector-false"><div data-toggle="tooltip" title="Average connection latency time in ms from Los Angeles.">Latency</div></th>
75
            <th class="filter-select" data-priority="2"><div data-toggle="tooltip" title="Does this pod allow new users.">Signups</div></th>
David Morley's avatar
David Morley committed
76 77 78 79 80 81 82 83
            <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>
84 85 86
            <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>
David Morley's avatar
David Morley committed
87 88
            <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>
89
            <th class="columnSelector-false filter-select"><div data-toggle="tooltip" title="Pod language detected from their main page text.">Language</div></th>
90
            <th data-placeholder="Try: tumblr AND twitter" class="filter-match" 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>
David Morley's avatar
David Morley committed
91
            <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>
92 93 94 95 96
        </tr>
        </thead>
        <tbody>
        </tbody>
    </table>
David Morley's avatar
David Morley committed
97
</div>