forked from External/greenlight
fix some assets not loading with relative root URLs
This commit is contained in:
parent
adb0314701
commit
9ecbd7f29d
|
@ -33,7 +33,6 @@ html, body {
|
|||
.background {
|
||||
height: 350px;
|
||||
width: 100%;
|
||||
background: asset-url('greenlight_background');
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
|
|
|
@ -26,7 +26,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
|||
<link href="https://fonts.googleapis.com/css?family=Roboto:400,700" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="app-background" data-controller="<%= params[:controller] %>" data-action="<%= params[:action] %>" data-resource="<%= params[:resource] %>">
|
||||
<body class="app-background" data-controller="<%= params[:controller] %>" data-action="<%= params[:action] %>" data-resource="<%= params[:resource] %>"
|
||||
style="background:url(<%= image_path('greenlight_background.png') if params[:controller] == 'landing' %>);">
|
||||
<!-- Messages -->
|
||||
<div id='alerts'>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue