Saman Bemel-Benrud
b70aa5dbbd
Change approach to layout in order to fix some weird CSS problems
...
Move away from using an absolute positioned #content div as this was
causing some weird problems when users scrolled down, like not showing
bottom padding, and prematurely cutting off the left keyline.
Now, the content area uses relative positioning most of the time, and
fixed positioning when the full screen map is in place.
Using fixed positioning on the big map is nice because you can now scroll
down to see more sidebar content, but you won't end up with an ugly block
of white space under the map.
2012-10-30 13:55:14 +00:00
Tom Hughes
0ba1839e78
Move OL control styling to OL theme
2012-10-29 19:04:01 +00:00
Tom Hughes
577b5d5bb8
Fix RTL issues with the search and donate icons
2012-10-26 21:51:26 +01:00
Tom Hughes
95fa893163
Make it easier to test alternative locales
...
Allow a locale=xx parameter in the URL to select the locale.
2012-10-26 21:41:03 +01:00
John Firebaugh
c426e8d160
Make it easier to test RTL layout
...
Instead of fiddling with settings so the site appears in Arabic
or Hebrew, you can add a dir=rtl param to the URL.
2012-10-26 21:36:59 +01:00
Saman Bemel-Benrud
2e2ebbf959
Minor style overhaul to sidebar
...
A number of small usability improvements / fixes, including:
* Small inconsistencies in spacing fixed
* Links now visually differentiated from headings in the menu
* Search bar actually looks right (or at least not as broken) in IE7 now
* New heart on the donate button + larger click area on the donate button!
2012-10-26 21:24:36 +01:00
Saman Bemel-Benrud
6c2bca73c1
Removed incorrect margin between zoom in and zoom out controls
2012-10-26 19:28:12 +01:00
Saman Bemel-Benrud
1104f6997b
Improved user icons
2012-10-22 22:50:17 +01:00
Grant Slater
49666ecf11
Revert "Add SoTM Scotland banner"
...
This reverts commit 749caaff73
.
2012-10-22 21:07:22 +01:00
John Firebaugh
31dae1bac1
Avoid unnecessary array allocations
2012-10-22 08:45:31 +01:00
Grant Slater
749caaff73
Add SoTM Scotland banner
2012-10-18 19:00:25 +01:00
Tom Hughes
8cdd6b6a1c
Improve the user image selection UI
2012-10-18 18:59:39 +01:00
Paweł Paprota
ad43499205
Implemented Gravatar support
2012-10-18 18:59:38 +01:00
Tom Hughes
bfcc3235c5
Remove SOTM US advert
2012-10-15 19:15:54 +01:00
John Firebaugh
14bc538681
Use ejs templates in browse JS
2012-10-13 13:01:00 +01:00
John Firebaugh
24c0bb1c88
Use proj/unproj consistently
2012-10-13 12:58:18 +01:00
John Firebaugh
b95f9115d7
Move browse-related JS to browse.js
2012-10-13 12:57:59 +01:00
John Firebaugh
52daf1dbc4
Move export-related JS to export.js
2012-10-13 12:57:09 +01:00
Richard Fairhurst
012d5b69c6
Provide example of correct attribution
2012-10-12 21:06:56 +01:00
Richard Fairhurst
8438ce7779
Remove Potlatch 1 from edit menu
2012-10-12 21:05:29 +01:00
Paweł Paprota
67a03d44a1
Display a diary entry count on the user page
2012-10-07 16:17:01 +01:00
Paweł Paprota
067ff20504
Match wikipedia language prefixes case insensitively
...
Without this values like "PL:Article" are linked to the English Wikipedia.
2012-10-07 16:03:10 +01:00
Paweł Paprota
8688edf992
Don't remove language prefixes from wikipedia tags
...
Removing the language prefix from the displayed value of a wikipedia
tag is confusing, so don't do it. Fixes trac #4135 .
2012-10-07 16:01:50 +01:00
John Firebaugh
8d13c39400
Clean up diary_entry.js
2012-10-06 00:07:50 +01:00
John Firebaugh
7f6320ed10
Move diary entry JS to page-specific script file
2012-10-06 00:03:24 +01:00
John Firebaugh
04887011d4
Eliminate interpolation in diary entry JS
2012-10-06 00:02:42 +01:00
John Firebaugh
237d2ad60d
Simplify further by using OSM.home
2012-10-05 22:37:21 +01:00
John Firebaugh
d9d515bf18
Remove unused params code
2012-10-05 22:32:50 +01:00
John Firebaugh
97eee60c99
Remove unnecessary call to closeMapPopup()
...
In the 'set_location' case no popups are ever opened.
2012-10-05 22:32:05 +01:00
John Firebaugh
330ddc1666
Use jQuery
2012-10-05 22:31:17 +01:00
John Firebaugh
dd1ec4eb9b
Move user JS to page-specific script file
...
In this case it was difficult to eliminate interpolation
in a separate step, so I didn't bother.
2012-10-05 22:24:41 +01:00
John Firebaugh
4f552430b4
Remove unnecessary delete statement
2012-10-05 19:37:21 +01:00
Tom Hughes
762d615859
Don't try and dereference an object that may not exist
2012-10-05 18:01:02 +01:00
Tom Hughes
824a474d93
Refactor updatelinks to avoid exceptions in updateLocation
2012-10-05 16:02:26 +01:00
John Firebaugh
3cf3d888b2
Refactor mapParams to compose better with apiUrl
2012-10-05 15:36:07 +01:00
John Firebaugh
e4ef507c5c
Extract OSM.apiUrl
2012-10-05 15:26:54 +01:00
John Firebaugh
c3d1123965
Merge globals.js.erb and params.js
2012-10-05 15:21:47 +01:00
John Firebaugh
e73ab4049f
Remove unused assign of @bbox which is no longer used
2012-10-05 15:21:09 +01:00
John Firebaugh
cabdb65191
Move remaining inline changeset JS to changeset.js
2012-10-05 15:20:57 +01:00
John Firebaugh
898bc32f48
Move changeset JS to page-specific script file
2012-10-05 15:20:26 +01:00
John Firebaugh
7ef803f86d
Eliminate interpolation in changeset JS
2012-10-05 15:13:01 +01:00
John Firebaugh
b5ca3b12d1
Remove unused function
2012-10-05 15:00:32 +01:00
Tom Hughes
96712f1dd4
Tidy up some CSS to match house style
2012-10-02 19:51:30 +01:00
Tom Hughes
ff5972d090
Fix cut and paste errors in inbox/outbox redesign
2012-10-02 19:51:30 +01:00
Tom MacWright
be8617dfdc
Redesign inbox
...
Cuts down on buttons, grey, and bold clutter.
2012-10-02 19:34:49 +01:00
John Firebaugh
6ef19d7e18
Remove unnecessary $(window).load() callbacks
...
All this is already inside a $(document).ready() callback.
2012-10-02 18:22:36 +01:00
John Firebaugh
f3afd43076
Avoid a JS error on (e.g.) ?way=nnnnn
...
When showing an object, the map location is not set
until the vector layer has finished loading. Thus
map.getCenter() returns null.
Registering the events earlier avoids the need to call
updateLocation manually at all.
2012-10-02 18:22:17 +01:00
John Firebaugh
60becd1050
Remove @midnode assign
...
It does not appear to be necessary and no other edit links
make use of it. SiteController#edit will calculate a precise
center coordinate.
2012-09-30 12:19:15 +01:00
John Firebaugh
569f3cbe9b
Remove unused event argument
2012-09-30 12:16:31 +01:00
John Firebaugh
7e3ca66fff
Use $(document).ready() to initialise browse JS
2012-09-30 12:15:49 +01:00