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:
parent
5942896c8c
commit
a10c62c079
@ -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
|
||||
|
@ -55,4 +55,8 @@ class SunstoneViews
|
||||
|
||||
return available_views
|
||||
end
|
||||
|
||||
def logo
|
||||
@views_config['logo']
|
||||
end
|
||||
end
|
@ -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 {
|
||||
|
@ -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">
|
||||
|
@ -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">
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user