Radio Page improvements
This commit is contained in:
parent
f4ff00355d
commit
ad5121f2ca
|
@ -78,12 +78,18 @@ class EmbedController extends Zend_Controller_Action
|
||||||
|
|
||||||
public function weeklyProgramAction()
|
public function weeklyProgramAction()
|
||||||
{
|
{
|
||||||
$this->view->layout()->disableLayout();
|
|
||||||
|
|
||||||
$CC_CONFIG = Config::getConfig();
|
$CC_CONFIG = Config::getConfig();
|
||||||
|
|
||||||
$request = $this->getRequest();
|
$request = $this->getRequest();
|
||||||
|
|
||||||
|
$useIframe = $request->getParam('useiframe');
|
||||||
|
if (!isset($useIframe)) {
|
||||||
|
$this->view->layout()->disableLayout();
|
||||||
|
} elseif ($useIframe == "1") {
|
||||||
|
$this->_helper->layout->setLayout('bare');
|
||||||
|
}
|
||||||
|
|
||||||
$widgetStyle = $request->getParam('style');
|
$widgetStyle = $request->getParam('style');
|
||||||
if ($widgetStyle == "premium") {
|
if ($widgetStyle == "premium") {
|
||||||
$this->view->widgetStyle = "premium";
|
$this->view->widgetStyle = "premium";
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
<link rel="stylesheet" href="<?php echo $this->css?>" type="text/css">
|
<link rel="stylesheet" href="<?php echo $this->css?>" type="text/css">
|
||||||
<script src="<?php echo $this->mrp_js?>" type="text/javascript"></script>
|
<script src="<?php echo $this->mrp_js?>" type="text/javascript"></script>
|
||||||
<script src="<?php echo $this->jquery?>" type="text/javascript"></script>
|
<script src="<?php echo $this->jquery?>" type="text/javascript"></script>
|
||||||
|
<link href='https://fonts.googleapis.com/css?family=Roboto:400,100,300,700' rel='stylesheet' type='text/css'>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
var MAX_MOBILE_SCREEN_WIDTH = 760;
|
var MAX_MOBILE_SCREEN_WIDTH = 760;
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
<script src="<?php echo $this->jquery ?>" type="text/javascript"></script>
|
<script src="<?php echo $this->jquery ?>" type="text/javascript"></script>
|
||||||
<script src="<?php echo $this->jquery_custom ?>" type="text/javascript"></script>
|
<script src="<?php echo $this->jquery_custom ?>" type="text/javascript"></script>
|
||||||
<script src="<?php echo $this->widget_js ?>" type="text/javascript"></script>
|
<script src="<?php echo $this->widget_js ?>" type="text/javascript"></script>
|
||||||
|
<link href='https://fonts.googleapis.com/css?family=Roboto:400,100,300,700' rel='stylesheet' type='text/css'>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('.tabs li').click(function(){
|
$('.tabs li').click(function(){
|
||||||
|
|
|
@ -17,7 +17,8 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="tab-1" class="schedule tab_content current">
|
<div id="tab-1" class="schedule tab_content current">
|
||||||
<iframe id="schedule_iframe" height="400px" scrolling="no" frameborder="0" src=<?php echo $this->stationUrl."embed/weekly-program?style=premium"?>></iframe>
|
<?php echo $this->action('weekly-program','embed', 'default', array('style' => 'premium', 'useiframe' => '1')); ?>
|
||||||
|
<!--<iframe id="schedule_iframe" height="300px" scrolling="no" frameborder="0" src=<?php /*echo $this->stationUrl."embed/weekly-program?style=premium"*/?>></iframe>-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -68,7 +68,8 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.schedule.current .schedule_content {
|
.schedule.current .schedule_content {
|
||||||
max-height: 300px;
|
height: 70%;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.schedule_item {
|
.schedule_item {
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 463 B |
|
@ -44,14 +44,14 @@ body {
|
||||||
.bottom_bar p.now_playing {
|
.bottom_bar p.now_playing {
|
||||||
color: #222222;
|
color: #222222;
|
||||||
font-size: 26px;
|
font-size: 26px;
|
||||||
font-weight: normal;
|
font-weight: 300;
|
||||||
float: left;
|
float: left;
|
||||||
margin: 28px 0px;
|
margin: 28px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bottom_bar p.now_playing span {
|
.bottom_bar p.now_playing span {
|
||||||
display: block;
|
display: block;
|
||||||
font-weight: lighter;
|
font-weight: 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bottom_bar .button {
|
.bottom_bar .button {
|
||||||
|
|
|
@ -31,8 +31,6 @@ body {
|
||||||
margin-right: 60px;
|
margin-right: 60px;
|
||||||
margin-top: 40px;
|
margin-top: 40px;
|
||||||
display:inline-block;
|
display:inline-block;
|
||||||
background-color: #000000;
|
|
||||||
opacity: 0.5;
|
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,7 +45,7 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
span.login-img {
|
span.login-img {
|
||||||
background: url('img/login-small.png') no-repeat center -25px;
|
background: url('img/login-small-white.png') no-repeat center -25px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
width: 25px;
|
width: 25px;
|
||||||
|
|
Loading…
Reference in New Issue