1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-24 21:34:01 +03:00

feature #2999: Provide customization option for Cloud View logo

This commit is contained in:
Daniel Molina 2014-07-15 12:33:07 +02:00
parent dfefba44a7
commit 0f8cf12ee0
6 changed files with 11 additions and 6 deletions

View File

@ -1,4 +1,5 @@
small_logo: images/opennebula-sunstone-v4.0-small.png
provision_logo: images/one_small_logo.png
enabled_tabs:
dashboard-tab: true
system-tab: true

View File

@ -1,4 +1,5 @@
small_logo: images/opennebula-sunstone-v4.0-small.png
provision_logo: images/one_small_logo.png
enabled_tabs:
dashboard-tab: false
system-tab: false

View File

@ -1,4 +1,5 @@
small_logo: images/opennebula-sunstone-v4.0-small.png
provision_logo: images/one_small_logo.png
enabled_tabs:
dashboard-tab: true
system-tab: false

View File

@ -1,4 +1,5 @@
small_logo: images/opennebula-sunstone-v4.0-small.png
provision_logo: images/one_small_logo.png
enabled_tabs:
dashboard-tab: false
system-tab: false

View File

@ -92,7 +92,8 @@ Config = {
return false;
}
}
}
},
"logo": (config['view']["provision_logo"] || "images/one_small_logo.png")
}
}

View File

@ -847,7 +847,7 @@ var provision_user_info = '<div id="provision_user_info" class="hidden section_c
'<div class="row only-not-active">'+
'<div class="large-12 large-centered columns">'+
'<div class="text-center">'+
'<span class="fa-stack fa-3x" style="color: #dfdfdf">'+
'<span class="fa-stack fa-3x" style="color: #777">'+
'<i class="fa fa-cloud fa-stack-2x"></i>'+
'<i class="fa fa-comments fa-stack-1x fa-inverse"></i>'+
'</span>'+
@ -889,7 +889,7 @@ var provision_user_info = '<div id="provision_user_info" class="hidden section_c
'<div class="row only-not-active">'+
'<div class="large-12 large-centered columns">'+
'<div class="text-center">'+
'<span class="fa-stack fa-3x" style="color: #dfdfdf">'+
'<span class="fa-stack fa-3x" style="color: #777">'+
'<i class="fa fa-cloud fa-stack-2x"></i>'+
'<i class="fa fa-lock fa-stack-1x fa-inverse"></i>'+
'</span>'+
@ -938,7 +938,7 @@ var provision_user_info = '<div id="provision_user_info" class="hidden section_c
'<div class="row only-not-active">'+
'<div class="large-12 large-centered columns">'+
'<div class="text-center">'+
'<span class="fa-stack fa-3x" style="color: #dfdfdf">'+
'<span class="fa-stack fa-3x" style="color: #777">'+
'<i class="fa fa-cloud fa-stack-2x"></i>'+
'<i class="fa fa-picture-o fa-stack-1x fa-inverse"></i>'+
'</span>'+
@ -980,7 +980,7 @@ var provision_user_info = '<div id="provision_user_info" class="hidden section_c
'<div class="row only-not-active">'+
'<div class="large-12 large-centered columns">'+
'<div class="text-center">'+
'<span class="fa-stack fa-3x" style="color: #dfdfdf">'+
'<span class="fa-stack fa-3x" style="color: #777">'+
'<i class="fa fa-cloud fa-stack-2x"></i>'+
'<i class="fa fa-key fa-stack-1x fa-inverse"></i>'+
'</span>'+
@ -1666,7 +1666,7 @@ if (Config.isTabPanelEnabled("provision-tab", "flows")) {
provision_content += provision_create_flow;
}
var provision_header = '<a href="#" class="provision_image_header" ><img src="images/one_small_logo.png" style="height:40px; vertical-align:top"></a>'+
var provision_header = '<a href="#" class="provision_image_header" ><img src="'+Config.provision.logo+'" style="height:40px; vertical-align:top"></a>'+
'<span class="right" style="font-size: 50%; color: #dfdfdf">'+
'<ul class="inline-list text-center" style="font-size:12px; margin-bottom: 0px">';