diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-06-26 13:40:55 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-06-26 13:40:55 +0200 |
| commit | 811bb04649365b0faaa00b1e0810bb101a4d19b1 (patch) | |
| tree | 581d52faa6e1bf21a1cdfd4da7127a0f95786bad /public/stylesheets/admin.css | |
| parent | a1ddc25da0d2aa79a4d9216ef7792f26233bd38e (diff) | |
Stage 5 click-testing fixes
- Fix link_to :method → button_to for all PUT/DELETE actions
- Add button_to CSS reset to admin.css for visual consistency
- Fix admin layout: replace broken jquery/jquery_ujs pipeline refs with
admin_bundle via sprockets; add sprockets-rails, jquery-ui-rails gems
- Add app/assets/javascripts/admin_bundle.js pipeline manifest
- Fix event_information helper: use safe_join to avoid double-escaping
- Fix nodes_helper: to_s(:db) → to_fs(:db) for event times
- Fix revisions view: eliminate nested forms; diff button uses vanilla JS
to collect radio button values before POST
- Fix config/environments/development.rb and test.rb: cache_classes →
enable_reloading
- Add routing_filter_rails71_patch.rb version guard
- Move LockedByAnotherUser to own file for Zeitwerk autoloading
- Fix Globalize fallbacks via config.i18n.fallbacks in application.rb
Diffstat (limited to 'public/stylesheets/admin.css')
| -rw-r--r-- | public/stylesheets/admin.css | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css index 7031f77..1a29eff 100644 --- a/public/stylesheets/admin.css +++ b/public/stylesheets/admin.css | |||
| @@ -116,6 +116,28 @@ input[type=submit], | |||
| 116 | text-transform: lowercase; | 116 | text-transform: lowercase; |
| 117 | } | 117 | } |
| 118 | 118 | ||
| 119 | /* button_to forms: render submit inputs as plain links */ | ||
| 120 | form.button_to { | ||
| 121 | display: inline; | ||
| 122 | margin: 0; | ||
| 123 | padding: 0; | ||
| 124 | } | ||
| 125 | |||
| 126 | form.button_to input[type="submit"] { | ||
| 127 | background: none; | ||
| 128 | border: none; | ||
| 129 | padding: 0; | ||
| 130 | margin: 0; | ||
| 131 | font: inherit; | ||
| 132 | color: inherit; | ||
| 133 | cursor: pointer; | ||
| 134 | text-decoration: underline; | ||
| 135 | } | ||
| 136 | |||
| 137 | form.button_to input[type="submit"]:hover { | ||
| 138 | color: inherit; | ||
| 139 | } | ||
| 140 | |||
| 119 | #admin_wizard { | 141 | #admin_wizard { |
| 120 | margin-bottom: 2rem; | 142 | margin-bottom: 2rem; |
| 121 | } | 143 | } |
