cleaning the house
This commit is contained in:
71
public/admin/home/admin.css
Executable file
71
public/admin/home/admin.css
Executable file
@@ -0,0 +1,71 @@
|
||||
div.cont{
|
||||
display: -webkit-box; display: -moz-box; display: -ms-flexbox;
|
||||
display: -webkit-flex; display: flex;
|
||||
}
|
||||
/*seccion radio------------------------------ */
|
||||
section.title{
|
||||
justify-content:center;
|
||||
-webkit-justify-content:center;
|
||||
}
|
||||
article.title > p {
|
||||
font-size:3em;
|
||||
color:black;
|
||||
font-weight:bold;
|
||||
margin:10px;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
/*de la pagina ----------------------------*/
|
||||
|
||||
section.home{
|
||||
justify-content:center;
|
||||
-webkit-justify-content:center;
|
||||
background-color:white;
|
||||
position:relative;
|
||||
min-height:50vh;
|
||||
}
|
||||
section.col2{
|
||||
flex:2;
|
||||
margin:15px;
|
||||
max-width:500px;
|
||||
}
|
||||
|
||||
/* mensaje ---------------------------------*/
|
||||
section.mod{
|
||||
margin:10px auto ;
|
||||
max-width:600px;
|
||||
}
|
||||
.mod label{ margin:15px; color:black; width:100%; display:block;}
|
||||
.mod textarea{ width:100%; height:5em ;display:block;}
|
||||
.mod input[type=button] { width:100%; height:10vh;display:block;}
|
||||
|
||||
/* facebook ---------------------------------*/
|
||||
article.mfb{
|
||||
width:470px;
|
||||
height:180px;
|
||||
margin:15px 15px 1px 15px;
|
||||
background-color:#1d86d0;
|
||||
overflow: auto;
|
||||
padding-left: 5px;
|
||||
}
|
||||
div.fb-post{ background-color:white;}
|
||||
article.mfbl{
|
||||
flex:1;
|
||||
background-color:#1d86d0;
|
||||
margin:auto 15px;
|
||||
}
|
||||
|
||||
/* youtube ---------------------------------*/
|
||||
div#ytbox{
|
||||
min-width:300px;
|
||||
height:400px;
|
||||
}
|
||||
iframe#evideo{
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
/* soundcloud ------------------------------*/
|
||||
article.msc{
|
||||
flex:1;
|
||||
margin:auto 5px ;
|
||||
}
|
||||
20
public/admin/home/buttons.js
Executable file
20
public/admin/home/buttons.js
Executable file
@@ -0,0 +1,20 @@
|
||||
document.getElementById("yview").onclick=updateyLink;
|
||||
document.getElementById("fview").onclick=updatefLink;
|
||||
document.getElementById("sview").onclick=updatesLink;
|
||||
|
||||
function updateyLink(){
|
||||
var T = document.getElementById("ylink").value;
|
||||
document.getElementById("evideo") .src="https://www.youtube.com/embed/"+T;
|
||||
}
|
||||
|
||||
function updatefLink(){
|
||||
document.getElementById("fbdiv").setAttribute(
|
||||
'data-href',
|
||||
document.getElementById("flink").value);
|
||||
FB.XFBML.parse();
|
||||
}
|
||||
function updatesLink(){
|
||||
var node = document.getElementById("msc");
|
||||
while (node.firstChild) { node.removeChild(node.firstChild); }
|
||||
node.innerHTML=document.getElementById("slink").value;
|
||||
}
|
||||
16
public/admin/home/fb.js
Executable file
16
public/admin/home/fb.js
Executable file
@@ -0,0 +1,16 @@
|
||||
window.fbAsyncInit = function() {
|
||||
FB.init({
|
||||
appId : '339e',
|
||||
xfbml : true,
|
||||
version : 'v2.8'
|
||||
});
|
||||
FB.AppEvents.logPageView();
|
||||
};
|
||||
|
||||
(function(d, s, id){
|
||||
var js, fjs = d.getElementsByTagName(s)[0];
|
||||
if (d.getElementById(id)) {return;}
|
||||
js = d.createElement(s); js.id = id;
|
||||
js.src = "//connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v2.8";
|
||||
fjs.parentNode.insertBefore(js, fjs);
|
||||
}(document, 'script', 'facebook-jssdk'));
|
||||
Reference in New Issue
Block a user