Sponsored Content
The Lounge What is on Your Mind? New Responsive 404 Page for UNIX.com Post 303035043 by Neo on Sunday 12th of May 2019 08:44:32 AM
Old 05-12-2019
Thanks drl,

I'm not concerned that the "Ooops" text is a bit on the light side. It's the style of the page by the template designer; and I am lazy to spend any more time on the CSS for this in the near term. I did a lot of modifications and commented out some CSS which was not really great; but I could not quickly change the element <p> to make that text less opaque.

I even tried:

Code:
var element = document.querySelector('p');
element.style.color.white;
element.style.opacity = 1;

but I could not effect that text and did not find any special clues in the Chrome DevTools element inspector, so I just left it "as it".
This User Gave Thanks to Neo For This Post:
 

8 More Discussions You Might Find Interesting

1. Web Development

CGI not working with httpd server on busybox 1.15.0 on ltib Linux 2.6.34 (404 page not found)

I have some industrial ARM linux board with 2.6.34 Linux on it with Busybox v1.15.0. The https.conf is located in /etc/ and contains: H:/root/web In the www directory I also have 'cgi-bin' folder with chmod 777 and in that folder a file called 'testcgi'. Now I start the server with... (1 Reply)
Discussion started by: Roboserg
1 Replies

2. What is on Your Mind?

Prototyping New Responsive Mobile UNIX.COM

I'm working on updates to the mobile phone view, and it's going to look much better I think. Here are some current prototypes: Prototype Mobile Home Page: https://www.unix.com/members/1-albums214-picture690.jpg Prototype Mobile Search Page: ... (43 Replies)
Discussion started by: Neo
43 Replies

3. What is on Your Mind?

Prototyping New Responsive Mobile for UNIX.COM - Phase II

Have completed "Phase I" of our project "Prototyping New Responsive Mobile UNIX.COM", I am now moving to "Phase II" which will be changing many of the menus and buttons to use Javascript and CSS for the mobile site menus. For example, here is the new "main side menu" for the mobile site (below).... (63 Replies)
Discussion started by: Neo
63 Replies

4. What is on Your Mind?

Prototyping New Responsive Mobile for UNIX.COM - Phase III

From Prototyping New Responsive Mobile for UNIX.COM - Phase II, we move to Phase III. Basically, the core prototype for every day browsing the forums, replying, posting and editing on mobile is nearly finished with the exception of a few formatting issues with regard to rare system messages or... (4 Replies)
Discussion started by: Neo
4 Replies

5. What is on Your Mind?

JQuery and CSS Flex Code for Responsive WOL Page

I have just wrote this jQuery to the WOL page, so the table of users on line will not need scrollbars and will instead transform into a responsive table: <script> jQuery(document).ready(function (){ jQuery("#neo-who-flex-tcat"). css({"display":"flex","flex-flow":"row wrap", ... (0 Replies)
Discussion started by: Neo
0 Replies

6. 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

7. What is on Your Mind?

Search Results are Now Responsive (Live)

Hey, It took me nearly 10 hours of work, but the forum search results are now fully responsive using CSS Flex and jQuery. By search results, I mean forum searches (not man page searches). Searches we do every day like: "Todays Posts", "New Topics", it's done! I have tested it and it... (0 Replies)
Discussion started by: Neo
0 Replies

8. Web Development

New "Page Not Found" (404) Page

Made some changes to the forum, so when a page is not found and generates a 404 error, the site redirects to "Today's Posts" page and added a "Not Found" message: <?php header('HTTP/1.0 404 Not Found', true, 404); header("Location: https://www.unix.com/search.php?do=getdaily&redirect=404");... (0 Replies)
Discussion started by: Neo
0 Replies
Test::Pod::No404s(3pm)					User Contributed Perl Documentation				    Test::Pod::No404s(3pm)

NAME
Test::Pod::No404s - Checks POD for http 404 links SYNOPSIS
#!/usr/bin/perl use strict; use warnings; use Test::More; eval "use Test::Pod::No404s"; if ( $@ ) { plan skip_all => 'Test::Pod::No404s required for testing POD'; } else { all_pod_files_ok(); } ABSTRACT
Using this test module will check your POD for any http 404 links. DESCRIPTION
This module looks for any http(s) links in your POD and verifies that they will not return a 404. It uses LWP::UserAgent for the heavy lifting, and simply lets you know if it failed to retrieve the document. More specifically, it uses $response->is_error as the "test." Normally, you wouldn't want this test to be run during end-user installation because they might have no internet! It is HIGHLY recommended that this be used only for module authors' RELEASE_TESTING phase. To do that, just modify the synopsis to add an env check :) Methods all_pod_files_ok( [ @files ] ) This function is what you will usually run. It automatically finds any POD in your distribution and runs checks on them. Accepts an optional argument: an array of files to check. By default it checks all POD files it can find in the distribution. Every file it finds is passed to the "pod_file_ok" function. pod_file_ok( FILENAME, [ TESTNAME ] ) "pod_file_ok()" will okay the test if there is no http(s) links present in the POD or if all links are not an error. Furthermore, if the POD was malformed as reported by Pod::Simple, the test will fail and not attempt to check the links. When it fails, "pod_file_ok()" will show any failing links as diagnostics. The optional second argument TESTNAME is the name of the test. If it is omitted, "pod_file_ok()" chooses a default test name "404 test for FILENAME". EXPORT
Automatically exports the two subs. SEE ALSO
LWP::UserAgent Pod::Simple Test::Pod SUPPORT
You can find documentation for this module with the perldoc command. perldoc Test::Pod::No404s Websites o Search CPAN <http://search.cpan.org/dist/Test-Pod-No404s> o AnnoCPAN: Annotated CPAN documentation <http://annocpan.org/dist/Test-Pod-No404s> o CPAN Ratings <http://cpanratings.perl.org/d/Test-Pod-No404s> o CPAN Forum <http://cpanforum.com/dist/Test-Pod-No404s> o RT: CPAN's Request Tracker <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Pod-No404s> o CPANTS Kwalitee <http://cpants.perl.org/dist/overview/Test-Pod-No404s> o CPAN Testers Results <http://cpantesters.org/distro/T/Test-Pod-No404s.html> o CPAN Testers Matrix <http://matrix.cpantesters.org/?dist=Test-Pod-No404s> o Git Source Code Repository <http://github.com/apocalypse/perl-test-pod-no404s> Bugs Please report any bugs or feature requests to "bug-test-pod-no404s at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Pod-No404s>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. AUTHOR
Apocalypse <apocal@cpan.org> Thanks to the author of Test::Pod for the basic framework of this module! Thanks to the POE guys for finding 404 links in their POD, and was the inspiration for this module. COPYRIGHT AND LICENSE
Copyright 2010 by Apocalypse This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2011-03-05 Test::Pod::No404s(3pm)
All times are GMT -4. The time now is 11:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy