owncast/webroot/index.html

125 lines
4.9 KiB
HTML
Raw Normal View History

2020-06-02 09:50:32 +03:00
<head>
<meta charset="UTF-8" />
<title>Live stream test</title>
<link
href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css"
rel="stylesheet"
/>
2020-06-04 11:31:47 +03:00
<link href="./styles/layout.css" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
2020-06-02 09:50:32 +03:00
<script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>
2020-06-02 23:56:59 +03:00
<!-- Used for animating the scrolling of the chat div. Can that be done other ways? -->
2020-06-02 09:50:32 +03:00
<script src="vendor/jquery-2.1.4.min.js"></script>
2020-06-03 01:37:36 +03:00
<script src="vendor/autolink.js"></script>
2020-06-02 09:50:32 +03:00
</head>
2020-06-04 11:31:47 +03:00
<body>
<div id="app-container" class="flex">
<header class="flex">
<h1>
Maybe a header
</h1>
2020-06-04 13:15:27 +03:00
<span>💬</span>
2020-06-04 11:31:47 +03:00
</header>
2020-06-04 12:31:41 +03:00
<div id="main-content-container" class="flex nxo-chat">
2020-06-04 11:31:47 +03:00
<!-- LEFT CONTAINER SIDE-->
<div class="flex main-cols left-col">
2020-06-02 09:50:32 +03:00
2020-06-04 13:15:27 +03:00
<div id="video-container" class="flex shadow-md">
2020-06-04 11:31:47 +03:00
<video
id="video"
preload="auto"
autoplay
controls
src="https://ia800300.us.archive.org/17/items/BigBuckBunny_124/Content/big_buck_bunny_720p_surround.mp4"
></video>
2020-06-02 09:50:32 +03:00
</div>
2020-06-02 23:56:59 +03:00
2020-06-11 11:24:05 +03:00
<div id="info">
2020-06-04 11:31:47 +03:00
{{ streamStatus }} {{ viewerCount }} {{ 'viewer' | plural(viewerCount) }}.
2020-06-11 11:24:05 +03:00
Heart rate notifications.
Apple Watch checks for unusually high or low heart rates in the background, which could be signs of a serious underlying condition. This could help you and your patients identify situations which may warrant further evaluation.
<br>
If a patients heart rate is above 120 bpm or below 40 bpm while they appear to have been inactive for 10 minutes, the user will receive a notification. Patients can adjust the threshold bpm or turn these notifications on or off. All heart rate notifications — along with date, time, and heart rate — can be viewed in the Health app on iPhone.
<br>
Heart rate notifications.
Apple Watch checks for unusually high or low heart rates in the background, which could be signs of a serious underlying condition. This could help you and your patients identify situations which may warrant further evaluation.
<br>
If a patients heart rate is above 120 bpm or below 40 bpm while they appear to have been inactive for 10 minutes, the user will receive a notification. Patients can adjust the threshold bpm or turn these notifications on or off. All heart rate notifications — along with date, time, and heart rate — can be viewed in the Health app on iPhone.
2020-06-04 11:31:47 +03:00
2020-06-02 09:50:32 +03:00
</div>
2020-06-04 11:31:47 +03:00
</div>
2020-06-02 09:50:32 +03:00
2020-06-04 11:31:47 +03:00
<!-- RIGHT CONTAINER SIDE-->
<div class="flex main-cols right-col">
2020-06-04 13:15:27 +03:00
2020-06-04 11:31:47 +03:00
<div id="chat-container">
<div id="messages-container">
2020-06-11 11:24:05 +03:00
Heart rate notifications.
Apple Watch checks for unusually high or low heart rates in the background, which could be signs of a serious underlying condition. This could help you and your patients identify situations which may warrant further evaluation.— can be viewed in the Health app on iPhone.
2020-06-04 11:31:47 +03:00
<div v-for="(message, index) in messages">
2020-06-10 00:12:50 +03:00
<div class="message flex">
2020-06-04 11:31:47 +03:00
<img
v-bind:src="message.image"
2020-06-10 00:12:50 +03:00
class="message-avatar rounded-full"
2020-06-04 11:31:47 +03:00
/>
2020-06-10 00:12:50 +03:00
<div class="message-content">
<p class="message-author">{{ message.author }}</p>
<p class="message-text"v-html="message.linkedText()"></p>
2020-06-04 11:31:47 +03:00
</div>
</div>
</div>
</div>
2020-06-04 11:31:47 +03:00
2020-06-04 13:15:27 +03:00
<div id="chat-input-container" class="shadow-md">
<form id="chat-form" class="flex" @submit="submitChatForm">
2020-06-11 11:24:05 +03:00
<input type="hidden" name="inputAuthor" id="inputAuthor" v-model="message.author" />
2020-06-04 13:15:27 +03:00
<!-- Author -->
<!-- <label class="control-label" for="inputAuthor">Author</label>
<input
id="inputAuthor"
type="text"
class="appearance-none bg-gray-200 text-gray-700 border border-black-500 rounded py-3 px-4 mb-3 leading-tight focus:outline-none focus:bg-white"
placeholder="Name"
v-model="message.author"
/> -->
<textarea
id="inputBody"
placeholder="Message"
v-model="message.body"
class="appearance-none block w-full bg-gray-200 text-gray-700 border border-black-500 rounded py-2 px-2 my-2 leading-tight focus:bg-white"
>
</textarea>
<button
class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-1 px-2 rounded"
>
Send
</button>
</form>
</div>
2020-06-02 09:50:32 +03:00
</div>
2020-06-04 11:31:47 +03:00
</div>
</div>
2020-06-04 11:31:47 +03:00
2020-06-02 09:50:32 +03:00
</div>
2020-05-24 03:57:49 +03:00
2020-06-04 11:31:47 +03:00
<script src="js/message.js"></script>
<script src="js/app.js"></script>
</body>
</html>