| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some devices (IOS) jump the screen to
the position of a form input when it is selected.
This causes the screen to scroll to the bottom
of the page when the 'link to this' icon is clicked,
because the browser scrolls before the box is positioned
on screen.
This commit changes the order of steps in
script for the 'link to this' widget, so that the
input is selected *after* the box is positioned.
This stops the broswer from jumping
to the bottom of the page.
Tested in Chrome, Safari and IOS simulator on Mac OSX.
Fixes #2264
https://github.com/mysociety/alaveteli/issues/2264
|
|
|
|
| |
Use dropdown to group related authority pages.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| | |
Allows the use of unobtrusive js on the public facing app
|
|/
|
|
|
|
| |
http://rubygems.org/gems/fancybox-rails
Provides better asset pipeline integration.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Current positioning forces it to overlap the sidebar, which:
- Looks messy due to the opacity
- Covers potentially useful information
- Puts the close icon further away if the box was opened in error
This commit positions it to the left of the link-to-this anchor icon,
which seems to conveniently fit in to the whitespace left by the signing
off of the correspondence.
|
|
|
|
|
|
|
|
| |
Fixes the link-to-this popup box rendering at the bottom left of the
page.
Introduced by f91d66d42f517f778cac130466b7cffc7fd8b085 as we rely on
jQuery UI's position method http://api.jqueryui.com/position
|
|\
| |
| |
| |
| |
| | |
Conflicts:
config/general.yml-example
spec/factories.rb
|
| | |
|
| |
| |
| |
| | |
Add or remove all buttons, ajax search as you type.
|
|/
|
|
|
|
|
|
| |
Conflicts:
Gemfile.lock
app/views/layouts/default.html.erb
config/application.rb
public/admin/stylesheets/admin.css
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As far as I can tell, we only use the 'tabs' module in
admin and 'datepicker' on the user-facing part of the site.
The advantage of using this packaging of the gem is that
its assets are in the gem, which simplifies things greatly -
otherwise we'd end up doing something like rewrite the jquery-ui
CSS to SCSS, referencing the image assets via sass-rails helpers
or keep them in their expected paths in public or something.
(Thanks to Louise Crow for pointing out the problem of just
moving jquery-ui's image assets into the asset pipeline.)
|
|
|
|
|
|
|
| |
The intention is to stop including our own custom build of jquery-ui
but instead use the jquery-ui-rails gem, which works well with the
asset pipeline. This commit should remove all traces of the old
download of jquery-ui.
|
| |
|
|
|
|
|
| |
This includes adding coffee-rails so that the .js.coffee file is
compiled to .js automatically.
|
|
|