Tom Hughes
815c98c977
Select which key entries to show on the client
...
Rather than requesting a new key every time the zoom or layer
changes, serve up all the entries initially with appropriate
annotations to allow the client to decide which ones to show.
2012-08-31 10:29:32 +01:00
Tom Hughes
51f5984c1c
Use CSS to centre the images in the key
2012-08-31 10:27:45 +01:00
John Firebaugh
519c7dc2dd
Move key JS to application bundle
2012-08-30 15:34:26 -07:00
John Firebaugh
e83fba2b47
Eliminate interpolation in key JS
2012-08-30 15:33:48 -07:00
Tom Hughes
d7da1562c3
Get rid of the sidebar's onclose global state
2012-08-30 23:02:54 +01:00
John Firebaugh
d6a8aaa369
Move sidebar JS to application bundle
...
It's required on the main page so will nearly always be loaded anyway.
Enclosed in an anonymous function to avoid leaking the onclose global.
2012-08-30 20:30:11 +01:00
Tom Hughes
434e603cd6
Use custom events to resize the map on sidebar open/close
2012-08-30 20:27:11 +01:00
Tom Hughes
420ebbbb87
Fix maximisation of Potlatch
2012-08-29 15:37:26 +01:00
Tom Hughes
ce054eed22
Improve handling of sidebar close link
2012-08-29 14:08:18 +01:00
Tom Hughes
e82c758cea
Switch to the HTML5 DOCTYPE
2012-08-29 12:31:50 +01:00
Tom Hughes
367303f6d8
Move a chunk of non-markup ruby code from a view to the controller
2012-08-28 20:39:18 +01:00
Tom Hughes
d9054cfe29
Move some javascript from the layout to application.js
2012-08-28 19:47:20 +01:00
Tom Hughes
3d874a5d61
Use start.html.erb views instead of _sidebar.html.erb partials
2012-08-27 21:28:41 +01:00
John Firebaugh
5aa09fbfd0
Use a standard application.js bundle
...
Include map.js and menu.js in the bundle.
2012-08-27 20:31:17 +01:00
John Firebaugh
17b23b0756
Extract browse.js static asset
2012-08-27 20:23:24 +01:00
John Firebaugh
2feff4244f
Reduce interpolation in browse/start.js.erb
2012-08-27 18:00:48 +01:00
John Firebaugh
cc4f133e64
Extract export.js static asset
2012-08-27 18:00:13 +01:00
John Firebaugh
c2333c603e
Reduce interpolation in export/start.js.erb
2012-08-27 18:00:12 +01:00
Tom Hughes
7ad58d1411
Switch to using i18n-js for handling translations in javascript
2012-08-27 18:00:03 +01:00
John Firebaugh
dcb25f0c07
Set OpenLayers lang unobtrusively
...
We output the locale code as the lang attribute, so
use that rather than interpolating into embedded JS.
2012-08-24 19:00:59 -07:00
Tom Hughes
7ebaf34eb6
Rework sidebar width calculation to work with jQuery 1.8
2012-08-19 16:55:29 +01:00
Tom Hughes
8ba86337c3
Add a missing </tr> tag
2012-08-15 22:36:39 +01:00
Tom Hughes
573991e5a9
Fixup make_friend and remove_friend properly
...
Requests using POST are now actioned immediately, while requests
using GET present a confirmation page.
2012-08-15 20:13:14 +01:00
Tom MacWright
2638cd5252
Fix regression - no link to view diary of other users
2012-08-15 00:15:20 +01:00
Tom Hughes
740ba0dd38
Require POST for make_friend and remove_friend
...
Note that this breaks the make_friend link in friend notfication
emails, but it will do as a temporary measure.
2012-08-14 22:49:52 +01:00
Tom Hughes
bc009ccd73
Correct API URL shown in data browser sidebar
2012-08-11 10:49:38 +01:00
Tom Hughes
fbabed694b
Improve blocks on/by links on user pages
...
All block related links are now only shown if the user has given
or received any blocks, and include a count of active blocks.
2012-08-10 08:27:37 +01:00
Tom MacWright
221ca3c1fa
Improve user page navigation menu
...
Add counts to edits, blocks, and traces; don't show blocks if there
are none; and move OAuth to the settings page.
2012-08-10 08:26:48 +01:00
Tom Hughes
ada8b184ea
Preserve background colour when marking messages read/unread
2012-08-09 00:26:38 +01:00
Tom Hughes
3445f447cd
Add a SOTM advert to the sidebar
2012-08-08 21:37:29 +01:00
Tom MacWright
f436a5cd2b
Improve presentation of homepage
...
Collapse search button into icon, deemphasize copy and remove
extraneous borders.
2012-08-08 18:20:48 +01:00
Tom Hughes
3b43e4d53a
Use SimplePanZoom control in changeset browser maps
2012-08-08 18:20:22 +01:00
Tom Hughes
7f661ec55e
Make things a bit more readable
2012-08-07 22:58:03 +01:00
Tom MacWright
f08259a529
Improve styling of inbox counter in greeting bar
2012-08-07 22:57:41 +01:00
Tom Hughes
e885c1249b
Break up the "copyright and license" text into smaller pieces
2012-08-02 21:40:12 +01:00
Tom Hughes
f9528a7464
Improve "no traces" message
2012-08-01 10:56:19 +01:00
Tom Hughes
abb13e4a91
Add paragraph tags around "no edits" message
2012-08-01 10:55:48 +01:00
Steve Singer
d2db785a2a
Replace raw with a translation with the html suffix
2012-07-31 22:56:51 +01:00
Steve Singer
6403fead9c
Don't show the changeset container or map if there are no changesets
2012-07-31 22:56:51 +01:00
Steve Singer
69d91bf24a
Navigation changes to the GPX traces page
...
Display a better message when no traces are present and only
display the paging links when multiple pages exist.
2012-07-31 22:56:44 +01:00
Tristen Brown
51079ecafb
Show a helpful message when there are no changesets to display
2012-07-31 21:44:22 +01:00
Tristen Brown
0b81013437
Show a helpful message when there are no traces to display
2012-07-31 21:28:52 +01:00
Tom Hughes
683c371740
Make links back to the user language copyright page work
2012-07-30 13:35:25 +01:00
Tom Hughes
78ff250c1d
Add a paging control to the user blocks list
2012-07-18 21:36:40 +01:00
Sarah Hoffmann
d97d3f76a6
Replace PanZoom control with Zoom control for small maps
...
In OpenLayers 2.12 the event handling of PanZoom and PanZoomBar clashes
with the result that the zoom level changes by two steps every time one
of the zoom buttons is pressed. Using the Zoom control fixes this issue.
2012-07-16 18:05:02 +01:00
Tom Hughes
bd12ec7a8b
Present links at the bottom of data browser pages in a consistent way
2012-07-11 14:42:02 +01:00
Andy Allan
2c67c079ac
Don't show coordinates for deleted nodes
2012-07-11 14:42:01 +01:00
Tom Hughes
98445b2ab9
Replace use of Event with jQuery methods
...
Versions of OpenLayers before 2.12 provided a global Event object
but this has now been removed, so use jQuery methods instead.
2012-06-30 14:59:22 +01:00
Tom Hughes
8027dc85b1
Report the feature limit correctly in the data browser
2012-06-28 18:28:34 +01:00
Tom Hughes
c3500df1cf
Make switching data browser to current map view work
2012-06-28 18:25:24 +01:00