No HttpOnly is set to the cookie for session id

The kimchi cookie for session id is not set to be HttpOnly.
It will cause cross-site scripting threats.

Signed-off-by: Xin Ding <xinding@linux.vnet.ibm.com>
Use "font-weight: bold" in header texts

The header texts on the pages "Guests" and "Storages" were defined with
"font-weight: 600", which were rendered differently across different
browsers (e.g. Firefox displays it bold, Chrome displays it regular). In
order to display bold text consistently, we use now the property
"font-weight: bold".

Fix issue #194 (Header texts have different weights in different browsers)

Signed-off-by: Crístian Viana <vianac@linux.vnet.ibm.com>
vm-uuid: Using uuid in vmtemplate

Using uuid instead of vm_name in template can avoid problem
when vm renamed and its disks' names remain the same.
Or creating a new vm with the old name will fail
if we don't rename disk volumes.

Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
vm-uuid: Use uuid in screenshot generation

Using name to concatenate screenshot path will result in
a screenshot disorder when vm renamed to another and another vm
created for the old name, so change to use vm uuid.

Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
vm-uuid: store vm extra information indexed in uuid

Store vm's information indexed in uuid can avoid change
when vm name change.

Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
vm-uuid: make vm stats indexed in uuid

Update vm stats indexed in vm uuid.

Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
vm-uuid: Report uuid in controller

We want to expose uuid to user so that he can validate corresponding
screenshot, volumes are created.

Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
vm-uuid: Update testcases

Update testcases for screenshots, storage of VM.

Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
Issue #199: Update templates list only after success of deleteTemplate

After deleting a template, the page "Templates" may reload itself to display the
updated templates list even if the delete operation hasn't yet been finished.
In that case, the list update procedure starts before the template is actually
removed from Kimchi's database, and that template is not removed from the view.

Instead of updating the templates list immediately after triggering the delete
operation (without waiting for it to finish), update it only after the delete
operation has finished successfully.

Signed-off-by: Aline Manera <alinefm@br.ibm.com>
Signed-off-by: Crístian Viana <vianac@linux.vnet.ibm.com>
Remove redundant interface in api.js

There are two vncToVM in api.js.Remove the redundant code from
api.js
Signed-off-by: zhoumeina <zhoumein@linux.vnet.ibm.com>
Add jquery-ui

Network implemantation will leverage jquery-ui.
Add jquery-ui content below to kimchi.
jquery-ui contains content below:
js content in jquery-ui.min.js
translation in jquery-ui-i18n.js
theme files like jquery-ui-min.css and image

Signed-off-by: Yu Xin Huo <huoyuxin@linux.vnet.ibm.com>