From 679d9bbd0d1d00ae6ba137b77fcdc894b6c3e8aa Mon Sep 17 00:00:00 2001 From: Daniel Dehennin Date: Wed, 8 Jun 2016 10:39:42 +0200 Subject: [PATCH] Ajout du correctif de la vue cloud MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit La vue cloud ne permet pas de sélectionner un template qui a un quote dans une section RAW[1]. Footnotes: [1] https://dev.opennebula.org/issues/3154 --- bugfix/provision-tab.js | 6718 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 6718 insertions(+) create mode 100644 bugfix/provision-tab.js diff --git a/bugfix/provision-tab.js b/bugfix/provision-tab.js new file mode 100644 index 0000000..43f806b --- /dev/null +++ b/bugfix/provision-tab.js @@ -0,0 +1,6718 @@ +/* -------------------------------------------------------------------------- */ +/* Copyright 2002-2014, OpenNebula Project (OpenNebula.org), C12G Labs */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); you may */ +/* not use this file except in compliance with the License. You may obtain */ +/* a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ +/* See the License for the specific language governing permissions and */ +/* limitations under the License. */ +/* -------------------------------------------------------------------------- */ + +var empty_graph_placeholder = + ''+ + ''+ + //''+ + ''+ + '
'+ + ''+ + tr("There is no information available")+ + ''; + +var empty_quota_placeholder = 0 + +var provision_quotas_dashboard = + '
'+ + '
'+ + '

'+ + tr("Quotas")+ + '

'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + ''+ + empty_quota_placeholder + + ''+ + ''+"%"+''+ + '
'+ + '
'+ + ''+ + empty_quota_placeholder + + ''+ + ''+"%"+''+ + '
'+ + '
'+ + ''+ + empty_quota_placeholder + + ''+ + ''+"%"+''+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + ' '+ + '
'+ + '
'+ + '
'+ + '
'+ + ' '+ + '
'+ + '
'+ + '
'+ + '
'+ + ' '+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + ''+tr("RUNNING VMS")+''+ + '
'+ + ''+ + '
'+ + '
'+ + ''+tr("CPU")+''+ + '
'+ + ''+ + '
'+ + '
'+ + ''+tr("MEMORY")+''+ + '
'+ + ''+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'; + +var provision_vdc_quotas_dashboard = + '
'+ + '
'+ + '

'+ + tr("VDC Quotas")+ + '

'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + ''+ + empty_quota_placeholder + + ''+ + ''+"%"+''+ + '
'+ + '
'+ + ''+ + empty_quota_placeholder + + ''+ + ''+"%"+''+ + '
'+ + '
'+ + ''+ + empty_quota_placeholder + + ''+ + ''+"%"+''+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + ' '+ + '
'+ + '
'+ + '
'+ + '
'+ + ' '+ + '
'+ + '
'+ + '
'+ + '
'+ + ' '+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + ''+tr("RUNNING VMS")+''+ + '
'+ + ''+ + '
'+ + '
'+ + ''+tr("CPU")+''+ + '
'+ + ''+ + '
'+ + '
'+ + ''+tr("MEMORY")+''+ + '
'+ + ''+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'; + +var provision_vms_dashboard = + '
'+ + '
'+ + '

'+ + tr("Virtual Machines")+ + '

'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + ''+ + ''+ + ''+ + '
'+ + ''+tr("TOTAL")+''+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + ''+ + ''+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + ''+ + ''+ + ''+ + '
'+ + ''+tr("RUNNING")+''+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + ''+ + ''+ + ''+ + '
'+ + ''+tr("DEPLOYING")+''+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + ''+ + ''+ + ''+ + '
'+ + ''+tr("OFF")+''+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + ''+ + ''+ + ''+ + '
'+ + ''+tr("ERROR")+''+ + '
'+ + '
'+ + '
'+ + '
'+ + ''+ + '
'+ + '
'+ + '

'+tr("CPU hours")+'

'+ + '
'+ + '
'+ + '
'+ + empty_graph_placeholder + + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '

'+tr("Memory GB hours")+'

'+ + '
'+ + '
'+ + '
'+ + empty_graph_placeholder + + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'; + + +var provision_vdc_vms_dashboard = + '
'+ + '
'+ + '

'+ + tr("VDC Virtual Machines")+ + '

'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + ''+ + ''+ + ''+ + '
'+ + ''+tr("TOTAL")+''+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + ''+ + ''+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + ''+ + ''+ + ''+ + '
'+ + ''+tr("RUNNING")+''+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + ''+ + ''+ + ''+ + '
'+ + ''+tr("DEPLOYING")+''+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + ''+ + ''+ + ''+ + '
'+ + ''+tr("OFF")+''+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + ''+ + ''+ + ''+ + '
'+ + ''+tr("ERROR")+''+ + '
'+ + '
'+ + '
'+ + '
'+ + ''+ + '
'+ + '
'+ + '

'+tr("CPU hours")+'

'+ + '
'+ + '
'+ + '
'+ + empty_graph_placeholder + + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '

'+tr("Memory GB hours")+'

'+ + '
'+ + '
'+ + '
'+ + empty_graph_placeholder + + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'; + + +var provision_users_dashboard = + '
'+ + '
'+ + '

'+ + tr("Users")+ + '

'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + ''+ + ''+ + ''+ + '
'+ + ''+tr("TOTAL")+''+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + ''+ + ''+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + ''+ + '
'+ + '
'+ + '

'+tr("CPU hours")+'

'+ + '
'+ + '
'+ + '
'+ + empty_graph_placeholder + + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '

'+tr("Memory GB hours")+'

'+ + '
'+ + '
'+ + '
'+ + empty_graph_placeholder + + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'; + +var provision_dashboard = '
'+ +'
'; + +var provision_create_vm = '