mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-13 03:37:05 +01:00
Revert "Escape html for weblog in the client"
This reverts commit 8da3f54e91.
This commit is contained in:
@@ -129,7 +129,7 @@ div.state {
|
||||
}
|
||||
|
||||
.pure-g span.terminal,
|
||||
.pure-g ul.terminal {
|
||||
.pure-g textarea.terminal {
|
||||
font-family: 'Courier New', monospace;
|
||||
font-size: 80%;
|
||||
line-height: 100%;
|
||||
@@ -316,8 +316,5 @@ span.slider {
|
||||
|
||||
#weblog {
|
||||
height: 400px;
|
||||
padding: 0.5em 0.6em;
|
||||
margin-bottom: 10px;
|
||||
list-style: none;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
@@ -1161,7 +1161,7 @@ function processData(data) {
|
||||
|
||||
// Web log
|
||||
if ("weblog" === key) {
|
||||
$("<li></li>").addClass("weblog-event").text(value).appendTo("#weblog");
|
||||
$("#weblog").append(value);
|
||||
$("#weblog").scrollTop($("#weblog")[0].scrollHeight - $("#weblog").height());
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -983,8 +983,8 @@
|
||||
</div>
|
||||
|
||||
<div class="pure-g">
|
||||
<ul class="pure-u-1 terminal" id="weblog" name="weblog"></ul>
|
||||
<div class="pure-u-1-4 pure-u-lg-1-4"><button class="pure-button button-dbg-clear pure-u-23-24">Clear</button></div>
|
||||
<textarea class="pure-u-1 terminal" id="weblog" name="weblog" wrap="off" readonly></textarea>
|
||||
<div class=" pure-u-1-4 pure-u-lg-1-4"><button class="pure-button button-dbg-clear pure-u-23-24">Clear</button></div>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
|
||||
Reference in New Issue
Block a user