Sponsored Content
The Lounge What is on Your Mind? Mobile: Advanced Forum Statistics to Forum Home Page Post 303038779 by Neo on Friday 13th of September 2019 05:50:38 AM
Old 09-13-2019
Added some basic Bootstrap classes to the mobile stats:

Normal mode:

Image

Landscape mode:

Image

Scrolling / swiping left and right with normal phone swiping gestures on mobile.....

Note: I may convert this very old legacy HTML code from table elements to div elements sometime in the future and, at that time, will change the layout for the three sections from a horizontal row of three tables in a table row to vertical stack of three div elements.
These 2 Users Gave Thanks to Neo For This Post:
 

4 More Discussions You Might Find Interesting

1. What is on Your Mind?

Forum Update: Disabled Home Page Forum Statistics for Guests (Not Registered)

Just a quick update; to speed up the forums, I have disabled the forum statistics on the home page for non registered users. No changes for registered users. (0 Replies)
Discussion started by: Neo
0 Replies

2. What is on Your Mind?

JQuery and CSS Flex Code for Responsive Forum Home Page

So far, I have completed making the home page more responsive (except for the forum stats at the top and the WOL box at the bottom, they still use scroll bars). xevV3_iZ8-s For full screen use the link below and set your YT resolution to 1080p60 HD https://youtu.be/xevV3_iZ8-s Here is... (1 Reply)
Discussion started by: Neo
1 Replies

3. Web Development

PHP Changes to WOL for New Forum Home Page

Wrote some PHP code today to make the Who Is Online (WOL) in the forums work properly with the new home page: Wrote this global plugin to add the location to both the user table (for members) and session table (for guests + registered users) <?php if (THIS_SCRIPT != 'misc' and... (0 Replies)
Discussion started by: Neo
0 Replies

4. What is on Your Mind?

Quick Bootstrap Reformat of Forum Staff Page

This page still needs work (complete redesign), but in the meantime, I quickly added some Bootstrap classes to "pretty it up": https://www.unix.com/staff.php https://www.unix.com/staff.php (0 Replies)
Discussion started by: Neo
0 Replies
SQL::Translator::Producer::HTML(3pm)			User Contributed Perl Documentation		      SQL::Translator::Producer::HTML(3pm)

NAME
SQL::Translator::Producer::HTML - HTML producer for SQL::Translator SYNOPSIS
use SQL::Translator::Producer::HTML; DESCRIPTION
Creates an HTML document describing the tables. The HTML produced is composed of a number of tables: Links A link table sits at the top of the output, and contains anchored links to elements in the rest of the document. If the nolinktable producer arg is present, then this table is not produced. Tables Each table in the schema has its own HTML table. The top row is a row of <th> elements, with a class of FieldHeader; these elements are Field Name, Data Type, Size, Default Value, Other and Foreign Key. Each successive row describes one field in the table, and has a class of FieldCell$item, where $item id corresponds to the label of the column. For example: <tr> <td class="FieldCellName"><a name="random-id">id</a></td> <td class="FieldCellType">int</td> <td class="FieldCellSize">11</td> <td class="FieldCellDefault"></td> <td class="FieldCellOther">PRIMARY KEY, NOT NULL</td> <td class="FieldCellFK"></td> </tr> <tr> <td class="FieldCellName"><a name="random-foo">foo</a></td> <td class="FieldCellType">varchar</td> <td class="FieldCellSize">255</td> <td class="FieldCellDefault"></td> <td class="FieldCellOther">NOT NULL</td> <td class="FieldCellFK"></td> </tr> <tr> <td class="FieldCellName"><a name="random-updated">updated</a></td> <td class="FieldCellType">timestamp</td> <td class="FieldCellSize">0</td> <td class="FieldCellDefault"></td> <td class="FieldCellOther"></td> <td class="FieldCellFK"></td> </tr> Unless the nowrap producer arg is present, the HTML will be enclosed in a basic HTML header and footer. If the pretty producer arg is present, the generated HTML will be nicely spaced and human-readable. Otherwise, it will have very little insignificant whitespace and be generally smaller. AUTHORS
Ken Youens-Clark <kclark@cpan.org>, Darren Chamberlain <darren@cpan.org>. perl v5.14.2 2012-01-18 SQL::Translator::Producer::HTML(3pm)
All times are GMT -4. The time now is 04:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy