Commit graph

198 commits

Author SHA1 Message Date
Tom Hughes
65d816130e Revert "Add notice about upcoming downtime"
This reverts commit 57787edc20.
2012-04-04 09:50:39 +01:00
Tom Hughes
6d99be3efc Style readonly notice correctly 2012-04-01 09:05:47 +01:00
Tom Hughes
57787edc20 Add notice about upcoming downtime 2012-03-29 18:32:32 +01:00
Tom Hughes
50ca95ebdd Rename toggleData to showData 2012-03-28 21:20:40 +01:00
Tom MacWright
8f4ed911e0 Introduce a new layer switcher
The new layer switcher behaves the same as the standard one but
has less cruft and more attractive styling.
2012-03-28 21:06:08 +01:00
Tom Hughes
66caf92bd9 Improve styling of notice boxes to match new sidebar styling 2012-03-21 10:43:05 +00:00
Tom Hughes
be585d1403 Improve styling of alert boxes to match new sidebar styling 2012-03-21 10:38:12 +00:00
Tom Hughes
b6163f0fc2 Grow text areas automatically in response to input 2012-03-17 16:36:57 +00:00
Tom Hughes
31ebfc8ed0 Add missing </div> tag 2012-03-14 18:29:19 +00:00
Tom Hughes
0884e7b431 Add _html suffixes to some resource strings which have changed
Where a translatable string contains (directly or indirectly via
interpolations) some HTML it is better to add an _html suffix to
the key rather than wrap the result in raw so that escaping is
handled automatically for interpolations.

It's not worth doing until a string is changed and needs to be
retranslated though, as it will just break translations.
2012-03-14 18:29:04 +00:00
Tom MacWright
dc48c9a510 Front page copy revision
This edits the front page copy to be more direct, link off to more
useful resources, and guide people to register for an account. It
also moves partner links to below the donate link.
2012-03-14 17:33:00 +00:00
Tom MacWright
ae8cc604a1 Move the diary link to the sidebar
Restructure the links section in the sidebar to split it into two
major groups, help and community and move the diary link from a tab
to the community section of the sidebar.
2012-03-14 10:12:36 +00:00
Tom Hughes
5c74a6517c Load the piwik tracking code asynchronously 2012-03-10 12:17:23 +00:00
Tom MacWright
40402fcdb8 Fix some issues with the new tab styling
Uses the parent of the tabnav element to do its positioning, and fixes
this style in RTL and small.

Also move the greetings block into the top-bar div in order to cleanly
have it share a border with tabs.
2012-03-04 10:37:46 +00:00
Tom Hughes
155babfec6 Don't escape the title - rails will handle it 2012-02-20 11:45:17 +00:00
Tom Hughes
4e78648d46 Add apple-touch-icon link to the layout 2012-02-19 11:29:14 +00:00
Tom MacWright
c241c3c312 Cleanup style
This is a mild restyling of OpenStreetMap. Changes include:

  * Remove margin from map, add more margin to text content
  * Rearrange permalink & link buttons and gives them a background
  * Pull OpenStreetMap text below logo along with subtitle
  * Simplify sidebar styling
  * Move towards a baseline, start to consolidate text size and line height

