un poco turbio

This commit is contained in:
mynah
2018-07-27 16:45:29 -05:00
parent a2567e8936
commit 6811b19471
16 changed files with 229 additions and 49 deletions

View File

@@ -1,5 +1,11 @@
<section class="title flex">
<article class="title"> <p>Radio</p> </article>
<article class="bcast"> <form action="/admin/radio" method"POST">
<div><label>Contraseña Video Stream</label></div>
<div><textarea name="link" id="gpass" class="gpass"><<%= %gpass %></textarea></div>
<input type="hidden" name="update" value="gpass">
<div><input type="submit" name="pup" value="Cambiar"></div>
</section>
<section class="radio flex">

13
templates/home/bcast.html.ep Executable file
View File

@@ -0,0 +1,13 @@
<link rel="stylesheet" href="//releases.flowplayer.org/7.2.1/skin/skin.css">
<script src="//code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="//releases.flowplayer.org/7.2.1/flowplayer.min.js"></script>
<section class="vid">
<div class="flowplayer fp-outlined" data-rtmp=<%= $rtmp_server %> data-ratio="0.4167">
<video controls="controls" autoplay="autoplay" poster="/home/bcast/noise.jpg" data-title="Transmisión en vivo">
<source src=<%= $radio_server %>"/live.ogg" type="video/ogg">
<source src=<%= $rtmp_channel %> type="video/flash">
</video> </div>
</section>

14
templates/users/loginu.html.ep Executable file
View File

@@ -0,0 +1,14 @@
<section class="hero">
<article class="login">
<p>Bienvenido</p>
<form class="login" action="" method="post">
<label class="name" >Nombre:</label>
<input class="name" type="text" name="uname" value="grullas">
<label>Nick chat:</label>
<input type="text" size="20" name="nick" value=""/>
<label class="pass">Contraseña:</label>
<input class="pass" type="password" size="15" name="pass" value=""/>
<input type="submit" id="submit" value="Entrar"/>
</form>
</article>
</section>