]> git.openstreetmap.org Git - rails.git/commit
Add iD editor
authorTom MacWright <tom@macwright.org>
Mon, 1 Apr 2013 21:19:15 +0000 (17:19 -0400)
committerJohn Firebaugh <john.firebaugh@gmail.com>
Fri, 3 May 2013 17:52:41 +0000 (10:52 -0700)
commit7a98913d0cf74887180aca3520c628a52b0e7071
tree2bd1506063704cee0e07c4fb40082f1e4f8ab957
parent2c8ed19553808c9f2c9df732a6c60fd3c306aaab
Add iD editor

iD sources live in vendor/assets/iD, and are managed with
vendorer, using the "rewrite" functionality to replace relative
paths in the CSS with <%= asset_path(…) %> directives.

To avoid needing to namespace all of its CSS classes, iD
is embedded via an iframe.

To setup, edit application.yml to include an `id_key` key.
(It can use the same consumer key as P2 if you like.)
59 files changed:
Vendorfile
app/assets/stylesheets/common.css.scss
app/controllers/site_controller.rb
app/views/site/_id.html.erb [new file with mode: 0644]
app/views/site/id_iframe.html.erb [new file with mode: 0644]
config/environments/production.rb
config/example.application.yml
config/locales/en.yml
config/routes.rb
lib/editors.rb
vendor/assets/iD/iD.css.erb [new file with mode: 0644]
vendor/assets/iD/iD.js [new file with mode: 0644]
vendor/assets/iD/iD/img/background-pattern-1.png [new file with mode: 0644]
vendor/assets/iD/iD/img/background-pattern-opacity.png [new file with mode: 0644]
vendor/assets/iD/iD/img/bing_maps.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-draw-connect-line.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-draw-connect-line2x.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-draw-connect-vertex.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-draw-connect-vertex2x.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-draw.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-draw2x.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-grab.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-grab2x.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-grabbing.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-grabbing2x.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-pointer.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-pointer2x.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-pointing.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-pointing2x.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-select-acting.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-select-acting2x.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-select-add.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-select-add2x.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-select-area.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-select-area2x.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-select-line.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-select-line2x.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-select-point.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-select-point2x.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-select-remove.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-select-remove2x.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-select-split.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-select-split2x.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-select-vertex.png [new file with mode: 0644]
vendor/assets/iD/iD/img/cursor-select-vertex2x.png [new file with mode: 0644]
vendor/assets/iD/iD/img/feature-icons.png [new file with mode: 0644]
vendor/assets/iD/iD/img/loader-black.gif [new file with mode: 0644]
vendor/assets/iD/iD/img/loader-white.gif [new file with mode: 0644]
vendor/assets/iD/iD/img/loader_bg.gif [new file with mode: 0644]
vendor/assets/iD/iD/img/logo.png [new file with mode: 0644]
vendor/assets/iD/iD/img/mini-loader.gif [new file with mode: 0644]
vendor/assets/iD/iD/img/pattern/cemetery.png [new file with mode: 0644]
vendor/assets/iD/iD/img/pattern/construction.png [new file with mode: 0644]
vendor/assets/iD/iD/img/pattern/dots.png [new file with mode: 0644]
vendor/assets/iD/iD/img/pattern/farmland.png [new file with mode: 0644]
vendor/assets/iD/iD/img/pattern/orchard.png [new file with mode: 0644]
vendor/assets/iD/iD/img/pattern/vineyard.png [new file with mode: 0644]
vendor/assets/iD/iD/img/pattern/wetland.png [new file with mode: 0644]
vendor/assets/iD/iD/img/sprite.svg [new file with mode: 0644]