This is tested with LTR, RTL, and the compact mode, and looks good. Looks
more uniform in older browsers because it relies less on round corners.
2012-02-12 15:17:43 +00:00
Tom Hughes
2a84871de6 Serve OpenSearch definition though the assets pipeline 2011-12-30 22:37:11 +00:00
Tom Hughes
b8445ad3b2 Serve the favicon through the assets pipeline 2011-12-30 22:32:55 +00:00
Tom Hughes
a46e526cd7 Disable the donation drive message 2011-12-30 11:12:23 +00:00
Tom Hughes
3255495520 Enable the donation drive message 2011-12-02 11:05:43 +00:00
Tom Hughes
13289d4041 Switch from Prototype to jQuery 2011-11-26 00:22:31 +00:00
Tom Hughes
afc3a4380c Fix javascript 2011-11-25 18:43:51 +00:00
Tom Hughes
5db8031c23 Make sure all forms have the correct authenticity token
A cached page may include forms, which will then have the wrong
authenticity token, so after the page has finished loading we fix
up those tokens using the one from the meta tags which will always
be correct as we never cache the layout.
2011-11-25 09:41:15 +00:00
Tom Hughes
8e52cac837 Always pass the session ID to the logout page
The tricks we played before to only pass it via a POST while
keeping the visible URL clean don't work anymore.
2011-11-16 11:25:37 +00:00
Tom Hughes
8acdba8bdd Upgrade to rails 3.1.0 2011-11-14 09:42:52 +00:00
Tom Hughes
49a45b1c52 Fix escaping of unicode character in edit menu name 2011-11-14 09:42:50 +00:00
Tom Hughes
7d45c2fd3c Replace request.request_uri with request.fullpath 2011-11-14 09:42:42 +00:00
Tom Hughes
22594361d5 Mark some strings that shouldn't be escaped as raw 2011-11-14 09:42:41 +00:00
Tom Hughes
7b37f4cb62 Use link_to and form_tag instead of link_to_remote and form_remote_tag 2011-11-14 09:42:40 +00:00
Tom Hughes
c9fa49c994 Update to rails 3 2011-11-14 09:42:40 +00:00
Tom Hughes
f2d205a59e Add a link to the OpenStreetMap Google+ page 2011-11-07 22:38:56 +00:00
Tom Hughes
dc4cc8d219 Add support for manual tracking of a Piwik goal on signup 2011-09-20 21:40:53 +01:00
Tom Hughes
425878bf3e Remove SOTM advert 2011-09-20 21:31:11 +01:00
Tom Hughes
3259bc7ede Add support for Piwik analytics 2011-09-17 00:11:53 +01:00
Tom Hughes
f242c9de94 Add edit links to data browser pages 2011-07-19 22:48:29 +01:00
Tom Hughes
936a005f9f Implement a generic system for updating coordinates on links 2011-07-19 11:05:06 +01:00
Tom Hughes
0c0775f96a Disable the edit tab until we have some coordinates to edit at 2011-07-19 10:02:50 +01:00
Tom Hughes
6b8beb7d1a More work on moving styles out of line and extending RTL support 2011-07-02 17:10:56 +01:00
Tom Hughes
d075fc4c1f Lots more work on making RTL layout work 2011-07-02 01:00:51 +01:00
Tom Hughes
8b4d4549a4 Add a credit for IC on the front page 2011-06-28 14:03:12 +01:00
Mikel Maron
11b5fc0e95 Moved up search box to make it more visible 2011-05-21 11:00:53 +01:00
Tom Hughes
db9420ba57 Make "all traces" and "your traces" links more consistent
Make sure we always show the "all traces" and "your traces" links
in the same place and that they don't accidentally inherit parameter
values that we don't really want.

Based on work by Andrzej Zaborowski <balrog@zabor.org>.
2011-05-13 10:06:16 +01:00
Tom Hughes
8f101a3759 Trigger mobile mode at 640px instead of 480px for iPhone 4 support 2011-04-03 18:02:27 +01:00
Dan Karran
d62da73ad7 Add a smaller version of the site logo and title for small screens 2011-04-03 15:16:35 +01:00
Tom Hughes
bb83f28a5e Factor out comment code from layouts into partials 2011-04-03 13:46:17 +01:00
Andy Allan
7d7416894a New version of slim layout with grey background and centered, auto-adjusting page 2011-04-03 13:46:17 +01:00
Andy Allan
873fe81f71 Try a different approach - grab the layout and stylesheet from slim1, and ditch the rest 2011-04-03 13:46:16 +01:00
Tom Hughes
b3bcbbeb3b Move SOTM advert above the optionals 2011-04-03 13:46:16 +01:00
Matt Amos
82db7eccc8 Added SOTM 2011 banner to the side bar 2011-04-03 13:46:15 +01:00