avernois / devfriendlyplaces

Note: devfriendlyplaces has moved to an organisation. Code and data can be found at https://github.com/devfriendlyplaces
61 stars 60 forks source link

Add a page to list all available locations #119

Closed avernois closed 9 years ago

avernois commented 9 years ago

this is a work in progress for #63

avernois commented 9 years ago

Ok, so I have a locations.html that build the list from the locations/locations.json file. Any help to add CSS is welcome (ping @pointbar @ludopradel :)

pointbar commented 9 years ago

ul { font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 14px; line-height: 1.42857143; max-width: 300px; padding-left: 0; margin: 10%; }

li { display: block; border-top-left-radius: 4px; border-top-right-radius: 4px; position: relative; padding: 10px 15px; margin-bottom: -1px; background-color: #fff; border: 1px solid #ddd; }

li:hover { background: #eee; }

li a { display: block; text-decoration: none; color: #555; }

pointbar commented 9 years ago

Perhaps buildLocations() must just return without

avernois commented 9 years ago

Thanks for the CSS.

I don't understand the comment about "return" (remember, i'm a newbie in js :)

avernois commented 9 years ago

done in #132