12-27-2018
In addition, today I made considerable changes for mobile:
- Cleaned up many mobile pages by applying Bootstrap classes including all the edit, new reply and moderation pages.
- Fixed fonts and formatting on mobile forum display pages.
- Cleaned up mobile view by removing (hiding) all deleted threads and sticking threads when viewing on mobile.
- Fixed a number of footers on mobile, changing the footer to a "Go Back" links which is useful when on mobile.
- Fixed a lot of other things, but I cannot recall at the moment.
The mobile site is starting to look really good, so I encourage everyone to view the forums when mobile.
In the future, I plan for mobile:
- Add a mini-editor tool bar for mobile, adding code tags and uploading attachments from mobile devices.
- Add the thanks button to posts and also a newly designed thanks box to the bottom of the mobile posts.
5 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a list of servers in a file called serverlist like this
server1
server2
server3
i need to have them (with no trailing comma, the program does not like that)
server1,server2,server3
so far i have been using
HOSTS=/tmp/serverlist
HOSTS=${HOSTS:-$(grep -Ev "^#|^$"... (2 Replies)
Discussion started by: insania
2 Replies
2. UNIX for Dummies Questions & Answers
This should be so simple.. I have folder with about 27 subfolders in it, each folder has a number of fonts in it.. how do I get the total number of fonts for all subfolders? (2 Replies)
Discussion started by: glev2005
2 Replies
3. Shell Programming and Scripting
Hi,
I've a list in the following format:
Empdept filedetails buildingNo Area
AAA 444 2 juy
AAA 544 2 kui
AAA 567 4 poi
AAA 734 5 oiu
AAA 444 ... (2 Replies)
Discussion started by: skpvalvekar
2 Replies
4. Shell Programming and Scripting
Hello, I'm writing a script in sh in which the first command line argument is a directory. from that, i'm suppose to count the number of readable, writable, and executable items in the directory. I know using $1 represents the directory, and ls would display all the items in the directory, and that... (4 Replies)
Discussion started by: kratos22
4 Replies
5. Shell Programming and Scripting
Hi there,
Here is my checklist of items,
4.1.1 Alerter
4.1.2 Client Services for Netware
4.1.3 Clipbook
4.1.4 Fax Service
4.1.5 File Replication
4.1.6 File Services for Macintosh
4.1.7 FTP Publishing Service
4.1.8 Help and Support
4.1.9 HTTP SSL
4.1.10 IIS Admin Service ... (1 Reply)
Discussion started by: alvinoo
1 Replies
LEARN ABOUT DEBIAN
css::minifier
CSS::Minifier(3pm) User Contributed Perl Documentation CSS::Minifier(3pm)
NAME
CSS::Minifier - Perl extension for minifying CSS
SYNOPSIS
To minify a CSS file and have the output written directly to another file
use CSS::Minifier qw(minify);
open(INFILE, 'myStylesheet.css') or die;
open(OUTFILE, 'myStylesheet.css') or die;
minify(input => *INFILE, outfile => *OUTFILE);
close(INFILE);
close(OUTFILE);
To minify a CSS string literal. Note that by omitting the outfile parameter a the minified code is returned as a string.
my minifiedCSS = minify(input => 'div {font-family: serif;}');
To include a copyright comment at the top of the minified code.
minify(input => 'div {font-family: serif;}', copyright => 'BSD License');
The "input" parameter is manditory. The "output" and "copyright" parameters are optional and can be used in any combination.
DESCRIPTION
This module removes unnecessary whitespace from CSS. The primary requirement developing this module is to not break working stylesheets: if
working CSS is in input then working CSS is output. The Mac/Internet Explorer comment hack will be minimized but not stripped and so will
continue to function.
This module understands space, horizontal tab, new line, carriage return, and form feed characters to be whitespace. Any other characters
that may be considered whitespace are not minimized. These other characters include paragraph separator and vertical tab.
For static CSS files, it is recommended that you minify during the build stage of web deployment. If you minify on-the-fly then it might be
a good idea to cache the minified file. Minifying static files on-the-fly repeatedly is wasteful.
EXPORT
None by default.
Exportable on demand: minifiy()
SEE ALSO
This project is developed using an SVN repository. To check out the repository svn co http://dev.michaux.ca/svn/random/CSS-Minifier
You may also be interested in the JavaScript::Minifier module also available on CPAN.
AUTHORS
Peter Michaux, <petermichaux@gmail.com>
COPYRIGHT AND LICENSE
Copyright (C) 2007 by Peter Michaux
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or,
at your option, any later version of Perl 5 you may have available.
perl v5.12.3 2007-08-03 CSS::Minifier(3pm)