Commit graph

22 commits

Author SHA1 Message Date
Alexander Nedotsukov
06c94049c7 Remove artificail height limits which screw up multi-line boxes.
See de, es, fr, it, ja, nl and ru pages.
2013-02-13 13:36:16 +00:00
Eitan Adler
e252d41c95 Permit the "In-Page Analytics" anylitics features to work.
These include
- the "browser size" tool
- the "show hotspots" and "show bubbles" tool

Approved by:	doceng
Hat:		webstats
2013-01-17 03:32:17 +00:00
Glen Barber
306a5a7f07 Remove front_new* and front_get* images. 2013-01-12 18:48:15 +00:00
Glen Barber
fb956d9d77 Unlink front_get* and front_new* images from build. 2013-01-12 18:33:11 +00:00
Glen Barber
ff9168397c List data files one per line.
No functional change.
2013-01-12 17:48:48 +00:00
Glen Barber
41632b49d5 Use pure CSS for "Get FreeBSD Now" and "New to FreeBSD" buttons
on the index page.

In my tests, this change reduces page load time from 1.127 seconds
to 0.733 seconds on average, and removes 13 extra HTTP requests.
2013-01-12 17:12:57 +00:00
Glen Barber
43d2571202 Remove a comment left in by accident. 2012-12-13 02:16:01 +00:00
Glen Barber
3daae7b7bf Increase padding, in case page is viewed with smaller DPI.
Submitted by:	bdrewery
2012-12-13 02:14:17 +00:00
Glen Barber
11e3c1e757 Per request of deb@, put the "Donate to FreeBSD" button in
the default page header.  The following changes were made:

 - Remove the Donate to FreeBSD button added a few days ago

 - Add stylesheet entries for the new button.  Note this
   button is pure CSS, and does not use background images
   for the rounded boarders.

 - Move the 'Donate' and 'Contact' links from the header:
    o 'Donate' is now 'Hardware Donations' in the menu
       dropdown.
    o 'Contact' is now in the footer.
    o The 'Donate' link that existed in the menu dropdown
      is now 'Monetary Donations'.

 - The header2.donatebutton entity is now used for this
   button, so translation teams can modify localized
   header.l10n.ent for the button text.

 - Comment the header2.searchnav entity entries in header.ent
   for now, until I figure out what to do with them.

This change should have zero UI regressions, and solves the
problem of the previously added button pushing the 'New to
FreeBSD' button down into the security text.[1]

Requested by:	deb
Reported by:	emaste[1], gavin[1]
2012-12-12 21:32:25 +00:00
Eitan Adler
4b36ddbfee Anonymize the last octet of the IP address. This is a tradeoff of
privacy vs geo-ip accuracy.

Approved by:	bcr, jkois (mentors, implicit)
2012-12-06 12:35:53 +00:00
Eitan Adler
124be1816f Enable Google Analytics
Approved by:	doceng
Approved by:	core
2012-12-05 01:44:12 +00:00
Eitan Adler
f5c4c5d41c I maintain the Google Analytics file and must approve changes.
This should have been here since it was committed.

Implement DNT checks

Make enable/disabling the flip of an obvious switch.

Remove pointless custom variable (it doesn't work anyways)

Fix some style errors

Add a file allowing Google to verify that I "control" freebsd.org

Reviewed by:	doceng (gjb)
Approved by:	bcr (mentor)
2012-12-05 01:43:27 +00:00
Isabell Long
bee5d224fe Remove the ability to change the font size on the website. There are now
much better ways of doing this in modern web browsers.  Furthermore, it
never worked as well as it should have done, as too much of the website is
built around fixed layouts.

It was felt it was best to remove the size switcher from all languages at
once, so that the infrastructure (styleswitcher.js etc.) could be removed
at the same time.

Discussed at:	Cambridge DevSummit, August 2012
Discussed on:	www@
Approved by:	gabor (mentor)
2012-09-30 13:27:05 +00:00
Glen Barber
22c228c52a Attempt to fix some browser rendering issues caused by css caching. 2012-09-26 23:14:22 +00:00
Gabor Kovesdan
eead05cd3d - Fix mispelled class name
Approved by:	doceng (implicit)
2012-08-24 10:47:09 +00:00
Gabor Kovesdan
2e51ec7022 - Strip unnecessary trailing spaces
Approved by:	doceng (implicit)
2012-08-21 19:16:02 +00:00
Gabor Kovesdan
b2153405c5 - Strip CR characters
Approved by:	doceng (implicit)
2012-08-21 18:58:49 +00:00
Gabor Kovesdan
acb8333ccd - Convert more id's and references to lower case
- Drop upper case support from CSS

Approved by:	doceng (implicit)
2012-08-19 11:11:51 +00:00
Gabor Kovesdan
16e0394616 - Convert all id names to lowercase
Approved by:	doceng (implicit)
2012-08-18 23:43:35 +00:00
Hiroki Sato
35babe0ae5 - Set svn:ketwords and svn:mime-type. Note that application/octet-stream is
set on some files as a workaround for binary check.
- Fix pathname for svn co in the webupdate script.

Approved by:	doceng (implicit)
2012-05-17 19:12:14 +00:00
Hiroki Sato
4fe414e55f - Move developers.sgml to the language-independent directory.
- Move files under <lang>/htdocs/share to <lang>/share.
- s/WEB_PREFIX/DOC_PREFIX/
- Update the webupdate script to use the SVN repository.
 
Approved by:	doceng (implicit)
2012-05-17 03:23:15 +00:00
Hiroki Sato
282a032540 - Remove junk directories.
- Repocopy from www/<lang> to head/<lang>/htdocs to eliminate duplicate
  information in the www and the doc directory.
- Add various administration files to svnadmin.
 
Approved by:	doceng (implicit)
2012-05-17 02:51:08 +00:00