Commit graph

326 commits

Author SHA1 Message Date
Tom Hughes
f9ae6d252f Drop the slim layout
The slim layout is not really needed since the redesign as the
pages it was used for in the OAuth flow now have less chrome and
work fine on small screens with the normal layout.

Fixes #689
2014-02-16 16:03:00 +00:00
Tom Hughes
dd12e1de63 Restore the duplicate search form in the header
It turns out the duplicate form is used, for the the mobile view.
2013-12-16 09:39:54 +00:00
Tom Hughes
6ff6b2f527 Change "My Inbox" to "My Messages" in user menu
Fixes #661
2013-12-15 22:41:57 +00:00
Tom Hughes
9cc9a00988 Restore autofocusing of the search field
Use the HTML5 autofocus attribute, and focus on load for browsers
which don't support it.

Also change the removal of the "Where am I?" prompt to happen on
input rather than when the field is focused, so that it is properly
removed and restored when the field has been autofocused.

Fixes https://trac.openstreetmap.org/ticket/5065
2013-12-10 19:45:28 +00:00
Tom Hughes
c2c817ad1f Remove duplicate (hidden) search box from header 2013-12-10 18:52:49 +00:00
Tom Hughes
57b05b22e3 Revert "Remove unused file"
This reverts commit db41978f09.
2013-12-07 16:34:23 +00:00
Tom Hughes
db41978f09 Remove unused file 2013-12-07 14:34:13 +00:00
Tom Hughes
70be43201a Make title of "More" menu translatable 2013-12-07 11:24:44 +00:00
Richard Fairhurst
640ff57465 Add 'x' to close welcome box; remember preference 2013-12-01 21:36:25 +00:00
Tom Hughes
bfd11bf79a Change "Copyright & License" to "Copyright" and move it left 2013-11-30 10:51:43 +00:00
Paul Norman
a768e7111c Restore Copyright & License link
The copyright and license is an important part of OpenStreetMap.
This restores the copyright & license link to the menu, placing
it in the top-right with the other pages which do not display a map.

Fixes #548

Fixes comments in https://github.com/openstreetmap/openstreetmap-website/pull/498#issuecomment-26741518
2013-11-30 10:36:14 +00:00
John Firebaugh
6b236ec95b Fix feed link for pushState loaded history page 2013-11-25 15:47:42 -08:00
John Firebaugh
ca64b39e0d Make main page flash messages visible 2013-11-25 13:20:59 -08:00
John Firebaugh
b5825b2f64 Sign Up -> Start Mapping 2013-11-19 15:02:31 -08:00
John Firebaugh
bd21a1f7ff Eliminate loading flash for welcome overlay 2013-11-19 11:18:11 -08:00
John Firebaugh
e91956d0f7 Fix test failures 2013-11-19 10:30:18 -08:00
John Firebaugh
44629832dd Merge branch 'master' into redesign
Conflicts:
	vendor/assets/leaflet/leaflet.hash.js
	vendor/assets/leaflet/leaflet.js
2013-11-19 09:42:47 -08:00
Tom Hughes
214ff28cd9 Update to Leaflet 0.7 2013-11-18 17:43:46 +00:00
John Firebaugh
2b4f8e92c9 Merge branch 'master' into redesign
Conflicts:
	app/controllers/browse_controller.rb
	app/views/layouts/_head.html.erb
	config/environments/production.rb
	config/routes.rb
2013-11-15 16:47:49 -08:00
Aaron Lidman
74be05018b Don't render the user menu for users without ids, closed #68 2013-11-15 15:48:43 -08:00
John Firebaugh
b92cb5b772 Use html5shiv for IE8 compatibility 2013-11-15 10:46:56 -08:00
John Firebaugh
d920d94f69 Revert "Eliminate HTML5 elements"
This led to a huge mess of conflicting CSS rule priorities.

This reverts commit 9fc8bc9368.
2013-11-15 10:37:10 -08:00
John Firebaugh
e9c6e57bcc Eliminate HTML5 elements
IE8, *sigh*
2013-11-14 15:39:44 -08:00
John Firebaugh
a62141ce7f Drop pngfix.js
Don't need to support IE 6 anymore (<0.2% of users).
2013-11-14 19:32:24 +00:00
John Firebaugh
1688c361d4 Add X-UA-Compatible meta tag
Rails 4 removed the `BestStandardsSupport` middleware, because
supposedly a HTML5 doctype accomplishes the same thing. But not
quite -- without X-UA-Compatible, the UI for changing compatibility
mode is still visible, and users can get themselves into a bad state
(see https://github.com/openstreetmap/openstreetmap-website/pull/498#issuecomment-28483550)
2013-11-14 10:17:27 -08:00
John Firebaugh
2bf9144702 Don't show search in expando header on interior pages 2013-11-13 12:55:02 -08:00
John Firebaugh
853dc286b9 Add sidebar loading indicator 2013-11-12 17:01:47 -08:00
John Firebaugh
0d52b82d4e Move search form to header on small screens 2013-11-11 13:38:46 -08:00
Aaron Lidman
1ae7872ed8 Update title on pushState, closes #33 2013-11-08 16:10:08 -08:00
John Firebaugh
a2dfc00f27 Include layers in all geolinks except edit 2013-11-08 13:51:44 -08:00
John Firebaugh
b903d8b746 Fix browse overlay status messages 2013-11-08 10:46:24 -08:00
John Firebaugh
cdfe2ac21e Redo mobile styles 2013-11-07 17:25:03 -08:00
John Firebaugh
286bffa3db Overlay-style minimized sidebar 2013-11-07 15:27:40 -08:00
John Firebaugh
12e820c27e Remove ad concept 2013-11-07 10:16:04 -08:00
Aaron Lidman
864901d167 Remove #view_tab 2013-11-06 17:19:37 -08:00
Aaron Lidman
e7d200c4a6 Sidebar close reverts to 'view' state 2013-11-06 16:59:14 -08:00
Eden Halperin
774aa0c875 RTL fix for leaflet controls, Ad concept 2013-11-06 18:18:35 -05:00
Eden Halperin
821f949869 compact menu fix, changeset highlight styles 2013-11-06 15:45:57 -05:00
John Firebaugh
483b2f204e Float li's to eliminate whitespace between them 2013-11-06 11:28:22 -08:00
Eden Halperin
89a132d31c user menu fix 2013-11-06 13:17:36 -05:00
Eden Halperin
537d72b0f6 responsive secondary pages and fixed map 2013-11-06 12:57:21 -05:00
Eden Halperin
582ab35ecd groundwork for responsive menu 2013-11-06 10:31:49 -05:00
John Firebaugh
b28a02a41f Restore "Go to Home Location" 2013-11-05 16:00:41 -08:00
Eden Halperin
7503caa750 touch up secondary pages and leaflet sidebar content 2013-11-05 12:37:29 -08:00
Eden Halperin
ff752b072f cleaned up header 2013-11-05 10:17:29 -08:00
John Firebaugh
8530e3eedb AJAXy changeset history 2013-10-13 14:46:09 -07:00
John Firebaugh
ecbe27b373 Render flash in sidebar 2013-10-13 14:46:08 -07:00
John Firebaugh
35458c0096 Convert search to pushState 2013-10-13 14:46:08 -07:00
John Firebaugh
60170d7069 Fix root link 2013-10-13 14:46:08 -07:00
John Firebaugh
3d4a137959 Don't rely on body classes so much
Doesn't work well with pushState-based navigation.
2013-10-13 14:46:08 -07:00