Related-Bug: #1390392
Added showDeviceOwner handlebars helper function which will return
whether to show device owner information in Configure > Networks > Ports
page

Change-Id: Ifc49505d34b770cc366331ab87901c7bbe98a7ef
Closes-Bug:#1400596 - Config : Interface landing page grid's detail view showing some random string with undefined when navigate to interface page from virtual network page

Change-Id: I5d6cf5a61064697c30bf610ad50a7f176fc5bab3
Merge "Related-Bug: #1390392 Added showDeviceOwner handlebars helper function which will return whether to show device owner information in Configure > Networks > Ports page"
Changes to support both "contrial-admin-ui" and "vcenter-ui" in parallel based on URL given
contrail-admin-ui accessed via "/login"
vcenter-ui accessed via "/vcenter/login"
1. In case of only vcenter mode, when user tries to access "/login", set orchestration as none
2. For ajax calls issued from UI, X-OrchestrationMode header is passed with the orchestration fetched during login from webServer.
    And on webserver,will compare the orchestration mode recieved from request with one stored in session and if doesn't match,logout the session and take to login page
3. Switching between contrail-admin-ui and vcenter-ui modes from same browser
    a. If a request other than login comes for contrail-admin-ui and if session has vmware_soap_session,implies that current session is authenticated with vCenter, so logout the session and take to login page
    b. If a request other than login comes for vcenter-ui and if session doesn't has vmware_soap_session,implies that current session is authenticated with none orchestration,so logout the session and take to login page

Change-Id: I1fefecff9ae19328bf76da3bad232ab4cb1882ee
Fixed Bug:1400991 - Modified .off() logic for change events for dropdown.
ISSUE: The dropdowns had stopped working at Server-Manager due to previous fix where .off() handlers were introduced to stop triggering of multiple select2 change events
FIX: .off events are applied selectively and it just disables the change function and rest of the events remain unaffected

Change-Id: Iec7daf03810dfdeff0dfdb8b44eee99f488c74e8
Merge "Changes to support both "contrial-admin-ui" and "vcenter-ui" in parallel based on URL given contrail-admin-ui accessed via "/login" vcenter-ui accessed via "/vcenter/login" 1. In case of only vcenter mode, when user tries to access "/login", set orchestration as none 2. For ajax calls issued from UI, X-OrchestrationMode header is passed with the orchestration fetched during login from webServer.     And on webserver,will compare the orchestration mode recieved from request with one stored in session and if doesn't match,logout the session and take to login page 3. Switching between contrail-admin-ui and vcenter-ui modes from same browser     a. If a request other than login comes for contrail-admin-ui and if session has vmware_soap_session,implies that current session is authenticated with vCenter, so logout the session and take to login page     b. If a request other than login comes for vcenter-ui and if session doesn't has vmware_soap_session,implies that current session is authenticated with none orchestration,so logout the session and take to login page"
Bug Fixes and Style Changes
- Added Empty message in case of No virtual networks
- Fixed setting of cookie to redirect to config page of the project selected in Visualization
- Added new fonts for config db, analytics db and switch

Change-Id: I5b1c598f7a6135482881c94af9840075895aa534
Fixed Bug:1382372
BUG: On chrome, the grid rows when rendered for the first time were sorted in a random way where first row was getting swapped with another row placed halfway.
ISSUE: This was introduced with defaultSort option added which used to perform sort unnecessarily and changed the behaviour of rows on chrome
FIX: Added a check to perform default sort of grid only when the length of defaultSortCols > 0

Change-Id: I85e39e1229c91fb7f0fb1e638ec3d26bf25d85be
Merge "Fixed Bug:1382372 BUG: On chrome, the grid rows when rendered for the first time were sorted in a random way where first row was getting swapped with another row placed halfway. ISSUE: This was introduced with defaultSort option added which used to perform sort unnecessarily and changed the behaviour of rows on chrome FIX: Added a check to perform default sort of grid only when the length of defaultSortCols > 0"
Merge pull request #76 from Juniper/master

Pull changes from Juniper/web-core to absingla/web-core