Commit graph

121 commits

Author SHA1 Message Date
Tom Hughes
44d5335e47 Style trace edit form to match trace creation form 2014-06-18 22:48:23 +01:00
Tom Hughes
d79b286723 Fix more links to use new style #map links 2014-03-13 16:02:50 +00:00
Tom Hughes
ab3c8a2d04 Put all feed discovery tags in the auto_discovery_link_tag section 2013-12-07 14:33:52 +00:00
Tom Hughes
512c02b364 Diary and trace feeds are RSS not Atom
Fixes #638
2013-12-07 14:31:59 +00:00
Tom Hughes
40b452ac74 Use a view to build the trace RSS feed and get rid of OSM::GeoRSS 2013-09-18 18:23:03 +01:00
Saman Bemel-Benrud
c3b8897c44 Improve layout and styling of forms 2013-07-08 09:03:17 +01:00
Thomas Levine
6ded8b55c8 Add standard-label class to all form labels 2013-07-08 09:03:17 +01:00
Saman Bemel-Benrud
b388a9d1ca Fix error in trace upload form 2013-07-08 09:03:17 +01:00
Saman Bemel-Benrud
b681163e98 Rework trace edit form using new form styles 2013-07-08 09:03:17 +01:00
Thomas Levine
c789acd39d Use new joined buttons style for groups of buttons 2013-07-08 09:03:17 +01:00
Thomas Levine
bb48f2c136 Remove tables from trace upload form 2013-07-08 09:03:16 +01:00
Tom Hughes
32ac67c446 Swap older and newer 2013-04-28 10:41:28 +01:00
Yuki Shira
a65125e93a Replace trace.trace_paging_nav.previous/next by older/newer 2013-04-28 10:36:42 +01:00
Tom Hughes
bc31329da1 Improve testing of the trace list view 2013-01-18 00:37:44 +00:00
Tom Hughes
111329b31f Display trace descriptions properly 2013-01-16 09:53:39 +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
f9528a7464 Improve "no traces" message 2012-08-01 10:56:19 +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
0b81013437 Show a helpful message when there are no traces to display 2012-07-31 21:28:52 +01:00
Tom Hughes
a9824dbc2e Use one "no_such_user" view everywhere 2012-03-21 21:47:09 +00:00
Tristen Brown
a011d152a8 Tidy up the trace paging view 2012-03-18 11:34:43 +00:00
Tom Hughes
5eb21cc2da Fix form_for arguments 2011-11-14 09:42:52 +00:00
Tom Hughes
7901815718 Use symbols consistently for names of content blocks 2011-11-14 09:42:43 +00:00
Tom Hughes
ed54379218 Make helpers return text instead of appending to the output buffer 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
b25a468e3c Use <%= instead of <% for block helpers that use concat 2011-11-14 09:42:41 +00: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
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
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
9f83acfb44 Move the trace upload form from the list to a create trace page 2010-07-22 21:00:39 +01:00
Tom Hughes
b551fef0b7 Present "too many pending traces" message as a warning box 2010-07-22 20:47:34 +01:00
Tom Hughes
5a2ffa227c Convert trace views to use CSS based user specific components 2010-07-22 20:47:29 +01:00
Tom Hughes
318c7a9854 Tidy up the stylesheets, removing lots of ancient, unused junk and
trying to group everything else together in more logical fashion.
2010-03-03 15:46:16 +00:00
Tom Hughes
9d35062ba3 Add a "friendly" date/time format and use it whenever we are printing
dates and times on the web site.

Also try and improve formatting of message pages a but, and include the
image of the recipient when viewing a sent message.
2010-02-28 16:57:22 +00:00
Tom Hughes
62e7006a21 Rework the pagination of the trace list to avoid having to count
the total number of matching records/pages.
2010-01-14 00:35:09 +00:00
Tom Hughes
e53b34b80a Make traces/mine redirect to the user's traces page instead of rendering
it itself. Also make sure the traces page for a user includes the upload
form if the requestor is logged in as that user.
2010-01-10 09:16:18 +00:00
Shaun McDonald
1df4ad819c Rather than just say public or private for each GPS trace in the list, instead state the new permission levels. Green colour means that it will be shown in the trace list to other users. Red means that other users won't see the trace in the list. Have added two new translations for the other trace permissions. 2009-12-31 00:10:10 +00:00
Tom Hughes
0f5646d7f0 Add ability to take GPX storage offline. 2009-12-12 13:06:56 +00:00
Tom Hughes
565171486f Add extra visibility options for GPS traces, and enhance the API call
that returns trace data to return more information if the owner of the
trace has allowed it. Based on a patch from Matt Amos.
2009-08-13 17:06:11 +00:00
Štefan Baebler
dcbb319015 added brief help for tag entry, continuing on #2032 2009-07-09 06:11:24 +00:00
Tom Hughes
0b6f0c1d34 Use join to construct tag strings instead of mucking around counting
position in the string.
2009-07-07 23:05:35 +00:00
Štefan Baebler
ebbcf63f0d Introducing comma as tag separator (if present, otherwise it behaves as before), allowing spaces in tags. fixes #2032 2009-07-07 22:05:03 +00:00
Tom Hughes
2112dd7f63 Make the "what does this mean" link added in r16069 more like similar
notes on other forms.
2009-06-24 11:50:41 +00:00
Tom Hughes
b1ada7b9d6 Put back HTML escaping of trace names removed in r16062. 2009-06-24 11:41:26 +00:00
Ævar Arnfjörð Bjarmason
7551e8a0c1 Add a link to [[Visibility of GPS traces]] on the wiki to explain what public/private means. Solves ticket:1002 2009-06-23 01:27:40 +00:00
Ævar Arnfjörð Bjarmason
9e504a0b33 'trace.tags.none' was never displayed because the empty list ([]) is true in ruby. Use trace.tags.empty?
Wrap 'trace.tags.none' in <i> to make it obvious that "none" is a system-generated value
2009-06-23 00:02:35 +00:00
Ævar Arnfjörð Bjarmason
cc3faefa46 * Changed "t'trace.edit.start_coord' %>Start coordinate:" to "t'trace.edit.start_coord' %>"
* "map" was untranslatable
2009-06-22 23:47:49 +00:00
Ævar Arnfjörð Bjarmason
dfadcc797c Fixed up the <title>/<h2> mess in trace/edit and trace/view
* @title was never set on trace editing, and thus <h2></h2> was produced
 * Changed split 'trace.view.viewing_trace' into 'trace.view.title' and 'trace.view.heading'
 * Introduced corresponding 'trace.edit.title' and 'trace.edit.heading'
2009-06-22 23:43:53 +00:00
Ævar Arnfjörð Bjarmason
17e9016373 "download" in edit trace was untranslatable 2009-06-22 23:27:11 +00:00