Commit graph

1345 commits

Author SHA1 Message Date
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
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
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
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
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
7c5d0fff3d Move browse JS to page-specific script file 2012-09-30 12:14:25 +01:00
John Firebaugh
4d6533db32 Eliminate interpolation in browse map JS 2012-09-30 12:05:37 +01:00
John Firebaugh
605c700895 Clean up search JS
Move it to index.js/edit.js and eliminate the global doSearch
function. Not enough code is shared to justify it.
2012-09-30 12:05:24 +01:00
John Firebaugh
e83d43ca82 Move edit JS to page-specific script file 2012-09-30 11:59:49 +01:00
John Firebaugh
d62e8c43f3 Inline key partial used only on index 2012-09-30 11:59:06 +01:00
John Firebaugh
0ec2843b0f Eliminate interpolation in edit JS 2012-09-30 11:57:24 +01:00
John Firebaugh
5966792af5 Extract home_link partial 2012-09-29 18:04:56 +01:00
John Firebaugh
352f2a1671 Move index JS to page-specific script file 2012-09-29 18:00:04 +01:00
John Firebaugh
43243e4c92 Eliminate interpolation in index JS 2012-09-29 18:00:04 +01:00
John Firebaugh
59a8f93bc6 Use the jQuery data() function to access HTML 5 data attributes 2012-09-29 18:00:03 +01:00
Tom Hughes
f47edb1446 Don't report the PD flag in the user API call 2012-09-24 18:44:12 +01:00
Tom Hughes
8857fe3624 Add some extra information to user API responses 2012-09-24 18:44:11 +01:00
Tom Hughes
3ce4de1295 Add a /api/0.6/user/NNNN call to the API 2012-09-24 18:44:11 +01:00
John Firebaugh
20e5f756be Support the same edit params for Potlatch 1 and 2
Trac ticket 4587
2012-09-21 15:16:56 -07:00
Tom Hughes
5c39e5870d Move the administrator details further down the user page 2012-09-20 09:25:53 +01:00
Tom MacWright
582e5b225d moderate refactoring of the user page 2012-09-20 09:25:20 +01:00
Tom Hughes
ebcb038c1c Suppress any border on the logo 2012-09-19 12:12:45 +01:00
John Firebaugh
0509fc8d12 Move param-based map configuration to client
This prepares us for hash-based permalinks (#81) and removes
the duplication between index.html.erb and SiteController#edit.
2012-09-18 08:56:45 +01:00
John Firebaugh
14a7d1abfc Use jquery.cookie 2012-09-18 08:55:27 +01:00
John Firebaugh
3b1f455dd9 Extract layer configuration to map.js 2012-09-16 16:25:33 +01:00
Martijn van Exel
5f0c590c32 Add a banner for SOTM US 2012-09-16 16:20:53 +01:00
Tom Hughes
686ce8f3e5 Fix interpolation issues in attribution text 2012-09-13 09:56:26 +01:00
Richard Fairhurst
a302ddeb8a New /copyright page for ODbL 2012-09-12 08:37:09 +01:00
Tom Hughes
3787918d68 Remove SOTM advert 2012-09-08 14:32:27 +01:00
John Firebaugh
e338d11408 Move resize JS to application bundle 2012-09-07 13:05:25 -07:00
John Firebaugh
21273d4164 Eliminate interpolation in resize JS 2012-09-07 13:05:02 -07:00
John Firebaugh
7ff77d9d3d Trigger map.updateSize() via a custom event 2012-09-07 13:04:48 -07:00
John Firebaugh
8ec415b060 Use a param to trigger export rather than a separate action
In site/_resize.html.erb and site/_search.html.erb, a
params[:action] conditional is used to include code that
should only run on the index action -- but it should be run
on the export action too. Cleanest fix is to eliminate that
action entirely.
2012-09-07 09:27:59 +01:00
Tom Hughes
ec4ef1ad2b Remove controller_action class from the content div
It's duplicated by the new controller-action class on the body
element, so just use that instead.
2012-09-06 22:01:49 +01:00
Tom Hughes
800dbbf41b Use named routes in the layout 2012-09-06 21:49:02 +01:00
Tom MacWright
02de53eb45 Refactor view and css code around homepage links
This adds a new class to the body which we can use to do more styling
in CSS rather than erb-embedded Ruby. The only visual change is that
there's now a subtle transition for homepage links becoming active.
2012-09-06 20:28:23 +01:00
Tom Hughes
7c0055b5d7 Move piwik code to a static JS asset 2012-09-06 09:02:51 +01:00
Tom Hughes
24453e7230 Issue piwik goal tracking calls correctly 2012-09-05 21:10:23 +01:00
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