mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-27 14:03:40 +03:00
feature #2166: All tabs are loaded by default
This commit is contained in:
parent
f8f5be2de2
commit
f514a9fb8a
@ -1,5 +1,22 @@
|
||||
---
|
||||
logo: images/opennebula-sunstone-v4.0.png
|
||||
available_tabs:
|
||||
- dashboard-tab
|
||||
- system-tab
|
||||
- users-tab
|
||||
- groups-tab
|
||||
- acls-tab
|
||||
- vresources-tab
|
||||
- vms-tab
|
||||
- templates-tab
|
||||
- images-tab
|
||||
- files-tab
|
||||
- infra-tab
|
||||
- clusters-tab
|
||||
- hosts-tab
|
||||
- datastores-tab
|
||||
- vnets-tab
|
||||
- marketplace-tab
|
||||
users:
|
||||
groups:
|
||||
oneadmin:
|
||||
|
@ -1,21 +1,21 @@
|
||||
small_logo: images/opennebula-sunstone-v4.0-small.png
|
||||
enabled_tabs:
|
||||
- dashboard-tab
|
||||
- system-tab
|
||||
- users-tab
|
||||
- groups-tab
|
||||
- acls-tab
|
||||
- vresources-tab
|
||||
- vms-tab
|
||||
- templates-tab
|
||||
- images-tab
|
||||
- files-tab
|
||||
- infra-tab
|
||||
- clusters-tab
|
||||
- hosts-tab
|
||||
- datastores-tab
|
||||
- vnets-tab
|
||||
- marketplace-tab
|
||||
dashboard-tab: true
|
||||
system-tab: true
|
||||
users-tab: true
|
||||
groups-tab: true
|
||||
acls-tab: true
|
||||
vresources-tab: true
|
||||
vms-tab: true
|
||||
templates-tab: true
|
||||
images-tab: true
|
||||
files-tab: true
|
||||
infra-tab: true
|
||||
clusters-tab: true
|
||||
hosts-tab: true
|
||||
datastores-tab: true
|
||||
vnets-tab: true
|
||||
marketplace-tab: true
|
||||
tabs:
|
||||
dashboard-tab:
|
||||
panel_tabs:
|
||||
|
@ -1,21 +1,21 @@
|
||||
small_logo: images/opennebula-sunstone-v4.0-small.png
|
||||
enabled_tabs:
|
||||
- dashboard-tab
|
||||
#- system-tab
|
||||
#- users-tab
|
||||
#- groups-tab
|
||||
#- acls-tab
|
||||
- vresources-tab
|
||||
- vms-tab
|
||||
- templates-tab
|
||||
- images-tab
|
||||
- files-tab
|
||||
- infra-tab
|
||||
#- clusters-tab
|
||||
#- hosts-tab
|
||||
- datastores-tab
|
||||
- vnets-tab
|
||||
- marketplace-tab
|
||||
dashboard-tab: true
|
||||
system-tab: false
|
||||
users-tab: false
|
||||
groups-tab: false
|
||||
acls-tab: false
|
||||
vresources-tab: true
|
||||
vms-tab: true
|
||||
templates-tab: true
|
||||
images-tab: true
|
||||
files-tab: true
|
||||
infra-tab: true
|
||||
clusters-tab: false
|
||||
hosts-tab: false
|
||||
datastores-tab: true
|
||||
vnets-tab: true
|
||||
marketplace-tab: true
|
||||
tabs:
|
||||
dashboard-tab:
|
||||
panel_tabs:
|
||||
|
@ -56,6 +56,10 @@ class SunstoneViews
|
||||
return available_views
|
||||
end
|
||||
|
||||
def available_tabs
|
||||
@views_config['available_tabs']
|
||||
end
|
||||
|
||||
def logo
|
||||
@views_config['logo']
|
||||
end
|
||||
|
@ -64,7 +64,7 @@
|
||||
<script src="js/plugins/config-tab.js" type="text/javascript"></script>
|
||||
|
||||
<!-- enabled tabs: -->
|
||||
<%- view['enabled_tabs'].each do |tab_name| -%>
|
||||
<%- $views_config.available_tabs.each do |tab_name| -%>
|
||||
<script src="js/plugins/<%= tab_name %>.js" type="text/javascript"></script>
|
||||
<%- end -%>
|
||||
<!-- end tabs -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user