cleaning the house

This commit is contained in:
mynah
2020-01-20 14:49:59 -06:00
parent 252ec865b3
commit 7dfd107c04
81 changed files with 426 additions and 958 deletions

29
public/admin/mensajes/msg.css Executable file
View File

@@ -0,0 +1,29 @@
section.messages{
justify-content:end;
}
article.select{
flex:1;
overflow:auto;
min-width:200px;
max-width:400px;
}
select.entry{
margin:10px;
min-height:400px;
}
option.entry{
margin:10px;
}
article.view{
flex:1;
min-width:200px;
max-width:500px;
padding-right: 40px;
}
article.view p{}
div.spcr{
background-color:gray;
height:3px;
width:30px;
}

11
public/admin/mensajes/msg.js Executable file
View File

@@ -0,0 +1,11 @@
d3.select("select#sentry").on("change",function(){
var msg_id=d3.select("select#sentry").node().value;
d3.json("/admin/json/mensaje/"+msg_id ,function(d){
if(d !=undefined) {if(d != 0){
d3.select("p#fecha").text(d.imdate);
d3.select("p#correo").text(d.imail);
d3.select("p#nombre").text(d.imname);
d3.select("p#mensaje").text(d.immsg);
}}});
});