Tom Hughes
155babfec6
Don't escape the title - rails will handle it
2012-02-20 11:45:17 +00:00
Tom Hughes
4e78648d46
Add apple-touch-icon link to the layout
2012-02-19 11:29:14 +00:00
Tom MacWright
c241c3c312
Cleanup style
...
This is a mild restyling of OpenStreetMap. Changes include:
* Remove margin from map, add more margin to text content
* Rearrange permalink & link buttons and gives them a background
* Pull OpenStreetMap text below logo along with subtitle
* Simplify sidebar styling
* Move towards a baseline, start to consolidate text size and line height
This is tested with LTR, RTL, and the compact mode, and looks good. Looks
more uniform in older browsers because it relies less on round corners.
2012-02-12 15:17:43 +00:00
Tom Hughes
2a84871de6
Serve OpenSearch definition though the assets pipeline
2011-12-30 22:37:11 +00:00
Tom Hughes
b8445ad3b2
Serve the favicon through the assets pipeline
2011-12-30 22:32:55 +00:00
Tom Hughes
a46e526cd7
Disable the donation drive message
2011-12-30 11:12:23 +00:00
Tom Hughes
3255495520
Enable the donation drive message
2011-12-02 11:05:43 +00:00
Tom Hughes
13289d4041
Switch from Prototype to jQuery
2011-11-26 00:22:31 +00:00
Tom Hughes
afc3a4380c
Fix javascript
2011-11-25 18:43:51 +00:00
Tom Hughes
5db8031c23
Make sure all forms have the correct authenticity token
...
A cached page may include forms, which will then have the wrong
authenticity token, so after the page has finished loading we fix
up those tokens using the one from the meta tags which will always
be correct as we never cache the layout.
2011-11-25 09:41:15 +00:00
Tom Hughes
8e52cac837
Always pass the session ID to the logout page
...
The tricks we played before to only pass it via a POST while
keeping the visible URL clean don't work anymore.
2011-11-16 11:25:37 +00:00
Tom Hughes
8acdba8bdd
Upgrade to rails 3.1.0
2011-11-14 09:42:52 +00:00
Tom Hughes
49a45b1c52
Fix escaping of unicode character in edit menu name
2011-11-14 09:42:50 +00:00
Tom Hughes
7d45c2fd3c
Replace request.request_uri with request.fullpath
2011-11-14 09:42:42 +00:00
Tom Hughes
22594361d5
Mark some strings that shouldn't be escaped as raw
2011-11-14 09:42:41 +00:00
Tom Hughes
7b37f4cb62
Use link_to and form_tag instead of link_to_remote and form_remote_tag
2011-11-14 09:42:40 +00:00
Tom Hughes
c9fa49c994
Update to rails 3
2011-11-14 09:42:40 +00:00
Tom Hughes
f2d205a59e
Add a link to the OpenStreetMap Google+ page
2011-11-07 22:38:56 +00:00
Tom Hughes
dc4cc8d219
Add support for manual tracking of a Piwik goal on signup
2011-09-20 21:40:53 +01:00
Tom Hughes
425878bf3e
Remove SOTM advert
2011-09-20 21:31:11 +01:00
Tom Hughes
3259bc7ede
Add support for Piwik analytics
2011-09-17 00:11:53 +01:00
Tom Hughes
f242c9de94
Add edit links to data browser pages
2011-07-19 22:48:29 +01:00
Tom Hughes
936a005f9f
Implement a generic system for updating coordinates on links
2011-07-19 11:05:06 +01:00
Tom Hughes
0c0775f96a
Disable the edit tab until we have some coordinates to edit at
2011-07-19 10:02:50 +01:00
Tom Hughes
6b8beb7d1a
More work on moving styles out of line and extending RTL support
2011-07-02 17:10:56 +01:00
Tom Hughes
d075fc4c1f
Lots more work on making RTL layout work
2011-07-02 01:00:51 +01:00
Tom Hughes
8b4d4549a4
Add a credit for IC on the front page
2011-06-28 14:03:12 +01:00
Mikel Maron
11b5fc0e95
Moved up search box to make it more visible
2011-05-21 11:00:53 +01:00
Tom Hughes
db9420ba57
Make "all traces" and "your traces" links more consistent
...
Make sure we always show the "all traces" and "your traces" links
in the same place and that they don't accidentally inherit parameter
values that we don't really want.
Based on work by Andrzej Zaborowski <balrog@zabor.org>.
2011-05-13 10:06:16 +01:00
Tom Hughes
8f101a3759
Trigger mobile mode at 640px instead of 480px for iPhone 4 support
2011-04-03 18:02:27 +01:00
Dan Karran
d62da73ad7
Add a smaller version of the site logo and title for small screens
2011-04-03 15:16:35 +01:00
Tom Hughes
bb83f28a5e
Factor out comment code from layouts into partials
2011-04-03 13:46:17 +01:00
Andy Allan
7d7416894a
New version of slim layout with grey background and centered, auto-adjusting page
2011-04-03 13:46:17 +01:00
Andy Allan
873fe81f71
Try a different approach - grab the layout and stylesheet from slim1, and ditch the rest
2011-04-03 13:46:16 +01:00
Tom Hughes
b3bcbbeb3b
Move SOTM advert above the optionals
2011-04-03 13:46:16 +01:00
Matt Amos
82db7eccc8
Added SOTM 2011 banner to the side bar
2011-04-03 13:46:15 +01:00
Tom Hughes
2512337cf5
Add a marker to the edit tab to indicate that it has a menu
2011-04-02 15:40:12 +01:00
Andy Allan
97261143d6
Split the help and wiki into two links - help centre and documentation
2010-12-20 18:26:08 +00:00
Andy Allan
b2f7c71fc9
link to the foundation
2010-12-20 18:26:08 +00:00
Andy Allan
22c7d4c3f9
Remove link to the shop - it's not a very big part of openstreetmap
2010-12-20 18:26:08 +00:00
Andy Allan
1a49f8eff1
News blog -> Community blogs
...
I suspect the text came from pointing at opengeodata.org in a bygone era.
2010-12-20 18:26:01 +00:00
Andy Allan
0aec1c5fa0
Use a list for the main menu, rather than br-separated links
2010-12-20 18:22:33 +00:00
Tom Hughes
9c2de4039c
Add an explicit "default editor" option to the user settings
2010-11-29 12:20:23 +00:00
Tom Hughes
04a6c41be9
Show a popup listing available editors when hovering over the edit tab
2010-11-29 12:20:22 +00:00
Tom Hughes
4fbb622656
Make locale data for help and wiki links a bit cleaner
2010-09-10 11:43:13 +01:00
Tom Hughes
f3132f94f8
Link to help.openstreetmap.org from the sidebar
2010-09-10 11:14:00 +01:00
Tom Hughes
4633838e21
Make sure the trace tab always links to the global trace list
2010-08-06 10:40:00 +01:00
Tom Hughes
f07819d81a
Rework application configuration
...
Use a preinitializer to load the settings from application.yml so
that they are available as early as possible. All settings can also
be overridden using environment variables.
The ad-hoc settins in environment.rb are then moved to this new
system so we have one consistent location for settings.
2010-08-04 22:06:05 +01:00
Tom Hughes
51195c450d
Add support for CSS based control of user specific components
...
Define some helper routines which can be used to make page elements
only display when the logged in user matches certain conditions and
add style rules to the layout to trigger those elements based on the
logged in user.
2010-07-21 21:49:20 +01:00
Tom Hughes
f7aeff3dd6
Revert "Add advert for SOTM 2010 to sidebar"
...
This reverts commit 3590335221
.
Conflicts:
app/views/layouts/site.html.erb
config/locales/en.yml
2010-07-12 22:40:46 +01:00