OSDN Git Service

mingw/website.git
21 months agoCorrectly handle internal page section references.
Keith Marshall [Fri, 6 Nov 2020 10:12:24 +0000 (10:12 +0000)]
Correctly handle internal page section references.

* site.js (load_content) ["#" in URL]: Scroll to internal reference.
* site.css (overlapped): New styling class; define it, such that any
element to which it is assigned will be positioned, with its topmost
content fully visible below the page header block, when an internal
page reference is scrolled into view.

* contact.html (general-enquiry, bug-report, feature-request)
* mailing.html (mingw-users, mingw-notify, mingw-msys, list-etiquette)
* about.html (cross-compile): Mark reference points as "overlapped".

21 months agoAdd contact and mailing-list information pages.
Keith Marshall [Thu, 5 Nov 2020 23:00:14 +0000 (23:00 +0000)]
Add contact and mailing-list information pages.

* contact.html mailing.html: New files.
* index.html (font-awesome): Add stylesheet link.

* site.css (hr): Adjust adjacent paragraph top margin spacing.
(li): Set explicit top margin, within both <ul> and <ol> blocks.
(dl, dt, dd): Add general style; suppress left margin indent...
(dl.no-indent dd): ...for so-qualified definition entries.
(navbar.li): Adjust margins; add a bottom margin specification.
(form.search): Set display width, margins, and styles for input
fields and search buttons.

21 months agoUse typographic quotation marks on licence pages.
Keith Marshall [Tue, 3 Nov 2020 17:09:55 +0000 (17:09 +0000)]
Use typographic quotation marks on licence pages.

* fdl.html (page-content): Replace ASCII apostrophe with balanced
typographic HTML single quotation marks, where appropriate; likewise,
replace ASCII double quotation marks with balanced HTML typographic
equivalents.

21 months agoImprove http status 404 notifications.
Keith Marshall [Tue, 3 Nov 2020 11:11:52 +0000 (11:11 +0000)]
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.

21 months agoAdapt index.html to serve arbitrarily specified content.
Keith Marshall [Mon, 2 Nov 2020 21:41:07 +0000 (21:41 +0000)]
Adapt index.html to serve arbitrarily specified content.

* index.html (onload): Delegate content retrieval to...
(load_page): ...this new javascript function, passing URL.
(page-title, page-subtitle): Rename place-holders, using...
(as-page-title, as-page-subtitle): ...these alternative names.

* site.js (load_page): New function; it consolidates...
(new_page, load_page_overlay, load_page_content): ...these, but
excluding "page-title" and "page-subtitle" assignment; do this...
(load_content): ...here, using repeated invocations of...
(update_page_content_header): ...this new function; it propagates any
"page-title" and "page-subtitle" values from the loaded page fragment,
to their corresponding "index.html" place-holders, calling...
(no_break): ...this new function, to substitute non-breaking hyphens
in place of any included ASCII hyphen characters.

* header.html (navbar): Use fully qualified "href" URL links on all
tabs, replacing "onclick" actions.

* about.html fdl.html terms.html (page-title, page-subtitle): Assign
them to hidden <dt> elements, (in <dl style="display: none"> blocks),
whence they may be propagated, via javascript executed on loading of
the page fragment, to their visible "index.html" place-holders.

* terms.html: Additionally, use a fully qualified "href" link, for
reference to "fdl.html".

* missing.html (page-title): Add hidden <dt> entry.

* site.css (dl.masthead): Define new style, to conceal the <dl>
assignments for "page-title", and "page-subtitle"; adjust top margin
spacing for any immediately following paragraph.

21 months agoMove charset assignment to valid file offset.
Keith Marshall [Tue, 27 Oct 2020 21:07:50 +0000 (21:07 +0000)]
Move charset assignment to valid file offset.

* index.html (charset): The HTML5 specification requires this
meta-data attribute to be assigned within the first 1024 bytes of
the page data; move it above the licensing terms, to keep it so.

21 months agoAdd a site-specific favicon file.
Keith Marshall [Sun, 25 Oct 2020 19:39:49 +0000 (19:39 +0000)]
Add a site-specific favicon file.

* favicon.ico: New file; it is derived from the MSYS icon.

22 months agoAdd generic page overlay to report missing content.
Keith Marshall [Fri, 9 Oct 2020 14:12:25 +0000 (15:12 +0100)]
Add generic page overlay to report missing content.

* missing.html: New file.
* site.js (load_content) [status 404]: Use it.
(load_page_content): Initially, clear previous content.

* header.html (Downloads, Documentation, Contact Us): Add "onclick"
tab references; defer provision of content, raising 404 status.

22 months agoAdd "licensing terms" overlay pages.
Keith Marshall [Wed, 7 Oct 2020 19:15:44 +0000 (20:15 +0100)]
Add "licensing terms" overlay pages.

* terms.html fdl.html: New files.
* header.html (Licensing tab): Add "terms.html" overlay reference.
* site.css (h3-numbered): New "div" class; specify formatting.
* site.js (load_page_overlay): New function; implement it.

22 months agoInitial commit.
Keith Marshall [Tue, 6 Oct 2020 21:01:06 +0000 (22:01 +0100)]
Initial commit.

* index.html header.html about.html: New files.
* site.css site.js logo.png: Likewise.