This repository has been archived on 2024-05-09. You can view files and clone it, but cannot push or open issues or pull requests.
icytv/templates/dashboard.html

131 lines
3.7 KiB
HTML
Raw Normal View History

2018-08-06 13:16:24 +00:00
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
window.STREAM_KEY = "{{ stream }}"
</script>
<meta charset="utf-8">
<title>IcyTV Dashboard</title>
</head>
<body>
<nav class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0">
<a class="navbar-brand col-sm-3 col-md-2 mr-0" href="/">IcyTV</a>
<ul class="navbar-nav px-3">
<li class="nav-item text-nowrap">
<a class="nav-link" href="/logout">Sign out</a>
</li>
</ul>
</nav>
<div class="container-fluid">
<div class="row">
<nav class="col-md-2 d-none d-md-block bg-light sidebar">
<div class="sidebar-sticky">
<ul class="nav flex-column">
<li class="nav-item">
<a class="nav-link active" href="#">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-home"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline></svg>
Dashboard <span class="sr-only">(current)</span>
</a>
</li>
</ul>
</div>
</nav>
2018-08-06 21:15:23 +00:00
<main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4" id="page-dashboard">
2018-08-06 13:16:24 +00:00
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pb-2 mb-3 border-bottom">
<h1 class="h2">Dashboard</h1>
</div>
<iframe allowfullscreen src="" id="myStream" width="1542" height="651" style="display: block; width: 1542px; height: 651px;"></iframe>
<h1 class="h2">Information</h1>
<p class="lead">
2018-08-06 21:15:23 +00:00
<div class="row">
<div class="col-2">
<label>Live</label>
</div>
<div class="col">
<span id="stream_live">No</span>
</div>
</div>
2018-08-06 13:16:24 +00:00
<div class="row">
<div class="col-2">
<label>Stream Server</label>
</div>
<div class="col">
<span>{{ server }}</span>
</div>
</div>
<div class="row">
<div class="col-2">
<label>Stream Key</label>
</div>
<div class="col">
<a href="#" id="show_key">Show Stream Key</a>
</div>
</div>
<div class="row">
<div class="col-2">
<label>Stream Link</label>
</div>
<div class="col">
<a href="" id="stream_url"></a>
</div>
</div>
</p>
2018-08-06 21:15:23 +00:00
<h1 class="h2">Metrics</h1>
<table class="table">
<tbody>
<tr>
<th>Time</th>
<th>Bytes</th>
<th>Video</th>
<th>Audio</th>
</tr>
<tr>
<td><span id="stat_time">&nbsp;</span></td>
<td><span id="stat_bytes">&nbsp;</span></td>
<td>
<table>
<tr>
<th>Width</th>
<th>Height</th>
<th>Frame Rate</th>
<th>Codec</th>
</tr>
<tr>
<td><span id="stat_video_width">&nbsp;</span></td>
<td><span id="stat_video_height">&nbsp;</span></td>
<td><span id="stat_video_frame_rate">&nbsp;</span></td>
<td><span id="stat_video_codec">&nbsp;</span></td>
</tr>
</table>
</td>
<td>
<table>
<tr>
<th>Channels</th>
<th>Sample Rate</th>
<th>Codec</th>
</tr>
<tr>
<td><span id="stat_audio_channels">&nbsp;</span></td>
<td><span id="stat_audio_sample_rate">&nbsp;</span></td>
<td><span id="stat_audio_codec">&nbsp;</span></td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
2018-08-06 13:16:24 +00:00
</main>
</div>
</div>
<script src="/dist/main.bundle.js"></script>
</body>
</html>