Tom Hughes
31659bedbe
Allow registration of OAuth 1.0 applications to be disabled
2024-01-31 19:18:16 +00:00
Andy Allan
934d81aa55
Bootstrap 5: Replace all form-group classes with mb-3
2022-07-20 14:42:57 +01:00
Harry Wood
02338a80e1
Make oauth register app link into button
...
Cosmetic tweak. On the OAuth 1 setting tab, make "Register your app" into a button not a link
Also put the applications in a <ul>
2022-03-08 15:18:53 +00:00
Andy Allan
6ab522b2b3
Convert account setting menu to tabs, and include on other pages
...
This makes it easier to navigate around these pages. Since each tab
corresponds to a given controller, this makes the selection of active
tabs straightforward.
2021-08-18 14:30:35 +01:00
Tom Hughes
e842c7be97
Add missing autocomplete attributes
2021-07-27 19:36:47 +01:00
Andy Allan
f173895b00
Use small bootstrap buttons for oauth client actions
2021-02-03 13:44:52 +00:00
Andy Allan
c8e1b3c662
Prefer string interpolation to concatenation in erb files
2020-11-11 14:44:42 +00:00
Andy Allan
adfb4dc619
Refactor client application pages to use bootstrap forms
...
Also rework the client application show page to be responsive
2020-08-19 16:58:43 +02:00
Andy Allan
627f2493fa
Refactor away from global form control styling
...
This enables forms to be converted one-by-one to bootstrap. Without this
refactoring, these global styles interfere with form control styling from
bootstrap.
The rearrangement of the search and directions styling is to solve CSS selector specitivity issues.
2020-07-01 17:23:02 +02:00
Andy Allan
055a976051
Remove custom table styling
...
This removes the custom table styling code, and move to using bootstrap table styling for almost all remaining tables.
2020-04-01 12:29:01 +02:00
Andy Allan
f885cfe0f5
Rename form-row to standard-form-row to avoid clashing with a bootstrap class
2020-01-15 17:16:11 +01:00
Tom Hughes
a570f59187
Merge remote-tracking branch 'upstream/pull/2494'
2020-01-05 18:51:42 +00:00
Andy Allan
5aa255e13f
Use _html suffix to avoid using raw when displaying translated strings
...
This is safer than raw, since any user input is still escaped.
2020-01-02 17:43:34 +01:00
Andy Allan
13f0591605
Wrap table header rows in thead
2019-12-11 17:22:23 +01:00
Tom Hughes
dba3940571
Replace content_tag_for with a simple tr element
2019-12-03 22:54:55 +00:00
Tom Hughes
b6ecdb7507
Drop use of record_tag_helper
...
We only had one place using it and there's no sign of
upstream doing a rails 6 compatible release.
2019-11-24 11:05:02 +00:00
Andy Allan
1d09cfcb18
Use built-in form submit translation keys for oauth client applications
2019-06-12 19:24:06 +02:00
Tom Hughes
3af16f6337
erblint: fix remaining single quoted strings
2019-03-27 16:15:19 +00:00
Andy Allan
e3470746bf
Whitespace fixes for oauth_clients erb files
2019-03-26 20:23:35 +00:00
Andy Allan
5bed217823
Use lazy translations where possible
2018-04-25 14:10:59 +08:00
Tom Hughes
be86e4824f
Convert various URLs to https
2018-01-08 20:18:21 +00:00
Tom Hughes
f2211a7ed9
Fix incorrectly nested HTML in OAuth application creation form
2013-07-08 09:48:31 +01:00
Saman Bemel-Benrud
c3b8897c44
Improve layout and styling of forms
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
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
13ef6a2df1
Remove use of deprecated :comment attribute on link_to and button_to
2012-06-18 11:20:09 +01:00
Tom Hughes
1e0bdda2f5
Show a delete button on the OAuth application view
2012-04-23 21:30:57 +01:00
Tom Hughes
5eb21cc2da
Fix form_for arguments
2011-11-14 09:42:52 +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
173e92edb8
Cleanup some of the oauth stuff:
...
- Detabify views.
- Move translations to correct names.
- Make flash messages translatable.
2009-08-19 07:59:15 +00:00
Tom Hughes
885d29345d
Add parentheses to fix warning.
2009-08-18 20:06:33 +00:00
Matt Amos
e470d8a659
Moved oauth_clients page to a sub-page of the user - makes it more obvious that the oauth_clients page is for that specific user.
2009-08-04 13:07:11 +00:00
Matt Amos
f50670e34d
More translatable strings.
2009-08-04 13:06:21 +00:00
Matt Amos
655dc6787e
Reorganised OAuth clients and tokens details page. Made clients info editable and some more stuff translatable in the OAuth pages.
2009-08-03 17:08:40 +00:00
Ævar Arnfjörð Bjarmason
340d5c05cf
* Put checkboxes before form labels in an attempt to make them align with the text.
...
* Put a <br/> between the form and the submit button so they're not squashed together
2009-06-22 20:33:14 +00:00
Matt Amos
b8f6dbd403
Adding initial version of the OAuth token authentication method. This adds basic OAuth support for registering apps, getting and revoking keys, etc... The tokens come with 6 separate permissions bits; read/write user preferences, write diaries, write API and read/write GPS traces. Needs more tests.
2009-06-22 16:54:37 +00:00