2016-09-30 22:31:30 +00:00
|
|
|
<?php $this->layout('main', ['title' => _('Streamer/DJ Accounts'), 'manual' => true]) ?>
|
2016-09-02 00:34:08 +00:00
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-8">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-header ch-alt">
|
2016-09-30 22:31:30 +00:00
|
|
|
<h2><?=_('Streamer/DJ Accounts') ?></h2>
|
2016-09-02 00:34:08 +00:00
|
|
|
|
2016-09-17 19:25:29 +00:00
|
|
|
<a class="btn bgm-blue btn-float" href="<?=$url->routeFromHere(array('action' => 'edit')) ?>"><i class="zmdi zmdi-plus"></i></a>
|
2016-09-02 00:34:08 +00:00
|
|
|
</div>
|
|
|
|
<div class="table-responsive">
|
|
|
|
<table class="table table-striped">
|
|
|
|
<colgroup>
|
|
|
|
<col width="25%">
|
|
|
|
<col width="15%">
|
|
|
|
<col width="15%">
|
|
|
|
<col width="45%">
|
|
|
|
</colgroup>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2016-09-30 22:31:30 +00:00
|
|
|
<th><?=_('Actions') ?></th>
|
|
|
|
<th><?=_('Username') ?></th>
|
|
|
|
<th><?=_('Password') ?></th>
|
|
|
|
<th><?=_('Notes') ?></th>
|
2016-09-02 00:34:08 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2016-09-17 22:48:40 +00:00
|
|
|
<?php foreach($streamers as $row): ?>
|
|
|
|
<tr class="vertical-align-middle <?php if (!$row->is_active): ?>text-muted<?php endif; ?>">
|
2016-09-02 00:34:08 +00:00
|
|
|
<td>
|
2016-09-17 19:25:29 +00:00
|
|
|
<a class="btn btn-sm btn-primary" href="<?=$url->routeFromHere(array('action' => 'edit', 'id' => $row->id)) ?>">Edit</a>
|
|
|
|
<a class="btn btn-sm btn-danger" href="<?=$url->routeFromHere(array('action' => 'delete', 'id' => $row->id)) ?>">Delete</a>
|
2016-09-02 00:34:08 +00:00
|
|
|
</td>
|
2016-09-30 22:31:30 +00:00
|
|
|
<td><code><?=$this->e($row->streamer_username) ?></code></td>
|
|
|
|
<td><code><?=$this->e($row->streamer_password) ?></code></td>
|
|
|
|
<td><?=nl2br($this->e($row->comments)) ?></td>
|
2016-09-02 00:34:08 +00:00
|
|
|
</tr>
|
2016-09-17 22:48:40 +00:00
|
|
|
<?php endforeach; ?>
|
2016-09-02 00:34:08 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-header ch-alt">
|
2016-09-30 22:31:30 +00:00
|
|
|
<h2><?=_('Connection Information') ?></h2>
|
2016-09-02 00:34:08 +00:00
|
|
|
</div>
|
|
|
|
<div class="card-body card-padding">
|
2017-04-23 01:48:19 +00:00
|
|
|
<h4><?=_('IceCast Clients') ?></h4>
|
|
|
|
<dl>
|
|
|
|
<dt><?=_('Server') ?>:</dt>
|
|
|
|
<dd><?=$server_url ?></dd>
|
2016-09-02 00:34:08 +00:00
|
|
|
|
2017-04-23 01:48:19 +00:00
|
|
|
<dt><?=_('Port') ?>:</dt>
|
|
|
|
<dd><?=$stream_port ?></dd>
|
2016-09-02 00:34:08 +00:00
|
|
|
|
2017-04-23 01:48:19 +00:00
|
|
|
<dt><?=_('Mount Name') ?>:</dt>
|
|
|
|
<dd>/</dd>
|
|
|
|
</dl>
|
2016-09-02 00:34:08 +00:00
|
|
|
|
2017-04-23 01:48:19 +00:00
|
|
|
<h4><?=_('ShoutCast v1 Clients') ?></h4>
|
|
|
|
<dl>
|
|
|
|
<dt><?=_('Server') ?>:</dt>
|
|
|
|
<dd><?=$server_url ?></dd>
|
2016-09-02 00:34:08 +00:00
|
|
|
|
2017-04-23 01:48:19 +00:00
|
|
|
<dt><?=_('Port') ?>:</dt>
|
|
|
|
<dd><?=($stream_port + 1) ?></dd>
|
2016-09-02 00:34:08 +00:00
|
|
|
|
2017-04-23 01:48:19 +00:00
|
|
|
<dt><?=_('Password') ?>:</dt>
|
|
|
|
<dd>
|
|
|
|
dj_username:dj_password<br>
|
|
|
|
<small><?=_('(DJ username and password separated by a colon)') ?></small>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
2016-09-02 00:34:08 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|