2018-08-06 13:16:24 +00:00
|
|
|
<!DOCTYPE html>
|
2021-02-14 07:54:09 +00:00
|
|
|
<html lang="en">
|
2018-08-06 13:16:24 +00:00
|
|
|
<head>
|
2019-10-23 10:43:31 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
2019-04-16 18:17:17 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="/dist/css/bootstrap.min.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="/dist/css/dashboard.css">
|
2018-08-06 13:16:24 +00:00
|
|
|
<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">
|
2019-10-23 10:43:31 +00:00
|
|
|
<a class="nav-link active go-page" href="#dashboard" data-page="dashboard">
|
|
|
|
<i class="fa fa-home" aria-hidden="true"></i>
|
2018-08-06 13:16:24 +00:00
|
|
|
Dashboard <span class="sr-only">(current)</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
2019-10-23 10:43:31 +00:00
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link go-page" href="#links" data-page="links">
|
|
|
|
<i class="fa fa-link" aria-hidden="true"></i>
|
|
|
|
Manage Links
|
|
|
|
</a>
|
|
|
|
</li>
|
2018-08-06 13:16:24 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
|
2019-10-23 10:43:31 +00:00
|
|
|
<main role="main" class="page 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>
|
2021-02-14 07:54:09 +00:00
|
|
|
<br>
|
2018-08-06 13:16:24 +00:00
|
|
|
<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">
|
2021-02-14 07:54:09 +00:00
|
|
|
<label>Stream URL</label>
|
2018-08-06 13:16:24 +00:00
|
|
|
</div>
|
|
|
|
<div class="col">
|
2021-02-14 07:54:09 +00:00
|
|
|
<a href="" id="stream_url"></a>
|
2018-08-06 13:16:24 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-2">
|
2021-02-14 07:54:09 +00:00
|
|
|
<label>Source URL</label>
|
2018-08-06 13:16:24 +00:00
|
|
|
</div>
|
|
|
|
<div class="col">
|
2021-02-14 07:54:09 +00:00
|
|
|
<a href="" id="source_url"></a>
|
2018-08-06 13:16:24 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-05-28 19:06:09 +00:00
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-2">
|
2021-02-14 07:54:09 +00:00
|
|
|
<label>Stream Key</label>
|
2020-05-28 19:06:09 +00:00
|
|
|
</div>
|
|
|
|
<div class="col">
|
2021-02-14 08:07:10 +00:00
|
|
|
<input type="password" id="keybox" autocomplete="off" readonly>
|
2021-02-14 07:54:09 +00:00
|
|
|
<button href="#" id="show_key" class="btn btn-primary">Reveal Key</button>
|
|
|
|
<button href="#" id="copy_key" class="btn btn-success">Copy</button>
|
2020-05-28 19:06:09 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-08-06 13:16:24 +00:00
|
|
|
</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"> </span></td>
|
|
|
|
<td><span id="stat_bytes"> </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"> </span></td>
|
|
|
|
<td><span id="stat_video_height"> </span></td>
|
|
|
|
<td><span id="stat_video_frame_rate"> </span></td>
|
|
|
|
<td><span id="stat_video_codec"> </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"> </span></td>
|
|
|
|
<td><span id="stat_audio_sample_rate"> </span></td>
|
|
|
|
<td><span id="stat_audio_codec"> </span></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2018-08-06 13:16:24 +00:00
|
|
|
</main>
|
2019-10-23 10:43:31 +00:00
|
|
|
|
|
|
|
<main role="main" class="page col-md-9 ml-sm-auto col-lg-10 pt-3 px-4" id="page-links" style="display: none;">
|
|
|
|
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pb-2 mb-3 border-bottom">
|
|
|
|
<h1 class="h2">My Links</h1>
|
|
|
|
</div>
|
|
|
|
<p>These links will be automatically available from under the player. You can use it to link your social medias, chats or personal website.</p>
|
|
|
|
<table class="list table" id="link-list"></table>
|
|
|
|
<p>Link name can only contain 120 characters and forbids the use of HTML tags.</p>
|
|
|
|
<form id="add-link">
|
|
|
|
<input placeholder="Name" id="add-link-name" name="name" />
|
|
|
|
<input placeholder="URL" id="add-link-url" name="url" />
|
|
|
|
<input type="submit" value="Add URL">
|
|
|
|
</form>
|
|
|
|
</main>
|
2018-08-06 13:16:24 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script src="/dist/main.bundle.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|