Commit graph

246 commits

Author SHA1 Message Date
John Firebaugh
438e8be102 Reorganize share/export UI
"Image" and "Embeddable HTML" options move to share control.
Only XML export remains, and is now accessed via a sidebar
link rather than the tab bar.
2013-08-05 08:25:52 -07:00
Saman Bemel-Benrud
b9a19ab23a starting to cleanup+style map controls. 2013-07-18 10:36:08 -07:00
Saman Bemel-Benrud
34edfdb9ba Cleanup notes and fix CSS error 2013-07-08 09:03:17 +01:00
Harry Wood
eac40b89af Remove SOTM US from the banner rotation
Remove SOTM US image from the from the front page banner rotation, leaving
only main SOTM and server donation drive ads.
2013-06-10 17:27:58 +01:00
Grant Slater
afa44979b2 Add Server Donation Banner 2013-05-17 21:37:45 +01:00
John Firebaugh
370f4bf562 Add SotM ads 2013-05-13 20:17:10 +01:00
John Firebaugh
2f9a4d0337 Remove commented out donation section
There's an displayed donation section further down in
this file.
2013-05-13 20:16:59 +01:00
Leo Koppelkamm
ea9080ef80 Fix problem with heart icon ( #266 ) 2013-05-12 19:49:07 +01:00
Leo Koppelkamm
b6b9052c37 Fix overlapping slogan (i18n) 2013-05-12 16:03:15 +01:00
Tom Hughes
e8d32637c1 Add javascript OAuth support 2013-03-28 00:34:09 +00:00
Tom Hughes
773f145edc Show the header block on slim layout pages 2013-01-30 18:17:04 +00:00
Tom Hughes
469b3c5658 Use U+25BC instead of U+25BE for the menu indicator 2013-01-21 22:59:06 +00:00
Saman Bemel-Benrud
a36f3558dd Site cleanup
I set out to do a quick and dirty typography overhaul to make things
more consistent and a bit cleaner, but I kept running into things I
didn't like, so this lead me down something of a rabbit hole of design
tweaks to the OSM site.

Goals here are to have better content hierarchy, better vertical
rhythm, more consistent UI, cleaner markup with less tables, all while
keeping the basics pretty much intact. There are a lot of things I
didn't touch even though they need to be updated (lots of tables where
stuff shouldn't be tables, mostly).

Basic overview of changes:

I added a new persistent header that helps segment pages. It's now
a lot easier to know what you're looking at. The header has a page
title, a description, plus a submenu of actions.

There is now a pattern of 20px/10px margins and padding for more
rhythm and breathing room throughout the site.

I know there are other problems here or things I've missed - would
love another set of eyes to look over this! I am still getting comfortable
working on the site - it's my first time ever digging into a ruby or rails
so I'm not familiar with the templating language yet.
2013-01-14 21:27:08 +00:00
Tom Hughes
f6ac8ffbab Tidy up 2012-11-22 12:35:49 +00:00
John Firebaugh
43bfebdd9e Use leaflet css for print 2012-11-09 12:59:30 -08:00
John Firebaugh
6054eea238 Bundle leaflet css in a single asset 2012-11-09 12:59:29 -08:00
John Firebaugh
6f793e1b21 Pan/zoom controls that look like the OL ones 2012-11-09 12:59:28 -08:00
John Firebaugh
fe6e837cfe Replace leaflet.draw with leaflet-locationfilter 2012-11-09 12:59:28 -08:00
John Firebaugh
30ad58c01f Port to Leaflet 2012-11-09 12:59:27 -08: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
Grant Slater
49666ecf11 Revert "Add SoTM Scotland banner"
This reverts commit 749caaff73.
2012-10-22 21:07:22 +01:00
Grant Slater
749caaff73 Add SoTM Scotland banner 2012-10-18 19:00:25 +01:00
Tom Hughes
bfcc3235c5 Remove SOTM US advert 2012-10-15 19:15:54 +01:00
Richard Fairhurst
8438ce7779 Remove Potlatch 1 from edit menu 2012-10-12 21:05:29 +01:00
John Firebaugh
43243e4c92 Eliminate interpolation in index JS 2012-09-29 18:00:04 +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
Martijn van Exel
5f0c590c32 Add a banner for SOTM US 2012-09-16 16:20:53 +01:00
Tom Hughes
3787918d68 Remove SOTM advert 2012-09-08 14:32:27 +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
e82c758cea Switch to the HTML5 DOCTYPE 2012-08-29 12:31:50 +01:00
Tom Hughes
d9054cfe29 Move some javascript from the layout to application.js 2012-08-28 19:47:20 +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
Tom Hughes
7ad58d1411 Switch to using i18n-js for handling translations in javascript 2012-08-27 18:00:03 +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
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
053dc144f9 Rearrange the left menu 2012-04-23 21:02:55 +01:00
Tom Hughes
e2cb47f1ae Fix some issues with the new edit menu code
Make sure that the arrow icons are always displayed, and that menus
are aligned in the requested way.
2012-04-23 20:59:27 +01:00
Tom MacWright
c45dbdae36 Rework the edit tab and it's associated drop down menu
This changes the behavior of the editing tabs in three places. Instead
of the current hovering behavior, you can click on the arrow and get the
drop-down menu. Any click outside that on the page will deactivate the
menu, following the UI paradigm of most desktop environments.

This also simplifies the javascript code significantly.
2012-04-23 20:59:26 +01:00
Tom MacWright
dd3b577bd5 This simply moves GPS Traces to the left bar
The left bar is a bit of a kludge of random items right now, but it's a
little better having the GPS Traces item there, because it now makes the
top bar only items that are actually related to the map state.
2012-04-23 20:59:15 +01:00
Tom Hughes
ababece2cc Don't show "Browse Map Data" when we're not on the map view 2012-04-12 15:49:41 +01:00
Tom Hughes
65d816130e Revert "Add notice about upcoming downtime"
This reverts commit 57787edc20.
2012-04-04 09:50:39 +01:00
Tom Hughes
6d99be3efc Style readonly notice correctly 2012-04-01 09:05:47 +01:00