2017-09-24 11:29:19 +00:00
|
|
|
<?php
|
2019-05-10 05:44:47 +00:00
|
|
|
/**
|
|
|
|
* @var App\Entity\Station $station
|
2020-02-06 02:35:13 +00:00
|
|
|
* @var \App\Assets $assets
|
2019-05-10 05:44:47 +00:00
|
|
|
*/
|
2018-09-29 13:35:40 +00:00
|
|
|
|
|
|
|
$this->layout('main', [
|
|
|
|
'title' => __('Profile'),
|
|
|
|
'manual' => true,
|
|
|
|
'sidebar_tab' => 'profile',
|
|
|
|
]);
|
|
|
|
|
2017-09-24 11:29:19 +00:00
|
|
|
$assets
|
2018-09-29 13:35:40 +00:00
|
|
|
->load('vue')
|
2020-07-15 08:00:17 +00:00
|
|
|
->load('InlinePlayer')
|
2019-07-17 21:29:21 +00:00
|
|
|
->addInlineJs($this->fetch('partials/radio_controls.js'), 95)
|
2018-09-29 13:35:40 +00:00
|
|
|
->load('clipboard')
|
2019-05-24 18:14:03 +00:00
|
|
|
->load('fancybox')
|
2020-04-02 11:30:00 +00:00
|
|
|
->addInlineJs($this->fetch('stations/profile/index.js'), 99);
|
2017-09-24 11:29:19 +00:00
|
|
|
?>
|
2015-05-22 09:13:52 +00:00
|
|
|
|
2020-04-02 11:30:00 +00:00
|
|
|
<div class="row" id="profile">
|
2019-05-10 05:44:47 +00:00
|
|
|
<div class="col-lg-7">
|
2020-02-18 04:32:14 +00:00
|
|
|
<?=$this->fetch('stations/profile/panel_header')?>
|
2019-01-17 13:11:04 +00:00
|
|
|
|
2020-02-18 04:32:14 +00:00
|
|
|
<?=$this->fetch('stations/profile/panel_nowplaying')?>
|
2018-09-29 13:35:40 +00:00
|
|
|
|
2020-02-18 04:32:14 +00:00
|
|
|
<?=$this->fetch('stations/profile/panel_schedule')?>
|
|
|
|
|
|
|
|
<?php if ($backend::supportsRequests() || $backend::supportsStreamers()): ?>
|
|
|
|
<div class="row">
|
|
|
|
<?php if ($backend::supportsRequests()): ?>
|
|
|
|
<div class="col">
|
|
|
|
<?=$this->fetch('stations/profile/panel_requests')?>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
|
|
|
<?php if ($backend::supportsStreamers()): ?>
|
|
|
|
<div class="col">
|
|
|
|
<?=$this->fetch('stations/profile/panel_streamers')?>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
2018-10-11 07:04:09 +00:00
|
|
|
</div>
|
2019-05-10 05:44:47 +00:00
|
|
|
<?php endif; ?>
|
2018-09-29 13:35:40 +00:00
|
|
|
|
2020-02-18 04:32:14 +00:00
|
|
|
<?=$this->fetch('stations/profile/panel_publicpages')?>
|
2019-05-10 05:44:47 +00:00
|
|
|
</div>
|
2015-05-22 09:13:52 +00:00
|
|
|
|
2019-05-10 05:44:47 +00:00
|
|
|
<div class="col-lg-5">
|
2020-02-18 04:32:14 +00:00
|
|
|
<?=$this->fetch('stations/profile/panel_streams')?>
|
2018-10-11 07:04:09 +00:00
|
|
|
|
2020-02-18 04:32:14 +00:00
|
|
|
<?php if (\App\Radio\Adapters::FRONTEND_REMOTE !== $frontend_type): ?>
|
|
|
|
<?=$this->fetch('stations/profile/panel_frontend')?>
|
|
|
|
<?php endif; ?>
|
2018-09-29 13:35:40 +00:00
|
|
|
|
2020-02-18 04:32:14 +00:00
|
|
|
<?php if (\App\Radio\Adapters::BACKEND_NONE === $backend_type): ?>
|
|
|
|
<?=$this->fetch('stations/profile/panel_backend_none')?>
|
|
|
|
<?php else: ?>
|
|
|
|
<?=$this->fetch('stations/profile/panel_backend')?>
|
|
|
|
<?php endif; ?>
|
2015-05-22 09:13:52 +00:00
|
|
|
</div>
|
2018-08-04 22:05:14 +00:00
|
|
|
</div>
|