aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets/javascripts
Commit message (Collapse)AuthorAgeLines
* Add widget for info requestsJody McIntyre2015-04-23-0/+8
|
* select text after the box is positionedLuke Bacon2015-04-02-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* Add holidays admin linkLouise Crow2014-12-15-0/+1
| | | | Use dropdown to group related authority pages.
* Remove bootstrap libs in favour of using the bootstrap-sass gem.Louise Crow2014-12-15-538/+2
|
* Allow import of holidays from feed or built-in suggestionsLouise Crow2014-12-15-2/+21
|
* Add some inline editingLouise Crow2014-12-15-0/+28
|
* Use RESTful routing.Louise Crow2014-09-26-8/+1
|
* Allow reordering of categories and headings using javascript.Louise Crow2014-09-22-0/+52
|
* Merge branch 'issues/1154-contact-form-submit' into rails-3-developGareth Rees2014-04-08-0/+1
|\
| * Require jquery_ujs in application manifestGareth Rees2014-04-04-0/+1
| | | | | | | | Allows the use of unobtrusive js on the public facing app
* | use fancybox-rails to provide fancyboxGareth Rees2014-04-07-46/+0
|/ | | | | | http://rubygems.org/gems/fancybox-rails Provides better asset pipeline integration.
* Improve positioning of link-to-this popupGareth Rees2014-03-28-4/+4
| | | | | | | | | | | | 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.
* Require jquery.ui.positionGareth Rees2014-03-28-0/+1
| | | | | | | | 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
* Merge branch 'feature/batch-requests' into rails-3-developLouise Crow2014-01-29-0/+81
|\ | | | | | | | | | | Conflicts: config/general.yml-example spec/factories.rb
| * Add list of bodies batch request will be sent to.Louise Crow2013-12-04-0/+14
| |
| * Javascript enhancements.Louise Crow2013-12-04-0/+67
| | | | | | | | Add or remove all buttons, ajax search as you type.
* | Merge branch 'feature/cleanup-popups' into release/0.16Louise Crow2014-01-14-34/+41
|/ | | | | | | | Conflicts: Gemfile.lock app/views/layouts/default.html.erb config/application.rb public/admin/stylesheets/admin.css
* Use the jquery-rails-ui gem, just including the modules we needMark Longair2013-11-26-0/+2
| | | | | | | | | | | | | | 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.)
* Remove jquery-ui; in a later commit we'll add it back via the gemMark Longair2013-11-26-526/+0
| | | | | | | 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.
* Move last JS files from public/javascripts/ to app/assets/javascripts/Mark Longair2013-11-26-0/+3638
|
* Bundle up admin javascript using the asset pipelineMark Longair2013-11-19-0/+655
| | | | | This includes adding coffee-rails so that the .js.coffee file is compiled to .js automatically.
* Switch Javascript (bar admin) to be served with the asset piplineMark Longair2013-11-19-0/+1809