Start using admin gem

* Add govuk_admin_template
* Remove jquery-rails, jQuery is provided via gem
* Upgrade formtastic, formtastic-bootstrap, kaminari themes
  * Stop using old branch builds of formtastic
Switch from LESS to SASS

* Remove references to old LESS bootstrap
* Remove styles now provided by gem
Switch to using govuk_admin_template layout

* Use nested layouts
* Import gem’s SASS styles
* Remove now unnecessary javascript and SASS includes,
  * Delete application.js altogether, it’s not being used
* Remove HTML5 shim, now provided by gem
Include admin template style guide

* Keep a reference to admin design patterns
* Show how local styles may have affected those patterns
Switch formtastic buttons (deprecated) to actions

* Use actions instead of buttons, and specify a bootstrap button class
on the submit
button, use the same text as before
* Update commit_button (also deprecated) to submit
Cleanup services index view

* Remove grid wrappers
* Add spacing between table and create service button
* Make table of services match other admin app table styles
Cleanup service history view

* Update grid classes
* Add missing -default classes to labels and buttons
Cleanup edit service form

* Restrict width of name and slug fields
* Remove old Bootstrap 2 grid class
Delete unused styles

* Bootstrap overrides were blanket copied from another app in 2012,
none of these styles are being used
Add -default classes for buttons and labels

* Bootstrap 3 needs a btn-default or label-default class for correct
rendering
Update flash messages to use Bootstrap classes

* Allow success, info, warning and danger types of flash message
* Coerce alert and notice to warnings
* Be explicit in the type of messages that are being set
Cleanup service breadcrumbs

* Remove span dividers which Bootstrap 3 doesn’t need
* Add a missing ‘active’ class to the final option, service name
* Move breadcrumb above the title
* Simplify the title
Tidy up service tabs

* Add some spacing so tab content isn’t too close to the tabs
* Remove javascript to starts the tabs, this is done automatically with
the data attributes
Add page title to service show page
Tidy up service version history

* Switch from wells to Bootstrap 3 panels
* Correctly clear list of versions every 3 panels
* Move warnings to top of panel
* Hide empty information, ie when there’s no change note or places
Tidy up current data set view

* Markup current version as a panel to match version history view
* Add headings within panel for status and exporting
* Style data pagination using Bootstrap 3 kaminari theme
* Update data table to match tables elsewhere in app
Tidy up view for loading new data sets

* Use panels rather than wells
* Limit width of change note field
* Change “changes” to “change note”, to match how the content is
referred to elsewhere
Tidy up creating service and data file guidelines

* Separate requirements of data file into scannable list
* Make copy assertive and inline with style guide
* Put form in well to give form fields contrast and to match the edit
view
* Remove script which was meant to be updating the slug based on the
title, this hasn’t been working for a long time
Make services table more useful

* The table of services wasn’t a useful table, the review link matched
the title link and the upload link isn’t switching to the correct tab
when used
* Instead, pull out the data sets and places information which was
hidden in a paragraph beneath the service title
* Make page title, page heading and main nav link the same text
* Add a filter to quickly find services in the list
Service name should be an h1

* This is the main page heading