Upgrade bootstrap-datepicker.js to latest version

Upgrade required to fix bug where date selection from previous and next year was wrong.

Closes-Bug: 1270884

Change-Id: I7cb6f7f5fd0a709cbf0c1325e832c92ec382b12c
Update Launch Instance button with ajax

Launch Instance button updates after instance has been terminated:
- added html temlpate for table actions
- ajax-update and update-url classes were added for link actions
- update all required actions via ajax when rows were removed from the table

Closes-Bug: #1192621
Change-Id: I81e8ea4e1921bbf344d210ba3353d51d4c11a7d1
Adding policy checks for heat

Change-Id: Ia454eefbaaf0c6262bfcc2890dead4d074555404
Implements: blueprint heat-rbac
fix project quota showing error and success message

right now if you try to change a quota value to something less than what is currently
used, it will give you both error and success message
fix test cases to check for 2 errors messages

Change-Id: I25550346e553b1469b321cd46b2eeff612f11869
Closes-Bug: #1278353
Fixes some column translations

add more entries to "display_choices" of "Status", "Power" and
"Task" column, in order to get the states translated.

Closes-Bug: #1224329
Change-Id: I22ee666678c8bce24c2d6c696438b481006bd609
Enhanced error message when router creation failed

Changed error message to show when the router creation
fails due resource quota restrictions.

Change-Id: If5a43d4132adc653694cc42c3d658ca2d88adc33
Closes-Bug: #1278482
Group specific fields in horizon.form module

    According to the Django architecture, all fields are grouped in
the django.form module, Horizon fields were dispatched in two modules
utils and form. This patch cleanup the loading of Horizon specific
fields.

Change-Id: Ib18848a8cc06dbd5984ec02d7cd647145124ced4
Closes-Bug: #1287634
filter always returns the last created item

Problem: if you create several new volumes and then do a search for
the first item you created, the last item *always* shows up
You have to refresh the page to get the proper behavior

This fix updates the quicksearch data cache when a new row is added

Change-Id: I4b5d5b6b9783d09a28460cab7c182f1bb2aa2a3e
Closes-Bug: #1277103
Tell users when there is no data available in Daily Report

Here is the text from the bug:
If there is no metering data from the period selected,
user sees panel with no tables. It would be nicer to tell user that this is because there is no data to show.

The Daily Report displays one table per project. Since there is no data, then there are no tables.
This change displays the string "No data available" in this situation. This is the same
behavior as the Stats tab in the same Resouce Utilization Panel.

Change-Id: I15a5e029ec97d77c95c2567e8ba4493623952de7
Closes-bug: #1287931
Hide column on multi_select tables if no actions available.

This patch will add a runtime check to hide/show checkbox columns
on multi_select tables.
Right know the behaviour is calculated once but does not take in account
the dynamic allowed call of each Table Action available.

The change will add 'hidden' class to the first column if table actions
are present but all of them returned False on allowed() call.

Change-Id: Ia4512abe3dbb5de4581673717eb518b2d3a50291
Closes-Bug: #1271194
Redirect to the proper tab on creating vol/snap

Automatically redirect user to snapshot
tab when creating an snapshot from volume
and redirecting to volumes tab when creating
volume from snapshot

Change-Id: I097383a470be9727c93f61efcf1dfe0359613413
Closes-Bug: #1288304
Stop altering the glance API URL

Horizon should treat the glance API endpoint URL the way it treats
other API endpoint URLs.
Horizon should trust that the retrieved URL is correct, and let the
python-glanceclient use the URL.

Change-Id: Ie6230b1e4b90f686c8a7ab7368944b6c3412b284
Closes-Bug: 1188182
Ensure TabGroup to handle bad GET parameter

TabGroups and thus TabViews and TabbedTableViews don't handle bad GET
params well.

Example:  project/volumes/?tab=<!--
results in a "ValueError: need more than 1 value to unpack" error.

Change-Id: I7faf4f8c1c5c1f0ea078615282e7a7fbae2384b2
Closes-Bug: 1291567
Increase the datepicker input width

Increase the datepicker box input width to fit all sorts of date.

Change-Id: I4f5b379c6dc92830cb35044f5138ea3483ea03d7
Closes-bug: #1298209
Use built-in print() instead of print statement

In python 3 print statement is not supported, so we should use
only print() functions.

Fixes bug 1226943

Change-Id: I721e67c917ba7018401ad40ef30081883dcec420
Integration tests - page objects pattern

First pages:
* pageobject - the base page for all page objects
* loginpage - the login page object
* basepage - base class for all dashboard page objects
* adminpage
* projectpage

First test:
test_login - a basic scenario test:
* checks that the login page is available
* logs in as a regular user
* checks that the user home page loads without error

https://wiki.openstack.org/wiki/Horizon/Testing/UI

Partially implements blueprint: selenium-integration-testing

Change-Id: Icad82f5f7810c348ddc30cd767f1d3bf5ecb926e
Create links in LBaaS detail pages

LBaaS detail pages contains many UUIDs and it is not human-friendly.
This commit replaces UUIDs with name or similar strings and
add links to details of corresponding resource.

In addition, some columns are added to health monitor tables
because UUID and monitor type are not enough to identify
health monitors.

Change-Id: I7b13c827d96b57a82e3855743e7d68e564edebd7
Closes-Bug: #1243123
Closes-Bug: #1243126
Fix create instance workflow help typo

Change-Id: If906e02b6114225efaa95e29728d0f285b38a23f
Make wizard workflow work when non-modal

The JavaScript code that adds the wizard functionality was initialized
only when the page was displayed as a modal.  I moved the call to that
initialization function into the template, so that it is called always
when a wizard is displayed.

Change-Id: Id73116392158ea08b4f04062f4f926286b1f7973
Closes: bug 1273608
Remove duplicate colon from Size string

Change-Id: I23354aae9427183bb79e4b51b2c8c29b3519e7ae
Closes-bug: #1298991