Add logo to sunstone-views config files

This commit is contained in:
Daniel Molina committed 2013-04-15 19:10:30 +02:00
1 parent 5942896c8c
commit a10c62c079
8 files changed
+15 -6

No files matched your search

+1
View File
@@ -1,4 +1,5 @@
---
logo: ../images/opennebula-sunstone-v4.0.png
users:
groups:
oneadmin:
@@ -1,3 +1,4 @@
small_logo: images/opennebula-sunstone-v4.0-small.png
tabs:
dashboard-tab:
enabled: true
@@ -1,3 +1,4 @@
small_logo: images/opennebula-sunstone-v4.0-small.png
tabs:
dashboard-tab:
enabled: true
+4
View File
@@ -55,4 +55,8 @@ class SunstoneViews
return available_views
end
def logo
@views_config['logo']
end
end
-2
View File
@@ -71,9 +71,7 @@ div#logo_sunstone {
top: 65px;
margin-left: auto;
margin-right: auto;
background: url(../images/opennebula-sunstone-v4.0.png) no-repeat center;
vertical-align: center;
background-size: 355px;
}
div#login {
+4 -2
View File
@@ -1,8 +1,10 @@
<div id="wrapper">
<div id="logo_sunstone">
<div id="logo_sunstone" style="
background: url(<%=$views_config.logo%>) no-repeat center;
background-size: 355px;">
</div>
<form id="login_form">
<div class="border" id="login">
+3 -1
View File
@@ -1,5 +1,7 @@
<div id="wrapper">
<div id="logo_sunstone">
<div id="logo_sunstone" style="
background: url(<%=$views_config.logo%>) no-repeat center;
background-size: 355px;">
</div>
<form id="login_form">
+1 -1
View File
@@ -81,7 +81,7 @@
#menu.outer-west
.ui-layout-content
#logo.header
%img{:src=>"images/opennebula-sunstone-v4.0-small.png"}
%img{:src=>"#{view['small_logo']}"}
.menu-navZ
%ul#navigation.tabs.vertical