updatedb
This commit is contained in:
9
templates/home/admin.html.ep
Executable file
9
templates/home/admin.html.ep
Executable file
@@ -0,0 +1,9 @@
|
||||
<section class="header flex">
|
||||
<article class="header"> <p>Administracion</p> </article>
|
||||
<article class="anav">
|
||||
<a href="admin/casa"><p>Casa</p></a>
|
||||
<a href="admin/radio"><p>Radio</p></a>
|
||||
<a href="admin/evn"><p>Eventos</p></a>
|
||||
<a href="admin/msg"><p>Mensajes</p></a>
|
||||
</article>
|
||||
</section>
|
||||
61
templates/home/admin/home.html.ep
Executable file
61
templates/home/admin/home.html.ep
Executable file
@@ -0,0 +1,61 @@
|
||||
<section class="title flex">
|
||||
<article class="title"> <p>Editar Casa</p> </article>
|
||||
</section>
|
||||
|
||||
<section class="mod">
|
||||
<form action="/admin/home" method="POST">
|
||||
<label>Mensaje del día</label>
|
||||
<textarea name="link" id="tmod" class="mod"><%= $mod %></textarea>
|
||||
<input type="hidden" name="update" value="mod">
|
||||
<input type="submit" name="hup" value="Cambiar" >
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<section class="home flex"> <!-- col2 -->
|
||||
<section class="col2"> <!-- col2 -->
|
||||
<article id="msc" class="msc">
|
||||
<%== $sc %>
|
||||
</article>
|
||||
<article class="mscl">
|
||||
<form action="/admin/home" method="POST">
|
||||
<input type="text" id="slink" name="link" value="">
|
||||
<input type="button" id="sview" name="view" value="Ver">
|
||||
<input type="submit" name="hup" value="Cambiar" >
|
||||
<input type="hidden" name="update" value="sc">
|
||||
</form>
|
||||
</article>
|
||||
|
||||
<!-- face -->
|
||||
<article class="mfb" id="amfb">
|
||||
<div class="fb-post" id="fbdiv" data-href="<%= $fb %>"
|
||||
data-width="450" data-show-text="true"></div>
|
||||
</article>
|
||||
<article class="mfbl">
|
||||
<form action="/admin/home" method="POST">
|
||||
<input type="text" id="flink" name="link" value="">
|
||||
<input type="button" id="fview" name="view" value="Ver">
|
||||
<input type="submit" name="hup" value="Cambiar" >
|
||||
<input type="hidden" name="update" value="fb">
|
||||
</form>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<section class="col2"> <!-- col2 --> <!-- yt -->
|
||||
<article class="myt">
|
||||
<div id="ytbox">
|
||||
<iframe id="evideo"
|
||||
src="https://www.youtube.com/embed/<%= $yt %> "
|
||||
allowfullscreen></iframe>
|
||||
</div>
|
||||
</article>
|
||||
<article class="mytl">
|
||||
<form action="/admin/home" method="POST">
|
||||
<input type="text" id="ylink" name="link">
|
||||
<input type="button" id="yview" value="Ver">
|
||||
<input type="submit" name="hup" value="Cambiar" >
|
||||
<input type="hidden" name="update" value="yt">
|
||||
</form>
|
||||
</article>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
<section class="cform " >
|
||||
<article class="cform">
|
||||
<form action="" class="cform" method="post">
|
||||
<form action="contact" class="cform" method="post">
|
||||
<label>Nombre</label> <input class="bsmall" id="mname" type="text" name="mname">
|
||||
<label>Correo</label> <input class="" type="email" name="mail">
|
||||
<label>Mensaje</label>
|
||||
|
||||
@@ -21,14 +21,14 @@
|
||||
<article class="box-4 yt">
|
||||
|
||||
<iframe id="evideo"
|
||||
src="https://www.youtube.com/embed/ <%= $yt %> " allowfullscreen>
|
||||
src="https://www.youtube.com/embed/<%= $yt %> " allowfullscreen>
|
||||
</iframe>
|
||||
|
||||
</article>
|
||||
<div class="group flex">
|
||||
<article class="box-2 fb">
|
||||
|
||||
<div class="fb-post" id="fbdiv" data-href=" <%= $fb %>"
|
||||
<div class="fb-post" id="fbdiv" data-href="<%= $fb %>"
|
||||
data-width="450" data-show-text="true"></div>
|
||||
|
||||
</article>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<section id="snav" class="flex nav anav">
|
||||
<article class="lhome">
|
||||
<a id="hhome" href="home"></a>
|
||||
<a id="hhome" href="/home"></a>
|
||||
</article>
|
||||
<article class="tel">
|
||||
<div id="tel" class="icon"></div>
|
||||
|
||||
@@ -10,15 +10,19 @@
|
||||
<%= stylesheet "/global/nav/cssSide.css" %>
|
||||
<%= stylesheet "/global/nav/cssNav.css" %>
|
||||
<%= stylesheet "/global/chaos/c.css" %>
|
||||
<%foreach my $v ( @{ stash('css') } ) {%><%= stylesheet "$v";%><%}%>
|
||||
<% map{%><%= stylesheet "$_"%><%}(@{stash('css')}) if defined(stash('css'));%>
|
||||
</head>
|
||||
<body>
|
||||
%= include 'home/htmlNav'
|
||||
%= include 'home/htmlSide'
|
||||
<% map{%><%= include "$_"%><%}(@{stash('prepend')})
|
||||
if defined(stash('prepend'));%>
|
||||
<%= content %>
|
||||
<% map{%><%= include "$_"%><%}(@{stash('apend')})
|
||||
if defined(stash('apend'));%>
|
||||
%= include 'home/htmlChaos'
|
||||
<%= javascript "/global/nav/d3Side.js"; %>
|
||||
<%foreach my $v ( @{ stash('js') } ) {%><%= javascript "$v";%><%}%>
|
||||
<% map{%><%= javascript "$_"%><%}(@{stash('js')}) if defined(stash('js'));%>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
30
templates/layouts/defaultContact.html.ep
Normal file
30
templates/layouts/defaultContact.html.ep
Normal file
@@ -0,0 +1,30 @@
|
||||
<!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> -->
|
||||
<%= javascript "/ext/d3.v4.min.js"; %>
|
||||
<%= stylesheet "/global/layout.css" %>
|
||||
<%= stylesheet "/global/nav/cssSide.css" %>
|
||||
<%= stylesheet "/global/nav/cssNav.css" %>
|
||||
<%= stylesheet "/global/chaos/c.css" %>
|
||||
<%= stylesheet "/home/contact/cssContact1.css" %>
|
||||
<% map{%><%= stylesheet "$_"%><%}(@{stash('css')}) if defined(stash('css'));%>
|
||||
</head>
|
||||
<body>
|
||||
%= include 'home/htmlNav'
|
||||
%= include 'home/htmlSide'
|
||||
<% map{%><%= include "$_"%><%}(@{stash('prepend')})
|
||||
if defined(stash('prepend'));%>
|
||||
<%= content %>
|
||||
<% map{%><%= include "$_"%><%}(@{stash('apend')})
|
||||
if defined(stash('apend'));%>
|
||||
%= include 'home/contact'
|
||||
%= include 'home/htmlChaos'
|
||||
<%= javascript "/global/nav/d3Side.js"; %>
|
||||
<% map{%><%= javascript "$_"%><%}(@{stash('js')}) if defined(stash('js'));%>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user