output to screen, not console
This commit is contained in:
parent
dcadf74d55
commit
b613205970
5 changed files with 59 additions and 9 deletions
|
|
@ -66,3 +66,33 @@ div ul li{
|
|||
div.groupbox p {
|
||||
margin: .25 ex;
|
||||
}
|
||||
|
||||
#dumparea {
|
||||
position: absolute;
|
||||
top: 1em;
|
||||
padding: 1em;
|
||||
margin: 1em;
|
||||
width: 90%;
|
||||
height: 90%;
|
||||
background: floralwhite;
|
||||
border: inset 2px royalblue;
|
||||
}
|
||||
|
||||
#sahlioutput {
|
||||
font-family: 'TopazPlus a500a1000a2000','mOsOul',Monaco,monospace;
|
||||
font-size: 16;
|
||||
background: aliceblue;
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
width: 100%;
|
||||
height: 95%;
|
||||
padding: 1ex;
|
||||
border: inset 2px royalblue;
|
||||
}
|
||||
|
||||
#closespan {
|
||||
float: right;
|
||||
margin: 0px 0px 1ex;
|
||||
padding: 0px;
|
||||
|
||||
}
|
||||
|
|
@ -110,9 +110,15 @@
|
|||
}
|
||||
}).click((function(_this) {
|
||||
return function() {
|
||||
$('#sahlioutput').text(dumpjson(_this.data));
|
||||
$('#dumparea').show(100);
|
||||
return console.log(dumpjson(_this.data));
|
||||
};
|
||||
})(this));
|
||||
$('#closespan').click(function() {
|
||||
$(this.parentElement.parentElement).hide();
|
||||
return $('#sahlioutput').text('');
|
||||
});
|
||||
return this.buildlist(this.data);
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -128,7 +128,12 @@ edit button.
|
|||
@.data.location = event.target.value
|
||||
$('#listsave').button {icons: {primary:"ui-icon-disk"}}
|
||||
.click =>
|
||||
$('#sahlioutput').text dumpjson @.data
|
||||
$('#dumparea').show 100
|
||||
console.log dumpjson @.data
|
||||
$('#closespan').click ->
|
||||
$(@parentElement.parentElement).hide()
|
||||
$('#sahlioutput').text ''
|
||||
|
||||
|
||||
You need to save the order, and extract these in that order; moving around
|
||||
|
|
|
|||
|
|
@ -159,5 +159,10 @@
|
|||
</ul>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class='hidden' id='dumparea' >
|
||||
<p>Copy and save all this textual data as list.sahli in your Sahli directory <span id='closespan'>[X]</span></p>
|
||||
<textarea name="sahlioutput" id='sahlioutput'></textarea>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue