tmpl/sunstone-appmarket.conf: Création du fichier
tmpl/admin.yaml : Ajout de la configuration pour les vues appmarket tmpl/user.yaml : Ajout de la configuration pour les vues appmarket tmpl/sunstone-server.conf: Ajout de la route appmarket tmpl/sunstone-views.yaml: ajout des vues appmarket ref #9377 @30m
This commit is contained in:
parent
264815126f
commit
3e47ba3e25
@ -25,6 +25,10 @@ enabled_tabs:
|
||||
oneflow-dashboard: false
|
||||
oneflow-services: false
|
||||
oneflow-templates: false
|
||||
%end if
|
||||
%if %%getVar('activer_market_views', 'non') == 'oui'
|
||||
apptools-appmarket-dashboard: true
|
||||
apptools-appmarket-appliances: true
|
||||
%end if
|
||||
support-tab: true
|
||||
doc-tab: true
|
||||
@ -466,3 +470,34 @@ tabs:
|
||||
Zone.refresh: true
|
||||
Zone.create_dialog: true
|
||||
Zone.delete: true
|
||||
%if %%getVar('activer_market_views', 'non') == 'oui'
|
||||
apptools-appmarket-dashboard:
|
||||
panel_tabs:
|
||||
table_columns:
|
||||
actions:
|
||||
apptools-appmarket-appliances:
|
||||
panel_tabs:
|
||||
appmarketplace_info_tab: true
|
||||
appmarketplace_jobs_tab: true
|
||||
appmarketplace_template_tab: true
|
||||
panel_tabs_actions:
|
||||
appmarketplace_jobs_tab:
|
||||
Job.del: true
|
||||
table_columns:
|
||||
- 0 # Checkbox
|
||||
#- 1 # ID
|
||||
- 2 # Name
|
||||
- 3 # Status
|
||||
- 4 # Publisher
|
||||
- 5 # Hypervisor
|
||||
- 6 # Arch
|
||||
- 7 # Format
|
||||
#- 8 # Tags
|
||||
- 9 # Created
|
||||
actions:
|
||||
AppMarket.refresh: true
|
||||
AppMarket.import: true
|
||||
AppMarket.delete: true
|
||||
AppMarket.convert: true
|
||||
AppMarket.create_dialog: true
|
||||
%end if
|
||||
|
29
tmpl/sunstone-appmarket.conf
Normal file
29
tmpl/sunstone-appmarket.conf
Normal file
@ -0,0 +1,29 @@
|
||||
# -------------------------------------------------------------------------- #
|
||||
# Copyright 2002-2013, 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. #
|
||||
#--------------------------------------------------------------------------- #
|
||||
|
||||
################################################################################
|
||||
# AppMarket
|
||||
################################################################################
|
||||
|
||||
# AppMarket username and password
|
||||
# If no credentials are provided, an anonymous client will be used
|
||||
#
|
||||
:appmarket_username: %%appmarket_user
|
||||
:appmarket_password: %%appmarket_password
|
||||
|
||||
# AppMarket endpoint
|
||||
#
|
||||
:appmarket_url: %%appmarket_endpoint
|
@ -155,3 +155,6 @@
|
||||
%if %%getVar('activer_oneflow', 'non') == 'oui'
|
||||
- oneflow
|
||||
%end if
|
||||
%if %%getVar('activer_market_views', 'non') == 'oui'
|
||||
- appmarket
|
||||
%end if
|
||||
|
@ -22,6 +22,10 @@ available_tabs:
|
||||
- oneflow-dashboard
|
||||
- oneflow-services
|
||||
- oneflow-templates
|
||||
%end if
|
||||
%if %%getVar('activer_market_views', 'non') == 'oui'
|
||||
- apptools-appmarket-dashboard
|
||||
- apptools-appmarket-appliances
|
||||
%end if
|
||||
- provision-tab
|
||||
- support-tab
|
||||
|
@ -25,6 +25,10 @@ enabled_tabs:
|
||||
oneflow-dashboard: false
|
||||
oneflow-services: false
|
||||
oneflow-templates: false
|
||||
%end if
|
||||
%if %%getVar('activer_market_views', 'non') == 'oui'
|
||||
apptools-appmarket-dashboard: true
|
||||
apptools-appmarket-appliances: true
|
||||
%end if
|
||||
support-tab: false
|
||||
doc-tab: false
|
||||
@ -453,3 +457,34 @@ tabs:
|
||||
ServiceTemplate.chmod: true
|
||||
ServiceTemplate.delete: true
|
||||
%end if
|
||||
%if %%getVar('activer_market_views', 'non') == 'oui'
|
||||
apptools-appmarket-dashboard:
|
||||
panel_tabs:
|
||||
table_columns:
|
||||
actions:
|
||||
apptools-appmarket-appliances:
|
||||
panel_tabs:
|
||||
appmarketplace_info_tab: true
|
||||
appmarketplace_jobs_tab: false
|
||||
appmarketplace_template_tab: true
|
||||
panel_tabs_actions:
|
||||
appmarketplace_jobs_tab:
|
||||
Job.del: false
|
||||
table_columns:
|
||||
- 0 # Checkbox
|
||||
#- 1 # ID
|
||||
- 2 # Name
|
||||
#- 3 # Status
|
||||
- 4 # Publisher
|
||||
- 5 # Hypervisor
|
||||
- 6 # Arch
|
||||
- 7 # Format
|
||||
#- 8 # Tags
|
||||
- 9 # Created
|
||||
actions:
|
||||
AppMarket.refresh: true
|
||||
AppMarket.import: true
|
||||
AppMarket.delete: false
|
||||
AppMarket.convert: false
|
||||
AppMarket.create_dialog: false
|
||||
%end if
|
||||
|
Loading…
Reference in New Issue
Block a user