1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-27 10:50:10 +03:00

Add logo to sunstone-views config files

This commit is contained in:
Daniel Molina 2013-04-15 18:52:22 +02:00
parent 5942896c8c
commit a10c62c079
8 changed files with 15 additions and 6 deletions

View File

@ -1,4 +1,5 @@
---
logo: ../images/opennebula-sunstone-v4.0.png
users:
groups:
oneadmin:

View File

@ -1,3 +1,4 @@
small_logo: images/opennebula-sunstone-v4.0-small.png
tabs:
dashboard-tab:
enabled: true

View File

@ -1,3 +1,4 @@
small_logo: images/opennebula-sunstone-v4.0-small.png
tabs:
dashboard-tab:
enabled: true

View File

@ -55,4 +55,8 @@ class SunstoneViews
return available_views
end
def logo
@views_config['logo']
end
end

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 {

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">

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">

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