Bugfix: Log out from Administrator tab raises popup errors

This bug turns out to be caused by we change the login format from
login-window to tranditional login format. After the logout, we can no
longer and there is no need to update the pages and popup a login
window. Now we redirect to login.html after logout.

Signed-off-by: Wen Wang <wenwang@linux.vnet.ibm.com>
Bugfix UI: Change button text to indicate user network is generating

When network is generating, if the network is not up, we bring the
network up first, then we create the network. During the time we bring
the network up(less than 10s), we change the text as well as the layout
of the button to indicate this process is working.

Signed-off-by: Wen Wang <wenwang@linux.vnet.ibm.com>
UI: Delete Manage Media function from action list

V1 -> V2:
Have the "ui/css/theme-default/guest-media.css" deleted

Have the "Manage Media" function deleted from "Action" list

Signed-off-by: Wen Wang <wenwang@linux.vnet.ibm.com>
Allow admin user change permission settings when VM is running

V1 -> V2:
Have the "edit" button in interface tab deleted when VM is running

Functions changed:
1) Enable "Edit" whether VM is running or off
2) Disable edit function of "General", "Storage", "Interface" except
"replace" of the cdrom under "Storage".

Signed-off-by: Wen Wang <wenwang@linux.vnet.ibm.com>
Issue #405 - Fix cancel button in edit guest storage tab

When the user is in storage tab in edit guest window, he can clicks on
'replace' button in order to change the ISO path. However, if user types
anything in the path input box and wants to cancel the changes, turns
out that the 'cancel' button was not restoring previous value. This patch
fixed this problem.

Signed-off-by: Rodrigo Trujillo <rodrigo.trujillo@linux.vnet.ibm.com>
Issue #405 - Fix enter hit in storage tab under guest edit window

If user goes to storage tab in edit guest window, whenever he focuses
a input boxes (any device name or path) and press ENTER, the default
behaviour is trigger a "click" event in the first window button. In this
case, the "Attach new storage" window is opened. This patch fixes this
problem, so, when user press ENTER, nothing happens.

Signed-off-by: Rodrigo Trujillo <rodrigo.trujillo@linux.vnet.ibm.com>
model/storagetargets: filtering used nfs paths

As described in Github issue #354, this patch filters the storage
targets list to not show the nfs paths that are in use by an
existing NFS pool.

Signed-off-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
Add persistent flag to VM info

Kimchi can manage guests not created by Kimchi. If a user creates a
non-persistent domain and uses the Power Off option, it will destroy
the user's domain. In order to warn users with non-persistent guests
on Power Off, this patch adds a 'persistent' field (like the one for
networks and storage pools) to a vm's JSON representation.

Signed-off-by: Christy Perez <christy@linux.vnet.ibm.com>
Add a check in the UI for the new 'persistent' flag of a VM.

If the VM is non-persistent, report the danger of using Power Off.
If the VM is persistent, warn that data may be lost (the current warning).

Signed-off-by: Christy Perez <christy@linux.vnet.ibm.com>
Add unit tests for new vm 'persistent' property.

Also fix tests that were failing as a result of the addition.

Signed-off-by: Christy Perez <christy@linux.vnet.ibm.com>
Change function that verifies network interface status

The old way does just consider if the interface has connectivity, not
the interface status. The new file can determine if the interface is up
or down and if cable is connected or not.

Signed-off-by: Ramon Medeiros <ramonn@linux.vnet.ibm.com>
Support tablet type as input device in VM's XML.

Add support to tablet type as input devive into vmtemplate.py to
provide an absolute pointer device. This also helps with getting
a consistent mouse cursor position in VNC.

Signed-off-by: Eli Qiao <taget@linux.vnet.ibm.com>
Add PowerKVM information as ISO otpion to installation.

Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com>
Update po files

Signed-off-by: Aline Manera <alinefm@linux.vnet.ibm.com>
i18n support: Changed the file type of plugins/sample/po/LINGUAS

Changed the file type of plugins/sample/po/LINGUAS, that was a symbolic
link to po/LINGUAS, to be a "real" file containing only the three
languages (en_US, pt_BR, zh_CN) for the sample plugin.

This prevent the make command to use the Kimchi file to scan for other po
files in the sample plugin directory.

Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com>
i18n support: Add German translation files.

Updated po/LINGUAS file to add German and added the po/de_DE.po file
with German translation.

Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com>
i18n support: Add Spanish translation files.

Updated po/LINGUAS file to add Spanish and added the po/es_ES.po file
with Spanish translation.

Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com>
i18n support: Add French translation files.

Updated po/LINGUAS file to add French and added the po/fr_FR.po file
with French translation.

Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com>
i18n support: Add Italian translation files.

Updated po/LINGUAS file to add Italian and added the po/it_It.po file
with Italian translation.

Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com>
i18n support: Add Japanese translation files.

Updated po/LINGUAS file to add Japanese and added the po/ja_JP.po file
with Japanese translation.

Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com>