Added dropin (untested), updated some of the README
This commit is contained in:
parent
3ec4225c36
commit
c49fc707ea
@ -24,6 +24,7 @@ Shombler is composed of 3 parts: Input, Storage, Presentation
|
||||
|
||||
I mean, not really but I can write one eventually.
|
||||
|
||||
## Great! Lets get started, wait.. your git project is empty, wtf???
|
||||
## Prerequisits
|
||||
|
||||
Sorry, prewriting this readme, not that anyone will see this, as I will have removed it by the time anyone is aware of the projects exsistance. But you know, for the git history, in case someone is weird and decides to read it.
|
||||
* DBI perl module
|
||||
* DBD::SQLite module
|
||||
|
14
dropin.html
Normal file
14
dropin.html
Normal file
@ -0,0 +1,14 @@
|
||||
<script src="https://labs.murkfall.net/bluesaxman/blue.js/raw/master/libs/bluecore.js"></script>
|
||||
<div id="shomblerContainer">
|
||||
</div>
|
||||
<script>
|
||||
var shomb_cont = elementPlace("#shomblerContainer","shombleList", null,"ul");
|
||||
function renderShomb(data) {
|
||||
var parsedData = eval(data);
|
||||
parsedData.forEach(function (entry) {
|
||||
var myEntry = elementPlace("#shombleList",null,"shomb_post","li");
|
||||
myEntry.innerHTML = '<div class="shomb_username">'+entry.USER+'</div><div class="shomb_message">'+entry.DATE+" -- "+entry.POST+'</div>';
|
||||
});
|
||||
}
|
||||
getData("shamble/get.pl", renderShobm);
|
||||
</script>
|
Loading…
x
Reference in New Issue
Block a user