HTML source code, style-sheets, scripts, and images for deployment on mingw.osdn.io
Revision | 98be686d2e65698f502c6ab4521bc0535216d7e1 (tree) |
---|---|
Time | 2020-11-03 20:11:52 |
Author | ![]() |
Commiter | Keith Marshall |
Improve http status 404 notifications.
* missing.html (page-subtitle): Add <dt> entry.
(page-content): Wording enhancements; suggest filing of feature
request for missing page, as identified by dynamic content of...
(e404-missing-page): ...this named <span> element.
* site.js (load_content) [e404-missing-page]: Assign URL.
@@ -44,7 +44,8 @@ | ||
44 | 44 | * HTML entity codes: |
45 | 45 | * |
46 | 46 | * ‑ non-breaking hyphen |
47 | - * ’ typographic apostrophe | |
47 | + * “ left (opening) typographic double quote | |
48 | + * ” right (closing) typographic double quote | |
48 | 49 | * |
49 | 50 | --> |
50 | 51 | <dl class="masthead"><!-- hidden for masthead class --> |
@@ -55,17 +56,24 @@ | ||
55 | 56 | their content into the corresponding visible place-holders. |
56 | 57 | --> |
57 | 58 | <dt id="page-title">MinGW.org Server Error</dt> |
59 | + <dt id="page-subtitle">HTTP Status 404 — Requested Page Not Found</dt> | |
58 | 60 | </dl><!-- masthead --> |
59 | -<h2>Page Not Found</h2> | |
61 | +<p>The requested URL, | |
62 | +“<span id="e404-missing-page"></span>”, | |
63 | +cannot be resolved. | |
64 | +</p> | |
60 | 65 | <p>The MinGW.org web‑site is undergoing an overhaul, |
61 | 66 | whilst in the process of transferring to a new hosting provider. |
62 | 67 | During this transitional phase, |
63 | 68 | some pages may be temporarily unavailable. |
64 | 69 | </p> |
65 | -<p>If you see this page, | |
70 | +<p>If you see this notification page, | |
66 | 71 | it is likely that the content you are trying to access |
67 | 72 | has not yet been transferred; |
68 | -please check back later. | |
73 | +please check back later, | |
74 | +or file a feature request for a priority review, | |
75 | +(but please leave the actual priority assignment to | |
76 | +the discretion of the project administrators). | |
69 | 77 | </p> |
70 | 78 | |
71 | 79 | <!-- $RCSfile$: end of file --> |
@@ -72,6 +72,7 @@ function load_content( container, src ) | ||
72 | 72 | set_content( container, this.responseText ); |
73 | 73 | update_page_content_header( "title" ); |
74 | 74 | update_page_content_header( "subtitle" ); |
75 | + set_content( "e404-missing-page", document.URL ); | |
75 | 76 | break; |
76 | 77 | case 404: |
77 | 78 | load_content( container, "missing.html" ); |