prososy listo
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha256-cCueBR6CsyA4/9szpPfrX3s49M9vUU5BgtiJj06wt/s=" crossorigin="anonymous">
|
||||
</script>
|
||||
<script>
|
||||
const chat_addr= <%= $chat_addr %>;
|
||||
const chat_srv= <%= $chat_srv %>;
|
||||
const chat_channel= <%= $chat_channel %>;
|
||||
</script>
|
||||
<%= javascript "/ext/libs.min.js"; %>
|
||||
<%= javascript "/ext/candy.min.js"; %>
|
||||
<%= stylesheet "/ext/lib.min.css"; %>
|
||||
|
||||
<section id="schat" class="chat">
|
||||
<div id="candy"></div>
|
||||
</section>
|
||||
|
||||
<script>
|
||||
const nick="<%= $nick %>";
|
||||
const chat_addr="<%= $chat_addr %>";
|
||||
const chat_srv="<%= $chat_srv %>";
|
||||
const chat_channel="<%= $chat_channel %>";
|
||||
</script>
|
||||
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
<section class="flex chat"><article>
|
||||
</section></article> </section>
|
||||
<script>
|
||||
const nick="<%= $nick %>";
|
||||
const radio_server="<%= $radio_server %>";
|
||||
const listen_url="<%= $listen_url %>";
|
||||
const channel="<%= $channel %>";
|
||||
|
||||
19
templates/layouts/clean.html.ep
Normal file
19
templates/layouts/clean.html.ep
Normal file
@@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title><%= title %></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<!-- <script src="https://d3js.org/d3.v4.min.js" charset="utf-8"></script> -->
|
||||
<% map{%><%= stylesheet "$_"%><%}(@{stash('css')}) if defined(stash('css'));%>
|
||||
</head>
|
||||
<body>
|
||||
<% map{%><%= include "$_"%><%}(@{stash('prepend')})
|
||||
if defined(stash('prepend'));%>
|
||||
<%= content %>
|
||||
<% map{%><%= include "$_"%><%}(@{stash('apend')})
|
||||
if defined(stash('apend'));%>
|
||||
<% map{%><%= javascript "$_"%><%}(@{stash('js')}) if defined(stash('js'));%>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user